From 4fa4b86be0a2ae0763c776a3b3eb7b9f864ec192 Mon Sep 17 00:00:00 2001 From: Trais McAllister Date: Tue, 3 Sep 2024 15:34:55 -0700 Subject: [PATCH] v2.4.0 Update (#5) * Bump update * Bump update * Bump update * Migrating to generating all SysML model * Need to add deep search * SC Meeting updates * Success! * Update .gitignore * Included packages * Added static root model - MtconnectModel is the intended entry point into the MTConnect SysML model. - Successful build * Transpiled code * Update MtconnectTranspiler.Sinks.CSharp.csproj * Re-ran transpiler * Updated transpiler * Transpiler updates - Fixed DefaultValue - Fixed Generalization - Added property inheritance - Fixed naming to match SysML * Expanded Enum definitions * Set EnumMetaClass as instance type * Bump update * Bump update * Update Program.cs * Bump update * Logging * Update Program.cs * Bump update * Bump update * Update CSharp.Class.scriban * Update MtconnectTranspiler.Sinks.CSharp.Example.csproj * Update MtconnectTranspiler.Sinks.CSharp.Example.csproj * Update MtconnectTranspiler.Sinks.CSharp.Example.csproj * Update MtconnectTranspiler.Sinks.CSharp.Example.csproj * Update MtconnectTranspiler.Sinks.CSharp.Example.csproj * Update MtconnectTranspiler.Sinks.CSharp.Example.csproj * Update MtconnectTranspiler.Sinks.CSharp.Example.csproj * Update CSharp.Class.scriban * Bump update * Update summary access to comments * Updated all summary templates * Update MtconnectTranspiler.Sinks.CSharp.Example.csproj * Added summary prefix * Reintroduced includes for summaries * Updated all summaries - Fully implemented new MarkdownInterpreter and CodeFormatter for converting SysML Comments into different formats. * Update MtconnectTranspiler.Sinks.CSharp.csproj * Updated navigator * Update UmlCommentsSummaryContent.scriban * Include Enums in Packages - Added Enums to Packages - Removed unnecessary XML summary prefixes (///) * Added Profile Packages - Added Profile Packages to root MtconnectModel * Applied new keyword Attempting to override the IClass.Properties with the custom PropertyList * Update MtconnectTranspiler.Sinks.CSharp.csproj * Added virtual/overrides to classes * Update MtconnectTranspiler.Sinks.CSharp.csproj * Changed SuperClass to Category Changed property name/type to reflect observation type categories * Added help info - Added ReferenceId to IEnum - Added HelpUrl property and constant to IClass, IEnum, and IPackage - Refactored "normative remarks" in XML summary. * Update MtconnectTranspiler.Sinks.CSharp.Example.csproj * Introducing constant strings * Added XML summary for constants * Update MtconnectTranspiler.Sinks.CSharp.Example.csproj * Suppress obsolete warnings in generated code * Transpiled with latest * Added help url - Added help url to observation type in navigation extensions * Attempted fix at navigating summary for types/sub-types * Ordinal comparison - Changed comparison of Observation Type names ordinal with a removal of '_' characters on both sides between IClass and IEnum comparisons * Scoped sub-types * Update MtconnectTranspiler.Sinks.CSharp.Example.csproj * Addressed debug environment * Update MtconnectTranspiler.Sinks.CSharp.Example.csproj * Ran transpiler - Used the Example transpiler to generate files * Update MtconnectTranspiler.Sinks.CSharp.csproj * Update MtconnectTranspiler.Sinks.CSharp.csproj --- .gitignore | 5 +- .../Models/CSharpClass.cs | 175 + .../Models/CSharpEnum.cs | 55 +- .../Models/CSharpHelperMethods.cs | 113 + .../Models/CSharpPackage.cs | 97 + .../Models/Constraint.cs | 6 +- .../Models/CsharpType.cs | 39 +- .../Models/EnumItem.cs | 22 +- .../Models/ExampleClass.cs | 13 - .../Models/ExampleEnum.cs | 22 - .../Models/MtconnectModel.cs | 60 + .../Models/Property.cs | 76 + .../Models/Summary.cs | 29 +- .../Models/SummaryItem.cs | 9 +- ...nectTranspiler.Sinks.CSharp.Example.csproj | 45 +- .../MtconnectVersionedObject.cs | 9 +- .../Program.cs | 68 +- .../Properties/launchSettings.json | 2 +- .../Templates/CSharp.Class.scriban | 218 + .../Templates/CSharp.Enum.scriban | 113 + .../Templates/CSharp.Model.scriban | 35 + .../Templates/CSharp.Package.scriban | 108 + .../Templates/Example.Class.scriban | 48 - .../Templates/Example.Enum.scriban | 64 - .../Templates/NormativeRemarks.scriban | 15 + .../UmlCommentsSummaryContent.scriban | 4 +- .../Transpiler.cs | 293 +- .../TypeCache.cs | 105 + .../appsettings.json | 11 + MtconnectTranspiler.Sinks.CSharp.sln | 5 +- MtconnectTranspiler.Sinks.CSharp/Constants.cs | 13 - .../Contracts/Interfaces/IClass.cs | 62 + .../Contracts/Interfaces/IEnum.cs | 56 + .../Contracts/Interfaces/IEnumInstance.cs | 33 + .../Contracts/Interfaces/IPackage.cs | 43 + .../Contracts/Interfaces/IProperty.cs | 67 + .../Contracts/Interfaces/IPropertyList.cs | 13 + .../CsharpTranspiler.cs | 18 - .../Models/Class.cs | 91 - .../ConditionClass.cs | 82 + .../AdditionalObservationTerms/EventClass.cs | 77 + .../ObservableConditionClass.cs | 76 + .../ObservableEventClass.cs | 146 + .../ObservableMeasurementClass.cs | 151 + .../ObservableSampleClass.cs | 76 + .../ObservableStateClass.cs | 81 + .../ObservedConditionClass.cs | 81 + .../ObservedEventClass.cs | 81 + .../ObservedFaultClass.cs | 81 + .../ObservedMeasurementClass.cs | 81 + .../ObservedNormalClass.cs | 81 + .../ObservedStateClass.cs | 81 + .../ObservedWarningClass.cs | 81 + .../AdditionalObservationTerms/SampleClass.cs | 148 + .../AssetInformationModel/AssetClass.cs | 591 ++ .../CSVImports/ImportDescriptorClass.cs | 846 ++ .../Classes/CSVImports/PropertyMapClass.cs | 286 + .../ComponentConfigurationParametersClass.cs | 157 + .../ParameterClass.cs | 581 ++ .../ParameterSetClass.cs | 223 + .../Classes/ComponentTypes/ActuatorClass.cs | 88 + .../Classes/ComponentTypes/AdapterClass.cs | 158 + .../Classes/ComponentTypes/AirHandlerClass.cs | 87 + .../Classes/ComponentTypes/AmplifierClass.cs | 227 + .../AutomaticToolChangerClass.cs | 88 + .../Classes/ComponentTypes/AuxiliaryClass.cs | 157 + .../Classes/ComponentTypes/AxisClass.cs | 190 + .../Classes/ComponentTypes/BallscrewClass.cs | 227 + .../Classes/ComponentTypes/BarFeederClass.cs | 87 + .../Classes/ComponentTypes/BeltClass.cs | 227 + .../Classes/ComponentTypes/BrakeClass.cs | 227 + .../Classes/ComponentTypes/ChainClass.cs | 227 + .../Classes/ComponentTypes/ChopperClass.cs | 227 + .../Classes/ComponentTypes/ChuckClass.cs | 87 + .../Classes/ComponentTypes/ChuteClass.cs | 227 + .../ComponentTypes/CircuitBreakerClass.cs | 227 + .../Classes/ComponentTypes/ClampClass.cs | 227 + .../Classes/ComponentTypes/CompressorClass.cs | 227 + .../Classes/ComponentTypes/ControllerClass.cs | 580 ++ .../Classes/ComponentTypes/CoolantClass.cs | 157 + .../Classes/ComponentTypes/CoolingClass.cs | 88 + .../ComponentTypes/CoolingTowerClass.cs | 227 + .../Classes/ComponentTypes/DepositionClass.cs | 88 + .../Classes/ComponentTypes/DielectricClass.cs | 88 + .../Classes/ComponentTypes/DoorClass.cs | 160 + .../Classes/ComponentTypes/DrainClass.cs | 227 + .../Classes/ComponentTypes/ElectricClass.cs | 158 + .../Classes/ComponentTypes/EnclosureClass.cs | 88 + .../Classes/ComponentTypes/EncoderClass.cs | 227 + .../ComponentTypes/EndEffectorClass.cs | 88 + .../ComponentTypes/EnvironmentalClass.cs | 89 + .../Classes/ComponentTypes/ExpiredPotClass.cs | 227 + .../ComponentTypes/ExposureUnitClass.cs | 227 + .../ComponentTypes/ExtrusionUnitClass.cs | 227 + .../Models/Classes/ComponentTypes/FanClass.cs | 227 + .../ComponentTypes/FeatureOccurrenceClass.cs | 717 ++ .../Classes/ComponentTypes/FeederClass.cs | 88 + .../Classes/ComponentTypes/FilterClass.cs | 227 + .../ComponentTypes/GalvanomotorClass.cs | 227 + .../ComponentTypes/GangToolBarClass.cs | 88 + .../Classes/ComponentTypes/GripperClass.cs | 227 + .../Classes/ComponentTypes/HeatingClass.cs | 88 + .../Classes/ComponentTypes/HopperClass.cs | 227 + .../Classes/ComponentTypes/HydraulicClass.cs | 157 + .../Classes/ComponentTypes/LinearClass.cs | 297 + .../LinearPositionFeedbackClass.cs | 229 + .../Classes/ComponentTypes/LinkClass.cs | 87 + .../Classes/ComponentTypes/LoaderClass.cs | 87 + .../Classes/ComponentTypes/LockClass.cs | 157 + .../ComponentTypes/LubricationClass.cs | 87 + .../Classes/ComponentTypes/MaterialClass.cs | 87 + .../Classes/ComponentTypes/MotorClass.cs | 227 + .../Models/Classes/ComponentTypes/OilClass.cs | 227 + .../Classes/ComponentTypes/PartClass.cs | 157 + .../ComponentTypes/PartOccurrenceClass.cs | 775 ++ .../Classes/ComponentTypes/PathClass.cs | 582 ++ .../Classes/ComponentTypes/PersonnelClass.cs | 228 + .../Classes/ComponentTypes/PneumaticClass.cs | 158 + .../Models/Classes/ComponentTypes/PotClass.cs | 227 + .../Classes/ComponentTypes/PowerClass.cs | 89 + .../ComponentTypes/PowerSupplyClass.cs | 227 + .../Classes/ComponentTypes/PressureClass.cs | 88 + .../Classes/ComponentTypes/ProcessClass.cs | 157 + .../ComponentTypes/ProcessOccurrenceClass.cs | 578 ++ .../ComponentTypes/ProcessPowerClass.cs | 88 + .../Classes/ComponentTypes/ProtectiveClass.cs | 88 + .../Classes/ComponentTypes/PulleyClass.cs | 227 + .../Classes/ComponentTypes/PumpClass.cs | 227 + .../Classes/ComponentTypes/ReelClass.cs | 227 + .../Classes/ComponentTypes/RemovalPotClass.cs | 227 + .../Classes/ComponentTypes/ResourceClass.cs | 157 + .../Classes/ComponentTypes/ReturnPotClass.cs | 227 + .../Classes/ComponentTypes/RotaryClass.cs | 367 + .../ComponentTypes/SensingElementClass.cs | 227 + .../Classes/ComponentTypes/SensorClass.cs | 92 + .../Classes/ComponentTypes/SpindleClass.cs | 91 + .../Classes/ComponentTypes/SpreaderClass.cs | 227 + .../Classes/ComponentTypes/StagingPotClass.cs | 227 + .../Classes/ComponentTypes/StationClass.cs | 227 + .../Classes/ComponentTypes/StockClass.cs | 298 + .../ComponentTypes/StorageBatteryClass.cs | 227 + .../Classes/ComponentTypes/StructureClass.cs | 157 + .../Classes/ComponentTypes/SwitchClass.cs | 227 + .../Classes/ComponentTypes/SystemClass.cs | 157 + .../Classes/ComponentTypes/TableClass.cs | 227 + .../Classes/ComponentTypes/TankClass.cs | 227 + .../Classes/ComponentTypes/TensionerClass.cs | 227 + .../Classes/ComponentTypes/ThermostatClass.cs | 91 + .../ComponentTypes/ToolMagazineClass.cs | 89 + .../Classes/ComponentTypes/ToolRackClass.cs | 88 + .../ComponentTypes/ToolingDeliveryClass.cs | 88 + .../ComponentTypes/TransferArmClass.cs | 227 + .../ComponentTypes/TransferPotClass.cs | 227 + .../ComponentTypes/TransformerClass.cs | 227 + .../Classes/ComponentTypes/TurretClass.cs | 88 + .../Classes/ComponentTypes/VacuumClass.cs | 87 + .../Classes/ComponentTypes/ValveClass.cs | 227 + .../Models/Classes/ComponentTypes/VatClass.cs | 227 + .../Classes/ComponentTypes/VibrationClass.cs | 91 + .../ComponentTypes/WasteDisposalClass.cs | 87 + .../Classes/ComponentTypes/WaterClass.cs | 227 + .../Classes/ComponentTypes/WireClass.cs | 227 + .../ComponentTypes/WorkEnvelopeClass.cs | 88 + .../Classes/ComponentTypes/WorkpieceClass.cs | 227 + .../Components/ComponentGeneralization.cs | 1256 +++ .../Classes/Components/DescriptionClass.cs | 440 + .../Classes/Compositions/CompositionClass.cs | 577 ++ .../Classes/ConditionTypes/ActuatorClass.cs | 157 + .../ConditionTypes/CommunicationsClass.cs | 157 + .../Classes/ConditionTypes/DataRangeClass.cs | 157 + .../ConditionTypes/LogicProgramClass.cs | 157 + .../ConditionTypes/MotionProgramClass.cs | 157 + .../Classes/ConditionTypes/SystemClass.cs | 157 + .../Configurations/ConfigurationClass.cs | 787 ++ .../CoordinateSystemClass.cs | 730 ++ .../Classes/CoordinateSystems/OriginClass.cs | 153 + .../CoordinateSystems/RotationClass.cs | 154 + .../CoordinateSystems/TransformationClass.cs | 233 + .../CoordinateSystems/TranslationClass.cs | 153 + .../Classes/CuttingItem/CuttingItemClass.cs | 808 ++ .../Classes/CuttingItem/ItemLifeClass.cs | 508 ++ .../ChamferFlatLengthClass.cs | 227 + .../ChamferWidthClass.cs | 227 + .../CornerRadiusClass.cs | 227 + .../CuttingDiameterClass.cs | 229 + .../CuttingEdgeLengthClass.cs | 227 + .../CuttingHeightClass.cs | 227 + .../CuttingReferencePointClass.cs | 227 + .../DriveAngleClass.cs | 227 + .../FlangeDiameterClass.cs | 227 + .../FunctionalLengthClass.cs | 229 + .../FunctionalWidthClass.cs | 227 + .../IncribedCircleDiameterClass.cs | 227 + .../InsertWidthClass.cs | 227 + .../PointAngleClass.cs | 227 + .../StepDiameterLengthClass.cs | 227 + .../StepIncludedAngleClass.cs | 227 + .../ToolCuttingEdgeAngleClass.cs | 227 + .../ToolLeadAngleClass.cs | 227 + .../ToolOrientationClass.cs | 229 + .../WeightClass.cs | 229 + .../WiperEdgeLengthClass.cs | 227 + .../CuttingTool/CuttingToolArchetypeClass.cs | 445 ++ .../CuttingToolArchetypeReferenceClass.cs | 224 + .../Classes/CuttingTool/CuttingToolClass.cs | 516 ++ .../CuttingTool/CuttingToolDefinitionClass.cs | 224 + .../CuttingToolLifeCycleClass.cs | 857 ++ .../CuttingToolLifeCycle/LocationClass.cs | 727 ++ .../CuttingToolLifeCycle/MeasurementClass.cs | 654 ++ .../ProcessFeedRateClass.cs | 367 + .../ProcessSpindleSpeedClass.cs | 367 + .../ReconditionCountClass.cs | 224 + .../CuttingToolLifeCycle/StatusClass.cs | 153 + .../CuttingToolLifeCycle/ToolLifeClass.cs | 509 ++ .../BodyDiameterMaxClass.cs | 227 + .../BodyLengthMaxClass.cs | 227 + .../CuttingDiameterMaxClass.cs | 229 + .../DepthOfCutMaxClass.cs | 227 + .../FlangeDiameterMaxClass.cs | 227 + .../FunctionalLengthClass.cs | 229 + .../OverallToolLengthClass.cs | 227 + .../ProtrudingLengthClass.cs | 227 + .../ShankDiameterClass.cs | 227 + .../ShankHeightClass.cs | 227 + .../ShankLengthClass.cs | 227 + .../UsableLengthMaxClass.cs | 227 + .../WeightClass.cs | 229 + .../Classes/DataItemTypes/ConditionClass.cs | 230 + .../Classes/DataItemTypes/EventClass.cs | 229 + .../Classes/DataItemTypes/SampleClass.cs | 299 + .../CloseChuck.RequestClass.cs | 227 + .../CloseChuck.ResponseClass.cs | 227 + .../CloseChuckClass.cs | 227 + .../CloseDoor.RequestClass.cs | 227 + .../CloseDoor.ResponseClass.cs | 227 + .../CloseDoorClass.cs | 227 + .../InterfaceStateClass.cs | 229 + .../MaterialChange.RequestClass.cs | 227 + .../MaterialChange.ResponseClass.cs | 227 + .../MaterialChangeClass.cs | 227 + .../MaterialFeed.RequestClass.cs | 227 + .../MaterialFeed.ResponseClass.cs | 227 + .../MaterialFeedClass.cs | 227 + .../MaterialLoad.RequestClass.cs | 227 + .../MaterialLoad.ResponseClass.cs | 227 + .../MaterialLoadClass.cs | 227 + .../MaterialRetract.RequestClass.cs | 227 + .../MaterialRetract.ResponseClass.cs | 227 + .../MaterialRetractClass.cs | 227 + .../MaterialUnload.RequestClass.cs | 227 + .../MaterialUnload.ResponseClass.cs | 227 + .../MaterialUnloadClass.cs | 227 + .../OpenChuck.RequestClass.cs | 227 + .../OpenChuck.ResponseClass.cs | 227 + .../OpenChuckClass.cs | 227 + .../OpenDoor.RequestClass.cs | 227 + .../OpenDoor.ResponseClass.cs | 227 + .../OpenDoorClass.cs | 227 + .../PartChange.RequestClass.cs | 227 + .../PartChange.ResponseClass.cs | 227 + .../PartChangeClass.cs | 227 + .../Models/Classes/DataItems/DataItemClass.cs | 1893 +++++ .../DataTypes/AlarmLimitResultClass.cs | 378 + .../DataTypes/ControlLimitResultClass.cs | 449 ++ .../FeatureMeasurementResultClass.cs | 727 ++ .../DataTypes/LocationAddressResultClass.cs | 1364 ++++ .../LocationSpatialGeographicResultClass.cs | 299 + .../DataTypes/MaintenanceListResultClass.cs | 796 ++ .../DataTypes/SensorAttachmentResultClass.cs | 158 + .../SpecificationLimitResultClass.cs | 307 + .../DeviceInformationModel/DeviceClass.cs | 1428 ++++ .../Models/Classes/Devices/AgentClass.cs | 97 + .../ActivationCount.AbortedClass.cs | 157 + .../EventTypes/ActivationCount.AllClass.cs | 157 + .../EventTypes/ActivationCount.BadClass.cs | 157 + .../ActivationCount.CompleteClass.cs | 157 + .../EventTypes/ActivationCount.FailedClass.cs | 157 + .../EventTypes/ActivationCount.GoodClass.cs | 157 + .../ActivationCount.RemainingClass.cs | 157 + .../EventTypes/ActivationCount.TargetClass.cs | 157 + .../EventTypes/ActivationCountClass.cs | 297 + .../Classes/EventTypes/ActiveAxesClass.cs | 227 + .../EventTypes/ActivePowerSourceClass.cs | 228 + .../Classes/EventTypes/ActuatorStateClass.cs | 227 + .../EventTypes/AdapterSoftwareVersionClass.cs | 157 + .../Classes/EventTypes/AdapterURIClass.cs | 157 + .../Models/Classes/EventTypes/AlarmClass.cs | 516 ++ .../Classes/EventTypes/AlarmLimitClass.cs | 227 + .../Classes/EventTypes/AlarmLimitsClass.cs | 227 + .../Application.InstallDateClass.cs | 227 + .../EventTypes/Application.LicenseClass.cs | 157 + .../Application.ManufacturerClass.cs | 157 + .../Application.ReleaseDateClass.cs | 227 + .../EventTypes/Application.VersionClass.cs | 157 + .../Classes/EventTypes/ApplicationClass.cs | 227 + .../Classes/EventTypes/AssetChangedClass.cs | 299 + .../Classes/EventTypes/AssetCountClass.cs | 227 + .../Classes/EventTypes/AssetRemovedClass.cs | 299 + .../Classes/EventTypes/AvailabilityClass.cs | 227 + .../Classes/EventTypes/AxisCouplingClass.cs | 227 + .../AxisFeedrateOverride.JogClass.cs | 161 + .../AxisFeedrateOverride.ProgrammedClass.cs | 157 + .../AxisFeedrateOverride.RapidClass.cs | 157 + .../EventTypes/AxisFeedrateOverrideClass.cs | 227 + .../Classes/EventTypes/AxisInterlockClass.cs | 227 + .../Classes/EventTypes/AxisStateClass.cs | 227 + .../Classes/EventTypes/BatteryStateClass.cs | 227 + .../Models/Classes/EventTypes/BlockClass.cs | 157 + .../Classes/EventTypes/BlockCountClass.cs | 227 + .../CharacteristicPersistentIdClass.cs | 227 + .../EventTypes/CharacteristicStatusClass.cs | 227 + .../ChuckInterlock.ManualUnclampClass.cs | 159 + .../Classes/EventTypes/ChuckInterlockClass.cs | 227 + .../Classes/EventTypes/ChuckStateClass.cs | 227 + .../Classes/EventTypes/ClockTimeClass.cs | 227 + .../Models/Classes/EventTypes/CodeClass.cs | 159 + .../Classes/EventTypes/ComponentDataClass.cs | 161 + .../CompositionState.ActionClass.cs | 227 + .../CompositionState.LateralClass.cs | 227 + .../CompositionState.MotionClass.cs | 228 + .../CompositionState.SwitchedClass.cs | 227 + .../CompositionState.VerticalClass.cs | 227 + .../EventTypes/CompositionStateClass.cs | 227 + .../EventTypes/ConnectionStatusClass.cs | 227 + .../Classes/EventTypes/ControlLimitClass.cs | 227 + .../Classes/EventTypes/ControlLimitsClass.cs | 227 + .../Classes/EventTypes/ControllerModeClass.cs | 227 + .../ControllerModeOverride.DryRunClass.cs | 159 + ...rollerModeOverride.MachineAxisLockClass.cs | 159 + ...ontrollerModeOverride.OptionalStopClass.cs | 163 + ...ControllerModeOverride.SingleBlockClass.cs | 161 + ...trollerModeOverride.ToolChangeStopClass.cs | 161 + .../EventTypes/ControllerModeOverrideClass.cs | 297 + .../Classes/EventTypes/CoupledAxesClass.cs | 227 + .../EventTypes/CycleCount.AbortedClass.cs | 157 + .../Classes/EventTypes/CycleCount.AllClass.cs | 157 + .../Classes/EventTypes/CycleCount.BadClass.cs | 157 + .../EventTypes/CycleCount.CompleteClass.cs | 157 + .../EventTypes/CycleCount.FailedClass.cs | 157 + .../EventTypes/CycleCount.GoodClass.cs | 157 + .../EventTypes/CycleCount.RemainingClass.cs | 157 + .../EventTypes/CycleCount.TargetClass.cs | 157 + .../Classes/EventTypes/CycleCountClass.cs | 297 + .../EventTypes/DateCode.ExpirationClass.cs | 157 + .../EventTypes/DateCode.FirstUseClass.cs | 157 + .../EventTypes/DateCode.ManufactureClass.cs | 157 + .../Classes/EventTypes/DateCodeClass.cs | 227 + .../DeactivationCount.AbortedClass.cs | 157 + .../EventTypes/DeactivationCount.AllClass.cs | 157 + .../EventTypes/DeactivationCount.BadClass.cs | 157 + .../DeactivationCount.CompleteClass.cs | 157 + .../DeactivationCount.FailedClass.cs | 157 + .../EventTypes/DeactivationCount.GoodClass.cs | 157 + .../DeactivationCount.RemainingClass.cs | 157 + .../DeactivationCount.TargetClass.cs | 157 + .../EventTypes/DeactivationCountClass.cs | 297 + .../Classes/EventTypes/DeviceAddedClass.cs | 228 + .../Classes/EventTypes/DeviceChangedClass.cs | 228 + .../Classes/EventTypes/DeviceRemovedClass.cs | 228 + .../Classes/EventTypes/DeviceUuidClass.cs | 157 + .../EventTypes/Direction.LinearClass.cs | 227 + .../EventTypes/Direction.RotaryClass.cs | 227 + .../Classes/EventTypes/DirectionClass.cs | 297 + .../Classes/EventTypes/DoorStateClass.cs | 227 + .../Classes/EventTypes/EmergencyStopClass.cs | 227 + .../EventTypes/EndOfBar.AuxiliaryClass.cs | 157 + .../EventTypes/EndOfBar.PrimaryClass.cs | 161 + .../Classes/EventTypes/EndOfBarClass.cs | 297 + .../EventTypes/EquipmentMode.DelayClass.cs | 157 + .../EventTypes/EquipmentMode.LoadedClass.cs | 159 + .../EquipmentMode.OperatingClass.cs | 159 + .../EventTypes/EquipmentMode.PoweredClass.cs | 160 + .../EventTypes/EquipmentMode.WorkingClass.cs | 159 + .../Classes/EventTypes/EquipmentModeClass.cs | 297 + .../Classes/EventTypes/ExecutionClass.cs | 227 + .../EventTypes/FeatureMeasurementClass.cs | 229 + .../EventTypes/FeaturePersisitentIdClass.cs | 227 + .../EventTypes/Firmware.InstallDateClass.cs | 227 + .../EventTypes/Firmware.LicenseClass.cs | 157 + .../EventTypes/Firmware.ManufacturerClass.cs | 157 + .../EventTypes/Firmware.ReleaseDateClass.cs | 227 + .../EventTypes/Firmware.VersionClass.cs | 157 + .../Classes/EventTypes/FirmwareClass.cs | 227 + .../Classes/EventTypes/FixtureIdClass.cs | 157 + .../Classes/EventTypes/FunctionalModeClass.cs | 227 + .../EventTypes/Hardness.BrinellClass.cs | 157 + .../Classes/EventTypes/Hardness.LeebClass.cs | 157 + .../Classes/EventTypes/Hardness.MohsClass.cs | 157 + .../EventTypes/Hardness.RockwellClass.cs | 157 + .../Classes/EventTypes/Hardness.ShoreClass.cs | 157 + .../EventTypes/Hardness.VickersClass.cs | 157 + .../Classes/EventTypes/HardnessClass.cs | 297 + .../EventTypes/Hardware.InstallDateClass.cs | 227 + .../EventTypes/Hardware.LicenseClass.cs | 157 + .../EventTypes/Hardware.ManufacturerClass.cs | 157 + .../Classes/EventTypes/Hardware.ModelClass.cs | 157 + .../EventTypes/Hardware.ReleaseDateClass.cs | 227 + .../EventTypes/Hardware.VersionClass.cs | 157 + .../Classes/EventTypes/HardwareClass.cs | 227 + .../Classes/EventTypes/HostNameClass.cs | 157 + .../Classes/EventTypes/LeakDetectClass.cs | 227 + .../EventTypes/Library.InstallDateClass.cs | 227 + .../EventTypes/Library.LicenseClass.cs | 157 + .../EventTypes/Library.ManufacturerClass.cs | 157 + .../EventTypes/Library.ReleaseDateClass.cs | 227 + .../EventTypes/Library.VersionClass.cs | 157 + .../Models/Classes/EventTypes/LibraryClass.cs | 227 + .../Classes/EventTypes/Line.MaximumClass.cs | 159 + .../Classes/EventTypes/Line.MinimumClass.cs | 159 + .../Models/Classes/EventTypes/LineClass.cs | 159 + .../Classes/EventTypes/LineLabelClass.cs | 157 + .../EventTypes/LineNumber.AbsoluteClass.cs | 157 + .../EventTypes/LineNumber.IncrementalClass.cs | 157 + .../Classes/EventTypes/LineNumberClass.cs | 227 + .../EventTypes/LoadCount.AbortedClass.cs | 157 + .../Classes/EventTypes/LoadCount.AllClass.cs | 157 + .../Classes/EventTypes/LoadCount.BadClass.cs | 157 + .../EventTypes/LoadCount.CompleteClass.cs | 157 + .../EventTypes/LoadCount.FailedClass.cs | 157 + .../Classes/EventTypes/LoadCount.GoodClass.cs | 157 + .../EventTypes/LoadCount.RemainingClass.cs | 157 + .../EventTypes/LoadCount.TargetClass.cs | 157 + .../Classes/EventTypes/LoadCountClass.cs | 297 + .../EventTypes/LocationAddressClass.cs | 227 + .../EventTypes/LocationNarrativeClass.cs | 157 + .../LocationSpatialGeographicClass.cs | 227 + .../Classes/EventTypes/LockStateClass.cs | 227 + .../EventTypes/MTConnectVersionClass.cs | 157 + .../EventTypes/MaintenanceListClass.cs | 233 + .../Classes/EventTypes/MaterialClass.cs | 157 + .../EventTypes/MaterialLayer.ActualClass.cs | 157 + .../EventTypes/MaterialLayer.TargetClass.cs | 157 + .../Classes/EventTypes/MaterialLayerClass.cs | 227 + .../EventTypes/MeasurementTypeClass.cs | 159 + .../EventTypes/MeasurementUnitsClass.cs | 157 + .../EventTypes/MeasurementValueClass.cs | 227 + .../Models/Classes/EventTypes/MessageClass.cs | 228 + .../EventTypes/Network.GatewayClass.cs | 157 + .../EventTypes/Network.IPv4AddressClass.cs | 157 + .../EventTypes/Network.IPv6AddressClass.cs | 157 + .../EventTypes/Network.MacAddressClass.cs | 159 + .../EventTypes/Network.SubnetMaskClass.cs | 157 + .../Classes/EventTypes/Network.VLanIdClass.cs | 157 + .../EventTypes/Network.WirelessClass.cs | 227 + .../Models/Classes/EventTypes/NetworkClass.cs | 227 + .../Classes/EventTypes/NetworkPortClass.cs | 227 + .../Classes/EventTypes/OperatingModeClass.cs | 227 + .../OperatingSystem.InstallDateClass.cs | 227 + .../OperatingSystem.LicenseClass.cs | 157 + .../OperatingSystem.ManufacturerClass.cs | 157 + .../OperatingSystem.ReleaseDateClass.cs | 227 + .../OperatingSystem.VersionClass.cs | 157 + .../EventTypes/OperatingSystemClass.cs | 227 + .../Classes/EventTypes/OperatorIdClass.cs | 157 + .../Classes/EventTypes/PalletIdClass.cs | 157 + .../EventTypes/PartCount.AbortedClass.cs | 157 + .../Classes/EventTypes/PartCount.AllClass.cs | 157 + .../Classes/EventTypes/PartCount.BadClass.cs | 157 + .../EventTypes/PartCount.CompleteClass.cs | 157 + .../EventTypes/PartCount.FailedClass.cs | 157 + .../Classes/EventTypes/PartCount.GoodClass.cs | 157 + .../EventTypes/PartCount.RemainingClass.cs | 157 + .../EventTypes/PartCount.TargetClass.cs | 157 + .../Classes/EventTypes/PartCountClass.cs | 297 + .../Classes/EventTypes/PartCountTypeClass.cs | 227 + .../Classes/EventTypes/PartDetectClass.cs | 227 + .../EventTypes/PartGroupId.BatchClass.cs | 157 + .../EventTypes/PartGroupId.HeatTreatClass.cs | 157 + .../EventTypes/PartGroupId.LotClass.cs | 157 + .../PartGroupId.RawMaterialClass.cs | 157 + .../EventTypes/PartGroupId.UuidClass.cs | 157 + .../Classes/EventTypes/PartGroupIdClass.cs | 229 + .../Models/Classes/EventTypes/PartIdClass.cs | 157 + .../EventTypes/PartKindId.PartFamilyClass.cs | 157 + .../EventTypes/PartKindId.PartNameClass.cs | 157 + .../EventTypes/PartKindId.PartNumberClass.cs | 157 + .../EventTypes/PartKindId.UuidClass.cs | 157 + .../Classes/EventTypes/PartKindIdClass.cs | 229 + .../Classes/EventTypes/PartNumberClass.cs | 159 + .../EventTypes/PartProcessingStateClass.cs | 227 + .../Classes/EventTypes/PartStatusClass.cs | 229 + .../PartUniqueId.RawMaterialClass.cs | 157 + .../PartUniqueId.SerialNumberClass.cs | 157 + .../EventTypes/PartUniqueId.UuidClass.cs | 157 + .../Classes/EventTypes/PartUniqueIdClass.cs | 229 + .../PathFeedrateOverride.JogClass.cs | 159 + .../PathFeedrateOverride.ProgrammedClass.cs | 157 + .../PathFeedrateOverride.RapidClass.cs | 157 + .../EventTypes/PathFeedrateOverrideClass.cs | 227 + .../Classes/EventTypes/PathModeClass.cs | 227 + .../EventTypes/PowerState.ControlClass.cs | 157 + .../EventTypes/PowerState.LineClass.cs | 157 + .../Classes/EventTypes/PowerStateClass.cs | 227 + .../Classes/EventTypes/PowerStatusClass.cs | 229 + .../ProcessAggregateId.OrderNumberClass.cs | 157 + .../ProcessAggregateId.ProcessPlanClass.cs | 157 + .../ProcessAggregateId.ProcessStepClass.cs | 157 + .../EventTypes/ProcessAggregateIdClass.cs | 157 + .../ProcessKindId.ISOStepExecutableClass.cs | 157 + .../ProcessKindId.ProcessNameClass.cs | 157 + .../EventTypes/ProcessKindId.UuidClass.cs | 157 + .../Classes/EventTypes/ProcessKindIdClass.cs | 157 + .../ProcessOccurrenceId.ActivityClass.cs | 157 + .../ProcessOccurrenceId.OperationClass.cs | 157 + .../ProcessOccurrenceId.RecipeClass.cs | 157 + .../ProcessOccurrenceId.SegmentClass.cs | 157 + .../EventTypes/ProcessOccurrenceIdClass.cs | 157 + .../Classes/EventTypes/ProcessStateClass.cs | 227 + .../EventTypes/ProcessTime.CompleteClass.cs | 157 + .../EventTypes/ProcessTime.StartClass.cs | 157 + .../ProcessTime.TargetCompletionClass.cs | 157 + .../Classes/EventTypes/ProcessTimeClass.cs | 227 + .../Classes/EventTypes/Program.ActiveClass.cs | 157 + .../EventTypes/Program.ActivityClass.cs | 157 + .../Classes/EventTypes/Program.MainClass.cs | 159 + .../EventTypes/Program.OperationClass.cs | 157 + .../Classes/EventTypes/Program.RecipeClass.cs | 157 + .../EventTypes/Program.ScheduleClass.cs | 157 + .../EventTypes/Program.SegmentClass.cs | 157 + .../Models/Classes/EventTypes/ProgramClass.cs | 157 + .../EventTypes/ProgramComment.ActiveClass.cs | 157 + .../EventTypes/ProgramComment.MainClass.cs | 159 + .../ProgramComment.ScheduleClass.cs | 157 + .../Classes/EventTypes/ProgramCommentClass.cs | 157 + .../Classes/EventTypes/ProgramEditClass.cs | 227 + .../EventTypes/ProgramEditNameClass.cs | 157 + .../EventTypes/ProgramHeader.ActiveClass.cs | 157 + .../EventTypes/ProgramHeader.MainClass.cs | 159 + .../EventTypes/ProgramHeader.ScheduleClass.cs | 157 + .../Classes/EventTypes/ProgramHeaderClass.cs | 227 + .../EventTypes/ProgramLocation.ActiveClass.cs | 157 + .../EventTypes/ProgramLocation.MainClass.cs | 159 + .../ProgramLocation.ScheduleClass.cs | 157 + .../EventTypes/ProgramLocationClass.cs | 157 + .../ProgramLocationType.ActiveClass.cs | 157 + .../ProgramLocationType.MainClass.cs | 159 + .../ProgramLocationType.ScheduleClass.cs | 157 + .../EventTypes/ProgramLocationTypeClass.cs | 227 + .../EventTypes/ProgramNestLevelClass.cs | 230 + .../Classes/EventTypes/RotaryModeClass.cs | 227 + .../EventTypes/RotaryVelocityOverrideClass.cs | 229 + .../Classes/EventTypes/RotationClass.cs | 297 + .../EventTypes/SensorAttachmentClass.cs | 227 + .../EventTypes/SensorState.BinaryClass.cs | 227 + .../EventTypes/SensorState.BooleanClass.cs | 227 + .../EventTypes/SensorState.DetectClass.cs | 227 + .../EventTypes/SensorState.EnumeratedClass.cs | 227 + .../Classes/EventTypes/SensorStateClass.cs | 227 + .../Classes/EventTypes/SerialNumberClass.cs | 157 + .../EventTypes/SpecificationLimitClass.cs | 227 + .../EventTypes/SpecificationLimitsClass.cs | 227 + .../EventTypes/SpindleInterlockClass.cs | 227 + .../EventTypes/Thickness.ActualClass.cs | 157 + .../EventTypes/Thickness.CommandedClass.cs | 157 + .../EventTypes/Thickness.ProgrammedClass.cs | 157 + .../EventTypes/Thickness.TargetClass.cs | 157 + .../Classes/EventTypes/ThicknessClass.cs | 297 + .../Classes/EventTypes/ToolAssetIdClass.cs | 157 + .../EventTypes/ToolCuttingItemClass.cs | 157 + .../Classes/EventTypes/ToolGroupClass.cs | 157 + .../Models/Classes/EventTypes/ToolIdClass.cs | 159 + .../Classes/EventTypes/ToolNumberClass.cs | 157 + .../EventTypes/ToolOffset.LengthClass.cs | 157 + .../EventTypes/ToolOffset.RadialClass.cs | 157 + .../Classes/EventTypes/ToolOffsetClass.cs | 297 + .../Classes/EventTypes/ToolOffsetsClass.cs | 157 + .../EventTypes/TransferCount.AbortedClass.cs | 157 + .../EventTypes/TransferCount.AllClass.cs | 157 + .../EventTypes/TransferCount.BadClass.cs | 157 + .../EventTypes/TransferCount.CompleteClass.cs | 157 + .../EventTypes/TransferCount.FailedClass.cs | 157 + .../EventTypes/TransferCount.GoodClass.cs | 157 + .../TransferCount.RemainingClass.cs | 157 + .../EventTypes/TransferCount.TargetClass.cs | 157 + .../Classes/EventTypes/TransferCountClass.cs | 297 + .../Classes/EventTypes/TranslationClass.cs | 297 + .../Classes/EventTypes/UncertaintyClass.cs | 227 + .../EventTypes/UncertaintyTypeClass.cs | 227 + .../EventTypes/UnloadCount.AbortedClass.cs | 157 + .../EventTypes/UnloadCount.AllClass.cs | 157 + .../EventTypes/UnloadCount.BadClass.cs | 157 + .../EventTypes/UnloadCount.CompleteClass.cs | 157 + .../EventTypes/UnloadCount.FailedClass.cs | 157 + .../EventTypes/UnloadCount.GoodClass.cs | 157 + .../EventTypes/UnloadCount.RemainingClass.cs | 157 + .../EventTypes/UnloadCount.TargetClass.cs | 157 + .../Classes/EventTypes/UnloadCountClass.cs | 297 + .../EventTypes/User.MaintenanceClass.cs | 157 + .../Classes/EventTypes/User.OperatorClass.cs | 157 + .../Classes/EventTypes/User.SetUpClass.cs | 157 + .../Models/Classes/EventTypes/UserClass.cs | 227 + .../EventTypes/ValveState.ActualClass.cs | 157 + .../EventTypes/ValveState.ProgrammedClass.cs | 159 + .../Classes/EventTypes/ValveStateClass.cs | 227 + .../Classes/EventTypes/VariableClass.cs | 157 + .../Classes/EventTypes/WaitStateClass.cs | 229 + .../Models/Classes/EventTypes/WireClass.cs | 157 + .../Classes/EventTypes/WorkOffsetClass.cs | 157 + .../Classes/EventTypes/WorkOffsetsClass.cs | 157 + .../Classes/EventTypes/WorkholdingIdClass.cs | 157 + .../Models/Classes/Files/AbstractFileClass.cs | 511 ++ .../Models/Classes/Files/DestinationClass.cs | 153 + .../Classes/Files/FileArchetypeClass.cs | 87 + .../Models/Classes/Files/FileClass.cs | 724 ++ .../Models/Classes/Files/FileCommentClass.cs | 224 + .../Models/Classes/Files/FileLocationClass.cs | 228 + .../Models/Classes/Files/FilePropertyClass.cs | 224 + .../Models/Classes/Glossary/AdapterClass.cs | 82 + .../Models/Classes/Glossary/AgentClass.cs | 83 + .../Classes/Glossary/AlarmLimitClass.cs | 77 + .../Classes/Glossary/ApplicationClass.cs | 78 + .../Models/Classes/Glossary/ArchetypeClass.cs | 82 + .../Classes/Glossary/AssetBufferClass.cs | 77 + .../Classes/Glossary/AttachmentClass.cs | 77 + .../Models/Classes/Glossary/BufferClass.cs | 77 + .../CartesianCoordinateSystemClass.cs | 77 + .../Classes/Glossary/CharacteristicClass.cs | 82 + .../Models/Classes/Glossary/ClientClass.cs | 86 + .../CombinedStandardUncertaintyClass.cs | 87 + .../Glossary/ConditionActivationClass.cs | 82 + .../Glossary/ControlledVocabularyClass.cs | 82 + .../Classes/Glossary/DataDictionaryClass.cs | 77 + .../Models/Classes/Glossary/DataModelClass.cs | 77 + .../Models/Classes/Glossary/DataSetClass.cs | 77 + .../Classes/Glossary/DataSourceClass.cs | 78 + .../Classes/Glossary/DeprecatedClass.cs | 77 + .../Glossary/DeprecationWarningClass.cs | 77 + .../Models/Classes/Glossary/DocumentClass.cs | 77 + .../Classes/Glossary/ElectricCurrentClass.cs | 77 + .../Models/Classes/Glossary/ElementClass.cs | 77 + .../Classes/Glossary/ExtensibleClass.cs | 78 + .../Models/Classes/Glossary/FeatureClass.cs | 82 + .../Models/Classes/Glossary/ForceClass.cs | 77 + .../Models/Classes/Glossary/HeartbeatClass.cs | 77 + .../Classes/Glossary/HigherLevelClass.cs | 82 + .../Classes/Glossary/ImplementationClass.cs | 77 + .../Classes/Glossary/InformationModelClass.cs | 77 + .../Models/Classes/Glossary/InstanceClass.cs | 77 + .../Classes/Glossary/InteractionModelClass.cs | 77 + .../Models/Classes/Glossary/InterfaceClass.cs | 77 + .../Models/Classes/Glossary/KeyClass.cs | 77 + .../Classes/Glossary/KeyValuePairClass.cs | 77 + .../Models/Classes/Glossary/LocationClass.cs | 82 + .../Classes/Glossary/LowerCamelCaseClass.cs | 77 + .../Classes/Glossary/LowerLevelClass.cs | 82 + .../Classes/Glossary/LowerLimitClass.cs | 77 + .../Classes/Glossary/LowerWarningClass.cs | 77 + .../Models/Classes/Glossary/MajorClass.cs | 77 + .../Models/Classes/Glossary/MaximumClass.cs | 77 + .../Models/Classes/Glossary/MessageClass.cs | 77 + .../Models/Classes/Glossary/MetadataClass.cs | 79 + .../Models/Classes/Glossary/MinimumClass.cs | 77 + .../Models/Classes/Glossary/MinorClass.cs | 77 + .../Models/Classes/Glossary/NominalClass.cs | 77 + .../Models/Classes/Glossary/OrganizeClass.cs | 77 + .../Models/Classes/Glossary/OrganizerClass.cs | 77 + .../Models/Classes/Glossary/ParameterClass.cs | 77 + .../Models/Classes/Glossary/PartClass.cs | 77 + .../Classes/Glossary/PascalCaseClass.cs | 77 + .../Models/Classes/Glossary/PatchClass.cs | 77 + .../Classes/Glossary/PersistenceClass.cs | 77 + .../Models/Classes/Glossary/PositionClass.cs | 87 + .../Models/Classes/Glossary/ProbeClass.cs | 77 + .../Models/Classes/Glossary/ProfileClass.cs | 77 + .../Models/Classes/Glossary/RequesterClass.cs | 77 + .../Models/Classes/Glossary/ResetClass.cs | 81 + .../Models/Classes/Glossary/ResponderClass.cs | 77 + .../Classes/Glossary/ResponseDocumentClass.cs | 82 + .../Models/Classes/Glossary/SchemaClass.cs | 77 + .../Glossary/SemanticDataModelClass.cs | 77 + .../Classes/Glossary/SensingElementClass.cs | 77 + .../Classes/Glossary/SequenceNumberClass.cs | 77 + .../Glossary/SpecificationLimitClass.cs | 77 + .../Models/Classes/Glossary/SpindleClass.cs | 81 + .../Models/Classes/Glossary/StandardClass.cs | 77 + .../StandardUncertaintyGeneralization.cs | 87 + .../Classes/Glossary/StereotypeClass.cs | 77 + .../Models/Classes/Glossary/SubtypeClass.cs | 77 + .../Models/Classes/Glossary/TableCellClass.cs | 77 + .../Models/Classes/Glossary/TableClass.cs | 77 + .../Classes/Glossary/TableEntryClass.cs | 77 + .../Models/Classes/Glossary/TopLevelClass.cs | 77 + .../Models/Classes/Glossary/TypeClass.cs | 77 + .../Classes/Glossary/UncertaintyClass.cs | 84 + .../Classes/Glossary/UpperLimitClass.cs | 77 + .../Classes/Glossary/UpperWarningClass.cs | 77 + .../Models/Classes/Glossary/VersionClass.cs | 77 + .../Models/Classes/HTTPTerms/HTTPBodyClass.cs | 77 + .../HTTPTerms/HTTPErrorMessageClass.cs | 77 + .../Classes/HTTPTerms/HTTPHeaderClass.cs | 77 + .../Classes/HTTPTerms/HTTPHeaderFieldClass.cs | 77 + .../Classes/HTTPTerms/HTTPMessageClass.cs | 81 + .../Classes/HTTPTerms/HTTPMessagingClass.cs | 77 + .../Classes/HTTPTerms/HTTPMethodClass.cs | 78 + .../Classes/HTTPTerms/HTTPQueryClass.cs | 77 + .../HTTPTerms/HTTPRequestGeneralization.cs | 86 + .../Classes/HTTPTerms/HTTPRequestLineClass.cs | 81 + .../HTTPTerms/HTTPRequestMethodClass.cs | 77 + .../Classes/HTTPTerms/HTTPRequestURIClass.cs | 77 + .../Classes/HTTPTerms/HTTPResponseClass.cs | 81 + .../Classes/HTTPTerms/HTTPServerClass.cs | 77 + .../Classes/HTTPTerms/HTTPStatusCodeClass.cs | 77 + .../Classes/HTTPTerms/HTTPVersionClass.cs | 77 + .../Classes/ImageFiles/ImageFileClass.cs | 366 + .../Classes/IndustrialTerms/AssetClass.cs | 90 + .../Classes/IndustrialTerms/ConditionClass.cs | 77 + .../IndustrialTerms/ConditionStateClass.cs | 77 + .../IndustrialTerms/ConfigurationClass.cs | 82 + .../IndustrialTerms/ControlLimitClass.cs | 77 + .../IndustrialTerms/EngineeredSystemClass.cs | 432 + .../IndustrialTerms/EngineeringUnitsClass.cs | 77 + .../Classes/IndustrialTerms/EquipmentClass.cs | 81 + .../IndustrialTerms/EquipmentMetadataClass.cs | 77 + .../IndustrialTerms/ObservableClass.cs | 217 + .../IndustrialTerms/ObservationClass.cs | 217 + .../Classes/IndustrialTerms/ObserveClass.cs | 77 + .../PhysicalConnectionClass.cs | 77 + .../IndustrialTerms/RawMaterialClass.cs | 77 + .../Classes/IndustrialTerms/ResourceClass.cs | 77 + .../Classes/IndustrialTerms/SensorClass.cs | 77 + .../SensorConfigurationClass.cs | 77 + .../IndustrialTerms/SensorDataClass.cs | 77 + .../IndustrialTerms/SensorElementClass.cs | 77 + .../IndustrialTerms/SensorUnitClass.cs | 77 + .../Classes/IndustrialTerms/ThingClass.cs | 83 + .../InformationModel/ComponentClass.cs | 76 + .../InformationModel/ConditionValueClass.cs | 81 + .../InformationModel/ConfigurationClass.cs | 76 + .../InformationModel/ContitionClass.cs | 151 + .../ControlledVocabularyValueClass.cs | 81 + .../Classes/InformationModel/DataItemClass.cs | 76 + .../Classes/InformationModel/DataSetClass.cs | 76 + .../Classes/InformationModel/DeviceClass.cs | 81 + .../Classes/InformationModel/EventClass.cs | 151 + .../InformationModel/NumericValueClass.cs | 81 + .../InformationModel/ObservationClass.cs | 146 + .../InformationModel/ObservationValueClass.cs | 76 + .../InformationModel/ReferenceClass.cs | 76 + .../Classes/InformationModel/SampleClass.cs | 151 + .../Classes/InformationModel/TableClass.cs | 81 + .../InformationModel/TextValueClass.cs | 81 + .../InformationModel/TimeSeriesClass.cs | 76 + .../AssetInformationModelClass.cs | 82 + .../DeviceInformationModelClass.cs | 82 + .../ErrorInformationModelClass.cs | 82 + ...MTConnectInformationModelGeneralization.cs | 82 + .../ObservationInformationModelClass.cs | 82 + .../InterfaceClass.cs | 228 + .../RequesterClass.cs | 86 + .../ResponderClass.cs | 86 + .../BarFeederInterfaceGeneralization.cs | 89 + .../ChuckInterfaceGeneralization.cs | 89 + .../DoorInterfaceGeneralization.cs | 89 + .../MaterialHandlerInterfaceGeneralization.cs | 96 + .../KinematicsSimulation/Robot7axesClass.cs | 1126 +++ .../HeaderClass.cs | 666 ++ .../MTConnectAssetsClass.cs | 226 + .../AssetCountClass.cs | 155 + .../HeaderClass.cs | 1053 +++ .../MTConnectDevicesClass.cs | 244 + .../ErrorClass.cs | 224 + .../HeaderClass.cs | 811 ++ .../MTConnectErrorClass.cs | 296 + .../HeaderClass.cs | 811 ++ .../MTConnectStreamsClass.cs | 226 + .../MTConnectTerms/AssetGeneralization.cs | 160 + .../Classes/MTConnectTerms/ComponentClass.cs | 434 + .../MTConnectTerms/CompositionClass.cs | 152 + .../ConfigurationGeneralization.cs | 152 + .../Classes/MTConnectTerms/DataItemClass.cs | 152 + .../Classes/MTConnectTerms/DeviceClass.cs | 152 + .../MTConnectAgentGeneralization.cs | 82 + .../MTConnectDocumentGeneralization.cs | 82 + .../MTConnectEventGeneralization.cs | 82 + .../MTConnectTerms/MTConnectInterfaceClass.cs | 77 + .../MTConnectTerms/ObservationClass.cs | 152 + ...ConnectDeviceWithOperationalStatesClass.cs | 81 + .../ManufacturingEquipmentClass.cs | 76 + .../Models/Classes/Motion/AxisClass.cs | 163 + .../Models/Classes/Motion/MotionClass.cs | 722 ++ .../ComponentStreamClass.cs | 730 ++ .../ConditionClass.cs | 749 ++ .../DeviceStreamClass.cs | 299 + .../ObservationInformationModel/EventClass.cs | 311 + .../ObservationGeneralization.cs | 1007 +++ .../SampleClass.cs | 674 ++ .../Models/Classes/Parser/JsonParserClass.cs | 76 + .../Models/Classes/Parser/XmlParserClass.cs | 76 + .../Classes/Pipelines/AssetCommandClass.cs | 431 + .../Classes/Pipelines/ConvertSampleClass.cs | 81 + .../Classes/Pipelines/DataMessageClass.cs | 81 + .../Models/Classes/Pipelines/EntityClass.cs | 216 + .../EntityNameGuardGeneralization.cs | 151 + .../Classes/Pipelines/Entity{Command}Class.cs | 221 + .../Entity{ConnectionStatus}Class.cs | 221 + .../Classes/Pipelines/Entity{Data}Class.cs | 221 + .../Models/Classes/Pipelines/Entity{MClass.cs | 76 + .../Classes/Pipelines/Entity{Message}Class.cs | 291 + .../Pipelines/ExactTypeGuardGeneralization.cs | 151 + .../Models/Classes/Pipelines/GuardClass.cs | 76 + .../Classes/Pipelines/JsonMessageClass.cs | 81 + .../Pipelines/LambdaGuardGeneralization.cs | 151 + .../Classes/Pipelines/ObservationsClass.cs | 151 + .../Classes/Pipelines/PipelineMessageClass.cs | 291 + .../Classes/Pipelines/TimestampedClass.cs | 151 + .../Models/Classes/Pipelines/TokensClass.cs | 291 + .../Classes/Pipelines/TransformClass.cs | 216 + .../Pipelines/TypeGuardGeneralization.cs | 151 + ...ConnectDeviceWithPowerSourceConfigClass.cs | 81 + .../ManufacturingEquipmentClass.cs | 76 + .../Classes/PowerSources/PowerSourceClass.cs | 437 + .../Classes/Printer/JsonPrinterClass.cs | 76 + .../Models/Classes/Printer/XmlPrinterClass.cs | 76 + .../PropertiesOfDataItem/ConstraintsClass.cs | 442 + .../PropertiesOfDataItem/DefinitionClass.cs | 292 + .../PropertiesOfDataItem/FilterClass.cs | 223 + .../PropertiesOfDataItem/InitialValueClass.cs | 152 + .../MinimumDeltaFilterGeneralization.cs | 157 + .../PeriodFilterGeneralization.cs | 227 + .../PropertiesOfDataItem/ResetTriggerClass.cs | 153 + .../PropertiesOfDataItem/SourceClass.cs | 366 + .../CellDefinitionClass.cs | 509 ++ .../EntryDefinitionClass.cs | 579 ++ .../ProtocolTerms/AssetRequestClass.cs | 82 + .../ProtocolTerms/CurrentRequestClass.cs | 82 + .../ProtocolTerms/DataStreamingClass.cs | 82 + .../MTConnectAssetsResponseDocumentClass.cs | 82 + .../MTConnectDevicesResponseDocumentClass.cs | 82 + .../MTConnectErrorsResponseDocumentClass.cs | 82 + .../MTConnectRequestGeneralization.cs | 82 + .../MTConnectResponseDocumentClass.cs | 77 + .../MTConnectStreamsResponseDocumentClass.cs | 82 + .../ProtocolTerms/ProbeRequestClass.cs | 82 + .../Classes/ProtocolTerms/ProtocolClass.cs | 77 + .../ProtocolTerms/PublishAndSubscribeClass.cs | 86 + .../Classes/ProtocolTerms/PublishClass.cs | 82 + .../ProtocolTerms/RequestAndResponseClass.cs | 82 + .../Classes/ProtocolTerms/RequestClass.cs | 82 + .../Classes/ProtocolTerms/ResponseClass.cs | 82 + .../ProtocolTerms/SampleRequestClass.cs | 82 + .../ProtocolTerms/StreamingDataClass.cs | 82 + .../Classes/ProtocolTerms/SubscribeClass.cs | 82 + .../TransportProtocolGeneralization.cs | 82 + .../Models/Classes/QIF/QIFDocumentClass.cs | 82 + .../Classes/QIF/QIFDocumentWrapperClass.cs | 228 + .../Models/Classes/RESTProtocol/AgentClass.cs | 605 ++ .../Classes/RawMaterial/MaterialClass.cs | 654 ++ .../Classes/RawMaterial/RawMaterialClass.cs | 1228 +++ .../ReferenceAgentArchitecture/AgentClass.cs | 76 + .../AssetStroageClass.cs | 76 + .../DataSinkServiceGeneralization.cs | 81 + .../DataSourceServiceGeneralization.cs | 81 + .../MQTTSinkClass.cs | 76 + .../MQTTSinkGeneralization.cs | 81 + .../MQTTSourceClass.cs | 76 + .../ReferenceAgentArchitecture/NCLinkClass.cs | 81 + .../OPCUASinkGeneralization.cs | 81 + .../PipelineClass.cs | 76 + .../RestServiceGeneralization.cs | 81 + .../RestSinkClass.cs | 76 + .../RestSourceClass.cs | 76 + .../ServiceClass.cs | 216 + .../ReferenceAgentArchitecture/SinkClass.cs | 76 + .../ReferenceAgentArchitecture/SourceClass.cs | 76 + .../StorageServiceGeneralization.cs | 81 + .../TransformationServiceGeneralization.cs | 81 + .../TransformtionClass.cs | 76 + .../Classes/References/ComponentRefClass.cs | 160 + .../Classes/References/DataItemRefClass.cs | 159 + .../Classes/References/ReferenceClass.cs | 367 + .../AbstractDataItemRelationshipClass.cs | 225 + .../DataItemRelationshipClass.cs | 158 + .../SpecificationRelationshipClass.cs | 158 + .../Relationships/AssetRelationshipClass.cs | 303 + .../ComponentRelationshipClass.cs | 158 + .../ConfigurationRelationshipClass.cs | 367 + .../Relationships/DeviceRelationshipClass.cs | 375 + .../Representation/TemperatureClass.cs | 81 + .../Classes/Representation/VariableClass.cs | 81 + .../Representation/WorkOffsetsClass.cs | 152 + .../Classes/Representations/CellClass.cs | 231 + .../Classes/Representations/DataSetClass.cs | 265 + .../Classes/Representations/DiscreteClass.cs | 170 + .../Classes/Representations/EntryClass.cs | 372 + .../Representations/RepresentationClass.cs | 89 + .../Classes/Representations/TableClass.cs | 252 + .../Representations/TableEntryClass.cs | 368 + .../Representations/TimeSeriesClass.cs | 245 + .../Classes/Representations/ValueClass.cs | 157 + .../Requirements/DeviceConfigurationClass.cs | 76 + .../Requirements/DeviceUtilizationClass.cs | 76 + .../Requirements/OperationalStatesClass.cs | 76 + .../SampleTypes/Acceleration.ActualClass.cs | 157 + .../Acceleration.CommandedClass.cs | 157 + .../Acceleration.ProgrammedClass.cs | 157 + .../Classes/SampleTypes/AccelerationClass.cs | 297 + .../SampleTypes/AccumulatedTimeClass.cs | 227 + .../SampleTypes/Amperage.ActualClass.cs | 161 + .../SampleTypes/Amperage.AlternatingClass.cs | 163 + .../SampleTypes/Amperage.DirectClass.cs | 161 + .../SampleTypes/Amperage.TargetClass.cs | 161 + .../SampleTypes/AmperageAC.ActualClass.cs | 157 + .../SampleTypes/AmperageAC.CommandedClass.cs | 157 + .../SampleTypes/AmperageAC.ProgrammedClass.cs | 157 + .../Classes/SampleTypes/AmperageACClass.cs | 297 + .../Classes/SampleTypes/AmperageClass.cs | 229 + .../SampleTypes/AmperageDC.ActualClass.cs | 157 + .../SampleTypes/AmperageDC.CommandedClass.cs | 157 + .../SampleTypes/AmperageDC.ProgrammedClass.cs | 157 + .../Classes/SampleTypes/AmperageDCClass.cs | 297 + .../Classes/SampleTypes/Angle.ActualClass.cs | 157 + .../SampleTypes/Angle.CommandedClass.cs | 157 + .../Models/Classes/SampleTypes/AngleClass.cs | 227 + .../AngularAcceleration.ActualClass.cs | 157 + .../AngularAcceleration.CommandedClass.cs | 157 + .../AngularAcceleration.ProgrammedClass.cs | 157 + .../SampleTypes/AngularAccelerationClass.cs | 297 + .../AngularDeceleration.ActualClass.cs | 157 + .../AngularDeceleration.CommandedClass.cs | 157 + .../AngularDeceleration.ProgrammedClass.cs | 157 + .../SampleTypes/AngularDecelerationClass.cs | 297 + .../SampleTypes/AngularVelocityClass.cs | 227 + .../SampleTypes/AssetUpdateRateClass.cs | 227 + .../SampleTypes/AxisFeedrate.ActualClass.cs | 157 + .../AxisFeedrate.CommandedClass.cs | 157 + .../SampleTypes/AxisFeedrate.JogClass.cs | 159 + .../SampleTypes/AxisFeedrate.OverrideClass.cs | 159 + .../AxisFeedrate.ProgrammedClass.cs | 157 + .../SampleTypes/AxisFeedrate.RapidClass.cs | 157 + .../Classes/SampleTypes/AxisFeedrateClass.cs | 227 + .../BatteryCapacity.ActualClass.cs | 157 + .../BatteryCapacity.TargetClass.cs | 157 + .../SampleTypes/BatteryCapacityClass.cs | 297 + .../SampleTypes/BatteryCharge.ActualClass.cs | 157 + .../SampleTypes/BatteryCharge.TargetClass.cs | 157 + .../Classes/SampleTypes/BatteryChargeClass.cs | 297 + .../Classes/SampleTypes/CapacityFluidClass.cs | 227 + .../SampleTypes/CapacitySpatialClass.cs | 227 + .../SampleTypes/ChargeRate.ActualClass.cs | 157 + .../SampleTypes/ChargeRate.TargetClass.cs | 157 + .../Classes/SampleTypes/ChargeRateClass.cs | 297 + .../Classes/SampleTypes/ConcentrationClass.cs | 227 + .../Classes/SampleTypes/ConductivityClass.cs | 227 + .../SampleTypes/CuttingSpeed.ActualClass.cs | 157 + .../CuttingSpeed.CommandedClass.cs | 157 + .../CuttingSpeed.ProgrammedClass.cs | 157 + .../Classes/SampleTypes/CuttingSpeedClass.cs | 227 + .../SampleTypes/Deceleration.ActualClass.cs | 157 + .../Deceleration.CommandedClass.cs | 157 + .../Deceleration.ProgrammedClass.cs | 157 + .../Classes/SampleTypes/DecelerationClass.cs | 297 + .../Classes/SampleTypes/DensityClass.cs | 227 + ...itionAccelerationVolumetric.ActualClass.cs | 157 + ...onAccelerationVolumetric.CommandedClass.cs | 157 + .../DepositionAccelerationVolumetricClass.cs | 227 + .../DepositionDensity.ActualClass.cs | 157 + .../DepositionDensity.CommandedClass.cs | 157 + .../SampleTypes/DepositionDensityClass.cs | 227 + .../SampleTypes/DepositionMass.ActualClass.cs | 157 + .../DepositionMass.CommandedClass.cs | 157 + .../SampleTypes/DepositionMassClass.cs | 227 + .../DepositionRateVolumetric.ActualClass.cs | 157 + ...DepositionRateVolumetric.CommandedClass.cs | 157 + .../DepositionRateVolumetricClass.cs | 227 + .../DepositionVolume.ActualClass.cs | 157 + .../DepositionVolume.CommandedClass.cs | 157 + .../SampleTypes/DepositionVolumeClass.cs | 227 + .../Classes/SampleTypes/DewPointClass.cs | 227 + .../Classes/SampleTypes/DiameterClass.cs | 227 + .../SampleTypes/DischargeRate.ActualClass.cs | 157 + .../SampleTypes/DischargeRate.TargetClass.cs | 157 + .../Classes/SampleTypes/DischargeRateClass.cs | 297 + .../SampleTypes/DisplacementAngularClass.cs | 229 + .../Classes/SampleTypes/DisplacementClass.cs | 227 + .../SampleTypes/DisplacementLinearClass.cs | 229 + .../SampleTypes/ElectricalEnergyClass.cs | 227 + .../SampleTypes/EquipmentTimer.DelayClass.cs | 157 + .../SampleTypes/EquipmentTimer.LoadedClass.cs | 159 + .../EquipmentTimer.OperatingClass.cs | 159 + .../EquipmentTimer.PoweredClass.cs | 159 + .../EquipmentTimer.WorkingClass.cs | 159 + .../SampleTypes/EquipmentTimerClass.cs | 297 + .../Classes/SampleTypes/FillLevelClass.cs | 227 + .../Models/Classes/SampleTypes/FlowClass.cs | 227 + .../SampleTypes/FollowingError.ActualClass.cs | 157 + .../FollowingErrorAngular.ActualClass.cs | 157 + .../SampleTypes/FollowingErrorAngularClass.cs | 227 + .../SampleTypes/FollowingErrorClass.cs | 227 + .../FollowingErrorLinear.ActualClass.cs | 157 + .../SampleTypes/FollowingErrorLinearClass.cs | 227 + .../Classes/SampleTypes/FrequencyClass.cs | 227 + .../SampleTypes/GlobalPosition.ActualClass.cs | 159 + .../GlobalPosition.CommandedClass.cs | 159 + .../SampleTypes/GlobalPositionClass.cs | 229 + .../GravitationalAccelerationClass.cs | 229 + .../SampleTypes/GravitationalForceClass.cs | 229 + .../HumidityAbsolute.ActualClass.cs | 157 + .../HumidityAbsolute.CommandedClass.cs | 157 + .../SampleTypes/HumidityAbsoluteClass.cs | 227 + .../HumidityRelative.ActualClass.cs | 157 + .../HumidityRelative.CommandedClass.cs | 157 + .../SampleTypes/HumidityRelativeClass.cs | 227 + .../HumiditySpecific.ActualClass.cs | 157 + .../HumiditySpecific.CommandedClass.cs | 157 + .../SampleTypes/HumiditySpecificClass.cs | 227 + .../SampleTypes/Length.RemainingClass.cs | 157 + .../SampleTypes/Length.StandardClass.cs | 157 + .../SampleTypes/Length.UseableClass.cs | 157 + .../Models/Classes/SampleTypes/LengthClass.cs | 227 + .../Models/Classes/SampleTypes/LevelClass.cs | 229 + .../Classes/SampleTypes/LinearForceClass.cs | 227 + .../Models/Classes/SampleTypes/LoadClass.cs | 227 + .../Models/Classes/SampleTypes/MassClass.cs | 227 + .../SampleTypes/ObservationUpdateRateClass.cs | 227 + .../Classes/SampleTypes/OpennessClass.cs | 227 + .../SampleTypes/Orientation.ActualClass.cs | 157 + .../SampleTypes/Orientation.CommandedClass.cs | 157 + .../Classes/SampleTypes/OrientationClass.cs | 297 + .../Models/Classes/SampleTypes/PHClass.cs | 227 + .../SampleTypes/PathFeedrate.ActualClass.cs | 157 + .../PathFeedrate.CommandedClass.cs | 157 + .../SampleTypes/PathFeedrate.JogClass.cs | 159 + .../SampleTypes/PathFeedrate.OverrideClass.cs | 161 + .../PathFeedrate.ProgrammedClass.cs | 157 + .../SampleTypes/PathFeedrate.RapidClass.cs | 157 + .../Classes/SampleTypes/PathFeedrateClass.cs | 227 + .../PathFeedratePerRevolution.ActualClass.cs | 157 + ...athFeedratePerRevolution.CommandedClass.cs | 157 + ...thFeedratePerRevolution.ProgrammedClass.cs | 157 + .../PathFeedratePerRevolutionClass.cs | 227 + .../SampleTypes/PathPosition.ActualClass.cs | 157 + .../PathPosition.CommandedClass.cs | 157 + .../SampleTypes/PathPosition.ProbeClass.cs | 159 + .../SampleTypes/PathPosition.TargetClass.cs | 157 + .../Classes/SampleTypes/PathPositionClass.cs | 328 + .../SampleTypes/Position.ActualClass.cs | 157 + .../SampleTypes/Position.CommandedClass.cs | 157 + .../SampleTypes/Position.ProgrammedClass.cs | 157 + .../SampleTypes/Position.TargetClass.cs | 157 + .../SampleTypes/PositionCartesianClass.cs | 297 + .../Classes/SampleTypes/PositionClass.cs | 227 + .../Classes/SampleTypes/PowerFactorClass.cs | 227 + .../SampleTypes/PressureAbsoluteClass.cs | 227 + .../Classes/SampleTypes/PressureClass.cs | 227 + .../PressurizationRate.ActualClass.cs | 157 + .../PressurizationRate.CommandedClass.cs | 157 + .../PressurizationRate.ProgrammedClass.cs | 157 + .../SampleTypes/PressurizationRateClass.cs | 227 + .../SampleTypes/ProcessTimer.DelayClass.cs | 157 + .../SampleTypes/ProcessTimer.ProcessClass.cs | 160 + .../Classes/SampleTypes/ProcessTimerClass.cs | 297 + .../Classes/SampleTypes/ResistanceClass.cs | 227 + .../SampleTypes/RotaryVelocity.ActualClass.cs | 157 + .../RotaryVelocity.CommandedClass.cs | 157 + .../RotaryVelocity.OverrideClass.cs | 161 + .../RotaryVelocity.ProgrammedClass.cs | 157 + .../SampleTypes/RotaryVelocityClass.cs | 227 + .../SampleTypes/SettlingError.ActualClass.cs | 157 + .../SettlingErrorAngular.ActualClass.cs | 157 + .../SampleTypes/SettlingErrorAngularClass.cs | 227 + .../Classes/SampleTypes/SettlingErrorClass.cs | 227 + .../SettlingErrorLinear.ActualClass.cs | 157 + .../SampleTypes/SettlingErrorLinearClass.cs | 227 + .../SampleTypes/SoundLevel.AScaleClass.cs | 157 + .../SampleTypes/SoundLevel.BScaleClass.cs | 157 + .../SampleTypes/SoundLevel.CScaleClass.cs | 157 + .../SampleTypes/SoundLevel.DScaleClass.cs | 157 + .../SampleTypes/SoundLevel.NoScaleClass.cs | 157 + .../Classes/SampleTypes/SoundLevelClass.cs | 297 + .../SampleTypes/SpindleSpeed.ActualClass.cs | 161 + .../SpindleSpeed.CommandedClass.cs | 161 + .../SampleTypes/SpindleSpeed.OverrideClass.cs | 161 + .../Classes/SampleTypes/SpindleSpeedClass.cs | 229 + .../Models/Classes/SampleTypes/StrainClass.cs | 227 + .../Classes/SampleTypes/TemperatureClass.cs | 227 + .../Classes/SampleTypes/TensionClass.cs | 227 + .../Models/Classes/SampleTypes/TiltClass.cs | 227 + .../Models/Classes/SampleTypes/TorqueClass.cs | 227 + .../Classes/SampleTypes/VelocityClass.cs | 227 + .../Classes/SampleTypes/ViscosityClass.cs | 227 + .../Classes/SampleTypes/VoltAmpereClass.cs | 227 + .../SampleTypes/VoltAmpereReactiveClass.cs | 227 + .../SampleTypes/Voltage.ActualClass.cs | 161 + .../SampleTypes/Voltage.AlternatingClass.cs | 163 + .../SampleTypes/Voltage.DirectClass.cs | 161 + .../SampleTypes/Voltage.TargetClass.cs | 161 + .../SampleTypes/VoltageAC.ActualClass.cs | 157 + .../SampleTypes/VoltageAC.CommandedClass.cs | 157 + .../SampleTypes/VoltageAC.ProgrammedClass.cs | 157 + .../Classes/SampleTypes/VoltageACClass.cs | 297 + .../Classes/SampleTypes/VoltageClass.cs | 229 + .../SampleTypes/VoltageDC.ActualClass.cs | 157 + .../SampleTypes/VoltageDC.CommandedClass.cs | 157 + .../SampleTypes/VoltageDC.ProgrammedClass.cs | 157 + .../Classes/SampleTypes/VoltageDCClass.cs | 297 + .../SampleTypes/VolumeFluid.ActualClass.cs | 157 + .../SampleTypes/VolumeFluid.ConsumedClass.cs | 157 + .../SampleTypes/VolumeFluid.EndedClass.cs | 157 + .../SampleTypes/VolumeFluid.PartClass.cs | 157 + .../SampleTypes/VolumeFluid.StartClass.cs | 157 + .../SampleTypes/VolumeFluid.WasteClass.cs | 157 + .../Classes/SampleTypes/VolumeFluidClass.cs | 227 + .../SampleTypes/VolumeSpatial.ActualClass.cs | 157 + .../VolumeSpatial.ConsumedClass.cs | 157 + .../SampleTypes/VolumeSpatial.EndedClass.cs | 157 + .../SampleTypes/VolumeSpatial.PartClass.cs | 157 + .../SampleTypes/VolumeSpatial.StartClass.cs | 157 + .../SampleTypes/VolumeSpatial.WasteClass.cs | 157 + .../Classes/SampleTypes/VolumeSpatialClass.cs | 227 + .../SampleTypes/Wattage.ActualClass.cs | 157 + .../SampleTypes/Wattage.TargetClass.cs | 157 + .../Classes/SampleTypes/WattageClass.cs | 227 + .../Classes/SampleTypes/XDimensionClass.cs | 227 + .../Classes/SampleTypes/YDimensionClass.cs | 227 + .../Classes/SampleTypes/ZDimensionClass.cs | 227 + .../Models/Classes/Sensor/ChannelClass.cs | 578 ++ .../Sensor/SensorConfigurationClass.cs | 439 + .../Classes/Simulation/KinematicsClass.cs | 76 + .../Classes/Sink/RestSinkGeneralization.cs | 81 + .../Models/Classes/SolidModel/ScaleClass.cs | 153 + .../Classes/SolidModel/SolidModelClass.cs | 801 ++ .../Source/AdapterDataSourceGeneralization.cs | 81 + .../Source/MQTTDataSourceGeneralization.cs | 81 + .../Specifications/AlarmLimitsClass.cs | 362 + .../Specifications/ControlLimitsClass.cs | 432 + .../Classes/Specifications/LowerLimitClass.cs | 154 + .../Specifications/LowerWarningClass.cs | 152 + .../Classes/Specifications/MaximumClass.cs | 152 + .../Classes/Specifications/MinimumClass.cs | 152 + .../Classes/Specifications/NominalClass.cs | 152 + .../ProcessSpecificationGeneralization.cs | 297 + .../Specifications/SpecificationClass.cs | 1211 +++ .../SpecificationLimitsClass.cs | 292 + .../Classes/Specifications/UpperLimitClass.cs | 154 + .../Specifications/UpperWarningClass.cs | 152 + .../Classes/Storage/CircularBuffferClass.cs | 76 + .../TasksInformationModel/CapabilityClass.cs | 76 + .../CollaboratorClass.cs | 426 + .../TasksInformationModel/PriorityClass.cs | 146 + .../TaskArchetypeClass.cs | 571 ++ .../TasksInformationModel/TaskClass.cs | 641 ++ .../Models/Classes/XArm7Model/AngleClass.cs | 146 + .../Models/Classes/XArm7Model/AxisClass.cs | 81 + .../OriginPositionGeneralization.cs | 81 + .../Classes/XArm7Model/OriginPropertyClass.cs | 496 ++ .../XArm7Model/ParentCoordinatesClass.cs | 81 + .../Classes/XArm7Model/PositionClass.cs | 496 ++ .../RotationVectorGeneralization.cs | 81 + .../Classes/XArm7Model/TransformationClass.cs | 1874 +++++ .../TranslationVectorGeneralization.cs | 81 + .../Models/Classes/XArm7Model/VectorClass.cs | 286 + .../XMLTerms/AbstractElementGeneralization.cs | 84 + .../Models/Classes/XMLTerms/AttributeClass.cs | 78 + .../XMLTerms/ChildElementGeneralization.cs | 82 + .../Classes/XMLTerms/DocumentBodyClass.cs | 78 + .../Classes/XMLTerms/DocumentHeaderClass.cs | 78 + .../Classes/XMLTerms/ElementNameClass.cs | 77 + .../Models/Classes/XMLTerms/NamespaceClass.cs | 77 + .../XMLTerms/ParentElementGeneralization.cs | 82 + .../XMLTerms/RootElementGeneralization.cs | 82 + .../XMLTerms/StructuralElementClass.cs | 77 + .../XMLTerms/XMLDocumentGeneralization.cs | 362 + .../XMLTerms/XMLSchemaGeneralization.cs | 83 + .../Enums/DataTypes/ActuatorStateEnum.cs | 173 + .../Models/Enums/DataTypes/AlarmCodeEnum.cs | 623 ++ .../Enums/DataTypes/AlarmSeverityEnum.cs | 289 + .../Models/Enums/DataTypes/AlarmStateEnum.cs | 235 + .../DataTypes/ApplicationCategoryEnum.cs | 479 ++ .../Enums/DataTypes/ApplicationTypeEnum.cs | 377 + .../Models/Enums/DataTypes/AssetTypeEnum.cs | 401 + .../Enums/DataTypes/AvailabilityEnum.cs | 173 + .../Enums/DataTypes/AxisCouplingEnum.cs | 275 + .../Enums/DataTypes/AxisInterlockEnum.cs | 173 + .../Models/Enums/DataTypes/AxisStateEnum.cs | 277 + .../Enums/DataTypes/BatteryStateEnum.cs | 275 + .../Models/Enums/DataTypes/CategoryEnum.cs | 226 + .../DataTypes/CharacteristicStatusEnum.cs | 479 ++ .../Enums/DataTypes/ChuckInterlockEnum.cs | 173 + .../Models/Enums/DataTypes/ChuckStateEnum.cs | 226 + .../Models/Enums/DataTypes/CodeEnum.cs | 1713 ++++ .../DataTypes/CompositionStateActionEnum.cs | 173 + .../DataTypes/CompositionStateLateralEnum.cs | 226 + .../DataTypes/CompositionStateMotionEnum.cs | 227 + .../DataTypes/CompositionStateSwitchedEnum.cs | 173 + .../DataTypes/CompositionStateVerticalEnum.cs | 226 + .../Enums/DataTypes/CompositionTypeEnum.cs | 2674 +++++++ .../Models/Enums/DataTypes/ConditionEnum.cs | 377 + .../Enums/DataTypes/ConditionStateEnum.cs | 224 + .../Enums/DataTypes/ConnectionStatusEnum.cs | 226 + .../Enums/DataTypes/ControllerModeEnum.cs | 381 + .../DataTypes/ControllerModeOverrideEnum.cs | 173 + .../Enums/DataTypes/CoordinateSystemEnum.cs | 185 + .../DataTypes/CoordinateSystemTypeEnum.cs | 536 ++ .../Enums/DataTypes/CountDirectionTypeEnum.cs | 173 + .../Enums/DataTypes/CriticalityTypeEnum.cs | 173 + .../Enums/DataTypes/CutterStatusTypeEnum.cs | 687 ++ .../DataTypes/DataItemRelationshipTypeEnum.cs | 275 + .../Enums/DataTypes/DataItemSubTypeEnum.cs | 5741 +++++++++++++ .../Enums/DataTypes/DataItemTypeEnum.cs | 71 + .../Models/Enums/DataTypes/DirectionEnum.cs | 291 + .../Enums/DataTypes/DirectionLinearEnum.cs | 224 + .../Enums/DataTypes/DirectionRotaryEnum.cs | 224 + .../Models/Enums/DataTypes/DoorStateEnum.cs | 226 + .../Enums/DataTypes/EmergencyStopEnum.cs | 173 + .../Models/Enums/DataTypes/EndOfBarEnum.cs | 173 + .../Enums/DataTypes/EquipmentModeEnum.cs | 173 + .../Models/Enums/DataTypes/ErrorCodeEnum.cs | 640 ++ .../Models/Enums/DataTypes/EventEnum.cs | 7084 +++++++++++++++++ .../Models/Enums/DataTypes/ExecutionEnum.cs | 593 ++ .../Models/Enums/DataTypes/FileStateEnum.cs | 224 + .../Models/Enums/DataTypes/FilterEnum.cs | 177 + .../Models/Enums/DataTypes/FormEnum.cs | 521 ++ .../Models/Enums/DataTypes/FormatTypeEnum.cs | 275 + .../Enums/DataTypes/FunctionalModeEnum.cs | 332 + .../Enums/DataTypes/InterfaceEventEnum.cs | 517 ++ .../Enums/DataTypes/InterfaceStateEnum.cs | 173 + .../Models/Enums/DataTypes/LeakDetectEnum.cs | 173 + .../Enums/DataTypes/LocationTypeEnum.cs | 581 ++ .../Models/Enums/DataTypes/LockStateEnum.cs | 173 + .../DataTypes/MaintenanceListDirectionEnum.cs | 171 + .../DataTypes/MaintenanceListIntervalEnum.cs | 171 + .../Models/Enums/DataTypes/MediaTypeEnum.cs | 530 ++ .../DataTypes/MotionActuationTypeEnum.cs | 226 + .../Models/Enums/DataTypes/MotionTypeEnum.cs | 275 + .../Models/Enums/DataTypes/NativeUnitEnum.cs | 2166 +++++ .../Enums/DataTypes/NetworkWirelessEnum.cs | 173 + .../Enums/DataTypes/OperatingModeEnum.cs | 236 + .../Models/Enums/DataTypes/OriginatorEnum.cs | 173 + .../Enums/DataTypes/PartCountTypeEnum.cs | 173 + .../Models/Enums/DataTypes/PartDetectEnum.cs | 173 + .../DataTypes/PartProcessingStateEnum.cs | 689 ++ .../Models/Enums/DataTypes/PartStatusEnum.cs | 173 + .../Models/Enums/DataTypes/PathModeEnum.cs | 275 + .../Enums/DataTypes/PowerSourceTypeEnum.cs | 224 + .../Models/Enums/DataTypes/PowerStateEnum.cs | 173 + .../Models/Enums/DataTypes/PowerStatusEnum.cs | 181 + .../Enums/DataTypes/ProcessStateEnum.cs | 377 + .../Models/Enums/DataTypes/ProgramEditEnum.cs | 224 + .../DataTypes/ProgramLocationTypeEnum.cs | 173 + .../Enums/DataTypes/QIFDocumentTypeEnum.cs | 371 + .../Models/Enums/DataTypes/QualifierEnum.cs | 173 + .../Enums/DataTypes/RelationshipTypeEnum.cs | 224 + .../Enums/DataTypes/RepresentationEnum.cs | 340 + .../Enums/DataTypes/RequestStateEnum.cs | 275 + .../Enums/DataTypes/ResetTriggerEnum.cs | 530 ++ .../Enums/DataTypes/ResetTriggeredEnum.cs | 530 ++ .../Enums/DataTypes/ResponseStateEnum.cs | 327 + .../Models/Enums/DataTypes/RoleTypeEnum.cs | 173 + .../Models/Enums/DataTypes/RotaryModeEnum.cs | 224 + .../Models/Enums/DataTypes/SampleEnum.cs | 4675 +++++++++++ .../Enums/DataTypes/SensorStateDetectEnum.cs | 226 + .../SpecificationRelationshipTypeEnum.cs | 122 + .../Enums/DataTypes/SpindleInterlockEnum.cs | 173 + .../Models/Enums/DataTypes/StatisticEnum.cs | 530 ++ .../Models/Enums/DataTypes/ToolLifeEnum.cs | 231 + .../Enums/DataTypes/UncertaintyTypeEnum.cs | 173 + .../Models/Enums/DataTypes/UnitEnum.cs | 2676 +++++++ .../Models/Enums/DataTypes/ValveStateEnum.cs | 277 + .../Models/Enums/DataTypes/WaitStateEnum.cs | 632 ++ .../Models/Enums/Pipelines/GuardResult.cs | 186 + .../CapabilityTypeEnum.cs | 306 + .../CollaboratorTypeEnum.cs | 226 + .../TasksInformationModel/TaskStateEnum.cs | 306 + .../TasksInformationModel/TaskTypeEnum.cs | 186 + .../Models/MtconnectModel.cs | 127 + .../ComponentConfigurationParameters.cs | 84 + .../AssetInformationModel/CuttingTool.cs | 139 + .../Packages/AssetInformationModel/Files.cs | 117 + .../Packages/AssetInformationModel/QIF.cs | 83 + .../AssetInformationModel/RawMaterial.cs | 81 + .../Packages/BasicUnits/BasicAcceleration.cs | 58 + .../BasicUnits/BasicAmountOfSubstance.cs | 58 + .../BasicAmountOfSubstanceConcentration.cs | 58 + .../Models/Packages/BasicUnits/BasicArea.cs | 58 + .../BasicUnits/BasicElectricCurrent.cs | 58 + .../BasicUnits/BasicElectricCurrentDensity.cs | 58 + .../Models/Packages/BasicUnits/BasicLength.cs | 58 + .../Packages/BasicUnits/BasicLuminance.cs | 58 + .../BasicUnits/BasicLuminousIntensity.cs | 58 + .../BasicUnits/BasicMagneticFieldStrength.cs | 58 + .../Models/Packages/BasicUnits/BasicMass.cs | 58 + .../Packages/BasicUnits/BasicMassDensity.cs | 58 + .../BasicUnits/BasicSpeedAndVelocity.cs | 58 + .../BasicThermodynamicTemperature.cs | 58 + .../Models/Packages/BasicUnits/BasicTime.cs | 58 + .../Models/Packages/BasicUnits/BasicVolume.cs | 58 + .../ComponentTypes/ComponentOrganizerTypes.cs | 59 + .../Packages/Components/ComponentTypes.cs | 805 ++ .../Models/Packages/Components/Devices.cs | 67 + .../Configurations/CoordinateSystems.cs | 103 + .../Packages/Configurations/ImageFiles.cs | 67 + .../Models/Packages/Configurations/Motion.cs | 82 + .../Packages/Configurations/PowerSources.cs | 71 + .../Packages/Configurations/Relationships.cs | 96 + .../Models/Packages/Configurations/Sensor.cs | 101 + .../Packages/Configurations/SolidModel.cs | 82 + .../Packages/Configurations/Specifications.cs | 152 + .../CuttingItemMeasurementSubtypes.cs | 217 + .../Packages/CuttingTool/CuttingItem.cs | 87 + .../CuttingTool/CuttingToolLifeCycle.cs | 121 + .../CuttingToolMeasurementSubtypes.cs | 158 + .../Packages/DataItems/DataItemTypes.cs | 96 + .../DataItems/PropertiesOfDataItem.cs | 132 + .../DeviceInformationModel/Components.cs | 123 + .../DeviceInformationModel/Compositions.cs | 80 + .../DeviceInformationModel/Configurations.cs | 128 + .../DeviceInformationModel/DataItems.cs | 90 + .../DeviceInformationModel/References.cs | 88 + .../Fundamentals/MTConnectProtocol.cs | 98 + .../Models/Packages/Glossary/HTTPTerms.cs | 171 + .../Packages/Glossary/IndustrialTerms.cs | 206 + .../Glossary/InformationModelTerms.cs | 94 + .../Packages/Glossary/MTConnectTerms.cs | 143 + .../Models/Packages/Glossary/ProtocolTerms.cs | 199 + .../Models/Packages/Glossary/XMLTerms.cs | 143 + .../Models/Packages/Imports/CSVImports.cs | 73 + .../Models/Packages/Imports/UnitImports.cs | 66 + .../DataForInterface.cs | 75 + .../DataItemTypesForInterface.cs | 298 + .../InterfaceTypes.cs | 97 + .../MultiDeviceInteractionModel.cs | 66 + .../OperationAndErrorRecovery.cs | 69 + .../InterfaceInteractionModel/Signals.cs | 58 + .../KinematicsSimulation/Simulation.cs | 66 + .../KinematicsSimulation/XArm7Instance.cs | 58 + .../KinematicsSimulation/XArm7Model.cs | 129 + .../MTConnectAssetsResponseDocument.cs | 74 + .../MTConnectDevicesResponseDocument.cs | 81 + .../MTConnectErrorsResponseDocument.cs | 84 + .../MTConnectStreamsResponseDocument.cs | 74 + .../MTConnectProtocol/RESTProtocol.cs | 199 + .../AdditionalObservationTerms.cs | 164 + .../MachineMonitoring/Requirements.cs | 73 + .../Packages/MachineMonitoring/UseCases.cs | 58 + .../Packages/MillW_SmoothG/Representation.cs | 80 + .../Mtconnect/AssetInformationModel.cs | 483 ++ .../Models/Packages/Mtconnect/DataTypes.cs | 788 ++ .../Packages/Mtconnect/DevelopmentProcess.cs | 58 + .../Mtconnect/DeviceInformationModel.cs | 609 ++ .../Models/Packages/Mtconnect/Fundamentals.cs | 468 ++ .../Models/Packages/Mtconnect/Glossary.cs | 661 ++ .../Models/Packages/Mtconnect/Imports.cs | 73 + .../Mtconnect/InterfaceInteractionModel.cs | 185 + .../MTConnectDeviceValidationSuite.cs | 58 + .../Mtconnect/ObservationInformationModel.cs | 314 + .../Mtconnect/ReferenceAgentArchitecture.cs | 248 + .../Models/Packages/Mtconnect/Stereotypes.cs | 58 + .../Packages/Mtconnect/SupportingDocuments.cs | 1514 ++++ .../Packages/Mtconnect/WIP_DeviceExamples.cs | 80 + .../Models/Packages/Mtconnect/WIP_UseCases.cs | 80 + .../TasksInformationModel.cs | 122 + .../ObservationTypes.cs | 85 + .../Representations.cs | 127 + .../ObservationTypes/ConditionTypes.cs | 108 + .../Packages/ObservationTypes/EventTypes.cs | 2356 ++++++ .../Packages/ObservationTypes/SampleTypes.cs | 1621 ++++ ...stAndResponseFailureHandlingAndRecovery.cs | 151 + .../Packages/PowerSource/Requirements.cs | 66 + .../Models/Packages/PowerSource/UseCases.cs | 58 + .../PropertiesOfDefinition.cs | 74 + .../RelationshipTypesForDataItem.cs | 81 + .../InformationModel.cs | 178 + .../ReferenceAgentArchitecture/Parser.cs | 73 + .../ReferenceAgentArchitecture/Pipelines.cs | 206 + .../ReferenceAgentArchitecture/Printer.cs | 73 + .../ReferenceAgentArchitecture/Rest.cs | 66 + .../ReferenceAgentArchitecture/Sink.cs | 66 + .../ReferenceAgentArchitecture/Source.cs | 73 + .../Transformation.cs | 58 + .../Models/Packages/Rest/Storage.cs | 66 + .../SupportingDocuments/CommonDocuments.cs | 844 ++ .../Models/Packages/UnitImports/BasicUnits.cs | 171 + .../KinematicsSimulation.cs | 87 + .../WIP_DeviceExamples/MillW_SmoothG.cs | 66 + .../Packages/WIP_DeviceExamples/PocketNC.cs | 58 + .../Models/Packages/WIP_UseCases/Actors.cs | 58 + .../WIP_UseCases/MachineMonitoring.cs | 87 + .../Packages/WIP_UseCases/PowerSource.cs | 87 + .../Models/Property.cs | 36 - .../Models/ScribanHelperMethods.cs | 63 - .../MtconnectTranspiler.Sinks.CSharp.csproj | 30 +- .../NavigationExtensions.cs | 96 + .../ObservationType.cs | 51 + .../Templates/Class.scriban | 48 - .../Templates/Enum.scriban | 64 - .../Templates/GeneratedCodeAttribute.scriban | 1 - .../UmlCommentsSummaryContent.scriban | 3 - 1387 files changed, 299294 insertions(+), 701 deletions(-) create mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpClass.cs rename MtconnectTranspiler.Sinks.CSharp/Models/Enum.cs => MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpEnum.cs (68%) create mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpHelperMethods.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpPackage.cs rename {MtconnectTranspiler.Sinks.CSharp => MtconnectTranspiler.Sinks.CSharp.Example}/Models/Constraint.cs (88%) rename {MtconnectTranspiler.Sinks.CSharp => MtconnectTranspiler.Sinks.CSharp.Example}/Models/CsharpType.cs (58%) rename {MtconnectTranspiler.Sinks.CSharp => MtconnectTranspiler.Sinks.CSharp.Example}/Models/EnumItem.cs (79%) delete mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Models/ExampleClass.cs delete mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Models/ExampleEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Models/MtconnectModel.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Models/Property.cs rename {MtconnectTranspiler.Sinks.CSharp => MtconnectTranspiler.Sinks.CSharp.Example}/Models/Summary.cs (59%) rename {MtconnectTranspiler.Sinks.CSharp => MtconnectTranspiler.Sinks.CSharp.Example}/Models/SummaryItem.cs (69%) rename {MtconnectTranspiler.Sinks.CSharp => MtconnectTranspiler.Sinks.CSharp.Example}/MtconnectVersionedObject.cs (51%) create mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Class.scriban create mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Enum.scriban create mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Model.scriban create mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Package.scriban delete mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Templates/Example.Class.scriban delete mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Templates/Example.Enum.scriban create mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/Templates/NormativeRemarks.scriban create mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/TypeCache.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp.Example/appsettings.json delete mode 100644 MtconnectTranspiler.Sinks.CSharp/Constants.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IEnumInstance.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IPackage.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IProperty.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IPropertyList.cs delete mode 100644 MtconnectTranspiler.Sinks.CSharp/CsharpTranspiler.cs delete mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Class.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ConditionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/EventClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableConditionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableEventClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableMeasurementClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableSampleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedConditionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedEventClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedFaultClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedMeasurementClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedNormalClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedWarningClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/SampleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/AssetInformationModel/AssetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CSVImports/ImportDescriptorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CSVImports/PropertyMapClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentConfigurationParameters/ComponentConfigurationParametersClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentConfigurationParameters/ParameterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentConfigurationParameters/ParameterSetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ActuatorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AdapterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AirHandlerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AmplifierClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AutomaticToolChangerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AuxiliaryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AxisClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BallscrewClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BarFeederClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BeltClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BrakeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChainClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChopperClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChuckClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChuteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CircuitBreakerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ClampClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CompressorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ControllerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CoolantClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CoolingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CoolingTowerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DepositionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DielectricClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DoorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DrainClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ElectricClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EnclosureClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EncoderClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EndEffectorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EnvironmentalClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ExpiredPotClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ExposureUnitClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ExtrusionUnitClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FanClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FeatureOccurrenceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FeederClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FilterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/GalvanomotorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/GangToolBarClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/GripperClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/HeatingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/HopperClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/HydraulicClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LinearClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LinearPositionFeedbackClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LinkClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LoaderClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LockClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LubricationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/MaterialClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/MotorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/OilClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PartClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PartOccurrenceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PathClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PersonnelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PneumaticClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PotClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PowerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PowerSupplyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PressureClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProcessClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProcessOccurrenceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProcessPowerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProtectiveClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PulleyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PumpClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ReelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/RemovalPotClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ResourceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ReturnPotClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/RotaryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SensingElementClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SensorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SpindleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SpreaderClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StagingPotClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StockClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StorageBatteryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StructureClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SwitchClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SystemClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TableClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TankClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TensionerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ThermostatClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ToolMagazineClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ToolRackClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ToolingDeliveryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TransferArmClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TransferPotClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TransformerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TurretClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/VacuumClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ValveClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/VatClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/VibrationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WasteDisposalClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WaterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WireClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WorkEnvelopeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WorkpieceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Components/ComponentGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Components/DescriptionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Compositions/CompositionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/ActuatorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/CommunicationsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/DataRangeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/LogicProgramClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/MotionProgramClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/SystemClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Configurations/ConfigurationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/CoordinateSystemClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/OriginClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/RotationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/TransformationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/TranslationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItem/CuttingItemClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItem/ItemLifeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ChamferFlatLengthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ChamferWidthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CornerRadiusClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingDiameterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingEdgeLengthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingHeightClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingReferencePointClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/DriveAngleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/FlangeDiameterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/FunctionalLengthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/FunctionalWidthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/IncribedCircleDiameterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/InsertWidthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/PointAngleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/StepDiameterLengthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/StepIncludedAngleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ToolCuttingEdgeAngleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ToolLeadAngleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ToolOrientationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/WeightClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/WiperEdgeLengthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolArchetypeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolArchetypeReferenceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolDefinitionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/CuttingToolLifeCycleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/LocationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/MeasurementClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ProcessFeedRateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ProcessSpindleSpeedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ReconditionCountClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/StatusClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ToolLifeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/BodyDiameterMaxClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/BodyLengthMaxClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/CuttingDiameterMaxClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/DepthOfCutMaxClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/FlangeDiameterMaxClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/FunctionalLengthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/OverallToolLengthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ProtrudingLengthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ShankDiameterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ShankHeightClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ShankLengthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/UsableLengthMaxClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/WeightClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypes/ConditionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypes/EventClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypes/SampleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseChuck.RequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseChuck.ResponseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseChuckClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseDoor.RequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseDoor.ResponseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseDoorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/InterfaceStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialChange.RequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialChange.ResponseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialChangeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialFeed.RequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialFeed.ResponseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialFeedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialLoad.RequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialLoad.ResponseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialLoadClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialRetract.RequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialRetract.ResponseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialRetractClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialUnload.RequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialUnload.ResponseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialUnloadClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenChuck.RequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenChuck.ResponseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenChuckClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenDoor.RequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenDoor.ResponseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenDoorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/PartChange.RequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/PartChange.ResponseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/PartChangeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItems/DataItemClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/AlarmLimitResultClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/ControlLimitResultClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/FeatureMeasurementResultClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/LocationAddressResultClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/LocationSpatialGeographicResultClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/MaintenanceListResultClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/SensorAttachmentResultClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/SpecificationLimitResultClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/DeviceInformationModel/DeviceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Devices/AgentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.AbortedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.AllClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.BadClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.CompleteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.FailedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.GoodClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.RemainingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCountClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActiveAxesClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivePowerSourceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActuatorStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AdapterSoftwareVersionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AdapterURIClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AlarmClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AlarmLimitClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AlarmLimitsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.InstallDateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.LicenseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.ManufacturerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.ReleaseDateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.VersionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ApplicationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AssetChangedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AssetCountClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AssetRemovedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AvailabilityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisCouplingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverride.JogClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverride.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverride.RapidClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverrideClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisInterlockClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/BatteryStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/BlockClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/BlockCountClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CharacteristicPersistentIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CharacteristicStatusClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ChuckInterlock.ManualUnclampClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ChuckInterlockClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ChuckStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ClockTimeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CodeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ComponentDataClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.ActionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.LateralClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.MotionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.SwitchedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.VerticalClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ConnectionStatusClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControlLimitClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControlLimitsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.DryRunClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.MachineAxisLockClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.OptionalStopClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.SingleBlockClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.ToolChangeStopClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverrideClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CoupledAxesClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.AbortedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.AllClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.BadClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.CompleteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.FailedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.GoodClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.RemainingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCountClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCode.ExpirationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCode.FirstUseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCode.ManufactureClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCodeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.AbortedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.AllClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.BadClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.CompleteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.FailedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.GoodClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.RemainingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCountClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceAddedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceChangedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceRemovedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceUuidClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Direction.LinearClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Direction.RotaryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DirectionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DoorStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EmergencyStopClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EndOfBar.AuxiliaryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EndOfBar.PrimaryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EndOfBarClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.DelayClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.LoadedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.OperatingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.PoweredClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.WorkingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentModeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ExecutionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FeatureMeasurementClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FeaturePersisitentIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.InstallDateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.LicenseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.ManufacturerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.ReleaseDateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.VersionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FirmwareClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FixtureIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FunctionalModeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.BrinellClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.LeebClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.MohsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.RockwellClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.ShoreClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.VickersClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/HardnessClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.InstallDateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.LicenseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.ManufacturerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.ModelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.ReleaseDateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.VersionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/HardwareClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/HostNameClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LeakDetectClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.InstallDateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.LicenseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.ManufacturerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.ReleaseDateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.VersionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LibraryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Line.MaximumClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Line.MinimumClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineLabelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineNumber.AbsoluteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineNumber.IncrementalClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineNumberClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.AbortedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.AllClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.BadClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.CompleteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.FailedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.GoodClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.RemainingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCountClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LocationAddressClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LocationNarrativeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LocationSpatialGeographicClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LockStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MTConnectVersionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaintenanceListClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialLayer.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialLayer.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialLayerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MeasurementTypeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MeasurementUnitsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MeasurementValueClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MessageClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.GatewayClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.IPv4AddressClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.IPv6AddressClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.MacAddressClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.SubnetMaskClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.VLanIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.WirelessClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/NetworkClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/NetworkPortClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingModeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.InstallDateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.LicenseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.ManufacturerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.ReleaseDateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.VersionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystemClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatorIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PalletIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.AbortedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.AllClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.BadClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.CompleteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.FailedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.GoodClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.RemainingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCountClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCountTypeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartDetectClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.BatchClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.HeatTreatClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.LotClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.RawMaterialClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.UuidClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.PartFamilyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.PartNameClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.PartNumberClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.UuidClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartNumberClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartProcessingStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartStatusClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueId.RawMaterialClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueId.SerialNumberClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueId.UuidClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverride.JogClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverride.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverride.RapidClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverrideClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathModeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerState.ControlClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerState.LineClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerStatusClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateId.OrderNumberClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateId.ProcessPlanClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateId.ProcessStepClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindId.ISOStepExecutableClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindId.ProcessNameClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindId.UuidClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.ActivityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.OperationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.RecipeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.SegmentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTime.CompleteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTime.StartClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTime.TargetCompletionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTimeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.ActiveClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.ActivityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.MainClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.OperationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.RecipeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.ScheduleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.SegmentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramComment.ActiveClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramComment.MainClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramComment.ScheduleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramCommentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramEditClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramEditNameClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeader.ActiveClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeader.MainClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeader.ScheduleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeaderClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocation.ActiveClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocation.MainClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocation.ScheduleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationType.ActiveClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationType.MainClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationType.ScheduleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationTypeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramNestLevelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/RotaryModeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/RotaryVelocityOverrideClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/RotationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorAttachmentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.BinaryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.BooleanClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.DetectClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.EnumeratedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SerialNumberClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SpecificationLimitClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SpecificationLimitsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SpindleInterlockClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ThicknessClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolAssetIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolCuttingItemClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolGroupClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolNumberClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffset.LengthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffset.RadialClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffsetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffsetsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.AbortedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.AllClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.BadClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.CompleteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.FailedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.GoodClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.RemainingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCountClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TranslationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UncertaintyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UncertaintyTypeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.AbortedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.AllClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.BadClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.CompleteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.FailedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.GoodClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.RemainingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCountClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/User.MaintenanceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/User.OperatorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/User.SetUpClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UserClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ValveState.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ValveState.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ValveStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/VariableClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WaitStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WireClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WorkOffsetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WorkOffsetsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WorkholdingIdClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/AbstractFileClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/DestinationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileArchetypeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileCommentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileLocationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FilePropertyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AdapterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AgentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AlarmLimitClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ApplicationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ArchetypeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AssetBufferClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AttachmentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/BufferClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/CartesianCoordinateSystemClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/CharacteristicClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ClientClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/CombinedStandardUncertaintyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ConditionActivationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ControlledVocabularyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataDictionaryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataModelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataSetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataSourceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DeprecatedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DeprecationWarningClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DocumentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ElectricCurrentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ElementClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ExtensibleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/FeatureClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ForceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/HeartbeatClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/HigherLevelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ImplementationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InformationModelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InstanceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InteractionModelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InterfaceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/KeyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/KeyValuePairClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LocationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerCamelCaseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerLevelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerLimitClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerWarningClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MajorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MaximumClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MessageClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MetadataClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MinimumClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MinorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/NominalClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/OrganizeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/OrganizerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ParameterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PartClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PascalCaseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PatchClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PersistenceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PositionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ProbeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ProfileClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/RequesterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ResetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ResponderClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ResponseDocumentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SchemaClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SemanticDataModelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SensingElementClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SequenceNumberClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SpecificationLimitClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SpindleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/StandardClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/StandardUncertaintyGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/StereotypeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SubtypeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TableCellClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TableClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TableEntryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TopLevelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TypeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/UncertaintyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/UpperLimitClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/UpperWarningClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/VersionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPBodyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPErrorMessageClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPHeaderClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPHeaderFieldClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPMessageClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPMessagingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPMethodClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPQueryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestLineClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestMethodClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestURIClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPResponseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPServerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPStatusCodeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPVersionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ImageFiles/ImageFileClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/AssetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ConditionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ConditionStateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ConfigurationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ControlLimitClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EngineeredSystemClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EngineeringUnitsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EquipmentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EquipmentMetadataClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ObservableClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ObservationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ObserveClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/PhysicalConnectionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/RawMaterialClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ResourceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorConfigurationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorDataClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorElementClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorUnitClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ThingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ComponentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ConditionValueClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ConfigurationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ContitionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ControlledVocabularyValueClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/DataItemClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/DataSetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/DeviceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/EventClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/NumericValueClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ObservationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ObservationValueClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ReferenceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/SampleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/TableClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/TextValueClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/TimeSeriesClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/AssetInformationModelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/DeviceInformationModelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/ErrorInformationModelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/MTConnectInformationModelGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/ObservationInformationModelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceInteractionModel/InterfaceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceInteractionModel/RequesterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceInteractionModel/ResponderClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/BarFeederInterfaceGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/ChuckInterfaceGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/DoorInterfaceGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/MaterialHandlerInterfaceGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/KinematicsSimulation/Robot7axesClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectAssetsResponseDocument/HeaderClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectAssetsResponseDocument/MTConnectAssetsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectDevicesResponseDocument/AssetCountClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectDevicesResponseDocument/HeaderClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectDevicesResponseDocument/MTConnectDevicesClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectErrorsResponseDocument/ErrorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectErrorsResponseDocument/HeaderClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectErrorsResponseDocument/MTConnectErrorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectStreamsResponseDocument/HeaderClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectStreamsResponseDocument/MTConnectStreamsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/AssetGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/ComponentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/CompositionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/ConfigurationGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/DataItemClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/DeviceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectAgentGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectDocumentGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectEventGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectInterfaceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/ObservationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MachineMonitoring/MTConnectDeviceWithOperationalStatesClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/MachineMonitoring/ManufacturingEquipmentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Motion/AxisClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Motion/MotionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/ComponentStreamClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/ConditionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/DeviceStreamClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/EventClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/ObservationGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/SampleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Parser/JsonParserClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Parser/XmlParserClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/AssetCommandClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/ConvertSampleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/DataMessageClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/EntityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/EntityNameGuardGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{Command}Class.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{ConnectionStatus}Class.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{Data}Class.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{MClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{Message}Class.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/ExactTypeGuardGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/GuardClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/JsonMessageClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/LambdaGuardGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/ObservationsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/PipelineMessageClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TimestampedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TokensClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TransformClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TypeGuardGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/PowerSource/MTConnectDeviceWithPowerSourceConfigClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/PowerSource/ManufacturingEquipmentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/PowerSources/PowerSourceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Printer/JsonPrinterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Printer/XmlPrinterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/ConstraintsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/DefinitionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/FilterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/InitialValueClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/MinimumDeltaFilterGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/PeriodFilterGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/ResetTriggerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/SourceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDefinition/CellDefinitionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDefinition/EntryDefinitionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/AssetRequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/CurrentRequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/DataStreamingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectAssetsResponseDocumentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectDevicesResponseDocumentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectErrorsResponseDocumentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectRequestGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectResponseDocumentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectStreamsResponseDocumentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/ProbeRequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/ProtocolClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/PublishAndSubscribeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/PublishClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/RequestAndResponseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/RequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/ResponseClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/SampleRequestClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/StreamingDataClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/SubscribeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/TransportProtocolGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/QIF/QIFDocumentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/QIF/QIFDocumentWrapperClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/RESTProtocol/AgentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/RawMaterial/MaterialClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/RawMaterial/RawMaterialClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/AgentClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/AssetStroageClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/DataSinkServiceGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/DataSourceServiceGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/MQTTSinkClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/MQTTSinkGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/MQTTSourceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/NCLinkClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/OPCUASinkGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/PipelineClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/RestServiceGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/RestSinkClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/RestSourceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/ServiceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/SinkClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/SourceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/StorageServiceGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/TransformationServiceGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/TransformtionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/References/ComponentRefClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/References/DataItemRefClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/References/ReferenceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/RelationshipTypesForDataItem/AbstractDataItemRelationshipClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/RelationshipTypesForDataItem/DataItemRelationshipClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/RelationshipTypesForDataItem/SpecificationRelationshipClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/AssetRelationshipClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/ComponentRelationshipClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/ConfigurationRelationshipClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/DeviceRelationshipClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representation/TemperatureClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representation/VariableClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representation/WorkOffsetsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/CellClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/DataSetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/DiscreteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/EntryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/RepresentationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/TableClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/TableEntryClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/TimeSeriesClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/ValueClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Requirements/DeviceConfigurationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Requirements/DeviceUtilizationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Requirements/OperationalStatesClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Acceleration.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Acceleration.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Acceleration.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AccelerationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AccumulatedTimeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.AlternatingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.DirectClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageAC.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageAC.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageAC.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageACClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDC.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDC.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDC.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDCClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Angle.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Angle.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAcceleration.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAcceleration.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAcceleration.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAccelerationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDeceleration.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDeceleration.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDeceleration.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDecelerationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularVelocityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AssetUpdateRateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.JogClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.OverrideClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.RapidClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCapacity.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCapacity.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCapacityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCharge.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCharge.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryChargeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CapacityFluidClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CapacitySpatialClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ChargeRate.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ChargeRate.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ChargeRateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ConcentrationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ConductivityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeed.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeed.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeed.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Deceleration.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Deceleration.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Deceleration.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DecelerationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DensityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionAccelerationVolumetric.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionAccelerationVolumetric.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionAccelerationVolumetricClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionDensity.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionDensity.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionDensityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionMass.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionMass.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionMassClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionRateVolumetric.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionRateVolumetric.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionRateVolumetricClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionVolume.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionVolume.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionVolumeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DewPointClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DiameterClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DischargeRate.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DischargeRate.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DischargeRateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DisplacementAngularClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DisplacementClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DisplacementLinearClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ElectricalEnergyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.DelayClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.LoadedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.OperatingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.PoweredClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.WorkingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FillLevelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FlowClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingError.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorAngular.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorAngularClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorLinear.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorLinearClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FrequencyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GlobalPosition.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GlobalPosition.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GlobalPositionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GravitationalAccelerationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GravitationalForceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityAbsolute.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityAbsolute.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityAbsoluteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityRelative.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityRelative.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityRelativeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumiditySpecific.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumiditySpecific.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumiditySpecificClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Length.RemainingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Length.StandardClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Length.UseableClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LengthClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LevelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LinearForceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LoadClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/MassClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ObservationUpdateRateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/OpennessClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Orientation.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Orientation.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/OrientationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PHClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.JogClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.OverrideClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.RapidClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolution.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolution.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolution.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolutionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.ProbeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPositionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PositionCartesianClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PositionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PowerFactorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressureAbsoluteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressureClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRate.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRate.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRate.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRateClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ProcessTimer.DelayClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ProcessTimer.ProcessClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ProcessTimerClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ResistanceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.OverrideClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingError.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorAngular.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorAngularClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorLinear.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorLinearClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.AScaleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.BScaleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.CScaleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.DScaleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.NoScaleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeed.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeed.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeed.OverrideClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/StrainClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TemperatureClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TensionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TiltClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TorqueClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VelocityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ViscosityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltAmpereClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltAmpereReactiveClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.AlternatingClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.DirectClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageAC.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageAC.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageAC.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageACClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDC.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDC.CommandedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDC.ProgrammedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDCClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.ConsumedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.EndedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.PartClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.StartClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.WasteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluidClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.ConsumedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.EndedClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.PartClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.StartClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.WasteClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatialClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Wattage.ActualClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Wattage.TargetClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/WattageClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/XDimensionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/YDimensionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ZDimensionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Sensor/ChannelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Sensor/SensorConfigurationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Simulation/KinematicsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Sink/RestSinkGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SolidModel/ScaleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/SolidModel/SolidModelClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Source/AdapterDataSourceGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Source/MQTTDataSourceGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/AlarmLimitsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/ControlLimitsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/LowerLimitClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/LowerWarningClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/MaximumClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/MinimumClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/NominalClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/ProcessSpecificationGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/SpecificationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/SpecificationLimitsClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/UpperLimitClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/UpperWarningClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/Storage/CircularBuffferClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/CapabilityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/CollaboratorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/PriorityClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/TaskArchetypeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/TaskClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/AngleClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/AxisClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/OriginPositionGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/OriginPropertyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/ParentCoordinatesClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/PositionClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/RotationVectorGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/TransformationClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/TranslationVectorGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/VectorClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/AbstractElementGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/AttributeClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/ChildElementGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/DocumentBodyClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/DocumentHeaderClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/ElementNameClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/NamespaceClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/ParentElementGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/RootElementGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/StructuralElementClass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/XMLDocumentGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/XMLSchemaGeneralization.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ActuatorStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AlarmCodeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AlarmSeverityEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AlarmStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ApplicationCategoryEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ApplicationTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AssetTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AvailabilityEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AxisCouplingEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AxisInterlockEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AxisStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/BatteryStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CategoryEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CharacteristicStatusEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ChuckInterlockEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ChuckStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CodeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateActionEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateLateralEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateMotionEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateSwitchedEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateVerticalEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ConditionEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ConditionStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ConnectionStatusEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ControllerModeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ControllerModeOverrideEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CoordinateSystemEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CoordinateSystemTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CountDirectionTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CriticalityTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CutterStatusTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DataItemRelationshipTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DataItemSubTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DataItemTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DirectionEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DirectionLinearEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DirectionRotaryEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DoorStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EmergencyStopEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EndOfBarEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EquipmentModeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ErrorCodeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EventEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ExecutionEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FileStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FilterEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FormEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FormatTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FunctionalModeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/InterfaceEventEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/InterfaceStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/LeakDetectEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/LocationTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/LockStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MaintenanceListDirectionEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MaintenanceListIntervalEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MediaTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MotionActuationTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MotionTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/NativeUnitEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/NetworkWirelessEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/OperatingModeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/OriginatorEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartCountTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartDetectEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartProcessingStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartStatusEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PathModeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PowerSourceTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PowerStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PowerStatusEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ProcessStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ProgramEditEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ProgramLocationTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/QIFDocumentTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/QualifierEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RelationshipTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RepresentationEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RequestStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ResetTriggerEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ResetTriggeredEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ResponseStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RoleTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RotaryModeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SampleEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SensorStateDetectEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SpecificationRelationshipTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SpindleInterlockEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/StatisticEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ToolLifeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/UncertaintyTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/UnitEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ValveStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/WaitStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/Pipelines/GuardResult.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/CapabilityTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/CollaboratorTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/TaskStateEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/TaskTypeEnum.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/MtconnectModel.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/ComponentConfigurationParameters.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/CuttingTool.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/Files.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/QIF.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/RawMaterial.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicAcceleration.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicAmountOfSubstance.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicAmountOfSubstanceConcentration.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicArea.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicElectricCurrent.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicElectricCurrentDensity.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicLength.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicLuminance.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicLuminousIntensity.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicMagneticFieldStrength.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicMass.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicMassDensity.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicSpeedAndVelocity.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicThermodynamicTemperature.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicTime.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicVolume.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ComponentTypes/ComponentOrganizerTypes.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Components/ComponentTypes.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Components/Devices.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/CoordinateSystems.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/ImageFiles.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Motion.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/PowerSources.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Relationships.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Sensor.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/SolidModel.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Specifications.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingItem/CuttingItemMeasurementSubtypes.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingTool/CuttingItem.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingTool/CuttingToolLifeCycle.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingTool/CuttingToolMeasurementSubtypes.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/DataItems/DataItemTypes.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/DataItems/PropertiesOfDataItem.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/Components.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/Compositions.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/Configurations.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/DataItems.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/References.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Fundamentals/MTConnectProtocol.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/HTTPTerms.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/IndustrialTerms.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/InformationModelTerms.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/MTConnectTerms.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/ProtocolTerms.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/XMLTerms.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Imports/CSVImports.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Imports/UnitImports.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/DataForInterface.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/DataItemTypesForInterface.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/InterfaceTypes.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/MultiDeviceInteractionModel.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/OperationAndErrorRecovery.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/Signals.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/KinematicsSimulation/Simulation.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/KinematicsSimulation/XArm7Instance.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/KinematicsSimulation/XArm7Model.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectAssetsResponseDocument.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectDevicesResponseDocument.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectErrorsResponseDocument.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectStreamsResponseDocument.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/RESTProtocol.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectTerms/AdditionalObservationTerms.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/MachineMonitoring/Requirements.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/MachineMonitoring/UseCases.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/MillW_SmoothG/Representation.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/AssetInformationModel.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/DataTypes.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/DevelopmentProcess.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/DeviceInformationModel.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Fundamentals.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Glossary.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Imports.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/InterfaceInteractionModel.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/MTConnectDeviceValidationSuite.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/ObservationInformationModel.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/ReferenceAgentArchitecture.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Stereotypes.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/SupportingDocuments.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/WIP_DeviceExamples.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/WIP_UseCases.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/MultiDeviceInteractionModel/TasksInformationModel.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationInformationModel/ObservationTypes.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationInformationModel/Representations.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationTypes/ConditionTypes.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationTypes/EventTypes.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationTypes/SampleTypes.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/OperationAndErrorRecovery/RequestAndResponseFailureHandlingAndRecovery.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/PowerSource/Requirements.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/PowerSource/UseCases.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/PropertiesOfDataItem/PropertiesOfDefinition.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/PropertiesOfDataItem/RelationshipTypesForDataItem.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/InformationModel.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Parser.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Pipelines.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Printer.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Rest.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Sink.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Source.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Transformation.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/Rest/Storage.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/SupportingDocuments/CommonDocuments.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/UnitImports/BasicUnits.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_DeviceExamples/KinematicsSimulation.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_DeviceExamples/MillW_SmoothG.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_DeviceExamples/PocketNC.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_UseCases/Actors.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_UseCases/MachineMonitoring.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_UseCases/PowerSource.cs delete mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/Property.cs delete mode 100644 MtconnectTranspiler.Sinks.CSharp/Models/ScribanHelperMethods.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/NavigationExtensions.cs create mode 100644 MtconnectTranspiler.Sinks.CSharp/ObservationType.cs delete mode 100644 MtconnectTranspiler.Sinks.CSharp/Templates/Class.scriban delete mode 100644 MtconnectTranspiler.Sinks.CSharp/Templates/Enum.scriban delete mode 100644 MtconnectTranspiler.Sinks.CSharp/Templates/GeneratedCodeAttribute.scriban delete mode 100644 MtconnectTranspiler.Sinks.CSharp/Templates/UmlCommentsSummaryContent.scriban diff --git a/.gitignore b/.gitignore index 9491a2fd..06323df5 100644 --- a/.gitignore +++ b/.gitignore @@ -200,6 +200,8 @@ PublishScripts/ **/[Pp]ackages/* # except build/, which is used as an MSBuild target. !**/[Pp]ackages/build/ +# except in Models +!**/[Mm]odels/[Pp]ackages/* # Uncomment if necessary however generally it will be regenerated when needed #!**/[Pp]ackages/repositories.config # NuGet v3's project.json files produces more ignorable files @@ -360,4 +362,5 @@ MigrationBackup/ .ionide/ # Fody - auto-generated XML schema -FodyWeavers.xsd \ No newline at end of file +FodyWeavers.xsd +/MtconnectTranspiler.Sinks.CSharp.Example/appsettings.Development.json diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpClass.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpClass.cs new file mode 100644 index 00000000..dbf0c9c6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpClass.cs @@ -0,0 +1,175 @@ +using CaseExtensions; +using MtconnectTranspiler.CodeGenerators.ScribanTemplates; +using MtconnectTranspiler.Sinks.CSharp.Example; +using MtconnectTranspiler.Xmi; +using MtconnectTranspiler.Xmi.UML; + +namespace MtconnectTranspiler.Sinks.CSharp.Models +{ + /// + /// Represents a C# class + /// + [ScribanTemplate("CSharp.Class.scriban")] + public partial class CSharpClass : CsharpType, IFileSource + { + /// + /// Reference to the xmi:id + /// + public string? ReferenceId { get; set; } + + /// + /// Reference to the name attribute. + /// + public string? NormativeName { get; set; } + + /// + /// Reference to any Comments written in the SysML model to be converted into a C# format <summary /> + /// + public Summary? Summary { get; protected set; } + + /// + /// Internal reference to the class filename. + /// + protected string? _filename { get; set; } + /// + public virtual string Filename + { + get + { + if (string.IsNullOrEmpty(_filename)) + _filename = $"{CategoryFunctions.ToPathSafe(Namespace.Substring(Namespace.LastIndexOf(".")+1))}/{CategoryFunctions.ToPathSafe(Name.ToPascalCase())}.cs"; + return _filename; + } + set { _filename = value; } + } + + /// + /// Internal list of , used by . + /// + protected List _properties = new List(); + /// + /// Collection of + /// + public IEnumerable Properties => _properties; + + /// + /// Internal list of , used by . + /// + protected List _constraints = new List(); + /// + /// Collection of + /// + public IEnumerable Constraints => _constraints; + + /// + /// Remote type of the generalization + /// + public string? Generalization { get; set; } + + /// + /// Original generalization value from the XMI + /// + public string? GeneralizationId { get; set; } + + private XmiElement? _remoteType { get; set; } + + /// + /// Constructs an more generically. NOTE: You'll need to add items manually from here. + /// + /// + /// + public CSharpClass(XmiDocument model, UmlClass source) : base(model, source) + { + ReferenceId = source.Id; + + if (source.Comments?.Length > 0) + Summary = new Summary(source.Comments); + + if (source.IsAbstract) + Modifier = "abstract"; + + AccessModifier = "public"; + + _properties = source.Properties + ?.Where(o => !string.IsNullOrEmpty(o.Name)) + ?.Select(o => new Property(model, o)) + ?.ToList() + ?? new List(); + var propertyGroupings = _properties.GroupBy(o => o.Name); + foreach (var propertyGrouping in propertyGroupings) + { + if (propertyGrouping.Count() <= 1) + continue; + var properties = _properties.Where(o => o.Name == propertyGrouping.Key).ToList(); + foreach (var property in properties) + { + if (property.Type.EndsWith("Class")) + { + string remoteClassName = property.Type.Replace("Class", string.Empty); + if (!property.Name.EndsWith(remoteClassName)) + { + property.Name += remoteClassName; + } + } + } + } + + _constraints = source.Constraints + ?.Where(o => !string.IsNullOrEmpty(o.Name)) + ?.Select(o => new Constraint(model, o)) + ?.ToList() + ?? new List(); + + GeneralizationId = source.Generalization?.Name ?? source.Generalization?.General; + if (!string.IsNullOrEmpty(GeneralizationId)) + { + XmiElement? remoteType = null; + Generalization = CSharpHelperMethods.ToPrimitiveType(GeneralizationId)?.Name + ?? CSharpHelperMethods.TypeDeepSearch(model, GeneralizationId, out remoteType) + ?? ""; + } + + Name = GetClassName(model, source); + NormativeName = source.Name; + } + + /// + /// Adds a new + /// + /// Reference to the source to add + public void Add(Property property) + => _properties.Add(property); + + public static string GetClassName(XmiDocument model, UmlClass umlClass) + { + string name = CSharpHelperMethods.ToPascalCase(umlClass.Name); + + string? generalization = umlClass.Generalization?.Name ?? umlClass.Generalization?.Id; + if (!string.IsNullOrEmpty(generalization)) + { + string? generalizedType = CSharpHelperMethods.TypeDeepSearch(model, generalization, out XmiElement? remoteType); + if (!string.IsNullOrEmpty(generalizedType) && generalizedType.EndsWith("Class")) + { + string remoteGeneralization = generalizedType.Replace("Class", string.Empty); + if (name.EndsWith(remoteGeneralization, StringComparison.OrdinalIgnoreCase)) + { + name += "Generalization"; + } + else + { + name += "Class"; + } + } + else + { + name += "Class"; + } + } else + { + name += "Class"; + } + return name; + } + + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enum.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpEnum.cs similarity index 68% rename from MtconnectTranspiler.Sinks.CSharp/Models/Enum.cs rename to MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpEnum.cs index 5d2afd06..a5a66f4b 100644 --- a/MtconnectTranspiler.Sinks.CSharp/Models/Enum.cs +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpEnum.cs @@ -1,16 +1,16 @@ -using MtconnectTranspiler.Sinks.ScribanTemplates; +using CaseExtensions; +using MtconnectTranspiler.CodeGenerators.ScribanTemplates; +using MtconnectTranspiler.Sinks.CSharp.Example; using MtconnectTranspiler.Xmi; using MtconnectTranspiler.Xmi.UML; -using System.Collections.Generic; -using System.Linq; namespace MtconnectTranspiler.Sinks.CSharp.Models { /// - /// Represents a C# . + /// Represents a C# . /// - [ScribanTemplate("Enum.scriban")] - public class Enum : CsharpType, IFileSource + [ScribanTemplate("CSharp.Enum.scriban")] + public class CSharpEnum : CsharpType, IFileSource { /// /// Reference to the xmi:id @@ -36,45 +36,51 @@ public class Enum : CsharpType, IFileSource /// protected string _filename { get; set; } /// - public string Filename + public virtual string Filename { get { if (string.IsNullOrEmpty(_filename)) - _filename = $"{Name}.cs"; + _filename = $"{CategoryFunctions.ToPathSafe(Namespace.Substring(Namespace.LastIndexOf(".") + 1))}/{CategoryFunctions.ToPathSafe(Name.ToPascalCase())}.cs"; return _filename; } set { _filename = value; } } + // NOTE: Only used for CATEGORY types that have subTypes. + public Dictionary SubTypes { get; set; } = new Dictionary(); + + // NOTE: Only used for CATEGORY types that have value enums. + public Dictionary ValueTypes { get; set; } = new Dictionary(); + /// - /// Constructs an more generically. NOTE: You'll need to add items manually from here. + /// Constructs an more generically. NOTE: You'll need to add items manually from here. /// /// /// /// - public Enum(XmiDocument model, XmiElement source, string name) : base(model,source) + public CSharpEnum(XmiDocument model, XmiElement source, string name) : base(model,source) { Name = name; ReferenceId = source.Id; } /// - /// + /// /// - /// - /// The source to convert into an - public Enum(XmiDocument model, UmlEnumeration source) : this(model, source, source.Name) + /// + /// The source to convert into an + public CSharpEnum(XmiDocument model, UmlEnumeration source) : this(model, source, source.Name) { AddRange(model, source.Items); } /// - /// + /// /// - /// - /// The source to convert into an - public Enum(XmiDocument model, UmlPackage source) : this(model, source, source.Name) + /// + /// The source to convert into an + public CSharpEnum(XmiDocument model, UmlPackage source) : this(model, source, source.Name) { AddRange(model, source.Classes.ToList()); @@ -83,11 +89,11 @@ public Enum(XmiDocument model, UmlPackage source) : this(model, source, source.N } /// - /// + /// /// - /// - /// The source to convert into an - public Enum(XmiDocument model, UmlClass source) : this(model, source, source.Name) + /// + /// The source to convert into an + public CSharpEnum(XmiDocument model, UmlClass source) : this(model, source, source.Name) { AddRange(model, source.Properties.ToList()); @@ -100,7 +106,10 @@ public Enum(XmiDocument model, UmlClass source) : this(model, source, source.Nam /// /// Reference to to add to the internal list public void Add(EnumItem item) - => _items.Add(item); + { + item.Namespace = $"{this.Namespace}.{this.Name}"; + _items.Add(item); + } /// /// Adds a new diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpHelperMethods.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpHelperMethods.cs new file mode 100644 index 00000000..c83772ea --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpHelperMethods.cs @@ -0,0 +1,113 @@ +using System.Collections.Generic; +using System; +using MtconnectTranspiler.Xmi.UML; +using MtconnectTranspiler.Contracts; +using MtconnectTranspiler.CodeGenerators.ScribanTemplates; + +namespace MtconnectTranspiler.Sinks.CSharp.Models +{ + /// + /// Helper methods to process content for scriban templates + /// + public class CSharpHelperMethods : ScribanHelperMethods + { + private static Dictionary umlDataTypeToCSharp = new Dictionary() + { + { "boolean", typeof(bool) }, + { "ID", typeof(string) }, + { "string", typeof(string) }, + { "float", typeof(float) }, + { "datetime", typeof(DateTime) }, + { "integer", typeof(int) }, + { "xlinktype", typeof(string) }, + { "xslang", typeof(string) }, + { "SECOND", typeof(float) }, + { "IDREF", typeof(string) }, + { "xlinkhref", typeof(string) }, + { "MILLIMETER", typeof(float) }, + { "DEGREE", typeof(float) }, + { "x509", typeof(string) }, + { "CUBIC_MILLIMETER", typeof(float) }, + { "int32", typeof(int) }, + { "int64", typeof(long) }, + { "version", typeof(string) }, + { "uint32", typeof(uint) }, + { "uint64", typeof(ulong) }, + { "double", typeof(double) }, + + }; + public static Type? ToPrimitiveType(string umlType) + { + if (umlDataTypeToCSharp.TryGetValue(umlType, out var type)) + return type; + return null; + } + + /// + /// Gets the C# equivalant of the . + /// + /// Reference to the packaged UML DataType + /// Primitive type. Returns null if unrecognizes or unhandled DataType + public static Type? ToPrimitiveType(UmlDataType source) + => ToPrimitiveType(source.Name); + + /// + /// Gets the C# equivalant of the . + /// + /// Reference to the source XMI document + /// Reference to the packaged UML Property + /// Primitive type. Returns null if unrecognizes or unhandled Property + public static Type? ToPrimitiveType(Xmi.XmiDocument model, UmlProperty source) + { + var umlDataType = model.LookupDataType(source.PropertyType); + if (umlDataType == null) + return null; + return ToPrimitiveType(umlDataType); + } + + + public static string? TypeDeepSearch(Xmi.XmiDocument model, string propertyType, out Xmi.XmiElement? remoteType) + { + remoteType = null; + if (string.IsNullOrEmpty(propertyType)) + return null; + // TODO: Also cache the namespaces that each of these properties are contained within + object _remote; + if (model.IdCache.TryGetValue(propertyType, out _remote)) + { + switch (_remote) + { + case UmlEnumeration umlEnum: + remoteType = umlEnum; + return $"{umlEnum.Name}MetaClass"; + case UmlClass umlClass: + remoteType = umlClass; + return CSharpClass.GetClassName(model, umlClass);// $"{umlClass.Name}Class"; + case UmlDataType umlDataType: + remoteType = umlDataType; + switch (umlDataType.Name) + { + case "float3d": + return "float[]"; + case "binary": + return "bool"; + default: + break; + } + break; + case UmlAssociation umlAssociation: + remoteType = umlAssociation; + var ownedEnds = umlAssociation.OwnedEnds?.Select(o => TypeDeepSearch(model, o.TypeId, out _))?.ToList(); + return umlAssociation.Name; + case UmlGeneralization umlGeneralization: + return TypeDeepSearch(model, umlGeneralization.General, out remoteType); + case UmlEnumerationLiteral umlEnumerationLiteral: + return umlEnumerationLiteral.Name; + default: + break; + } + } + return null; + } + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpPackage.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpPackage.cs new file mode 100644 index 00000000..c15f053e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Models/CSharpPackage.cs @@ -0,0 +1,97 @@ +using CaseExtensions; +using MtconnectTranspiler.CodeGenerators.ScribanTemplates; +using MtconnectTranspiler.Sinks.CSharp.Models; +using MtconnectTranspiler.Xmi; +using MtconnectTranspiler.Xmi.UML; +using System.Data; + +namespace MtconnectTranspiler.Sinks.CSharp.Example.Models +{ + [ScribanTemplate("CSharp.Package.scriban")] + public class CSharpPackage : CsharpType, IFileSource + { + /// + /// Reference to the xmi:id + /// + public string ReferenceId { get; set; } + + /// + /// Reference to the name attribute. + /// + public string NormativeName { get; set; } + + /// + /// Internal reference to the class filename. + /// + protected string _filename { get; set; } + /// + public string Filename + { + get + { + if (string.IsNullOrEmpty(_filename)) + _filename = $"{CategoryFunctions.ToPathSafe(Namespace.Substring(Namespace.LastIndexOf(".") + 1))}/{CategoryFunctions.ToPathSafe(Name.ToPascalCase())}.cs"; + return _filename; + } + set { _filename = value; } + } + + /// + /// Internal list of , used by . + /// + protected List _packages = new List(); + /// + /// Collection of + /// + public new IEnumerable Packages => _packages; + + /// + /// Internal list of , used by . + /// + protected List _classes = new List(); + /// + /// Collection of + /// + public new IEnumerable Classes => _classes; + + /// + /// Internal list of , used by . + /// + protected List _enums = new List(); + /// + /// Collection of + /// + public IEnumerable Enums => _enums; + + /// + /// Reference to any Comments written in the SysML model to be converted into a C# format <summary /> + /// + public Summary Summary { get; protected set; } + + public CSharpPackage(XmiDocument model, UmlPackage source) : base(model, source) + { + _name = CSharpHelperMethods.ToPascalCase(source.Name); + NormativeName = source.Name; + + ReferenceId = source!.Id; + + if (source.Comments?.Length > 0) + Summary = new Summary(source.Comments); + + _packages = source!.Packages + ?.Select(o => new CSharpPackage(model, o)) + ?.ToList() + ?? new List(); + + _classes = source!.Classes + ?.Select(o => new CSharpClass(model, o)) + ?.ToList() + ?? new List(); + + _enums = source!.Enumerations + ?.Select(o => new CSharpEnum(model, o)) + ?.ToList() + ?? new List(); + } + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Constraint.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Models/Constraint.cs similarity index 88% rename from MtconnectTranspiler.Sinks.CSharp/Models/Constraint.cs rename to MtconnectTranspiler.Sinks.CSharp.Example/Models/Constraint.cs index 8256c6f3..0fd22551 100644 --- a/MtconnectTranspiler.Sinks.CSharp/Models/Constraint.cs +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Models/Constraint.cs @@ -12,7 +12,7 @@ public class Constraint : MtconnectVersionedObject /// /// Internal string, used by . /// - protected string _name { get; set; } + protected string _name { get; set; } = string.Empty; /// /// The intended name for the C# method. /// @@ -46,8 +46,8 @@ public string Name /// public Constraint(XmiDocument model, UmlConstraint source) : base(model, source) { - SourceLanguage = source.Specification?.Language; - RawScript = source.Specification?.Body; + SourceLanguage = source.Specification?.Language ?? "Unspecified"; + RawScript = source.Specification?.Body ?? string.Empty; } } } diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/CsharpType.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Models/CsharpType.cs similarity index 58% rename from MtconnectTranspiler.Sinks.CSharp/Models/CsharpType.cs rename to MtconnectTranspiler.Sinks.CSharp.Example/Models/CsharpType.cs index c30f0da8..fec501b2 100644 --- a/MtconnectTranspiler.Sinks.CSharp/Models/CsharpType.cs +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Models/CsharpType.cs @@ -1,4 +1,6 @@ -using MtconnectTranspiler.Xmi; +using MtconnectTranspiler.Sinks.CSharp.Example; +using MtconnectTranspiler.Sinks.CSharp.Example.Models; +using MtconnectTranspiler.Xmi; namespace MtconnectTranspiler.Sinks.CSharp.Models { @@ -7,11 +9,35 @@ namespace MtconnectTranspiler.Sinks.CSharp.Models /// public abstract class CsharpType : MtconnectVersionedObject { - + private string _namespace = "Mtconnect"; /// /// The intended namespace for the C# type. /// - public virtual string Namespace { get; set; } + public virtual string Namespace + { + get { return _namespace; } + set + { + _namespace = value; + switch (this) + { + case CSharpClass csharpClass: + TypeCache.RegisterType(csharpClass.ReferenceId, csharpClass.Name, csharpClass.Namespace); + break; + case Property csharpProperty: + TypeCache.RegisterType(csharpProperty.SysML_ID, csharpProperty.Name, csharpProperty.Namespace); + break; + case CSharpPackage csharpPackage: + TypeCache.RegisterType(csharpPackage.ReferenceId, csharpPackage.Name, csharpPackage.Namespace); + break; + case CSharpEnum csharpEnum: + TypeCache.RegisterType(csharpEnum.ReferenceId, $"{csharpEnum.Name}MetaClass", csharpEnum.Namespace); + break; + default: + break; + } + } + } /// /// Internal string, used by . @@ -25,10 +51,13 @@ public virtual string Name get { if (string.IsNullOrEmpty(_name)) - _name = ScribanHelperMethods.ToPascalCase(base.SysML_Name); + _name = CSharpHelperMethods.ToPascalCase(base.SysML_Name); return _name; } - set { _name = value; } + set { + TypeCache.ChangeTypeName(base.SysML_ID, value); + _name = value; + } } /// diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/EnumItem.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Models/EnumItem.cs similarity index 79% rename from MtconnectTranspiler.Sinks.CSharp/Models/EnumItem.cs rename to MtconnectTranspiler.Sinks.CSharp.Example/Models/EnumItem.cs index e0edd3fb..ae59c43f 100644 --- a/MtconnectTranspiler.Sinks.CSharp/Models/EnumItem.cs +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Models/EnumItem.cs @@ -1,10 +1,11 @@ -using MtconnectTranspiler.Xmi; +using MtconnectTranspiler.Sinks.CSharp.Example; +using MtconnectTranspiler.Xmi; using MtconnectTranspiler.Xmi.UML; namespace MtconnectTranspiler.Sinks.CSharp.Models { /// - /// Represents a C# value. + /// Represents a C# value. /// public class EnumItem : MtconnectVersionedObject { @@ -25,12 +26,25 @@ public string Name get { if (string.IsNullOrEmpty(_name)) - _name = ScribanHelperMethods.ToSnakeCase(base.SysML_Name); + _name = CSharpHelperMethods.ToSnakeCase(base.SysML_Name); return _name; } set { _name = value; } } + public string OriginalName => base.SysML_Name; + + private string _namespace; + public string Namespace + { + get { return _namespace; } + set + { + _namespace = value; + TypeCache.RegisterType(this.SysML_ID, SysML_Name, _namespace); + } + } + /// /// Constructs an more generically. NOTE: You'll need to add items manually from here. /// @@ -43,7 +57,7 @@ public EnumItem(XmiDocument model, XmiElement source) : base(model, source) { } /// /// /// - /// The source to convert into an + /// The source to convert into an public EnumItem(XmiDocument model, UmlEnumerationLiteral source) : this(model, source as XmiElement) { if (source?.Comments?.Length > 0) diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Models/ExampleClass.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Models/ExampleClass.cs deleted file mode 100644 index 73fc315c..00000000 --- a/MtconnectTranspiler.Sinks.CSharp.Example/Models/ExampleClass.cs +++ /dev/null @@ -1,13 +0,0 @@ -using MtconnectTranspiler.Sinks.CSharp.Models; -using MtconnectTranspiler.Sinks.ScribanTemplates; -using MtconnectTranspiler.Xmi; -using MtconnectTranspiler.Xmi.UML; - -namespace MtconnectTranspiler.Sinks.CSharp.Example.Models -{ - [ScribanTemplate("MtconnectCore.Class.scriban")] - public class ExampleClass : Class - { - public ExampleClass(XmiDocument model, UmlClass source) : base(model, source) { } - } -} diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Models/ExampleEnum.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Models/ExampleEnum.cs deleted file mode 100644 index b8021139..00000000 --- a/MtconnectTranspiler.Sinks.CSharp.Example/Models/ExampleEnum.cs +++ /dev/null @@ -1,22 +0,0 @@ -using MtconnectTranspiler.Sinks.ScribanTemplates; -using MtconnectTranspiler.Xmi; -using MtconnectTranspiler.Xmi.UML; - -namespace MtconnectTranspiler.Sinks.CSharp.Example.Models -{ - [ScribanTemplate("Example.Enum.scriban")] - public class ExampleEnum : CSharp.Models.Enum - { - // NOTE: Only used for CATEGORY types that have subTypes. - public Dictionary SubTypes { get; set; } = new Dictionary(); - - // NOTE: Only used for CATEGORY types that have value enums. - public Dictionary ValueTypes { get; set; } = new Dictionary(); - - public ExampleEnum(XmiDocument model, XmiElement source, string name) : base(model, source, name) { } - - public ExampleEnum(XmiDocument model, UmlEnumeration source) : base(model, source) { } - - public ExampleEnum(XmiDocument model, UmlPackage source) : base(model, source) { } - } -} diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Models/MtconnectModel.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Models/MtconnectModel.cs new file mode 100644 index 00000000..84f2f2b9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Models/MtconnectModel.cs @@ -0,0 +1,60 @@ +using MtconnectTranspiler.Sinks.CSharp.Models; +using MtconnectTranspiler.Xmi.UML; +using MtconnectTranspiler.Xmi; +using MtconnectTranspiler.CodeGenerators.ScribanTemplates; + +namespace MtconnectTranspiler.Sinks.CSharp.Example.Models +{ + [ScribanTemplate("CSharp.Model.scriban")] + public class MtconnectModel : CsharpType, IFileSource + { + /// + /// Reference to the xmi:id + /// + public string ReferenceId { get; set; } + + /// + /// Internal reference to the class filename. + /// + protected string _filename { get; set; } + /// + public string Filename + { + get + { + if (string.IsNullOrEmpty(_filename)) + _filename = $"MtconnectModel.cs"; + return _filename; + } + set { _filename = value; } + } + + /// + /// Internal list of , used by . + /// + protected List _packages = new List(); + /// + /// Collection of + /// + public IEnumerable Packages => _packages; + + public MtconnectModel(XmiDocument model, UmlModel source) : base(model, source) + { + _name = CSharpHelperMethods.ToPascalCase(source.Name); + + ReferenceId = source!.Id; + + _packages = source!.Packages + ?.Select(o => new CSharpPackage(model, o)) + ?.ToList() + ?? new List(); + foreach(var profile in source!.Profiles) + { + foreach (var package in profile.Packages) + { + _packages.Add(new CSharpPackage(model, package)); + } + } + } + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Models/Property.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Models/Property.cs new file mode 100644 index 00000000..10e54c60 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Models/Property.cs @@ -0,0 +1,76 @@ +using MtconnectTranspiler.Xmi; +using MtconnectTranspiler.Xmi.UML; + +namespace MtconnectTranspiler.Sinks.CSharp.Models +{ + /// + /// Represents a C# property + /// + public class Property : CsharpType + { + /// + /// Reference to the name attribute. + /// + public string NormativeName { get; set; } + + /// + /// Reference to any Comments written in the SysML model to be converted into a C# format <summary /> + /// + public Summary Summary { get; protected set; } + + /// + /// Reference to the expected property type + /// + public string Type { get; set; } + + public string OriginalPropertyType { get; set; } + + public string Aggregation { get; set; } + + public string Extension { get; set; } + + public string Association { get; set; } + + public string DefaultValue { get; set; } + + private XmiElement? _remoteType { get; set; } + + /// + /// Constructs an more generically. NOTE: You'll need to add items manually from here. + /// + /// + /// + public Property(XmiDocument model, UmlProperty source) : base(model, source) + { + NormativeName = source.Name; + + if (source.Comments?.Length > 0) + Summary = new Summary(source.Comments); + + AccessModifier = source.Visibility; + + Modifier = source.IsStatic ? "static" : source.IsReadOnly ? "readonly" : ""; + + XmiElement? remoteType = null; + Type = CSharpHelperMethods.ToPrimitiveType(model, source)?.Name + ?? CSharpHelperMethods.TypeDeepSearch(model, source.PropertyType, out remoteType) + ?? "object"; + + OriginalPropertyType = source.PropertyType; + + Aggregation = source.Aggregation; + Extension = source.Extension?.Extender; + Association = CSharpHelperMethods.TypeDeepSearch(model, source.Association, out remoteType); + if (source.DefaultValue is UmlInstanceValue instanceValue) + { + DefaultValue = CSharpHelperMethods.TypeDeepSearch(model, instanceValue.Instance, out XmiElement instanceType); + } else + { + DefaultValue = source.DefaultValue?.Name; + } + + // TODO: Determine multiplicity from lowerValue and upperValue + } + + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Summary.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Models/Summary.cs similarity index 59% rename from MtconnectTranspiler.Sinks.CSharp/Models/Summary.cs rename to MtconnectTranspiler.Sinks.CSharp.Example/Models/Summary.cs index 354348e2..338b35df 100644 --- a/MtconnectTranspiler.Sinks.CSharp/Models/Summary.cs +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Models/Summary.cs @@ -1,6 +1,6 @@ -using MtconnectTranspiler.Sinks.ScribanTemplates; +using MtconnectTranspiler.CodeGenerators.ScribanTemplates; +using MtconnectTranspiler.Interpreters; using MtconnectTranspiler.Xmi; -using System.Linq; using System.Text; using System.Text.RegularExpressions; @@ -17,6 +17,10 @@ public class Summary /// public SummaryItem[] Items { get; } + public OwnedComment[] Comments => Items.Select(o => o._source).ToArray(); + + public string OriginalValue { get; } + /// /// Constructs a <summary /> /// @@ -24,18 +28,29 @@ public class Summary public Summary(OwnedComment[] comments) { Items = comments?.Select(o => new SummaryItem(o))?.ToArray(); + + StringBuilder sb = new StringBuilder(); + foreach (var item in Items) + { + sb.AppendLine(composeComment(item._source)); + } + OriginalValue = sb.ToString(); } - /// - public override string ToString() + private string composeComment(OwnedComment comment) { - Regex removeLines = new Regex(@"\r\n|\n|\r", RegexOptions.Compiled); StringBuilder sb = new StringBuilder(); - foreach (var item in Items) + sb.Append(" " + comment.Name + " "); + sb.Append(" " + comment.Body + " "); + if (comment.SubComment != null) { - sb.Append(removeLines.Replace(item.ToString(), " ")); + sb.Append(composeComment(comment.SubComment)); } return sb.ToString(); } + + /// + public override string ToString() + => OriginalValue; } } diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/SummaryItem.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Models/SummaryItem.cs similarity index 69% rename from MtconnectTranspiler.Sinks.CSharp/Models/SummaryItem.cs rename to MtconnectTranspiler.Sinks.CSharp.Example/Models/SummaryItem.cs index bfae2cb4..3b873f59 100644 --- a/MtconnectTranspiler.Sinks.CSharp/Models/SummaryItem.cs +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Models/SummaryItem.cs @@ -1,5 +1,4 @@ using MtconnectTranspiler.Xmi; -using MtconnectTranspiler.Sinks.Models; namespace MtconnectTranspiler.Sinks.CSharp.Models { @@ -8,7 +7,7 @@ namespace MtconnectTranspiler.Sinks.CSharp.Models /// public class SummaryItem { - private OwnedComment _source; + internal OwnedComment _source; /// /// Constructs the content for <summary /> @@ -18,11 +17,5 @@ public SummaryItem(OwnedComment source) { _source = source; } - - /// - public override string ToString() - { - return $"/// {ScribanHelperMethods.ToSummary(_source.Body)}"; - } } } diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/MtconnectTranspiler.Sinks.CSharp.Example.csproj b/MtconnectTranspiler.Sinks.CSharp.Example/MtconnectTranspiler.Sinks.CSharp.Example.csproj index e081829c..28f98bdf 100644 --- a/MtconnectTranspiler.Sinks.CSharp.Example/MtconnectTranspiler.Sinks.CSharp.Example.csproj +++ b/MtconnectTranspiler.Sinks.CSharp.Example/MtconnectTranspiler.Sinks.CSharp.Example.csproj @@ -1,30 +1,61 @@ - + Exe - net6.0 + net8.0 enable enable Program - - + + + + - + + + + + + + + + + + + + + Always + + + Always + + Always - + + Always + + Always - Always + + + Always + + + Always + + + diff --git a/MtconnectTranspiler.Sinks.CSharp/MtconnectVersionedObject.cs b/MtconnectTranspiler.Sinks.CSharp.Example/MtconnectVersionedObject.cs similarity index 51% rename from MtconnectTranspiler.Sinks.CSharp/MtconnectVersionedObject.cs rename to MtconnectTranspiler.Sinks.CSharp.Example/MtconnectVersionedObject.cs index 0f4b5640..43491a01 100644 --- a/MtconnectTranspiler.Sinks.CSharp/MtconnectVersionedObject.cs +++ b/MtconnectTranspiler.Sinks.CSharp.Example/MtconnectVersionedObject.cs @@ -1,6 +1,4 @@ -using MtconnectTranspiler.Sinks.CSharp.Models; -using MtconnectTranspiler.Sinks.Models; -using MtconnectTranspiler.Sinks.ScribanTemplates; +using MtconnectTranspiler.Sinks.Models; using MtconnectTranspiler.Xmi; namespace MtconnectTranspiler.Sinks.CSharp @@ -11,10 +9,9 @@ public abstract class MtconnectVersionedObject : VersionedObject /// public MtconnectVersionedObject(XmiDocument model, XmiElement source) : base(model, source) { } - /// - protected override string lookupMtconnectVersion(string version) + protected override string lookupMtconnectVersion(string? version) { - return MTConnectHelperMethods.LookupMtconnectVersions(version); + return version ?? "1.0.1"; } } } \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Program.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Program.cs index 0331fdb3..c6289c96 100644 --- a/MtconnectTranspiler.Sinks.CSharp.Example/Program.cs +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Program.cs @@ -1,8 +1,14 @@ using ConsoulLibrary; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using MtconnectTranspiler; -using MtconnectTranspiler.Sinks; +using MtconnectTranspiler.CodeGenerators.ScribanTemplates; +using MtconnectTranspiler.CodeGenerators.ScribanTemplates.Formatters; +using MtconnectTranspiler.Extensions; +using MtconnectTranspiler.Interpreters; using MtconnectTranspiler.Sinks.CSharp.Example; +using MtconnectTranspiler.XmiOptions; internal class Program { @@ -16,20 +22,60 @@ private static void Main(string[] args) Consoul.Write("Creating project path: " + projectPath); Directory.CreateDirectory(projectPath); } + IConfiguration configuration = new ConfigurationBuilder() + .SetBasePath(Directory.GetCurrentDirectory()) +#if DEBUG + .AddJsonFile("appsettings.Development.json", optional: true, reloadOnChange: true) +#else + .AddJsonFile("appsettings.json", optional: true, reloadOnChange: true) +#endif + .AddEnvironmentVariables() + .AddCommandLine(args) + .Build(); - var logFactory = LoggerFactory.Create((o) => o.AddConsoulLogger()); - var dispatchLogger = logFactory.CreateLogger(); - var transpilerLogger = logFactory.CreateLogger(); + //setup our DI + var services = new ServiceCollection() + .AddLogging((builder) => + { + builder.AddConsoulLogger(); + }); + var serviceProvider = services + .AddSingleton(configuration) + .AddScribanServices(builder => + { + string templatePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Templates"); + builder + .ConfigureTemplateLoader((loader) => + // Use the local "/Templates" directory to store ".scriban" files + loader.UseTemplatesPath(templatePath) + // If using embedded resources to store ".scriban" files, then provide the assembly + //.UseResourceAssembly(typeof(Transpiler).Assembly, "MtconnectTranspiler.Sinks.CSharp.Example") + // Configure a Scriban ScriptObject capable of interpreting SysML comment contents into other formats. + // Configure a Scriban ScriptObject capable of formatting strings into code safe formats. + .AddMarkdownInterpreter("csharp_docs", new VisualStudioSummaryInterpreter()) + .AddCodeFormatter("csharp_formatter", new CSharpCodeFormatter()) + ) + .ConfigureGenerator((options) => { + options.OutputPath = configuration["OutputPath"]; + }); + }) + .AddScoped() + .BuildServiceProvider(); + //configure console logging + var logger = serviceProvider.GetService() + .CreateLogger(); + logger.LogDebug("Starting application"); // NOTE: The GitHubRelease can be a reference to a specific tag referring to the version in which to download. TranspilerDispatcherOptions? dispatchOptions = null; - if (args.Length > 1) + string modelPath = configuration["ModelPath"]; + if (!string.IsNullOrEmpty(modelPath)) { - if (!File.Exists(args[1])) throw new FileNotFoundException(args[1]); + if (!File.Exists(modelPath)) throw new FileNotFoundException(modelPath); - dispatchOptions = new FromFileOptions() { Filepath = args[1] }; - Consoul.Write("Dispatching from file: " + args[1]); + dispatchOptions = new FromFileOptions() { Filepath = modelPath }; + Consoul.Write("Dispatching from file: " + modelPath); } else { @@ -38,9 +84,11 @@ private static void Main(string[] args) } using (var tokenSource = new CancellationTokenSource()) - using (var dispatcher = new TranspilerDispatcher(dispatchOptions, dispatchLogger)) + using (var dispatcher = new TranspilerDispatcher(dispatchOptions, serviceProvider.GetService() + .CreateLogger())) { - dispatcher.AddSink(new Transpiler(projectPath, transpilerLogger)); + var defaultTranspiler = serviceProvider.GetService(); + dispatcher.AddSink(defaultTranspiler); Consoul.Write("Beginning deserialization and dispatching"); var task = Task.Run(() => dispatcher.TranspileAsync(tokenSource.Token)); diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Properties/launchSettings.json b/MtconnectTranspiler.Sinks.CSharp.Example/Properties/launchSettings.json index 4d158eaf..d9b781fe 100644 --- a/MtconnectTranspiler.Sinks.CSharp.Example/Properties/launchSettings.json +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Properties/launchSettings.json @@ -2,7 +2,7 @@ "profiles": { "MtconnectTranspiler.Sinks.CSharp.Example": { "commandName": "Project", - "commandLineArgs": "\"%UserProfile%\\Desktop\\MTConnect Transpiled\\CSharp\"" + "commandLineArgs": "\"$(SolutionDir)MtconnectTranspiler.Sinks.CSharp\\Models\" \"\\\\lightworksnas\\work\\True Analytics Solutions\\MTConnect Standard\\2.3.0\\MTConnect SysML Model.xml\"" } } } \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Class.scriban b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Class.scriban new file mode 100644 index 00000000..724818ff --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Class.scriban @@ -0,0 +1,218 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +{{~ code_name = source.name | to_code_safe | string.remove "." +has_generalization = false +~}} +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +{{~ if source.generalization != null && source.generalization != "" ~}} +using System.Linq; +{{~ generalization_type_namespace = source.generalization_id | get_type_namespace | to_code_safe ~}} +{{~ + if generalization_type_namespace + generalization_type_name = source.generalization | to_pascal_case | to_code_safe | string.remove "." + else + generalization_type_name = source.generalization | to_code_safe | string.remove "." + end + + if generalization_type_namespace + generalization = generalization_type_namespace + "." + end + generalization = generalization + source.generalization + has_generalization = source.generalization != null && source.generalization != "" && generalization != null && generalization != "" +~}} +{{~ end ~}} + +namespace {{ to_code_safe source.namespace }} +{ + /// {{ include 'UmlCommentsSummaryContent.scriban' source?.summary }} + ///
Visit model.mtconnect.org for more information. + ///
+ {{ include 'NormativeRemarks.scriban' source }} + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "{{ version }}")] + public sealed class {{ code_name }} : IClass + { + /// Constant value for + public const string REFERENCE_ID = "{{ source.reference_id }}"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__{{ source.reference_id }}"; + /// Constant value for + public const string SUMMARY = @"{{ source.summary | string.replace "\"" "\"\"" | string.replace "\\" "\\\\" }}"; + /// Constant value for + public const string NAME = "{{ source.normative_name }}"; + /// Constant value for + public const string ACCESS_MODIFIER = "{{ source.access_modifier }}"; + /// Constant value for + public const string MODIFIER = "{{ source.modifier }}"; + /// Constant value for + public const string NORMATIVE_VERSION = "{{ source.normative_version }}"; + /// Constant value for + public const string DEPRECATED_VERSION = "{{ source.deprecated_version }}"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + {{~ if source.generalization != null && source.generalization != "" ~}} + /// + /// Original Type: {{ source.generalization_id }} + /// + public Type Generalization => typeof({{ generalization }}); + {{~ else ~}} + public Type Generalization => null; + {{~ end ~}} + + /// + public new {{ code_name }}Properties Properties { get; } = new {{ code_name }}Properties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + {{~ if has_generalization ~}} + ///
Note, some properties () are inherited from . + {{~ end ~}} + ///
+ public class {{ code_name }}Properties : {{ if has_generalization == true }}{{ generalization }}.{{ source.generalization }}Properties{{ else }}IPropertyList{{ end }} + { + /// + public {{ if has_generalization }}override{{ else }}virtual{{ end }} IProperty[] Properties => new IProperty[] { + {{~ for item in source.properties ~}} +{{~ item_code_name = item.name | to_code_safe | string.remove "." ~}} +{{~ + if item.association + item_suffix = "Part" + else + item_suffix = "" + end +~}} + {{ item_code_name }}{{ item_suffix }}, + {{~ end ~}} + }{{ if has_generalization }}.Concat(base.Properties).ToArray(){{ end }}; + {{~ for item in source.properties ~}} + {{~ item_code_name = item.name | to_code_safe | string.remove "." ~}} +{{~ property_type_namespace = item.original_property_type | get_type_namespace | to_code_safe ~}} + {{~ + if property_type_namespace + item_type_name = item.type | to_pascal_case | to_code_safe | string.remove "." + else + item_type_name = item.type | to_code_safe | string.remove "." + end + ~}} + {{~ + if item.association + item_suffix = "PartProperty" + else + item_suffix = "Property" + end + ~}} + /// + ///
+ /// Original Name: {{ item.name }} + ///
+ public {{ if has_generalization }}new {{ end }}{{ item_code_name }}{{ item_suffix }} {{ item_code_name }}{{ if item.association }}Part{{ end }} { get; } = new {{ item_code_name }}{{ item_suffix }}(); + + /// {{ include 'UmlCommentsSummaryContent.scriban' item?.summary }} + /// + public {{ if has_generalization }}new {{ end }}sealed class {{ item_code_name }}{{ item_suffix }} : IProperty + { + /// Constant value for + public const string NAME = "{{ item.normative_name }}"; + /// Constant value for + public const string SUMMARY = @"{{ item.summary | string.replace "\"" "\"\"" | string.replace "\\" "\\\\" }}"; + /// Constant value for + public const string ACCESS_MODIFIER = "{{ item.access_modifier }}"; + /// Constant value for + public const string MODIFIER = "{{ item.modifier }}"; + /// Constant value for + public const string NORMATIVE_VERSION = "{{ item.normative_version }}"; + /// Constant value for + public const string DEPRECATED_VERSION = "{{ item.deprecated_version }}"; + /// Constant value for + public const string AGGREGATION = "{{ item.aggregation }}"; + /// Constant value for + public const string EXTENSION = "{{ item.extension }}"; + /// Constant value for + public const string ASSOCIATION = "{{ item.association }}"; + /// Constant value for + public const string DEFAULT_VALUE = "{{ item.default_value }}"; + + /// + /// + /// Type: {{ item.type | to_pascal_case | to_code_safe }} + /// + public System.Type Type => typeof({{ if property_type_namespace }}{{ property_type_namespace }}.{{ end }}{{ item_type_name }}); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + {{~ end ~}} + }; + + {{~ if source.constraints.size > 0 ~}} + # region Rules + {{~ for constraint in source.constraints ~}} + /// + /// {{ constraint.name }} + /// + /// Specification Language: {{ constraint?.specification?.language ?? "Unspecified" }} + public string {{ constraint.name }} => @"{{ constraint?.raw_script | string.replace "\"" "\"\"" }}"; + /* + {{ constraint?.raw_script ?? "No Content" }} + */ + {{~ end ~}} + # endregion + {{~ end ~}} + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Enum.scriban b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Enum.scriban new file mode 100644 index 00000000..0256df2d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Enum.scriban @@ -0,0 +1,113 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace {{ to_code_safe source.namespace }} +{ + /// {{ include 'UmlCommentsSummaryContent.scriban' source?.summary }} + ///
Visit model.mtconnect.org for more information. + ///
+ {{ include 'NormativeRemarks.scriban' source }} + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "{{ version }}")] + public enum {{ source.name | to_code_safe | to_pascal_case }} + { + {{~ for item in source.items ~}} + /// {{ include 'UmlCommentsSummaryContent.scriban' item?.summary }} + /// + {{ include 'NormativeRemarks.scriban' item }} + {{ item.original_name | to_code_safe | to_upper_case }}, + {{~ end ~}} + } + + /// {{ include 'UmlCommentsSummaryContent.scriban' source?.summary }} + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "{{ version }}")] + public sealed class {{ source.name | to_code_safe | to_pascal_case }}MetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "{{ source.reference_id }}"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__{{ source.reference_id }}"; + /// Constant value for + public const string NAME = "{{ source.name }}"; + /// Constant value for + public const string NORMATIVE_VERSION = "{{ source.normative_version }}"; + /// Constant value for + public const string DEPRECATED_VERSION = "{{ source.deprecated_version }}"; + /// Constant value for + public const string SUMMARY = @"{{ source.summary | string.replace "\"" "\"\"" | string.replace "\\" "\\\\" }}"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => {{ if source.data_type != null && source.data_type != "" }}typeof({{ source.data_type }}){{ else }}null{{ end }}; + + /// + public Type Instance => typeof({{ source.name | to_code_safe | to_pascal_case }}); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + {{~ for item in source.items ~}} + {{ item.original_name | to_code_safe }}, + {{~ end ~}} + }; + + {{~ for item in source.items ~}} + {{~ item_code_name = item.original_name | to_code_safe ~}} + private {{ item_code_name }}Value _{{ item_code_name }}; + /// + public {{ item_code_name }}Value {{ item_code_name }} => _{{ item_code_name }} ?? (_{{ item_code_name }} = new {{ item_code_name }}Value()); + + /// {{ include 'UmlCommentsSummaryContent.scriban' item?.summary }} + /// Value for {{ source.name }}.
+ ///
See also {{ source.name | to_code_safe | to_pascal_case }} + ///
+ {{ include 'NormativeRemarks.scriban' item }} + public sealed class {{ item.original_name | to_code_safe }}Value : IEnumInstance + { + /// Constant value for + public const string NAME = "{{ item.original_name }}"; + /// Constant value for + public const string NORMATIVE_VERSION = "{{ item.normative_version }}"; + /// Constant value for + public const string DEPRECATED_VERSION = "{{ item.deprecated_version }}"; + /// Constant value for + public const string SUMMARY = @"{{ item.summary | string.replace "\"" "\"\"" | string.replace "\\" "\\\\" }}"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + {{~ end ~}} + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Model.scriban b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Model.scriban new file mode 100644 index 00000000..98481d21 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Model.scriban @@ -0,0 +1,35 @@ +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace {{ to_code_safe source.namespace }} +{ + /// + /// Static root for the MTConnect SysML model. + /// + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "{{ version }}")] + public static class MtconnectModel + { + /// + /// Collection of root s. + /// + public static IPackage[] Packages => new IPackage[] { + {{~ for item in source.packages ~}} +{{~ item_code_name = item.name | to_code_safe | string.remove "." ~}} + {{ item_code_name }}Package, + {{~ end ~}} + }; + + #region Packages + {{~ for item in source.packages ~}} +{{~ item_code_name = item.name | to_code_safe | string.remove "." ~}} + private static {{ item_code_name }}Package _{{ item_code_name }}Package; + /// + /// + /// + public static {{ item_code_name }}Package {{ item_code_name }}Package => _{{ item_code_name}}Package ?? (_{{ item_code_name }}Package = new {{ item_code_name }}Package()); + + {{ end ~}} + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Package.scriban b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Package.scriban new file mode 100644 index 00000000..5f7ce747 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/CSharp.Package.scriban @@ -0,0 +1,108 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +{{~ code_name = source.name | to_code_safe | string.remove "." ~}} +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +{{~ if source.packages.size > 0 || source.classes.size > 0 ~}} +using Package = {{ to_code_safe source.namespace }}.{{ code_name }}; +{{~ end ~}} +{{~ namespaces = get_package_namespaces source ~}} + +namespace {{ to_code_safe source.namespace }} +{ + /// {{ include 'UmlCommentsSummaryContent.scriban' source?.summary }} + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "{{ version }}")] + public class {{ code_name }}Package : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "{{ source.reference_id }}"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__{{ source.reference_id }}"; + /// Constant value for + public const string NAME = "{{ source.normative_name }}"; + /// Constant value for + public const string SUMMARY = @"{{ source.summary | string.replace "\"" "\"\"" | string.replace "\\" "\\\\" }}"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + {{~ for item in source.packages ~}} +{{~ item_code_name = item.name | to_code_safe | string.remove "." ~}} + {{ item_code_name }}Package, + {{~ end ~}} + }; + + /// + public IClass[] Classes => new IClass[] { + {{~ for item in source.classes ~}} +{{~ item_class_code_name = item.name | to_code_safe | string.remove "." ~}} + {{ item_class_code_name }}, + {{~ end ~}} + }; + + /// + public IEnum[] Enums => new IEnum[] { + {{~ for item in source.enums ~}} +{{~ item_enum_code_name = item.name | to_code_safe | string.remove "." ~}} + {{ item_enum_code_name }}, + {{~ end ~}} + }; + + #region Packages + {{~ for item in source.packages ~}} +{{~ item_code_name = item.name | to_code_safe | string.remove "." ~}} + private Package.{{ item_code_name }}Package _{{ item_code_name }}Package; + /// + /// + /// + public Package.{{ item_code_name }}Package {{ item_code_name }}Package => _{{ item_code_name}}Package ?? (_{{ item_code_name }}Package = new Package.{{ item_code_name }}Package()); + + {{~ end ~}} + #endregion + + #region Classes + {{~ for item in source.classes ~}} +{{~ item_class_code_name = item.name | to_code_safe | string.remove "." ~}} + private Package.{{ item_class_code_name }} _{{ item_class_code_name }}; + /// +{{~ if item.ReferenceId ~}} + /// Id: {{ item.ReferenceId }}
+{{~ end ~}} + /// + ///
+ public Package.{{ item_class_code_name }} {{ item_class_code_name }} => _{{ item_class_code_name }} ?? (_{{ item_class_code_name }} = new Package.{{ item_class_code_name }}()); + + {{~ end ~}} + #endregion + + #region Enums + {{~ for item in source.enums ~}} +{{~ item_enum_code_name = item.name | to_code_safe | string.remove "." ~}} + private Package.{{ item_enum_code_name }}MetaClass _{{ item_enum_code_name }}; + /// +{{~ if item.ReferenceId ~}} + /// Id: {{ item.ReferenceId }}
+{{~ end ~}} + /// + ///
+ public Package.{{ item_enum_code_name }}MetaClass {{ item_enum_code_name }} => _{{ item_enum_code_name }} ?? (_{{ item_enum_code_name }} = new Package.{{ item_enum_code_name }}MetaClass()); + + {{~ end ~}} + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Templates/Example.Class.scriban b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/Example.Class.scriban deleted file mode 100644 index b692edb9..00000000 --- a/MtconnectTranspiler.Sinks.CSharp.Example/Templates/Example.Class.scriban +++ /dev/null @@ -1,48 +0,0 @@ -{{~ nversion_slim = (source?.normative_version | string.slice 20 3) | string.replace "_" "." -dversion_slim = (source?.deprecated_version | string.slice 20 3) | string.replace "_" "." ~}} -using System; - -namespace {{ to_pascal_code source.namespace }} { - /// - /// View in the MTConnect Model browser model.mtconnect.org - {{~ if source?.summary != null && source?.summary != "" ~}} - {{ source?.summary }} - {{~ end ~}} - /// - {{~ if nversion_slim != "" || dversion_slim != "" ~}} - /// - /// - {{~ if nversion_slim != "" ~}} - /// Introduced: v{{ nversion_slim }} - {{~ end ~}} - {{~ if dversion_slim != "" ~}} - /// Deprecated: v{{ dversion_slim }} - {{~ end ~}} - /// - /// - {{~ end ~}} - [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "{{ version }}")] - public {{ source.modifier }} class {{ source.name }} { - {{~ for item in source.items ~}} - {{~ if item?.summary != null && item?.summary != "" ~}} - /// - {{ item?.summary }} - /// - {{~ end ~}} - /// Original Name: {{ item.name }} - {{ item.access_modifier }} {{ item.type }} {{ item.name }} { get; set; } - {{~ end ~}} - - # region Rules - {{~ for constraint in source.constraints ~}} - /// - /// {{ constraint.name }} - /// - /// Specification Language: {{ constraint?.specification?.language ?? "Unspecified" }} - /* - {{ constraint?.raw_script ?? "No Content" }} - */ - {{~ end ~}} - # endregion - } -} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Templates/Example.Enum.scriban b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/Example.Enum.scriban deleted file mode 100644 index fd3b0175..00000000 --- a/MtconnectTranspiler.Sinks.CSharp.Example/Templates/Example.Enum.scriban +++ /dev/null @@ -1,64 +0,0 @@ -{{~ nversion_slim = (source?.normative_version | string.slice 20 3) | string.replace "_" "." -dversion_slim = (source?.deprecated_version | string.slice 20 3) | string.replace "_" "." ~}} -#pragma warning disable 0618 -#pragma warning disable 1574 -using System; -using System.CodeDom.Compiler; - -namespace {{ to_pascal_code source.namespace }} -{ - /// - /// View in the MTConnect Model browser model.mtconnect.org - {{~ if source?.summary != null && source?.summary != "" ~}} - {{ source?.summary }} - {{~ end ~}} - /// - {{~ if nversion_slim != "" || dversion_slim != "" ~}} - /// - /// - {{~ if nversion_slim != "" ~}} - /// Introduced: v{{ nversion_slim }} - {{~ end ~}} - {{~ if dversion_slim != "" ~}} - /// Deprecated: v{{ dversion_slim }} - {{~ end ~}} - /// - /// - {{~ end ~}} - {{~ if dversion_slim != "" ~}} - [Obsolete("Deprecated in v{{ dversion_slim }} according to https://model.mtconnect.org/#_Version_{{ dversion_slim }}")] - {{~ end ~}} - [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "{{ version }}")] - public enum {{ to_pascal_case source.name }} - { - /// - /// An extension to the standard. Extensions to the standard are usually prefaced with x:. - /// - STANDARD_EXTENSION = -1, - {{~ for item in source.items ~}} -{{~ n_item_version_slim = (item?.normative_version | string.slice 20 3) | string.replace "_" "." -d_item_version_slim = (item?.deprecated_version | string.slice 20 3) | string.replace "_" "." ~}} - {{~ if item?.summary != null && item?.summary != "" ~}} - /// - {{ item?.summary }} - /// - {{~ end ~}} - {{~ if n_item_version_slim != "" || d_item_version_slim != "" ~}} - /// - /// - {{~ if n_item_version_slim != "" ~}} - /// Introduced: v{{ n_item_version_slim }} - {{~ end ~}} - {{~ if d_item_version_slim != "" ~}} - /// Deprecated: v{{ d_item_version_slim }} - {{~ end ~}} - /// - /// - {{~ end ~}} - {{~ if d_item_version_slim != "" ~}} - [Obsolete("Deprecated in v{{ d_item_version_slim }} according to https://model.mtconnect.org/#_Version_{{ d_item_version_slim }}")] - {{~ end ~}} - {{ item.name }}, - {{~ end ~}} - } -} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Templates/NormativeRemarks.scriban b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/NormativeRemarks.scriban new file mode 100644 index 00000000..7525b743 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/NormativeRemarks.scriban @@ -0,0 +1,15 @@ +{{~ if source.normative_version != "" || source.deprecated_version != "" ~}} +/// +/// + {{~ if source.normative_version != "" ~}} +/// Introduced: v{{ source.normative_version }} + {{~ end ~}} + {{~ if source.deprecated_version != "" ~}} +/// Deprecated: v{{ source.deprecated_version }} + {{~ end ~}} +/// +/// +{{~ end ~}} +{{~ if source.deprecated_version != "" ~}} +[Obsolete("Deprecated in v{{ source.deprecated_version }} according to https://model.mtconnect.org/#_Version_{{ source.deprecated_version }}")] +{{~ end ~}} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Templates/UmlCommentsSummaryContent.scriban b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/UmlCommentsSummaryContent.scriban index 1427972d..15a4f1f8 100644 --- a/MtconnectTranspiler.Sinks.CSharp.Example/Templates/UmlCommentsSummaryContent.scriban +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Templates/UmlCommentsSummaryContent.scriban @@ -1,3 +1,3 @@ -{{~ if $1 ~}} -{{ $1 }} +{{~ if $1 != null && $1 != "" ~}} +{{ $1.comments | csharp_docs.interpret_comments_array | string.replace " " "
" | string.replace "<\r\n>" "
" | string.replace "\r" "
" | string.replace "\n" "
" ~}} {{~ end ~}} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/Transpiler.cs b/MtconnectTranspiler.Sinks.CSharp.Example/Transpiler.cs index 7c5e4ba2..c12c5dc0 100644 --- a/MtconnectTranspiler.Sinks.CSharp.Example/Transpiler.cs +++ b/MtconnectTranspiler.Sinks.CSharp.Example/Transpiler.cs @@ -5,145 +5,220 @@ using Scriban.Runtime; using MtconnectTranspiler.Xmi; using MtconnectTranspiler.Contracts; +using System.Linq; +using CaseExtensions; +using System.Text.RegularExpressions; +using MtconnectTranspiler.CodeGenerators.ScribanTemplates; namespace MtconnectTranspiler.Sinks.CSharp.Example { public class CategoryFunctions : ScriptObject { - public static bool CategoryContainsType(ExampleEnum @enum, EnumItem item) => @enum.SubTypes.ContainsKey(item.Name); - public static bool CategoryContainsValue(ExampleEnum @enum, EnumItem item) => @enum.ValueTypes.ContainsKey(item.Name); - public static bool EnumHasValues(ExampleEnum @enum) => @enum.ValueTypes.Any(); + public static bool CategoryContainsType(CSharpEnum @enum, EnumItem item) => @enum.SubTypes.ContainsKey(item.Name); + public static bool CategoryContainsValue(CSharpEnum @enum, EnumItem item) => @enum.ValueTypes.ContainsKey(item.Name); + public static bool EnumHasValues(CSharpEnum @enum) => @enum.ValueTypes.Any(); + public static string ToCodeSafe(string input, string replaceBy = "_") + { + if (string.IsNullOrEmpty(input)) + return input; + if (input.Contains("^2")) + input = input.Replace("^2", "_SQUARED"); + if (input.Contains("^3")) + input = input.Replace("^3", "_CUBED"); + if (input.Contains("/")) + input = input.Replace("/", "_PER_"); + if (input.Equals("float[]", StringComparison.OrdinalIgnoreCase)) + return input; + if (input.Equals("float[3]", StringComparison.OrdinalIgnoreCase)) + return input; + char[] numbers = new char[] { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' }; + if (numbers.Any(c => input.StartsWith(c))) + input = $"_{input}"; + + var invlidFileCharacters = System.IO.Path + .GetInvalidFileNameChars() + .Concat(new char[] { ' ', '{', '}', '[', ']', '(', ')', '^', '`', '&', '+', '-', '!', '?', '%', '*', '<', '>', ',', '|', '\\', '/', '=', ':', ';' }) + .ToArray(); + /// + /// Regular expression to replace the + /// + var regex = new Regex(@"\" + String.Join(@"|\", invlidFileCharacters), RegexOptions.Compiled); + return regex.Replace(input, replaceBy); + } + public static string ToPathSafe(string input, string replaceBy = "_") + { + if (string.IsNullOrEmpty(input)) + return input; + var invalidFileCharacters = System.IO.Path + .GetInvalidFileNameChars() + .ToArray(); + var regex = new Regex(@"\" + String.Join(@"|\", invalidFileCharacters), RegexOptions.Compiled); + return regex.Replace(input, replaceBy); + } + public static string? GetTypeNamespace(string referenceId) + => TypeCache.GetTypeNamespaceFromId(referenceId); + public static string[] GetClassNamespaces(CSharpClass cSharpClass) + { + var result = new List(); + foreach (var property in cSharpClass.Properties) + { + string[] namespaces = TypeCache.GetTypeNamespaceFromName(property.Type); + if (namespaces?.Length > 0) + { + result.AddRange(namespaces); + } else + { + System.Diagnostics.Debug.WriteLine("Missing namespace for '" + property.Type + "'"); + } + } + return result.Distinct().Where(o => !string.IsNullOrEmpty(o)).ToArray(); + } + public static string[] GetPackageNamespaces(CSharpPackage cSharpPackage) + { + var namespaces = new List(); + foreach (var csharpClass in cSharpPackage.Classes) + { + namespaces.Add(csharpClass.Namespace); + } + return namespaces.Distinct().Where(o => !string.IsNullOrEmpty(o)).ToArray(); + } } - internal class Transpiler : CsharpTranspiler + internal class Transpiler : ITranspilerSink { + private readonly ILogger? _logger; + + private readonly IScribanTemplateGenerator _generator; + /// /// /// /// - public Transpiler(string projectPath, ILogger? logger = default) : base(projectPath, logger) { } - - public override void Transpile(XmiDocument model, CancellationToken cancellationToken = default) + public Transpiler(IScribanTemplateGenerator generator, ILogger? logger = default) { - _logger?.LogInformation("Received MTConnectModel, beginning transpilation"); + _logger = logger; - Model.SetValue("model", model, true); + _generator = generator; + } - base.TemplateContext.PushGlobal(new CategoryFunctions()); + public void Transpile(XmiDocument model, CancellationToken cancellationToken = default) + { + _logger?.LogInformation("Received MTConnectModel, beginning transpilation"); - const string DataItemNamespace = "Example.Enums.DataItemTypes"; - const string DataItemValueNamespace = "Example.Enums.DataItemValues"; + _generator.Model.SetValue("model", model, true); - // Process DataItem Types/Sub-Types - var dataItemTypeEnums = new List(); - var valueEnums = new List(); - string[] categories = new string[] { "Sample", "Event", "Condition" }; + _generator.TemplateContext.PushGlobal(new CategoryFunctions()); - foreach (var category in categories) + //// Process the template into enum files + var allPackages = new List(); + var allClasses = new List(); + var allEnumerations = new List(); + // TODO: Add Operations; aka functions + MtconnectModel rootPackage = new MtconnectModel(model, model.Model); + foreach (var package in model.Model.Packages) { - // Get the UmlPackage for the category (ie. Samples, Events, Conditions). - var typesPackage = MTConnectHelper.JumpToPackage( - model!, - MTConnectHelper.PackageNavigationTree.ObservationInformationModel.ObservationTypes - )? - .Packages - .FirstOrDefault(o => o.Name == $"{category} Types"); - if (typesPackage == null) - { - _logger?.LogTrace("Couldn't find {Category} Types", category); - continue; - } - - // Get all DataItem Type and SubType references - var allTypes = typesPackage - .Classes; - // Filter to get just the Type references - var types = allTypes - ?.Where(o => !o!.Name!.Contains('.')); - if (types == null) - { - _logger?.LogTrace("Couldn't find type classes for {Category} Types", category); - continue; - } - - // Filter and group each SubType by the relevant Type reference - var subTypes = allTypes - ?.Where(o => o!.Name!.Contains('.')) - ?.GroupBy(o => o!.Name![..o.Name!.IndexOf(".")], o => o) - ?.Where(o => o.Any()) - ?.ToDictionary(o => o.Key, o => o?.ToList()); - - var categoryEnum = new ExampleEnum(model!, typesPackage) - { - Name = $"{category}Types", - Namespace = DataItemNamespace - }; - - foreach (var type in types) + allPackages.Add(new CSharpPackage(model, package) { Namespace = "Mtconnect" }); + // Packages + var subpackages = getPackages(model, package); + if (subpackages.Any()) + allPackages.AddRange(subpackages); + + // Classes + var classes = getClasses(model, package); + if (classes.Any()) + allClasses.AddRange(classes); + + // Enumerations + var enumerations = getEnums(model, package); + if (enumerations.Any()) + allEnumerations.AddRange(enumerations); + } + // Profiles + foreach (var profile in model.Model.Profiles) + { + if (profile.Packages.Any()) { - // Add type to CATEGORY enum - categoryEnum.Add(model, type); - - // Find value - var typeResult = type!.Properties?.FirstOrDefault(o => o.Name == "result"); - if (typeResult != null) + foreach (var package in profile.Packages) { - var typeValuesSysEnum = MTConnectHelper.JumpToPackage(model!, MTConnectHelper.PackageNavigationTree.Profile.DataTypes)? - .Enumerations - .GetById(typeResult.PropertyType); - if (typeValuesSysEnum != null && typeValuesSysEnum is UmlEnumeration) - { - var typeValuesEnum = new ExampleEnum(model!, typeValuesSysEnum!) - { - Namespace = DataItemValueNamespace, - Name = $"{type.Name}Values" - }; - foreach (var value in typeValuesEnum.Items) - { - value.Name = value.SysML_Name; - } - if (!categoryEnum.ValueTypes.ContainsKey(type.Name!)) categoryEnum.ValueTypes.Add(ScribanHelperMethods.ToUpperSnakeCode(type.Name), $"{type.Name}Values"); - valueEnums.Add(typeValuesEnum); - } + allPackages.Add(new CSharpPackage(model, package) { Namespace = "Mtconnect" }); + // Packages + var subpackages = getPackages(model, package); + if (subpackages.Any()) + allPackages.AddRange(subpackages); + + // Classes + var classes = getClasses(model, package); + if (classes.Any()) + allClasses.AddRange(classes); + + // Enumerations + var enumerations = getEnums(model, package); + if (enumerations.Any()) + allEnumerations.AddRange(enumerations); } + } + } - // Add subType as enum - if (subTypes != null && subTypes.ContainsKey(type.Name!)) - { - // Register type as having a subType in the CATEGORY enum - if (!categoryEnum.SubTypes.ContainsKey(type.Name!)) categoryEnum.SubTypes.Add(ScribanHelperMethods.ToUpperSnakeCode(type.Name), $"{type.Name}SubTypes"); - - var subTypeEnum = new ExampleEnum(model!, type, $"{type.Name}SubTypes") { Namespace = DataItemNamespace }; + _logger?.LogInformation("Saving Packages..."); + _generator.ProcessTemplate(allPackages, Path.Combine(_generator.OutputPath, "Packages"), true); + _logger?.LogInformation("Saving Classes..."); + _generator.ProcessTemplate(allClasses, Path.Combine(_generator.OutputPath, "Classes"), true); + _logger?.LogInformation("Saving Enums..."); + _generator.ProcessTemplate(allEnumerations, Path.Combine(_generator.OutputPath, "Enums"), true); - var typeSubTypes = subTypes[type.Name!]; - subTypeEnum.AddRange(model, typeSubTypes); + _logger?.LogInformation("Saving Root Package..."); + _generator.ProcessTemplate(rootPackage, _generator.OutputPath, true); + } - // Cleanup Enum names - foreach (var item in subTypeEnum.Items) - { - if (!item.Name.Contains('.')) continue; - item.Name = ScribanHelperMethods.ToUpperSnakeCode(item.Name[(item.Name.IndexOf(".") + 1)..]); - } + private IEnumerable getPackages(XmiDocument model, UmlPackage package, string namespacePrefix = "Mtconnect") + { + namespacePrefix = $"{namespacePrefix}.{package.Name.ToPascalCase()}"; + var results = new List(); + foreach (var subpackage in package.Packages) + { + results.Add(new CSharpPackage(model, subpackage) { Namespace = namespacePrefix }); + if (subpackage.Packages.Count > 0) + results.AddRange(getPackages(model, subpackage, namespacePrefix)); + } + return results; + } - // Register the DataItem SubType Enum - dataItemTypeEnums.Add(subTypeEnum); - } + private IEnumerable getEnums(XmiDocument model, UmlPackage package, string namespacePrefix = "Mtconnect") + { + namespacePrefix = $"{namespacePrefix}.{package.Name.ToPascalCase()}"; + var results = new List(); + if (package.Enumerations.Count > 0) + foreach (var item in package.Enumerations) + results.Add(new CSharpEnum(model, item) { Namespace = namespacePrefix }); + if (package.Packages.Count > 0) + { + foreach (var item in package.Packages) + { + var subEnums = getEnums(model, item, namespacePrefix); + if (subEnums.Any()) + results.AddRange(subEnums); } + } + return results; + } - // Cleanup Enum names - foreach (var item in categoryEnum.Items) + private IEnumerable getClasses(XmiDocument model, UmlPackage package, string namespacePrefix = "Mtconnect") + { + namespacePrefix = $"{namespacePrefix}.{package.Name.ToPascalCase()}"; + var results = new List(); + if (package.Classes.Count > 0) + foreach (var item in package.Classes) + results.Add(new CSharpClass(model, item) { Namespace = namespacePrefix }); + if ( package.Packages.Count > 0) + { + foreach(var item in package.Packages) { - item.Name = ScribanHelperMethods.ToUpperSnakeCode(item.Name); + var subClasses = getClasses(model, item, namespacePrefix); + if (subClasses.Any()) + results.AddRange(subClasses); } - - // Register the DataItem Category Enum (ie. Samples, Events, Conditions) - dataItemTypeEnums.Add(categoryEnum); } - - _logger?.LogInformation("Processing {Count} DataItem types/subTypes", dataItemTypeEnums.Count); - - // Process the template into enum files - ProcessTemplate(dataItemTypeEnums, Path.Combine(ProjectPath, "Enums", "Devices", "DataItemTypes"), true); - ProcessTemplate(valueEnums, Path.Combine(ProjectPath, "Enums", "Streams"), true); + return results; } + } } diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/TypeCache.cs b/MtconnectTranspiler.Sinks.CSharp.Example/TypeCache.cs new file mode 100644 index 00000000..e900d767 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp.Example/TypeCache.cs @@ -0,0 +1,105 @@ +using ConsoulLibrary; + +namespace MtconnectTranspiler.Sinks.CSharp.Example +{ + public static class TypeCache + { + + private static List _types = new List(); + + /// + /// Key: name attribute + /// Value: Indices to item in + /// + private static Dictionary> _typeNameIndices = new Dictionary>(); + /// + /// Key: xmi:id attribute + /// Value: Indices to item in + /// + private static Dictionary _typeIdIndices = new Dictionary(); + + /// + /// Registers a information about a C# type definition before code generation. + /// + /// Reference to SysML ID + /// Name of the intended C# type. + /// Namespace of the intended C# type. + public static void RegisterType(string referenceId, string csharpTypeName, string csharpNamespace) + { + if (_typeIdIndices.ContainsKey(referenceId)) + return; + int index = _types.Count; + _types.Add(new TypeCacheItem + { + ReferenceId = referenceId, + CSharpTypeName = csharpTypeName, + CSharpNamespace = csharpNamespace + }); + + if (_typeNameIndices.ContainsKey(csharpTypeName)) + { + _typeNameIndices[csharpTypeName].Add(index); + } else + { + _typeNameIndices.Add(csharpTypeName, new List { index }); + } + + if (_typeIdIndices.ContainsKey(referenceId)) + { + Consoul.Write("Type cache already contains ID '" + referenceId + "'!", ConsoleColor.Red); + return; + } else + { + _typeIdIndices.Add(referenceId, index); + } + } + + public static void ChangeTypeName(string referenceId, string newTypeName) + { + if (string.IsNullOrEmpty(referenceId)) + return; + + if (!_typeIdIndices.TryGetValue(referenceId, out int index)) + return; + + string oldTypeName = _types[index].CSharpTypeName; + if (_typeNameIndices.ContainsKey(oldTypeName)) + { + if (_typeNameIndices[oldTypeName].Count > 1) + { + _typeNameIndices[oldTypeName].Remove(index); + } else + { + _typeNameIndices.Remove(oldTypeName); + } + } + _types[index].CSharpTypeName = newTypeName; + } + + public static string[]? GetTypeNamespaceFromName(string csharpTypeName) + => !string.IsNullOrEmpty(csharpTypeName) && _typeNameIndices.TryGetValue(csharpTypeName, out List indices) + ? indices.Select(i => _types[i].CSharpNamespace).ToArray() + : null; + public static string? GetTypeNamespaceFromId(string referenceId) + => !string.IsNullOrEmpty(referenceId) && _typeIdIndices.TryGetValue(referenceId, out int index) + ? _types[index].CSharpNamespace + : null; + } + internal class TypeCacheItem + { + /// + /// Reference to SysML ID + /// + public string ReferenceId { get; set; } + + /// + /// Name of the intended C# type. + /// + public string CSharpTypeName { get; set; } + + /// + /// Namespace of the intended C# type. + /// + public string CSharpNamespace { get; set; } + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp.Example/appsettings.json b/MtconnectTranspiler.Sinks.CSharp.Example/appsettings.json new file mode 100644 index 00000000..af3cd500 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp.Example/appsettings.json @@ -0,0 +1,11 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Trace", + "System": "Information", + "Microsoft": "Information" + } + }, + "OutputPath": "", + "ModelPath": "" +} diff --git a/MtconnectTranspiler.Sinks.CSharp.sln b/MtconnectTranspiler.Sinks.CSharp.sln index 42ff054a..62ab661f 100644 --- a/MtconnectTranspiler.Sinks.CSharp.sln +++ b/MtconnectTranspiler.Sinks.CSharp.sln @@ -5,12 +5,9 @@ VisualStudioVersion = 17.4.33205.214 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MtconnectTranspiler.Sinks.CSharp", "MtconnectTranspiler.Sinks.CSharp\MtconnectTranspiler.Sinks.CSharp.csproj", "{E5B69CB5-6763-4D37-9F0D-92B21B60A60A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MtconnectTranspiler.Sinks.CSharp.Example", "MtconnectTranspiler.Sinks.CSharp.Example\MtconnectTranspiler.Sinks.CSharp.Example.csproj", "{297BE937-D617-4F8E-93F3-DFA29C0E31D4}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MtconnectTranspiler.Sinks.CSharp.Example", "MtconnectTranspiler.Sinks.CSharp.Example\MtconnectTranspiler.Sinks.CSharp.Example.csproj", "{297BE937-D617-4F8E-93F3-DFA29C0E31D4}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6D9F4E82-1674-498E-987C-5AFC80BA7DBC}" - ProjectSection(SolutionItems) = preProject - Mtconnect CSharp Transpiler.zip = Mtconnect CSharp Transpiler.zip - EndProjectSection EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/MtconnectTranspiler.Sinks.CSharp/Constants.cs b/MtconnectTranspiler.Sinks.CSharp/Constants.cs deleted file mode 100644 index 90df144f..00000000 --- a/MtconnectTranspiler.Sinks.CSharp/Constants.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace MtconnectTranspiler.Sinks.CSharp -{ - /// - /// Helpful constants - /// - public static class Constants - { - /// - /// Reference to the root URL of the online model browser. - /// - public const string SysMLWebReport = "https://model.mtconnect.org/"; - } -} diff --git a/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IClass.cs b/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IClass.cs new file mode 100644 index 00000000..59233214 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IClass.cs @@ -0,0 +1,62 @@ + +using System; +using System.Diagnostics.Contracts; + +namespace MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces +{ + /// + /// Representation of a SysML class entity related to a literal C# class. + /// + public interface IClass + { + /// + /// Reference to the SysML Id defined in the XMI document. + /// + string ReferenceId { get; } + + /// + /// Link to the MTConnect model browser. + /// + string HelpUrl { get; } + + /// + /// Reference to the name of the SysML entity. + /// + string Name { get; } + + /// + /// C# access modifier. + /// + string AccessModifier { get; } + + /// + /// C# modifier. + /// + string Modifier { get; } + + /// + /// The normative introduction version for the SysML entity when applicable. Note: Not all entities have a normative version. + /// + string NormativeVersion { get; } + + /// + /// The normative deprecation version for the SysML entity when applicable. + /// + string DeprecatedVersion { get; } + + /// + /// Generalized SysML type, referenced by SysML Id defined in the XMI document. + /// + Type Generalization { get; } + + /// + /// Collection of properties associated with the representation of the SysML class entity. + /// + IPropertyList Properties { get; } + + /// + /// Concatenation of all Comments. + /// + string Summary { get; } + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IEnum.cs new file mode 100644 index 00000000..934bb802 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IEnum.cs @@ -0,0 +1,56 @@ + +using System; + +namespace MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces +{ + /// + /// Represents a transpiled enumeration from SysML + /// + public interface IEnum + { + /// + /// Reference to the SysML Id defined in the XMI document. + /// + string ReferenceId { get; } + + /// + /// Link to the MTConnect model browser. + /// + string HelpUrl { get; } + + /// + /// Reference to the name of the SysML entity. + /// + string Name { get; } + + /// + /// Reference to the data type for elements of the enum. + /// + Type DataType { get; } + + /// + /// Instance of the defined enum. + /// + Type Instance { get; } + + /// + /// The normative introduction version for the SysML entity when applicable. Note: Not all entities have a normative version. + /// + string NormativeVersion { get; } + + /// + /// The normative deprecation version for the SysML entity when applicable. + /// + string DeprecatedVersion { get; } + + /// + /// Concatenation of all Comments. + /// + string Summary { get; } + + /// + /// Collection of enumeration values (aka fields) + /// + IEnumInstance[] Values { get; } + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IEnumInstance.cs b/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IEnumInstance.cs new file mode 100644 index 00000000..487ec77a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IEnumInstance.cs @@ -0,0 +1,33 @@ +namespace MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces +{ + /// + /// Represents a transpiled enumeration value from SysML + /// + public interface IEnumInstance + { + /// + /// Reference to the name of the SysML entity. + /// + string Name { get; } + + /// + /// Reference to the value of the SysML entity. + /// + object Value { get; } + + /// + /// The normative introduction version for the SysML entity when applicable. Note: Not all entities have a normative version. + /// + string NormativeVersion { get; } + + /// + /// The normative deprecation version for the SysML entity when applicable. + /// + string DeprecatedVersion { get; } + + /// + /// Concatenation of all Comments. + /// + string Summary { get; } + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IPackage.cs b/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IPackage.cs new file mode 100644 index 00000000..16afef2a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IPackage.cs @@ -0,0 +1,43 @@ +namespace MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces +{ + /// + /// Representation of a SysML package entity related to a literal C# class. Package classes behave slightly similar to static classes with lazy-loaded properties. + /// + public interface IPackage + { + /// + /// Reference to the SysML Id defined in the XMI document. + /// + string ReferenceId { get; } + + /// + /// Link to the MTConnect model browser. + /// + string HelpUrl { get; } + + /// + /// Reference to the SysML name defined in the XMI document. + /// + string Name { get; } + + /// + /// Collection of hard-coded package references. Note: Each hard-coded package property lazy-loads the target entity. + /// + IPackage[] Packages { get; } + + /// + /// Collection of hard-coded class references. Note: Each hard-coded class property lazy-loads the target entity. + /// + IClass[] Classes { get; } + + /// + /// Collection of hard-coded enum references. Note: Each hard-coded enum property lazy-loads the target entity. + /// + IEnum[] Enums { get; } + + /// + /// Concatenation of all Comments. + /// + string Summary { get; } + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IProperty.cs b/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IProperty.cs new file mode 100644 index 00000000..699f19c3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IProperty.cs @@ -0,0 +1,67 @@ +namespace MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces +{ + /// + /// Represents a property of a SysML class entity. + /// + public interface IProperty + { + /// + /// Reference to the expected property type. + /// + System.Type Type { get; } + + /// + /// Reference to the name of the SysML entity. + /// + string Name { get; } + + // TODO: Convert to Enum + /// + /// C# access modifier. + /// + string AccessModifier { get; } + + // TODO: Convert to Enum + /// + /// C# modifier. + /// + string Modifier { get; } + + /// + /// The normative introduction version for the SysML entity when applicable. Note: Not all entities have a normative version. + /// + string NormativeVersion { get; } + + /// + /// The normative deprecation version for the SysML entity when applicable. + /// + string DeprecatedVersion { get; } + + /// + /// Relationship between two or more classes where this class contains an . + /// + string Aggregation { get; } + + // Note: Extension.Extender + /// + /// Reference to the class this property adds to. + /// + string Extension { get; } + + /// + /// Relationship between classes that allows one object instance to cause another to perform and action on its behalf + /// + string Association { get; } + + // Note: DefaultValue.Name + /// + /// Expected default value for an implementation of this property. + /// + string DefaultValue { get; } + + /// + /// Concatenation of all Comments. + /// + string Summary { get; } + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IPropertyList.cs b/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IPropertyList.cs new file mode 100644 index 00000000..0f8a28a4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Contracts/Interfaces/IPropertyList.cs @@ -0,0 +1,13 @@ +namespace MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces +{ + /// + /// Represents a collection of C# class properties translated from a SysML class entity. + /// + public interface IPropertyList + { + /// + /// Reference to the collection of hard-coded SysML class entity properties. + /// + IProperty[] Properties { get; } + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp/CsharpTranspiler.cs b/MtconnectTranspiler.Sinks.CSharp/CsharpTranspiler.cs deleted file mode 100644 index d0b5bb0b..00000000 --- a/MtconnectTranspiler.Sinks.CSharp/CsharpTranspiler.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Microsoft.Extensions.Logging; -using MtconnectTranspiler.Sinks.ScribanTemplates; - -namespace MtconnectTranspiler.Sinks.CSharp -{ - /// - /// A base class for transpiling the MTConnect Standard SysML model into C# files. - /// - public abstract class CsharpTranspiler : ScribanTranspiler - { - /// - /// Constructs a new instance of the transpiler that can transpile the model into C# files. - /// - /// - /// - public CsharpTranspiler(string projectPath, ILogger logger = default) : base(projectPath, logger) { } - } -} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Class.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Class.cs deleted file mode 100644 index a60a1935..00000000 --- a/MtconnectTranspiler.Sinks.CSharp/Models/Class.cs +++ /dev/null @@ -1,91 +0,0 @@ -using MtconnectTranspiler.Sinks.ScribanTemplates; -using MtconnectTranspiler.Xmi; -using MtconnectTranspiler.Xmi.UML; -using System.Collections.Generic; -using System.Linq; - -namespace MtconnectTranspiler.Sinks.CSharp.Models -{ - /// - /// Represents a C# class - /// - [ScribanTemplate("Class.scriban")] - public partial class Class : CsharpType, IFileSource - { - /// - /// Reference to the xmi:id - /// - public string ReferenceId { get; set; } - - /// - /// Reference to any Comments written in the SysML model to be converted into a C# format <summary /> - /// - public Summary Summary { get; protected set; } - - /// - /// Internal reference to the class filename. - /// - protected string _filename { get; set; } - /// - public string Filename - { - get - { - if (string.IsNullOrEmpty(_filename)) - _filename = $"{Name}.cs"; - return _filename; - } - set { _filename = value; } - } - - /// - /// Internal list of , used by . - /// - protected List _properties = new List(); - /// - /// Collection of - /// - public IEnumerable Properties => _properties; - - /// - /// Internal list of , used by . - /// - protected List _constraints = new List(); - /// - /// Collection of - /// - public IEnumerable Constraints => _constraints; - - /// - /// Constructs an more generically. NOTE: You'll need to add items manually from here. - /// - /// - /// - public Class(XmiDocument model, UmlClass source) : base(model, source) - { - ReferenceId = source.Id; - - if (source.Comments?.Length > 0) - Summary = new Summary(source.Comments); - - if (source.IsAbstract) - Modifier = "abstract"; - - _properties = source.Properties - ?.Select(o => new Property(model, o)) - ?.ToList(); - - _constraints = source.Constraints - ?.Select(o => new Constraint(model, o)) - ?.ToList(); - } - - /// - /// Adds a new - /// - /// Reference to the source to add - public void Add(Property property) - => _properties.Add(property); - - } -} diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ConditionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ConditionClass.cs new file mode 100644 index 00000000..fb7ae048 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ConditionClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + /// An indicator of the ability of a piece of equipment or Component to function to specification.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConditionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375148_768097_1965"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375148_768097_1965"; + /// Constant value for + public const string SUMMARY = @" An indicator of the ability of a piece of equipment or {{term(Component)}} to function to specification. +"; + /// Constant value for + public const string NAME = "Condition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581814683848_300422_5123 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservedConditionClass); + + /// + public new ConditionClassProperties Properties { get; } = new ConditionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ConditionClassProperties : Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservedConditionClass.ObservedConditionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/EventClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/EventClass.cs new file mode 100644 index 00000000..6204b5e1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/EventClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + /// Something that happens or takes place.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EventClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375159_408729_1991"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375159_408729_1991"; + /// Constant value for + public const string SUMMARY = @" Something that happens or takes place. +"; + /// Constant value for + public const string NAME = "Event"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new EventClassProperties Properties { get; } = new EventClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class EventClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableConditionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableConditionClass.cs new file mode 100644 index 00000000..c5056241 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableConditionClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservableConditionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581813466138_813494_4556"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581813466138_813494_4556"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observable Condition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ObservableConditionClassProperties Properties { get; } = new ObservableConditionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ObservableConditionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableEventClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableEventClass.cs new file mode 100644 index 00000000..3d7f4017 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableEventClass.cs @@ -0,0 +1,146 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservableEventClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581813388630_658160_4475"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581813388630_658160_4475"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observable Event"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ObservableEventClassProperties Properties { get; } = new ObservableEventClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ObservableEventClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Units, + }; + /// + ///
+ /// Original Name: Units + ///
+ public UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableMeasurementClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableMeasurementClass.cs new file mode 100644 index 00000000..14705904 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableMeasurementClass.cs @@ -0,0 +1,151 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservableMeasurementClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581813507484_548533_4671"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581813507484_548533_4671"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observable Measurement"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581813486064_528606_4617 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservableSampleClass); + + /// + public new ObservableMeasurementClassProperties Properties { get; } = new ObservableMeasurementClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservableMeasurementClassProperties : Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservableSampleClass.ObservableSampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableSampleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableSampleClass.cs new file mode 100644 index 00000000..228193a2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableSampleClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservableSampleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581813486064_528606_4617"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581813486064_528606_4617"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observable Sample"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ObservableSampleClassProperties Properties { get; } = new ObservableSampleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ObservableSampleClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableStateClass.cs new file mode 100644 index 00000000..b775716a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservableStateClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservableStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581816403159_968406_5939"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581816403159_968406_5939"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observable State"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581813388630_658160_4475 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservableEventClass); + + /// + public new ObservableStateClassProperties Properties { get; } = new ObservableStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservableStateClassProperties : Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservableEventClass.ObservableEventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedConditionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedConditionClass.cs new file mode 100644 index 00000000..0f41eb00 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedConditionClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservedConditionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581814683848_300422_5123"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581814683848_300422_5123"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observed Condition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581812901326_593856_4168 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.ObservationClass); + + /// + public new ObservedConditionClassProperties Properties { get; } = new ObservedConditionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservedConditionClassProperties : Mtconnect.Glossary.MTConnectTerms.ObservationClass.ObservationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedEventClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedEventClass.cs new file mode 100644 index 00000000..8de4856a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedEventClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservedEventClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581814669577_421558_5086"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581814669577_421558_5086"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observed Event"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581812901326_593856_4168 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.ObservationClass); + + /// + public new ObservedEventClassProperties Properties { get; } = new ObservedEventClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservedEventClassProperties : Mtconnect.Glossary.MTConnectTerms.ObservationClass.ObservationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedFaultClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedFaultClass.cs new file mode 100644 index 00000000..56e212d5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedFaultClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservedFaultClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581814889992_601120_5456"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581814889992_601120_5456"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observed Fault"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581814683848_300422_5123 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservedConditionClass); + + /// + public new ObservedFaultClassProperties Properties { get; } = new ObservedFaultClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservedFaultClassProperties : Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservedConditionClass.ObservedConditionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedMeasurementClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedMeasurementClass.cs new file mode 100644 index 00000000..581fc9bd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedMeasurementClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservedMeasurementClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581814703537_813269_5195"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581814703537_813269_5195"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observed Measurement"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581814695455_317721_5160 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.SampleClass); + + /// + public new ObservedMeasurementClassProperties Properties { get; } = new ObservedMeasurementClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservedMeasurementClassProperties : Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedNormalClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedNormalClass.cs new file mode 100644 index 00000000..77470597 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedNormalClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservedNormalClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581814918288_154411_5552"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581814918288_154411_5552"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observed Normal"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581814683848_300422_5123 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservedConditionClass); + + /// + public new ObservedNormalClassProperties Properties { get; } = new ObservedNormalClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservedNormalClassProperties : Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservedConditionClass.ObservedConditionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedStateClass.cs new file mode 100644 index 00000000..3847d9f1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedStateClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservedStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581814797181_38604_5344"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581814797181_38604_5344"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observed State"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581814669577_421558_5086 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservedEventClass); + + /// + public new ObservedStateClassProperties Properties { get; } = new ObservedStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservedStateClassProperties : Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservedEventClass.ObservedEventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedWarningClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedWarningClass.cs new file mode 100644 index 00000000..26adb3ef --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/ObservedWarningClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservedWarningClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581814906056_937212_5515"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581814906056_937212_5515"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observed Warning"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581814683848_300422_5123 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservedConditionClass); + + /// + public new ObservedWarningClassProperties Properties { get; } = new ObservedWarningClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservedWarningClassProperties : Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.ObservedConditionClass.ObservedConditionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/SampleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/SampleClass.cs new file mode 100644 index 00000000..08cb2b79 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AdditionalObservationTerms/SampleClass.cs @@ -0,0 +1,148 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms +{ + /// The collection of one or more pieces of information.



+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SampleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581814695455_317721_5160"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581814695455_317721_5160"; + /// Constant value for + public const string SUMMARY = @" The collection of one or more pieces of information. + +"; + /// Constant value for + public const string NAME = "Sample"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SampleClassProperties Properties { get; } = new SampleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SampleClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Result, + }; + /// + ///
+ /// Original Name: Result + ///
+ public ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AssetInformationModel/AssetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AssetInformationModel/AssetClass.cs new file mode 100644 index 00000000..babe9577 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/AssetInformationModel/AssetClass.cs @@ -0,0 +1,591 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel +{ + /// abstract Asset.


Description

It is used in the manufacturing process, but is not permanently associated with a single piece of equipment. It can be removed from the piece of equipment without compromising its function, and can be associated with other pieces of equipment during its lifecycle.


![Asset](figures/Asset.png "Asset"){: width="0.8"}

> Note: See Assets Schema Diagrams for XML schema.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_C7D39183_23CB_416b_A62D_F60815E08B1A"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_C7D39183_23CB_416b_A62D_F60815E08B1A"; + /// Constant value for + public const string SUMMARY = @" abstract {{term(Asset)}}. + Description It is used in the manufacturing process, but is not permanently associated with a single piece of equipment. It can be removed from the piece of equipment without compromising its function, and can be associated with other pieces of equipment during its lifecycle. + + +![Asset](figures/Asset.png ""Asset""){: width=""0.8""} + +> Note: See {{sect(Assets Schema Diagrams)}} for XML schema. +"; + /// Constant value for + public const string NAME = "Asset"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581734255313_425984_984 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.AssetGeneralization); + + /// + public new AssetClassProperties Properties { get; } = new AssetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AssetClassProperties : Mtconnect.Glossary.MTConnectTerms.AssetGeneralization.AssetGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + AssetId, + DeviceUuid, + Removed, + Timestamp, + HasDescriptionPart, + HasConfigurationPart, + Hash, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: AssetId + ///
+ public new AssetIdProperty AssetId { get; } = new AssetIdProperty(); + + /// unique identifier for an Asset.


+ ///
+ public new sealed class AssetIdProperty : IProperty + { + /// Constant value for + public const string NAME = "assetId"; + /// Constant value for + public const string SUMMARY = @" unique identifier for an {{block(Asset)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: DeviceUuid + ///
+ public new DeviceUuidProperty DeviceUuid { get; } = new DeviceUuidProperty(); + + /// associated piece of equipment's UUID that supplied the Asset's data.

It references to uuid in Device defined in Device Information Model.


+ ///
+ public new sealed class DeviceUuidProperty : IProperty + { + /// Constant value for + public const string NAME = "deviceUuid"; + /// Constant value for + public const string SUMMARY = @" associated piece of equipment's {{term(UUID)}} that supplied the {{block(Asset)}}'s data. + +It references to {{property(Device::uuid)}} defined in {{package(Device Information Model)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Removed + ///
+ public new RemovedProperty Removed { get; } = new RemovedProperty(); + + /// indicator that the Asset has been removed from the piece of equipment.


+ ///
+ public new sealed class RemovedProperty : IProperty + { + /// Constant value for + public const string NAME = "removed"; + /// Constant value for + public const string SUMMARY = @" indicator that the {{block(Asset)}} has been removed from the piece of equipment. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Boolean + /// + public System.Type Type => typeof(Boolean); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Timestamp + ///
+ public new TimestampProperty Timestamp { get; } = new TimestampProperty(); + + /// time the Asset data was last modified.


+ ///
+ public new sealed class TimestampProperty : IProperty + { + /// Constant value for + public const string NAME = "timestamp"; + /// Constant value for + public const string SUMMARY = @" time the {{block(Asset)}} data was last modified. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasDescription + ///
+ public new HasDescriptionPartProperty HasDescriptionPart { get; } = new HasDescriptionPartProperty(); + + /// Description can contain any descriptive content about the Asset.


+ ///
+ public new sealed class HasDescriptionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasDescription"; + /// Constant value for + public const string SUMMARY = @" Description can contain any descriptive content about the Asset. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Description"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DescriptionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.DescriptionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasConfiguration + ///
+ public new HasConfigurationPartProperty HasConfigurationPart { get; } = new HasConfigurationPartProperty(); + + ///  + /// + public new sealed class HasConfigurationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasConfiguration"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Configuration"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ConfigurationClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.ConfigurationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Hash + ///
+ public new HashProperty Hash { get; } = new HashProperty(); + + /// condensed message digest from a secure one-way hash function. FIPS PUB 180-4


+ ///
+ public new sealed class HashProperty : IProperty + { + /// Constant value for + public const string NAME = "hash"; + /// Constant value for + public const string SUMMARY = @" condensed message digest from a secure one-way hash function. {{cite(FIPS PUB 180-4)}} +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CSVImports/ImportDescriptorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CSVImports/ImportDescriptorClass.cs new file mode 100644 index 00000000..7d234833 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CSVImports/ImportDescriptorClass.cs @@ -0,0 +1,846 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.CSVImports +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ImportDescriptorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579210647410_88327_3587"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579210647410_88327_3587"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "ImportDescriptor"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ImportDescriptorClassProperties Properties { get; } = new ImportDescriptorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ImportDescriptorClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + CsvFileName, + ElementTypeName, + PackageName, + DiagramTypeName, + UseFirstRowAsHeaders, + UseFindOwnerByTagId, + StereoTypeNames, + IdentifierName, + RelationEndIdentifier, + PropertyMapNames, + FieldSeparator, + }; + /// + ///
+ /// Original Name: CsvFileName + ///
+ public CsvFileNameProperty CsvFileName { get; } = new CsvFileNameProperty(); + + ///  + /// + public sealed class CsvFileNameProperty : IProperty + { + /// Constant value for + public const string NAME = "csvFileName"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ElementTypeName + ///
+ public ElementTypeNameProperty ElementTypeName { get; } = new ElementTypeNameProperty(); + + ///  + /// + public sealed class ElementTypeNameProperty : IProperty + { + /// Constant value for + public const string NAME = "elementTypeName"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: PackageName + ///
+ public PackageNameProperty PackageName { get; } = new PackageNameProperty(); + + ///  + /// + public sealed class PackageNameProperty : IProperty + { + /// Constant value for + public const string NAME = "packageName"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: DiagramTypeName + ///
+ public DiagramTypeNameProperty DiagramTypeName { get; } = new DiagramTypeNameProperty(); + + ///  + /// + public sealed class DiagramTypeNameProperty : IProperty + { + /// Constant value for + public const string NAME = "diagramTypeName"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: UseFirstRowAsHeaders + ///
+ public UseFirstRowAsHeadersProperty UseFirstRowAsHeaders { get; } = new UseFirstRowAsHeadersProperty(); + + ///  + /// + public sealed class UseFirstRowAsHeadersProperty : IProperty + { + /// Constant value for + public const string NAME = "useFirstRowAsHeaders"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: UseFindOwnerByTagId + ///
+ public UseFindOwnerByTagIdProperty UseFindOwnerByTagId { get; } = new UseFindOwnerByTagIdProperty(); + + ///  + /// + public sealed class UseFindOwnerByTagIdProperty : IProperty + { + /// Constant value for + public const string NAME = "useFindOwnerByTagId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: StereoTypeNames + ///
+ public StereoTypeNamesProperty StereoTypeNames { get; } = new StereoTypeNamesProperty(); + + ///  + /// + public sealed class StereoTypeNamesProperty : IProperty + { + /// Constant value for + public const string NAME = "stereoTypeNames"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: IdentifierName + ///
+ public IdentifierNameProperty IdentifierName { get; } = new IdentifierNameProperty(); + + ///  + /// + public sealed class IdentifierNameProperty : IProperty + { + /// Constant value for + public const string NAME = "identifierName"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: RelationEndIdentifier + ///
+ public RelationEndIdentifierProperty RelationEndIdentifier { get; } = new RelationEndIdentifierProperty(); + + ///  + /// + public sealed class RelationEndIdentifierProperty : IProperty + { + /// Constant value for + public const string NAME = "relationEndIdentifier"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: PropertyMapNames + ///
+ public PropertyMapNamesProperty PropertyMapNames { get; } = new PropertyMapNamesProperty(); + + ///  + /// + public sealed class PropertyMapNamesProperty : IProperty + { + /// Constant value for + public const string NAME = "propertyMapNames"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: FieldSeparator + ///
+ public FieldSeparatorProperty FieldSeparator { get; } = new FieldSeparatorProperty(); + + ///  + /// + public sealed class FieldSeparatorProperty : IProperty + { + /// Constant value for + public const string NAME = "fieldSeparator"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CSVImports/PropertyMapClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CSVImports/PropertyMapClass.cs new file mode 100644 index 00000000..b9ec82b3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CSVImports/PropertyMapClass.cs @@ -0,0 +1,286 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.CSVImports +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PropertyMapClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579210647406_198412_3583"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579210647406_198412_3583"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "PropertyMap"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new PropertyMapClassProperties Properties { get; } = new PropertyMapClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class PropertyMapClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + PropertyName, + StereotypeName, + ColumnIndex, + }; + /// + ///
+ /// Original Name: PropertyName + ///
+ public PropertyNameProperty PropertyName { get; } = new PropertyNameProperty(); + + ///  + /// + public sealed class PropertyNameProperty : IProperty + { + /// Constant value for + public const string NAME = "propertyName"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: StereotypeName + ///
+ public StereotypeNameProperty StereotypeName { get; } = new StereotypeNameProperty(); + + ///  + /// + public sealed class StereotypeNameProperty : IProperty + { + /// Constant value for + public const string NAME = "stereotypeName"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ColumnIndex + ///
+ public ColumnIndexProperty ColumnIndex { get; } = new ColumnIndexProperty(); + + ///  + /// + public sealed class ColumnIndexProperty : IProperty + { + /// Constant value for + public const string NAME = "columnIndex"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentConfigurationParameters/ComponentConfigurationParametersClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentConfigurationParameters/ComponentConfigurationParametersClass.cs new file mode 100644 index 00000000..a9f1acc8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentConfigurationParameters/ComponentConfigurationParametersClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.ComponentConfigurationParameters +{ + /// set of ParameterSets that govern the functionality of the related Component.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ComponentConfigurationParametersClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678197202508_829668_17803"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678197202508_829668_17803"; + /// Constant value for + public const string SUMMARY = @" set of {{block(ParameterSet)}}s that govern the functionality of the related {{block(Component)}}. +"; + /// Constant value for + public const string NAME = "ComponentConfigurationParameters"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C7D39183_23CB_416b_A62D_F60815E08B1A + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.AssetClass); + + /// + public new ComponentConfigurationParametersClassProperties Properties { get; } = new ComponentConfigurationParametersClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ComponentConfigurationParametersClassProperties : Mtconnect.AssetInformationModel.AssetClass.AssetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasParameterSetPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasParameterSet + ///
+ public new HasParameterSetPartProperty HasParameterSetPart { get; } = new HasParameterSetPartProperty(); + + ///  + /// + public new sealed class HasParameterSetPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasParameterSet"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "ParameterSets"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ParameterSetClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.ComponentConfigurationParameters.ParameterSetClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentConfigurationParameters/ParameterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentConfigurationParameters/ParameterClass.cs new file mode 100644 index 00000000..27513aca --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentConfigurationParameters/ParameterClass.cs @@ -0,0 +1,581 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.ComponentConfigurationParameters +{ + /// property that determines the characteristic or behavior of an entity.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ParameterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678197371649_500788_17992"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678197371649_500788_17992"; + /// Constant value for + public const string SUMMARY = @" property that determines the characteristic or behavior of an entity. +"; + /// Constant value for + public const string NAME = "Parameter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ParameterClassProperties Properties { get; } = new ParameterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ParameterClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Identifier, + Name, + Minimum, + Maximum, + Nominal, + Value, + Units, + }; + /// + ///
+ /// Original Name: Identifier + ///
+ public IdentifierProperty Identifier { get; } = new IdentifierProperty(); + + /// internal identifier, register, or address.


+ ///
+ public sealed class IdentifierProperty : IProperty + { + /// Constant value for + public const string NAME = "identifier"; + /// Constant value for + public const string SUMMARY = @" internal identifier, register, or address. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// descriptive name.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" descriptive name. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Minimum + ///
+ public MinimumProperty Minimum { get; } = new MinimumProperty(); + + /// minimal allowed value.


+ ///
+ public sealed class MinimumProperty : IProperty + { + /// Constant value for + public const string NAME = "minimum"; + /// Constant value for + public const string SUMMARY = @" minimal allowed value. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Double + /// + public System.Type Type => typeof(Double); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Maximum + ///
+ public MaximumProperty Maximum { get; } = new MaximumProperty(); + + /// maximum allowed value.


+ ///
+ public sealed class MaximumProperty : IProperty + { + /// Constant value for + public const string NAME = "maximum"; + /// Constant value for + public const string SUMMARY = @" maximum allowed value. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Double + /// + public System.Type Type => typeof(Double); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Nominal + ///
+ public NominalProperty Nominal { get; } = new NominalProperty(); + + /// nominal value.


+ ///
+ public sealed class NominalProperty : IProperty + { + /// Constant value for + public const string NAME = "nominal"; + /// Constant value for + public const string SUMMARY = @" nominal value. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Double + /// + public System.Type Type => typeof(Double); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// configured value.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" configured value. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public UnitsProperty Units { get; } = new UnitsProperty(); + + /// engineering units.

units in Parameter SHOULD be SI or MTConnect Units.


+ ///
+ public sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @" engineering units. + +{{property(Parameter::units)}} **SHOULD** be SI or MTConnect Units. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentConfigurationParameters/ParameterSetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentConfigurationParameters/ParameterSetClass.cs new file mode 100644 index 00000000..464d7370 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentConfigurationParameters/ParameterSetClass.cs @@ -0,0 +1,223 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.ComponentConfigurationParameters +{ + /// set of Parameters.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ParameterSetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678197254209_96040_17915"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678197254209_96040_17915"; + /// Constant value for + public const string SUMMARY = @" set of {{block(Parameter)}}s. +"; + /// Constant value for + public const string NAME = "ParameterSet"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ParameterSetClassProperties Properties { get; } = new ParameterSetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ParameterSetClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Name, + HasParameterPart, + }; + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// name of the parameter set if more than one exists.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of the parameter set if more than one exists. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasParameter + ///
+ public HasParameterPartProperty HasParameterPart { get; } = new HasParameterPartProperty(); + + ///  + /// + public sealed class HasParameterPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasParameter"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Parameters"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ParameterClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.ComponentConfigurationParameters.ParameterClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ActuatorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ActuatorClass.cs new file mode 100644 index 00000000..d66d4b12 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ActuatorClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component composed of a physical apparatus that moves or controls a mechanism or system.


Description

It takes energy usually provided by air, electric current, or liquid and converts the energy into some kind of motion.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActuatorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381968_750236_42201"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381968_750236_42201"; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} composed of a physical apparatus that moves or controls a mechanism or system. + Description It takes energy usually provided by air, electric current, or liquid and converts the energy into some kind of motion. +"; + /// Constant value for + public const string NAME = "Actuator"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new ActuatorClassProperties Properties { get; } = new ActuatorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActuatorClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AdapterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AdapterClass.cs new file mode 100644 index 00000000..42f8bdc0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AdapterClass.cs @@ -0,0 +1,158 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component that provides information about the data source for an MTConnect Agent.


Description

It MAY contain connectivity state of the data source and additional telemetry about the data source and source-specific information.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AdapterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605101651646_782838_139"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605101651646_782838_139"; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} that provides information about the data source for an {{term(MTConnect Agent)}}. + Description It **MAY** contain connectivity state of the data source and additional telemetry about the data source and source-specific information. +"; + /// Constant value for + public const string NAME = "Adapter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new AdapterClassProperties Properties { get; } = new AdapterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AdapterClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + IsAdapterOfPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: IsAdapterOf + ///
+ public new IsAdapterOfPartProperty IsAdapterOfPart { get; } = new IsAdapterOfPartProperty(); + + ///  + /// + public new sealed class IsAdapterOfPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isAdapterOf"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "AdaptersClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AirHandlerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AirHandlerClass.cs new file mode 100644 index 00000000..4ce8bf55 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AirHandlerClass.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// system that circulates air or regulates airflow without altering temperature or humidity.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AirHandlerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1696069278270_26061_1220"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1696069278270_26061_1220"; + /// Constant value for + public const string SUMMARY = @" system that circulates air or regulates airflow without altering temperature or humidity. +"; + /// Constant value for + public const string NAME = "AirHandler"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new AirHandlerClassProperties Properties { get; } = new AirHandlerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AirHandlerClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AmplifierClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AmplifierClass.cs new file mode 100644 index 00000000..b37e67ce --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AmplifierClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of an electronic component or circuit that amplifies power, electric current, or voltage.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmplifierClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106460_808314_44366"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106460_808314_44366"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of an electronic component or circuit that amplifies power, electric current, or voltage. +"; + /// Constant value for + public const string NAME = "Amplifier"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new AmplifierClassProperties Properties { get; } = new AmplifierClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmplifierClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AutomaticToolChangerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AutomaticToolChangerClass.cs new file mode 100644 index 00000000..9565a1cc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AutomaticToolChangerClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// ToolingDelivery composed of a tool delivery mechanism that moves tools between a ToolMagazine and a spindle a Turret.


Description

AutomaticToolChanger may also transfer tools between a location outside of a piece of equipment and a ToolMagazine or Turret.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AutomaticToolChangerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605551853978_27109_2354"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605551853978_27109_2354"; + /// Constant value for + public const string SUMMARY = @" {{block(ToolingDelivery)}} composed of a tool delivery mechanism that moves tools between a {{block(ToolMagazine)}} and a {{term(spindle)}} a {{block(Turret)}}. + Description {{block(AutomaticToolChanger)}} may also transfer tools between a location outside of a piece of equipment and a {{block(ToolMagazine)}} or {{block(Turret)}}. +"; + /// Constant value for + public const string NAME = "AutomaticToolChanger"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382021_741508_42300 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.ToolingDeliveryClass); + + /// + public new AutomaticToolChangerClassProperties Properties { get; } = new AutomaticToolChangerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AutomaticToolChangerClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.ToolingDeliveryClass.ToolingDeliveryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AuxiliaryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AuxiliaryClass.cs new file mode 100644 index 00000000..81981ad3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AuxiliaryClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// abstract Component composed of removable part(s) of a piece of equipment that provides supplementary or extended functionality.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AuxiliaryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381970_785259_42204"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381970_785259_42204"; + /// Constant value for + public const string SUMMARY = @" abstract {{block(Component)}} composed of removable part(s) of a piece of equipment that provides supplementary or extended functionality. +"; + /// Constant value for + public const string NAME = "Auxiliary"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new AuxiliaryClassProperties Properties { get; } = new AuxiliaryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AuxiliaryClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + IsAuxiliaryOfPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: IsAuxiliaryOf + ///
+ public new IsAuxiliaryOfPartProperty IsAuxiliaryOfPart { get; } = new IsAuxiliaryOfPartProperty(); + + ///  + /// + public new sealed class IsAuxiliaryOfPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isAuxiliaryOf"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "AuxiliariesClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AxisClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AxisClass.cs new file mode 100644 index 00000000..f1c8ea7c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/AxisClass.cs @@ -0,0 +1,190 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// abstract Component composed of a motion system that provides linear or rotational motion for a piece of equipment.


Description

In robotics, the term Axis is synonymous with Joint. A Joint is the connection between two parts of the structure that move in relation to each other.

Linear and Rotary components MUST have name in Component that MUST follow the conventions described below. Use the nativeName in Component for the manufacturer's name of the axis if it differs from the assigned name in Component.

MTConnect has two high-level classes for automation equipment as follows: (1) Equipment that controls cartesian coordinate axes and (2) Equipment that controls articulated axes. There are ambiguous cases where some machines exhibit both characteristics; when this occurs, the primary control system's configuration determines the classification.

Examples of cartesian coordinate equipment are CNC Machine Tools, Coordinate measurement machines, as specified in ISO 841, and 3D Printers. Examples of articulated automation equipment are Robotic systems as specified in ISO 8373.

The following sections define the designation of names for the axes and additional guidance when selecting the correct scheme to use for a given piece of equipment.

#### Cartesian Coordinate Naming Conventions

A Three-Dimensional Cartesian Coordinate control system organizes its axes orthogonally relative to a machine coordinate system where the manufacturer of the equipment specifies the origin.

Axes name in Component SHOULD comply with ISO 841, if possible.

##### Linear Motion

A piece of equipment MUST represent prismatic motion using a Linear axis and assign its name in Component using the designations X, Y, and Z. A Linear axis name in Component MUST append a monotonically increasing suffix when there are more than one parallel axes; for example, X2, X3, and X4.

##### Rotary Motion

MTConnect MUST assign the name in Component to Rotary axes exhibiting rotary motion using A, B, and C. A Rotary axis name in Component MUST append a monotonically increasing suffix when more than one Rotary axis rotates around the same Linear axis; for example, A2, A3, and A4.

#### Articulated Machine Control Systems

An articulated control system's axes represent the connecting linkages between two adjacent rigid members of an assembly. The Linear axis represents prismatic motion, and the Rotary axis represents the rotational motion of the two related members. The control organizes the axes in a kinematic chain from the mounting surface (base) to the end-effector or tooling.

#### Articulated Machine Axis Names

The axes of articulated machines represent forward kinematic relationships between mechanical linkages. Each axis is a connection between linkages, also referred to as joints, and MUST be named using a J followed by a monotonically increasing number; for example, J1, J2, J3. The numbering starts at the base axis connected or closest to the mounting surface, J1, incrementing to the mechanical interface, Jn, where n is the number of the last axis. The chain forms a parent-child relationship with the parent being the axis closest to the base.

A machine having an axis with more than one child MUST number each branch using its numeric designation followed by a branch number and a monotonically increasing number. For example, if J2 has two children, the first child branch MUST be named J2.1.1 and the second child branch J2.2.1. A child of the first branch MUST be named J2.1.2, incrementing to J2.1.n, where J2.1.n is the number of the last axis in that branch.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381972_553005_42207"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381972_553005_42207"; + /// Constant value for + public const string SUMMARY = @" abstract {{block(Component)}} composed of a motion system that provides linear or rotational motion for a piece of equipment. + Description In robotics, the term *Axis* is synonymous with *Joint*. A *Joint* is the connection between two parts of the structure that move in relation to each other. + +{{block(Linear)}} and {{block(Rotary)}} components **MUST** have {{property(Component::name)}} that **MUST** follow the conventions described below. Use the {{property(Component::nativeName)}} for the manufacturer's name of the axis if it differs from the assigned {{property(Component::name)}}. + +MTConnect has two high-level classes for automation equipment as follows: (1) Equipment that controls cartesian coordinate axes and (2) Equipment that controls articulated axes. There are ambiguous cases where some machines exhibit both characteristics; when this occurs, the primary control system's configuration determines the classification. + +Examples of cartesian coordinate equipment are CNC Machine Tools, Coordinate measurement machines, as specified in ISO 841, and 3D Printers. Examples of articulated automation equipment are Robotic systems as specified in ISO 8373. + +The following sections define the designation of names for the axes and additional guidance when selecting the correct scheme to use for a given piece of equipment. + +#### Cartesian Coordinate Naming Conventions + +A Three-Dimensional Cartesian Coordinate control system organizes its axes orthogonally relative to a machine coordinate system where the manufacturer of the equipment specifies the origin. + +{{block(Axes)}} {{property(Component::name)}} **SHOULD** comply with ISO 841, if possible. + +##### Linear Motion + +A piece of equipment **MUST** represent prismatic motion using a {{block(Linear)}} axis and assign its {{property(Component::name)}} using the designations `X`, `Y`, and `Z`. A {{block(Linear)}} axis {{property(Component::name)}} **MUST** append a monotonically increasing suffix when there are more than one parallel axes; for example, `X2`, `X3`, and `X4`. + +##### Rotary Motion + +MTConnect **MUST** assign the {{property(Component::name)}} to {{block(Rotary)}} axes exhibiting rotary motion using `A`, `B`, and `C`. A {{block(Rotary)}} axis {{property(Component::name)}} **MUST** append a monotonically increasing suffix when more than one {{block(Rotary)}} axis rotates around the same {{block(Linear)}} axis; for example, `A2`, `A3`, and `A4`. + +#### Articulated Machine Control Systems + +An articulated control system's axes represent the connecting linkages between two adjacent rigid members of an assembly. The {{block(Linear)}} axis represents prismatic motion, and the {{block(Rotary)}} axis represents the rotational motion of the two related members. The control organizes the axes in a kinematic chain from the mounting surface (base) to the end-effector or tooling. + +#### Articulated Machine Axis Names + +The axes of articulated machines represent forward kinematic relationships between mechanical linkages. Each axis is a connection between linkages, also referred to as joints, and **MUST** be named using a `J` followed by a monotonically increasing number; for example, `J1`, `J2`, `J3`. The numbering starts at the base axis connected or closest to the mounting surface, `J1`, incrementing to the mechanical interface, `Jn`, where `n` is the number of the last axis. The chain forms a parent-child relationship with the parent being the axis closest to the base. + +A machine having an axis with more than one child **MUST** number each branch using its numeric designation followed by a branch number and a monotonically increasing number. For example, if `J2` has two children, the first child branch **MUST** be named `J2.1.1` and the second child branch `J2.2.1`. A child of the first branch **MUST** be named `J2.1.2`, incrementing to `J2.1.n`, where `J2.1.n` is the number of the last axis in that branch. +"; + /// Constant value for + public const string NAME = "Axis"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new AxisClassProperties Properties { get; } = new AxisClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + IsAxisOfPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: IsAxisOf + ///
+ public new IsAxisOfPartProperty IsAxisOfPart { get; } = new IsAxisOfPartProperty(); + + ///  + /// + public new sealed class IsAxisOfPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isAxisOf"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "AxesClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BallscrewClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BallscrewClass.cs new file mode 100644 index 00000000..b4b21606 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BallscrewClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of a mechanical structure that transforms rotary motion into linear motion.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BallscrewClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106460_88955_44369"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106460_88955_44369"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of a mechanical structure that transforms rotary motion into linear motion. +"; + /// Constant value for + public const string NAME = "Ballscrew"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new BallscrewClassProperties Properties { get; } = new BallscrewClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BallscrewClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BarFeederClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BarFeederClass.cs new file mode 100644 index 00000000..af3c2bc5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BarFeederClass.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Loader that delivers bar stock to a piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BarFeederClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381973_701090_42210"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381973_701090_42210"; + /// Constant value for + public const string SUMMARY = @" {{block(Loader)}} that delivers bar stock to a piece of equipment. +"; + /// Constant value for + public const string NAME = "BarFeeder"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381999_206845_42258 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.LoaderClass); + + /// + public new BarFeederClassProperties Properties { get; } = new BarFeederClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BarFeederClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.LoaderClass.LoaderClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BeltClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BeltClass.cs new file mode 100644 index 00000000..e8de55c2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BeltClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of an endless flexible band that transmits motion for a piece of equipment or conveys materials and objects.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BeltClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106461_211983_44372"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106461_211983_44372"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of an endless flexible band that transmits motion for a piece of equipment or conveys materials and objects. +"; + /// Constant value for + public const string NAME = "Belt"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new BeltClassProperties Properties { get; } = new BeltClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BeltClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BrakeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BrakeClass.cs new file mode 100644 index 00000000..1390cb2a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/BrakeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that slows or stops a moving object by the absorption or transfer of the energy of momentum, usually by means of friction, electrical force, or magnetic force.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BrakeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106461_720908_44375"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106461_720908_44375"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that slows or stops a moving object by the absorption or transfer of the energy of momentum, usually by means of friction, electrical force, or magnetic force. +"; + /// Constant value for + public const string NAME = "Brake"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new BrakeClassProperties Properties { get; } = new BrakeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BrakeClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChainClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChainClass.cs new file mode 100644 index 00000000..03e0da16 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChainClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of interconnected series of objects that band together and are used to transmit motion for a piece of equipment or to convey materials and objects.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChainClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106462_246830_44378"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106462_246830_44378"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of interconnected series of objects that band together and are used to transmit motion for a piece of equipment or to convey materials and objects. +"; + /// Constant value for + public const string NAME = "Chain"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new ChainClassProperties Properties { get; } = new ChainClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChainClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChopperClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChopperClass.cs new file mode 100644 index 00000000..04155e64 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChopperClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that breaks material into smaller pieces.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChopperClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106462_657166_44381"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106462_657166_44381"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that breaks material into smaller pieces. +"; + /// Constant value for + public const string NAME = "Chopper"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new ChopperClassProperties Properties { get; } = new ChopperClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChopperClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChuckClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChuckClass.cs new file mode 100644 index 00000000..c7a89cf8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChuckClass.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of a mechanism that holds a part or stock material in place.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChuckClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1643679566213_508045_1804"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1643679566213_508045_1804"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of a mechanism that holds a part or stock material in place. +"; + /// Constant value for + public const string NAME = "Chuck"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new ChuckClassProperties Properties { get; } = new ChuckClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChuckClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChuteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChuteClass.cs new file mode 100644 index 00000000..0e8835b6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ChuteClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of an inclined channel that conveys material.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChuteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106463_904140_44387"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106463_904140_44387"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of an inclined channel that conveys material. +"; + /// Constant value for + public const string NAME = "Chute"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new ChuteClassProperties Properties { get; } = new ChuteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChuteClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CircuitBreakerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CircuitBreakerClass.cs new file mode 100644 index 00000000..4c91bd9d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CircuitBreakerClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that interrupts an electric circuit.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CircuitBreakerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106464_188160_44390"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106464_188160_44390"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that interrupts an electric circuit. +"; + /// Constant value for + public const string NAME = "CircuitBreaker"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new CircuitBreakerClassProperties Properties { get; } = new CircuitBreakerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CircuitBreakerClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ClampClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ClampClass.cs new file mode 100644 index 00000000..0f556b32 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ClampClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that strengthens, support, or fastens objects in place.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ClampClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106464_145351_44393"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106464_145351_44393"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that strengthens, support, or fastens objects in place. +"; + /// Constant value for + public const string NAME = "Clamp"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new ClampClassProperties Properties { get; } = new ClampClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ClampClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CompressorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CompressorClass.cs new file mode 100644 index 00000000..652a4157 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CompressorClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of a pump or other mechanism that reduces volume and increases pressure of gases in order to condense the gases to drive pneumatically powered pieces of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompressorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106465_576708_44396"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106465_576708_44396"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of a pump or other mechanism that reduces volume and increases pressure of gases in order to condense the gases to drive pneumatically powered pieces of equipment. +"; + /// Constant value for + public const string NAME = "Compressor"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new CompressorClassProperties Properties { get; } = new CompressorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CompressorClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ControllerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ControllerClass.cs new file mode 100644 index 00000000..3a26f23c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ControllerClass.cs @@ -0,0 +1,580 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System that provides regulation or management of a system or component. ISO 16484-5:2017


Description

Typical types of controllers for a piece of equipment include CNC (Computer Numerical Control), PAC (Programmable Automation Control), IPC (Industrialized Computer), or IC (Imbedded Computer).

> Note: In XML representation, Controller is a top level element.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControllerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381977_283525_42216"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381977_283525_42216"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} that provides regulation or management of a system or component. {{cite(ISO 16484-5:2017)}} + Description Typical types of controllers for a piece of equipment include CNC (Computer Numerical Control), PAC (Programmable Automation Control), IPC (Industrialized Computer), or IC (Imbedded Computer). + +> Note: In {{term(XML)}} representation, {{block(Controller)}} is a {{term(top level)}} element. +"; + /// Constant value for + public const string NAME = "Controller"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new ControllerClassProperties Properties { get; } = new ControllerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ControllerClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasPathPart, + IsControllerOfPart, + ObservesEmergencyStop, + ObservesSystemCondition, + ObservesControllerMode, + ObservesCommunicationsCondition, + ObservesLogicProgramCondition, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasPath + ///
+ public new HasPathPartProperty HasPathPart { get; } = new HasPathPartProperty(); + + ///  + /// + public new sealed class HasPathPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasPath"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Path"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PathClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.PathClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: IsControllerOf + ///
+ public new IsControllerOfPartProperty IsControllerOfPart { get; } = new IsControllerOfPartProperty(); + + ///  + /// + public new sealed class IsControllerOfPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isControllerOf"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "ControllersClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesEmergencyStop + ///
+ public new ObservesEmergencyStopProperty ObservesEmergencyStop { get; } = new ObservesEmergencyStopProperty(); + + ///  + /// + public new sealed class ObservesEmergencyStopProperty : IProperty + { + /// Constant value for + public const string NAME = "observesEmergencyStop"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EmergencyStopClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EmergencyStopClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesSystemCondition + ///
+ public new ObservesSystemConditionProperty ObservesSystemCondition { get; } = new ObservesSystemConditionProperty(); + + ///  + /// + public new sealed class ObservesSystemConditionProperty : IProperty + { + /// Constant value for + public const string NAME = "observesSystemCondition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SystemClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.ConditionTypes.SystemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesControllerMode + ///
+ public new ObservesControllerModeProperty ObservesControllerMode { get; } = new ObservesControllerModeProperty(); + + ///  + /// + public new sealed class ObservesControllerModeProperty : IProperty + { + /// Constant value for + public const string NAME = "observesControllerMode"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ControllerModeClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ControllerModeClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesCommunicationsCondition + ///
+ public new ObservesCommunicationsConditionProperty ObservesCommunicationsCondition { get; } = new ObservesCommunicationsConditionProperty(); + + ///  + /// + public new sealed class ObservesCommunicationsConditionProperty : IProperty + { + /// Constant value for + public const string NAME = "observesCommunicationsCondition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CommunicationsClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.ConditionTypes.CommunicationsClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesLogicProgramCondition + ///
+ public new ObservesLogicProgramConditionProperty ObservesLogicProgramCondition { get; } = new ObservesLogicProgramConditionProperty(); + + ///  + /// + public new sealed class ObservesLogicProgramConditionProperty : IProperty + { + /// Constant value for + public const string NAME = "observesLogicProgramCondition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LogicProgramClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.ConditionTypes.LogicProgramClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CoolantClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CoolantClass.cs new file mode 100644 index 00000000..353deabd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CoolantClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System that provides distribution and management of fluids that remove heat from a piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CoolantClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381979_456626_42219"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381979_456626_42219"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} that provides distribution and management of fluids that remove heat from a piece of equipment. +"; + /// Constant value for + public const string NAME = "Coolant"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new CoolantClassProperties Properties { get; } = new CoolantClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CoolantClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesConcentration, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesConcentration + ///
+ public new ObservesConcentrationProperty ObservesConcentration { get; } = new ObservesConcentrationProperty(); + + ///  + /// + public new sealed class ObservesConcentrationProperty : IProperty + { + /// Constant value for + public const string NAME = "observesConcentration"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ConcentrationClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.ConcentrationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CoolingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CoolingClass.cs new file mode 100644 index 00000000..1cc41faf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CoolingClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System that extracts controlled amounts of heat to achieve a target temperature at a specified cooling rate.


Description

> Note: As an example, Energy Extraction Method can be via cooling water pipes running through the chamber.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CoolingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605117088875_728711_1893"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605117088875_728711_1893"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} that extracts controlled amounts of heat to achieve a target temperature at a specified cooling rate. + Description > Note: As an example, Energy Extraction Method can be via cooling water pipes running through the chamber. +"; + /// Constant value for + public const string NAME = "Cooling"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new CoolingClassProperties Properties { get; } = new CoolingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CoolingClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CoolingTowerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CoolingTowerClass.cs new file mode 100644 index 00000000..2b757e6b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/CoolingTowerClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of a heat exchange system that uses a fluid to transfer heat to the atmosphere.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CoolingTowerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605117477013_561048_2109"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605117477013_561048_2109"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of a heat exchange system that uses a fluid to transfer heat to the atmosphere. +"; + /// Constant value for + public const string NAME = "CoolingTower"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new CoolingTowerClassProperties Properties { get; } = new CoolingTowerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CoolingTowerClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DepositionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DepositionClass.cs new file mode 100644 index 00000000..c6453c2f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DepositionClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Auxiliary that manages the addition of material or state change of material being performed in an additive manufacturing process.


Description

For example, this could describe the portion of a piece of equipment that manages a material extrusion process or a vat polymerization process.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381981_362854_42222"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381981_362854_42222"; + /// Constant value for + public const string SUMMARY = @" {{block(Auxiliary)}} that manages the addition of material or state change of material being performed in an additive manufacturing process. + Description For example, this could describe the portion of a piece of equipment that manages a material extrusion process or a vat polymerization process. +"; + /// Constant value for + public const string NAME = "Deposition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381970_785259_42204 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.AuxiliaryClass); + + /// + public new DepositionClassProperties Properties { get; } = new DepositionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.AuxiliaryClass.AuxiliaryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DielectricClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DielectricClass.cs new file mode 100644 index 00000000..b71ddd31 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DielectricClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System that manages a chemical mixture used in a manufacturing process being performed at that piece of equipment.


Description

For example, this could describe the dielectric system for an EDM process or the chemical bath used in a plating process.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DielectricClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381982_394383_42225"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381982_394383_42225"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} that manages a chemical mixture used in a manufacturing process being performed at that piece of equipment. + Description For example, this could describe the dielectric system for an EDM process or the chemical bath used in a plating process. +"; + /// Constant value for + public const string NAME = "Dielectric"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new DielectricClassProperties Properties { get; } = new DielectricClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DielectricClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DoorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DoorClass.cs new file mode 100644 index 00000000..545bd4bf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DoorClass.cs @@ -0,0 +1,160 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component composed of a mechanical mechanism or closure that can cover a physical access portal into a piece of equipment allowing or restricting access to other parts of the equipment.


Description

The closure can be opened or closed to allow or restrict access to other parts of the equipment.

Door MUST have DoorState data item to indicate if the door is OPEN, CLOSED, or UNLATCHED. A Component MAY contain multiple Door entities.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DoorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381984_481596_42228"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381984_481596_42228"; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} composed of a mechanical mechanism or closure that can cover a physical access portal into a piece of equipment allowing or restricting access to other parts of the equipment. + Description The closure can be opened or closed to allow or restrict access to other parts of the equipment. + +{{block(Door)}} **MUST** have {{block(DoorState)}} data item to indicate if the door is `OPEN`, `CLOSED`, or `UNLATCHED`. A {{block(Component)}} **MAY** contain multiple {{block(Door)}} entities. +"; + /// Constant value for + public const string NAME = "Door"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new DoorClassProperties Properties { get; } = new DoorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DoorClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesDoorState, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesDoorState + ///
+ public new ObservesDoorStateProperty ObservesDoorState { get; } = new ObservesDoorStateProperty(); + + ///  + /// + public new sealed class ObservesDoorStateProperty : IProperty + { + /// Constant value for + public const string NAME = "observesDoorState"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DoorStateClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DoorStateClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DrainClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DrainClass.cs new file mode 100644 index 00000000..92bdb632 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/DrainClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that allows material to flow for the purpose of drainage from, for example, a vessel or tank.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DrainClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106466_143410_44402"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106466_143410_44402"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that allows material to flow for the purpose of drainage from, for example, a vessel or tank. +"; + /// Constant value for + public const string NAME = "Drain"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new DrainClassProperties Properties { get; } = new DrainClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DrainClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ElectricClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ElectricClass.cs new file mode 100644 index 00000000..1bbbe36a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ElectricClass.cs @@ -0,0 +1,158 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System composed of the main power supply for the piece of equipment that provides distribution of that power throughout the equipment.


Description

The electric system will provide all the data with regard to electric current, voltage, frequency, etc. that applies to the piece of equipment as a functional unit. Data regarding electric power that is specific to a Component will be reported for that specific Component.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ElectricClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381986_185851_42231"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381986_185851_42231"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} composed of the main power supply for the piece of equipment that provides distribution of that power throughout the equipment. + Description The electric system will provide all the data with regard to electric current, voltage, frequency, etc. that applies to the piece of equipment as a functional unit. Data regarding electric power that is specific to a {{block(Component)}} will be reported for that specific {{block(Component)}}. +"; + /// Constant value for + public const string NAME = "Electric"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new ElectricClassProperties Properties { get; } = new ElectricClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ElectricClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesWattage, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesWattage + ///
+ public new ObservesWattageProperty ObservesWattage { get; } = new ObservesWattageProperty(); + + ///  + /// + public new sealed class ObservesWattageProperty : IProperty + { + /// Constant value for + public const string NAME = "observesWattage"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: WattageClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.WattageClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EnclosureClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EnclosureClass.cs new file mode 100644 index 00000000..0b559862 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EnclosureClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System composed of a structure that is used to contain or isolate a piece of equipment or area.


Description

Enclosure may provide information regarding access to the internal components of a piece of equipment or the conditions within the enclosure. For example, Door may be defined as a lower level Component or Composition entity of the Enclosure.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EnclosureClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381987_89386_42234"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381987_89386_42234"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} composed of a structure that is used to contain or isolate a piece of equipment or area. + Description {{block(Enclosure)}} may provide information regarding access to the internal components of a piece of equipment or the conditions within the enclosure. For example, {{block(Door)}} may be defined as a {{term(lower level)}} {{block(Component)}} or {{block(Composition)}} entity of the {{block(Enclosure)}}. +"; + /// Constant value for + public const string NAME = "Enclosure"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new EnclosureClassProperties Properties { get; } = new EnclosureClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EnclosureClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EncoderClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EncoderClass.cs new file mode 100644 index 00000000..1efd061e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EncoderClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that measures position.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EncoderClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106466_630446_44405"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106466_630446_44405"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that measures position. +"; + /// Constant value for + public const string NAME = "Encoder"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new EncoderClassProperties Properties { get; } = new EncoderClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EncoderClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EndEffectorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EndEffectorClass.cs new file mode 100644 index 00000000..5f3b5bfd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EndEffectorClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System composed of functions that form the last link segment of a piece of equipment.


Description

It is the part of a piece of equipment that interacts with the manufacturing process.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EndEffectorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381988_757487_42237"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381988_757487_42237"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} composed of functions that form the last link segment of a piece of equipment. + Description It is the part of a piece of equipment that interacts with the manufacturing process. +"; + /// Constant value for + public const string NAME = "EndEffector"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new EndEffectorClassProperties Properties { get; } = new EndEffectorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EndEffectorClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EnvironmentalClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EnvironmentalClass.cs new file mode 100644 index 00000000..77cb8b5e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/EnvironmentalClass.cs @@ -0,0 +1,89 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component that observes the surroundings of another Component.

> Note: Environmental SHOULD be organized by Auxillaries, Systems or Parts depending on the relationship to the Component.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EnvironmentalClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381990_149427_42240"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381990_149427_42240"; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} that observes the surroundings of another {{block(Component)}}. + +> Note: {{block(Environmental)}} **SHOULD** be organized by {{block(Auxillaries)}}, {{block(Systems)}} or {{block(Parts)}} depending on the relationship to the {{block(Component)}}. +"; + /// Constant value for + public const string NAME = "Environmental"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new EnvironmentalClassProperties Properties { get; } = new EnvironmentalClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EnvironmentalClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ExpiredPotClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ExpiredPotClass.cs new file mode 100644 index 00000000..2725aad0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ExpiredPotClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that is a Pot for a tool that is no longer usable for removal from a ToolMagazine or Turret.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ExpiredPotClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605552258379_348093_2712"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605552258379_348093_2712"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that is a {{block(Pot)}} for a tool that is no longer usable for removal from a {{block(ToolMagazine)}} or {{block(Turret)}}. +"; + /// Constant value for + public const string NAME = "ExpiredPot"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new ExpiredPotClassProperties Properties { get; } = new ExpiredPotClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ExpiredPotClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ExposureUnitClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ExposureUnitClass.cs new file mode 100644 index 00000000..351e0c54 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ExposureUnitClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that emits a type of radiation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ExposureUnitClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106466_875747_44408"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106466_875747_44408"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that emits a type of radiation. +"; + /// Constant value for + public const string NAME = "ExposureUnit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new ExposureUnitClassProperties Properties { get; } = new ExposureUnitClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ExposureUnitClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ExtrusionUnitClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ExtrusionUnitClass.cs new file mode 100644 index 00000000..2fc7bf43 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ExtrusionUnitClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that dispenses liquid or powered materials.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ExtrusionUnitClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106467_401181_44411"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106467_401181_44411"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that dispenses liquid or powered materials. +"; + /// Constant value for + public const string NAME = "ExtrusionUnit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new ExtrusionUnitClassProperties Properties { get; } = new ExtrusionUnitClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ExtrusionUnitClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FanClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FanClass.cs new file mode 100644 index 00000000..9a03b9c0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FanClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that produces a current of air.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FanClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106468_61130_44414"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106468_61130_44414"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that produces a current of air. +"; + /// Constant value for + public const string NAME = "Fan"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new FanClassProperties Properties { get; } = new FanClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FanClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FeatureOccurrenceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FeatureOccurrenceClass.cs new file mode 100644 index 00000000..95bfd838 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FeatureOccurrenceClass.cs @@ -0,0 +1,717 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component that provides information related to an individual feature.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FeatureOccurrenceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678029650656_503771_494"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678029650656_503771_494"; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} that provides information related to an individual {{term(feature)}}. +"; + /// Constant value for + public const string NAME = "FeatureOccurrence"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605547467172_656422_264 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.PartOccurrenceClass); + + /// + public new FeatureOccurrenceClassProperties Properties { get; } = new FeatureOccurrenceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FeatureOccurrenceClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.PartOccurrenceClass.PartOccurrenceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesFeaturePersisitentId, + ObservesFeatureMeasurement, + ObservesMeasurementType, + ObservesCharacteristicPersistentId, + ObservesCharacteristicStatus, + ObservesUncertainty, + ObservesUncertaintyType, + ObservesMeasurementUnits, + ObservesMeasurementValue, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesFeaturePersisitentId + ///
+ public new ObservesFeaturePersisitentIdProperty ObservesFeaturePersisitentId { get; } = new ObservesFeaturePersisitentIdProperty(); + + ///  + /// + public new sealed class ObservesFeaturePersisitentIdProperty : IProperty + { + /// Constant value for + public const string NAME = "observesFeaturePersisitentId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: FeaturePersisitentIdClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.FeaturePersisitentIdClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesFeatureMeasurement + ///
+ public new ObservesFeatureMeasurementProperty ObservesFeatureMeasurement { get; } = new ObservesFeatureMeasurementProperty(); + + ///  + /// + public new sealed class ObservesFeatureMeasurementProperty : IProperty + { + /// Constant value for + public const string NAME = "observesFeatureMeasurement"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: FeatureMeasurementClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.FeatureMeasurementClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesMeasurementType + ///
+ public new ObservesMeasurementTypeProperty ObservesMeasurementType { get; } = new ObservesMeasurementTypeProperty(); + + ///  + /// + public new sealed class ObservesMeasurementTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "observesMeasurementType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MeasurementTypeClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.MeasurementTypeClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesCharacteristicPersistentId + ///
+ public new ObservesCharacteristicPersistentIdProperty ObservesCharacteristicPersistentId { get; } = new ObservesCharacteristicPersistentIdProperty(); + + ///  + /// + public new sealed class ObservesCharacteristicPersistentIdProperty : IProperty + { + /// Constant value for + public const string NAME = "observesCharacteristicPersistentId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CharacteristicPersistentIdClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CharacteristicPersistentIdClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesCharacteristicStatus + ///
+ public new ObservesCharacteristicStatusProperty ObservesCharacteristicStatus { get; } = new ObservesCharacteristicStatusProperty(); + + ///  + /// + public new sealed class ObservesCharacteristicStatusProperty : IProperty + { + /// Constant value for + public const string NAME = "observesCharacteristicStatus"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CharacteristicStatusClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CharacteristicStatusClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesUncertainty + ///
+ public new ObservesUncertaintyProperty ObservesUncertainty { get; } = new ObservesUncertaintyProperty(); + + ///  + /// + public new sealed class ObservesUncertaintyProperty : IProperty + { + /// Constant value for + public const string NAME = "observesUncertainty"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UncertaintyClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UncertaintyClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesUncertaintyType + ///
+ public new ObservesUncertaintyTypeProperty ObservesUncertaintyType { get; } = new ObservesUncertaintyTypeProperty(); + + ///  + /// + public new sealed class ObservesUncertaintyTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "observesUncertaintyType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UncertaintyTypeClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UncertaintyTypeClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesMeasurementUnits + ///
+ public new ObservesMeasurementUnitsProperty ObservesMeasurementUnits { get; } = new ObservesMeasurementUnitsProperty(); + + ///  + /// + public new sealed class ObservesMeasurementUnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "observesMeasurementUnits"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MeasurementUnitsClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.MeasurementUnitsClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesMeasurementValue + ///
+ public new ObservesMeasurementValueProperty ObservesMeasurementValue { get; } = new ObservesMeasurementValueProperty(); + + ///  + /// + public new sealed class ObservesMeasurementValueProperty : IProperty + { + /// Constant value for + public const string NAME = "observesMeasurementValue"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MeasurementValueClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.MeasurementValueClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FeederClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FeederClass.cs new file mode 100644 index 00000000..231ef422 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FeederClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System that manages the delivery of materials within a piece of equipment.


Description

For example, this could describe the wire delivery system for an EDM or welding process; conveying system or pump and valve system distributing material to a blending station; or a fuel delivery system feeding a furnace.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FeederClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381991_562093_42243"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381991_562093_42243"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} that manages the delivery of materials within a piece of equipment. + Description For example, this could describe the wire delivery system for an EDM or welding process; conveying system or pump and valve system distributing material to a blending station; or a fuel delivery system feeding a furnace. +"; + /// Constant value for + public const string NAME = "Feeder"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new FeederClassProperties Properties { get; } = new FeederClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FeederClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FilterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FilterClass.cs new file mode 100644 index 00000000..1cc8ae80 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/FilterClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component through which liquids or gases are passed to remove suspended impurities or to recover solids.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FilterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106468_554120_44417"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106468_554120_44417"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} through which liquids or gases are passed to remove suspended impurities or to recover solids. +"; + /// Constant value for + public const string NAME = "Filter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new FilterClassProperties Properties { get; } = new FilterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FilterClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/GalvanomotorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/GalvanomotorClass.cs new file mode 100644 index 00000000..5f5f4f02 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/GalvanomotorClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of an electromechanical actuator that produces deflection of a beam of light or energy in response to electric current through its coil in a magnetic field.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class GalvanomotorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106469_237105_44420"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106469_237105_44420"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of an electromechanical actuator that produces deflection of a beam of light or energy in response to electric current through its coil in a magnetic field. +"; + /// Constant value for + public const string NAME = "Galvanomotor"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new GalvanomotorClassProperties Properties { get; } = new GalvanomotorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class GalvanomotorClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/GangToolBarClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/GangToolBarClass.cs new file mode 100644 index 00000000..76be4a2f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/GangToolBarClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// ToolingDelivery composed of a tool mounting mechanism that holds any number of tools.


Description

Tools are located in Station entities. Tools are positioned for use in the manufacturing process by linearly positioning the GangToolBar.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class GangToolBarClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605551885706_266977_2498"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605551885706_266977_2498"; + /// Constant value for + public const string SUMMARY = @" {{block(ToolingDelivery)}} composed of a tool mounting mechanism that holds any number of tools. + Description Tools are located in {{block(Station)}} entities. Tools are positioned for use in the manufacturing process by linearly positioning the {{block(GangToolBar)}}. +"; + /// Constant value for + public const string NAME = "GangToolBar"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382021_741508_42300 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.ToolingDeliveryClass); + + /// + public new GangToolBarClassProperties Properties { get; } = new GangToolBarClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class GangToolBarClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.ToolingDeliveryClass.ToolingDeliveryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/GripperClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/GripperClass.cs new file mode 100644 index 00000000..4262a04d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/GripperClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that holds a part, stock material, or any other item in place.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class GripperClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106469_530686_44423"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106469_530686_44423"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that holds a part, stock material, or any other item in place. +"; + /// Constant value for + public const string NAME = "Gripper"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new GripperClassProperties Properties { get; } = new GripperClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class GripperClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/HeatingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/HeatingClass.cs new file mode 100644 index 00000000..74ca5bf4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/HeatingClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System that delivers controlled amounts of heat to achieve a target temperature at a specified heating rate.


Description

> Note: As an example, Energy Delivery Method can be either through Electric heaters or Gas burners.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HeatingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605117125123_371301_1943"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605117125123_371301_1943"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} that delivers controlled amounts of heat to achieve a target temperature at a specified heating rate. + Description > Note: As an example, Energy Delivery Method can be either through Electric heaters or Gas burners. +"; + /// Constant value for + public const string NAME = "Heating"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new HeatingClassProperties Properties { get; } = new HeatingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HeatingClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/HopperClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/HopperClass.cs new file mode 100644 index 00000000..fa7c86c7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/HopperClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of a chamber or bin in which materials are stored temporarily, typically being filled through the top and dispensed through the bottom.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HopperClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106470_968785_44426"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106470_968785_44426"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of a chamber or bin in which materials are stored temporarily, typically being filled through the top and dispensed through the bottom. +"; + /// Constant value for + public const string NAME = "Hopper"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new HopperClassProperties Properties { get; } = new HopperClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HopperClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/HydraulicClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/HydraulicClass.cs new file mode 100644 index 00000000..3934de6e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/HydraulicClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System that provides movement and distribution of pressurized liquid throughout the piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HydraulicClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381993_131470_42246"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381993_131470_42246"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} that provides movement and distribution of pressurized liquid throughout the piece of equipment. +"; + /// Constant value for + public const string NAME = "Hydraulic"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381968_750236_42201 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.ActuatorClass); + + /// + public new HydraulicClassProperties Properties { get; } = new HydraulicClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HydraulicClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.ActuatorClass.ActuatorClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesPressure, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesPressure + ///
+ public new ObservesPressureProperty ObservesPressure { get; } = new ObservesPressureProperty(); + + ///  + /// + public new sealed class ObservesPressureProperty : IProperty + { + /// Constant value for + public const string NAME = "observesPressure"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PressureClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PressureClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LinearClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LinearClass.cs new file mode 100644 index 00000000..f969b8e4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LinearClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component Types::Axis that provides prismatic motion along a fixed axis.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LinearClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381997_851399_42255"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381997_851399_42255"; + /// Constant value for + public const string SUMMARY = @" {{block(Component Types::Axis)}} that provides prismatic motion along a fixed axis. +"; + /// Constant value for + public const string NAME = "Linear"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381972_553005_42207 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.AxisClass); + + /// + public new LinearClassProperties Properties { get; } = new LinearClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LinearClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.AxisClass.AxisClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesLoad, + ObservesTemperature, + ObservesAxisFeedrateActual, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesLoad + ///
+ public new ObservesLoadProperty ObservesLoad { get; } = new ObservesLoadProperty(); + + ///  + /// + public new sealed class ObservesLoadProperty : IProperty + { + /// Constant value for + public const string NAME = "observesLoad"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LoadClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.LoadClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesTemperature + ///
+ public new ObservesTemperatureProperty ObservesTemperature { get; } = new ObservesTemperatureProperty(); + + ///  + /// + public new sealed class ObservesTemperatureProperty : IProperty + { + /// Constant value for + public const string NAME = "observesTemperature"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TemperatureClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.TemperatureClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesAxisFeedrateActual + ///
+ public new ObservesAxisFeedrateActualProperty ObservesAxisFeedrateActual { get; } = new ObservesAxisFeedrateActualProperty(); + + ///  + /// + public new sealed class ObservesAxisFeedrateActualProperty : IProperty + { + /// Constant value for + public const string NAME = "observesAxisFeedrateActual"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AxisFeedrate.ActualClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateActualClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LinearPositionFeedbackClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LinearPositionFeedbackClass.cs new file mode 100644 index 00000000..244c0984 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LinearPositionFeedbackClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that measures linear motion or position.

DEPRECATION WARNING : May be deprecated in the future. Recommend using Encoder.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LinearPositionFeedbackClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106471_40319_44429"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106471_40319_44429"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that measures linear motion or position. + +**DEPRECATION WARNING** : May be deprecated in the future. Recommend using {{block(Encoder)}}. +"; + /// Constant value for + public const string NAME = "LinearPositionFeedback"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new LinearPositionFeedbackClassProperties Properties { get; } = new LinearPositionFeedbackClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LinearPositionFeedbackClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LinkClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LinkClass.cs new file mode 100644 index 00000000..f41af084 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LinkClass.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Structure that provides a connection between Component entities.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LinkClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587597430378_591532_1084"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587597430378_591532_1084"; + /// Constant value for + public const string SUMMARY = @" {{block(Structure)}} that provides a connection between {{block(Component)}} entities. +"; + /// Constant value for + public const string NAME = "Link"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1587597358521_716746_1028 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.StructureClass); + + /// + public new LinkClassProperties Properties { get; } = new LinkClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LinkClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.StructureClass.StructureClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LoaderClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LoaderClass.cs new file mode 100644 index 00000000..ace9796d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LoaderClass.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Auxiliary that provides movement and distribution of materials, parts, tooling, and other items to or from a piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LoaderClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381999_206845_42258"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381999_206845_42258"; + /// Constant value for + public const string SUMMARY = @" {{block(Auxiliary)}} that provides movement and distribution of materials, parts, tooling, and other items to or from a piece of equipment. +"; + /// Constant value for + public const string NAME = "Loader"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381970_785259_42204 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.AuxiliaryClass); + + /// + public new LoaderClassProperties Properties { get; } = new LoaderClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LoaderClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.AuxiliaryClass.AuxiliaryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LockClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LockClass.cs new file mode 100644 index 00000000..22d5c2aa --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LockClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component that physically prohibits a Device or Component from opening or operating.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LockClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622457426342_839834_623"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622457426342_839834_623"; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} that physically prohibits a {{block(Device)}} or {{block(Component)}} from opening or operating. +"; + /// Constant value for + public const string NAME = "Lock"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new LockClassProperties Properties { get; } = new LockClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LockClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesLockState, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesLockState + ///
+ public new ObservesLockStateProperty ObservesLockState { get; } = new ObservesLockStateProperty(); + + ///  + /// + public new sealed class ObservesLockStateProperty : IProperty + { + /// Constant value for + public const string NAME = "observesLockState"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LockStateClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LockStateClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LubricationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LubricationClass.cs new file mode 100644 index 00000000..2e805111 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/LubricationClass.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System that provides distribution and management of fluids used to lubricate portions of the piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LubricationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382000_589988_42261"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382000_589988_42261"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} that provides distribution and management of fluids used to lubricate portions of the piece of equipment. +"; + /// Constant value for + public const string NAME = "Lubrication"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new LubricationClassProperties Properties { get; } = new LubricationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LubricationClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/MaterialClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/MaterialClass.cs new file mode 100644 index 00000000..bc66dcf8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/MaterialClass.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Resource composed of material that is consumed or used by the piece of equipment for production of parts, materials, or other types of goods.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382002_513291_42264"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382002_513291_42264"; + /// Constant value for + public const string SUMMARY = @" {{block(Resource)}} composed of material that is consumed or used by the piece of equipment for production of parts, materials, or other types of goods. +"; + /// Constant value for + public const string NAME = "Material"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382014_307743_42285 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.ResourceClass); + + /// + public new MaterialClassProperties Properties { get; } = new MaterialClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.ResourceClass.ResourceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/MotorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/MotorClass.cs new file mode 100644 index 00000000..6cd0a132 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/MotorClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that converts electrical, pneumatic, or hydraulic energy into mechanical energy.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MotorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106471_971269_44432"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106471_971269_44432"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that converts electrical, pneumatic, or hydraulic energy into mechanical energy. +"; + /// Constant value for + public const string NAME = "Motor"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new MotorClassProperties Properties { get; } = new MotorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MotorClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/OilClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/OilClass.cs new file mode 100644 index 00000000..e949f7d1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/OilClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of a viscous liquid.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OilClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106472_287785_44435"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106472_287785_44435"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of a viscous liquid. +"; + /// Constant value for + public const string NAME = "Oil"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new OilClassProperties Properties { get; } = new OilClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OilClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PartClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PartClass.cs new file mode 100644 index 00000000..614bba8c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PartClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// abstract Component composed of a part being processed by a piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622456766067_72580_282"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622456766067_72580_282"; + /// Constant value for + public const string SUMMARY = @" abstract {{block(Component)}} composed of a {{term(part)}} being processed by a piece of equipment. +"; + /// Constant value for + public const string NAME = "Part"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new PartClassProperties Properties { get; } = new PartClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + IsWorkedOnPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: IsWorkedOn + ///
+ public new IsWorkedOnPartProperty IsWorkedOnPart { get; } = new IsWorkedOnPartProperty(); + + ///  + /// + public new sealed class IsWorkedOnPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isWorkedOn"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "PartsClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PartOccurrenceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PartOccurrenceClass.cs new file mode 100644 index 00000000..761144b1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PartOccurrenceClass.cs @@ -0,0 +1,775 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Part that exists at a specific place and time, such as a specific instance of a bracket at a specific timestamp.


Description

PartId MUST be defined for PartOccurrence.




Example


~~~~xml
<Parts id="partOccSet">
<Components>
<PartOccurrence id="partOccur">
<DataItems>
<DataItem id="partSet" category="EVENT" representation="TABLE" type ="COMPONENT_DATA">
<Definition>
<EntryDefinitions>
<EntryDefinition keyType="PART_UNIQUE_ID"/>
</EntryDefinitions>
<CellDefinitions>
<CellDefinition key="partNumber" type="PART_KIND_ID" subType="PART_NUMBER"/>
<CellDefinition key="batchId" type="PART_GROUP_ID" subType="BATCH"/>
<CellDefinition key="quantity" type="PART_COUNT" subType="TARGET"/>
<CellDefinition key="actualCompleteTime" type="PROCESS_TIME" subType="COMPLETE"/>
<CellDefinition key="partState" type="PROCESS_STATE"/>
</CellDefinitions>
</Definition>
</DataItem>
</DataItems>
</PartOccurrence>
</Components>
</Parts>
~~~~
{: caption="XML Device Model Example for PartOccurrence and ComponentData"}


~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/styles/Streams.xsl"?>
<MTConnectStreams>
<Streams>
<DeviceStream name="VMC-3Axis" uuid="test_27MAY">
<ComponentStream component="PartOccurrence" name="partSet" componentId="partOccur">
<Events>
<ComponentDataTable dataItemId="partSet" timestamp="2020-10-28T19:45:43.070010Z" sequence="95" count="2">
<Entry key="part1">
<Cell key="actualStartTime">2009-06-15T00:00:00.000000</Cell>
<Cell key="partId">part1</Cell>
<Cell key="partName">SomeName</Cell>
<Cell key="uniqueID">abc-123</Cell>
</Entry>
<Entry key="part2">
<Cell key="actualStartTime">2009-06-15T00:00:00.007925</Cell>
<Cell key="partId">part2</Cell>
<Cell key="partName">AnotherName</Cell>
<Cell key="uniqueID">def-123</Cell>
</Entry>
</ComponentDataTable>
</Events>
</ComponentStream>
</DeviceStream>
</Streams>
</MTConnectStreams>
~~~~
{: caption="XML Streams Response Example for PartOccurrence and ComponentData"}




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartOccurrenceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605547467172_656422_264"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605547467172_656422_264"; + /// Constant value for + public const string SUMMARY = @" {{block(Part)}} that exists at a specific place and time, such as a specific instance of a bracket at a specific timestamp. + Description {{block(PartId)}} **MUST** be defined for {{block(PartOccurrence)}}. + Example +~~~~xml + + + + + + + + + + + + + + + + + + + + + + +~~~~ +{: caption=""XML Device Model Example for PartOccurrence and ComponentData""} + + +~~~~xml + + + + + + + + + + 2009-06-15T00:00:00.000000 + part1 + SomeName + abc-123 + + + 2009-06-15T00:00:00.007925 + part2 + AnotherName + def-123 + + + + + + + +~~~~ +{: caption=""XML Streams Response Example for PartOccurrence and ComponentData""} +"; + /// Constant value for + public const string NAME = "PartOccurrence"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622456766067_72580_282 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.PartClass); + + /// + public new PartOccurrenceClassProperties Properties { get; } = new PartOccurrenceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartOccurrenceClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.PartClass.PartClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesPartId, + ObservesPartUniqueId, + ObservesPartGroupId, + ObservesPartKindId, + ObservesPartCount, + ObservesPartStatus, + ObservesProcessOccurrenceId, + ObservesProcessTime, + ObservesUser, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesPartId + ///
+ public new ObservesPartIdProperty ObservesPartId { get; } = new ObservesPartIdProperty(); + + ///  + /// + public new sealed class ObservesPartIdProperty : IProperty + { + /// Constant value for + public const string NAME = "observesPartId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PartIdClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartIdClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesPartUniqueId + ///
+ public new ObservesPartUniqueIdProperty ObservesPartUniqueId { get; } = new ObservesPartUniqueIdProperty(); + + ///  + /// + public new sealed class ObservesPartUniqueIdProperty : IProperty + { + /// Constant value for + public const string NAME = "observesPartUniqueId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PartUniqueIdClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartUniqueIdClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesPartGroupId + ///
+ public new ObservesPartGroupIdProperty ObservesPartGroupId { get; } = new ObservesPartGroupIdProperty(); + + ///  + /// + public new sealed class ObservesPartGroupIdProperty : IProperty + { + /// Constant value for + public const string NAME = "observesPartGroupId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PartGroupIdClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartGroupIdClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesPartKindId + ///
+ public new ObservesPartKindIdProperty ObservesPartKindId { get; } = new ObservesPartKindIdProperty(); + + ///  + /// + public new sealed class ObservesPartKindIdProperty : IProperty + { + /// Constant value for + public const string NAME = "observesPartKindId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PartKindIdClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartKindIdClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesPartCount + ///
+ public new ObservesPartCountProperty ObservesPartCount { get; } = new ObservesPartCountProperty(); + + ///  + /// + public new sealed class ObservesPartCountProperty : IProperty + { + /// Constant value for + public const string NAME = "observesPartCount"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PartCountClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesPartStatus + ///
+ public new ObservesPartStatusProperty ObservesPartStatus { get; } = new ObservesPartStatusProperty(); + + ///  + /// + public new sealed class ObservesPartStatusProperty : IProperty + { + /// Constant value for + public const string NAME = "observesPartStatus"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PartStatusClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartStatusClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesProcessOccurrenceId + ///
+ public new ObservesProcessOccurrenceIdProperty ObservesProcessOccurrenceId { get; } = new ObservesProcessOccurrenceIdProperty(); + + ///  + /// + public new sealed class ObservesProcessOccurrenceIdProperty : IProperty + { + /// Constant value for + public const string NAME = "observesProcessOccurrenceId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProcessOccurrenceIdClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessOccurrenceIdClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesProcessTime + ///
+ public new ObservesProcessTimeProperty ObservesProcessTime { get; } = new ObservesProcessTimeProperty(); + + ///  + /// + public new sealed class ObservesProcessTimeProperty : IProperty + { + /// Constant value for + public const string NAME = "observesProcessTime"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProcessTimeClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessTimeClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesUser + ///
+ public new ObservesUserProperty ObservesUser { get; } = new ObservesUserProperty(); + + ///  + /// + public new sealed class ObservesUserProperty : IProperty + { + /// Constant value for + public const string NAME = "observesUser"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UserClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UserClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PathClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PathClass.cs new file mode 100644 index 00000000..432a123e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PathClass.cs @@ -0,0 +1,582 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component that organizes an independent operation or function within a Controller.


Description

For many types of equipment, Path organizes a set of Axes, one or more Program elements, and the data associated with the motion of a control point as it moves through space. However, it MAY also represent any independent function within a Controller that has unique data associated with that function.

Path SHOULD provide an Execution data item to define the operational state of the Controller of the piece of equipment.

If the Controller is capable of performing more than one independent operation or function simultaneously, a separate Path MUST be used to organize the data associated with each independent operation or function.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382004_482583_42267"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382004_482583_42267"; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} that organizes an independent operation or function within a {{block(Controller)}}. + Description For many types of equipment, {{block(Path)}} organizes a set of {{block(Axes)}}, one or more Program elements, and the data associated with the motion of a control point as it moves through space. However, it **MAY** also represent any independent function within a {{block(Controller)}} that has unique data associated with that function. + +{{block(Path)}} **SHOULD** provide an {{block(Execution)}} data item to define the operational state of the {{block(Controller)}} of the piece of equipment. + +If the {{block(Controller)}} is capable of performing more than one independent operation or function simultaneously, a separate {{block(Path)}} **MUST** be used to organize the data associated with each independent operation or function. +"; + /// Constant value for + public const string NAME = "Path"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new PathClassProperties Properties { get; } = new PathClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesExecution, + ObservesProgram, + ObservesPathFeedrateOverrideProgrammed, + ObservesPathFeedrateOverrideRapid, + ObservesRotaryVelocityOverride, + ObservesPathFeedrate, + ObservesPartCount, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesExecution + ///
+ public new ObservesExecutionProperty ObservesExecution { get; } = new ObservesExecutionProperty(); + + ///  + /// + public new sealed class ObservesExecutionProperty : IProperty + { + /// Constant value for + public const string NAME = "observesExecution"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ExecutionClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ExecutionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesProgram + ///
+ public new ObservesProgramProperty ObservesProgram { get; } = new ObservesProgramProperty(); + + ///  + /// + public new sealed class ObservesProgramProperty : IProperty + { + /// Constant value for + public const string NAME = "observesProgram"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProgramClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesPathFeedrateOverrideProgrammed + ///
+ public new ObservesPathFeedrateOverrideProgrammedProperty ObservesPathFeedrateOverrideProgrammed { get; } = new ObservesPathFeedrateOverrideProgrammedProperty(); + + ///  + /// + public new sealed class ObservesPathFeedrateOverrideProgrammedProperty : IProperty + { + /// Constant value for + public const string NAME = "observesPathFeedrateOverrideProgrammed"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PathFeedrateOverride.ProgrammedClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PathFeedrateOverrideProgrammedClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesPathFeedrateOverrideRapid + ///
+ public new ObservesPathFeedrateOverrideRapidProperty ObservesPathFeedrateOverrideRapid { get; } = new ObservesPathFeedrateOverrideRapidProperty(); + + ///  + /// + public new sealed class ObservesPathFeedrateOverrideRapidProperty : IProperty + { + /// Constant value for + public const string NAME = "observesPathFeedrateOverrideRapid"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PathFeedrateOverride.RapidClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PathFeedrateOverrideRapidClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesRotaryVelocityOverride + ///
+ public new ObservesRotaryVelocityOverrideProperty ObservesRotaryVelocityOverride { get; } = new ObservesRotaryVelocityOverrideProperty(); + + ///  + /// + public new sealed class ObservesRotaryVelocityOverrideProperty : IProperty + { + /// Constant value for + public const string NAME = "observesRotaryVelocityOverride"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RotaryVelocityOverrideClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.RotaryVelocityOverrideClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesPathFeedrate + ///
+ public new ObservesPathFeedrateProperty ObservesPathFeedrate { get; } = new ObservesPathFeedrateProperty(); + + ///  + /// + public new sealed class ObservesPathFeedrateProperty : IProperty + { + /// Constant value for + public const string NAME = "observesPathFeedrate"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PathFeedrateClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedrateClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesPartCount + ///
+ public new ObservesPartCountProperty ObservesPartCount { get; } = new ObservesPartCountProperty(); + + ///  + /// + public new sealed class ObservesPartCountProperty : IProperty + { + /// Constant value for + public const string NAME = "observesPartCount"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PartCountClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PersonnelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PersonnelClass.cs new file mode 100644 index 00000000..d94f5a33 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PersonnelClass.cs @@ -0,0 +1,228 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Resource composed of an individual or individuals who either control, support, or otherwise interface with a piece of equipment.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PersonnelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382005_168835_42270"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382005_168835_42270"; + /// Constant value for + public const string SUMMARY = @" {{block(Resource)}} composed of an individual or individuals who either control, support, or otherwise interface with a piece of equipment. + +"; + /// Constant value for + public const string NAME = "Personnel"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382014_307743_42285 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.ResourceClass); + + /// + public new PersonnelClassProperties Properties { get; } = new PersonnelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PersonnelClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.ResourceClass.ResourceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesUserOperator, + ObservesUserMaintenance, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesUserOperator + ///
+ public new ObservesUserOperatorProperty ObservesUserOperator { get; } = new ObservesUserOperatorProperty(); + + ///  + /// + public new sealed class ObservesUserOperatorProperty : IProperty + { + /// Constant value for + public const string NAME = "observesUserOperator"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: User.OperatorClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UserOperatorClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesUserMaintenance + ///
+ public new ObservesUserMaintenanceProperty ObservesUserMaintenance { get; } = new ObservesUserMaintenanceProperty(); + + ///  + /// + public new sealed class ObservesUserMaintenanceProperty : IProperty + { + /// Constant value for + public const string NAME = "observesUserMaintenance"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: User.MaintenanceClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UserMaintenanceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PneumaticClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PneumaticClass.cs new file mode 100644 index 00000000..6471a249 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PneumaticClass.cs @@ -0,0 +1,158 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System that uses compressed gasses to actuate components or do work within the piece of equipment.


Description

> Note: Actuation is usually performed using a cylinder.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PneumaticClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382008_658658_42273"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382008_658658_42273"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} that uses compressed gasses to actuate components or do work within the piece of equipment. + Description > Note: Actuation is usually performed using a cylinder. +"; + /// Constant value for + public const string NAME = "Pneumatic"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381968_750236_42201 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.ActuatorClass); + + /// + public new PneumaticClassProperties Properties { get; } = new PneumaticClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PneumaticClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.ActuatorClass.ActuatorClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesPressure, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesPressure + ///
+ public new ObservesPressureProperty ObservesPressure { get; } = new ObservesPressureProperty(); + + ///  + /// + public new sealed class ObservesPressureProperty : IProperty + { + /// Constant value for + public const string NAME = "observesPressure"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PressureClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PressureClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PotClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PotClass.cs new file mode 100644 index 00000000..914aa1c4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PotClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of a tool storage location associated with a ToolMagazine or AutomaticToolChanger.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PotClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605552256946_709565_2656"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605552256946_709565_2656"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of a tool storage location associated with a {{block(ToolMagazine)}} or {{block(AutomaticToolChanger)}}. +"; + /// Constant value for + public const string NAME = "Pot"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new PotClassProperties Properties { get; } = new PotClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PotClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PowerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PowerClass.cs new file mode 100644 index 00000000..0dfc4373 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PowerClass.cs @@ -0,0 +1,89 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Power was DEPRECATED in MTConnect Version 1.1 and was replaced by Availability data item type.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PowerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382010_841174_42276"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382010_841174_42276"; + /// Constant value for + public const string SUMMARY = @" {{block(Power)}} was **DEPRECATED** in *MTConnect Version 1.1* and was replaced by {{block(Availability)}} data item type. +"; + /// Constant value for + public const string NAME = "Power"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new PowerClassProperties Properties { get; } = new PowerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PowerClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PowerSupplyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PowerSupplyClass.cs new file mode 100644 index 00000000..a15241d3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PowerSupplyClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that provides power to electric mechanisms.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PowerSupplyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106472_81456_44438"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106472_81456_44438"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that provides power to electric mechanisms. +"; + /// Constant value for + public const string NAME = "PowerSupply"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new PowerSupplyClassProperties Properties { get; } = new PowerSupplyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PowerSupplyClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PressureClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PressureClass.cs new file mode 100644 index 00000000..7142c946 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PressureClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System that delivers compressed gas or fluid and controls the pressure and rate of pressure change to a desired target set-point.


Description

> Note: For example, Delivery Method can be a Compressed Air or N2 tank that is piped via an inlet valve to the chamber.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PressureClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605117029255_781563_1842"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605117029255_781563_1842"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} that delivers compressed gas or fluid and controls the pressure and rate of pressure change to a desired target set-point. + Description > Note: For example, Delivery Method can be a Compressed Air or N2 tank that is piped via an inlet valve to the chamber. +"; + /// Constant value for + public const string NAME = "Pressure"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new PressureClassProperties Properties { get; } = new PressureClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PressureClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProcessClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProcessClass.cs new file mode 100644 index 00000000..35e339b5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProcessClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// abstract Component composed of a manufacturing process being executed on a piece of equipment.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605547261014_920934_161"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605547261014_920934_161"; + /// Constant value for + public const string SUMMARY = @" abstract {{block(Component)}} composed of a manufacturing process being executed on a piece of equipment. +"; + /// Constant value for + public const string NAME = "Process"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new ProcessClassProperties Properties { get; } = new ProcessClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + IsExecutedOnPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: IsExecutedOn + ///
+ public new IsExecutedOnPartProperty IsExecutedOnPart { get; } = new IsExecutedOnPartProperty(); + + ///  + /// + public new sealed class IsExecutedOnPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isExecutedOn"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "ProcessesClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProcessOccurrenceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProcessOccurrenceClass.cs new file mode 100644 index 00000000..e80d0c15 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProcessOccurrenceClass.cs @@ -0,0 +1,578 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Process that takes place at a specific place and time, such as a specific instance of part-milling occurring at a specific timestamp.


Description

ProcessOccurrenceId MUST be defined for ProcessOccurrence.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessOccurrenceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605547395898_219029_214"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605547395898_219029_214"; + /// Constant value for + public const string SUMMARY = @" {{block(Process)}} that takes place at a specific place and time, such as a specific instance of part-milling occurring at a specific timestamp. + Description {{block(ProcessOccurrenceId)}} **MUST** be defined for {{block(ProcessOccurrence)}}. +"; + /// Constant value for + public const string NAME = "ProcessOccurrence"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605547261014_920934_161 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.ProcessClass); + + /// + public new ProcessOccurrenceClassProperties Properties { get; } = new ProcessOccurrenceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessOccurrenceClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.ProcessClass.ProcessClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesProcessOccurrenceId, + ObservesProcessAggregateId, + ObservesProcessTime, + ObservesProcessKindId, + ObservesUser, + ObservesProgram, + ObservesPartUniqueId, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesProcessOccurrenceId + ///
+ public new ObservesProcessOccurrenceIdProperty ObservesProcessOccurrenceId { get; } = new ObservesProcessOccurrenceIdProperty(); + + ///  + /// + public new sealed class ObservesProcessOccurrenceIdProperty : IProperty + { + /// Constant value for + public const string NAME = "observesProcessOccurrenceId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProcessOccurrenceIdClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessOccurrenceIdClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesProcessAggregateId + ///
+ public new ObservesProcessAggregateIdProperty ObservesProcessAggregateId { get; } = new ObservesProcessAggregateIdProperty(); + + ///  + /// + public new sealed class ObservesProcessAggregateIdProperty : IProperty + { + /// Constant value for + public const string NAME = "observesProcessAggregateId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProcessAggregateIdClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessAggregateIdClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesProcessTime + ///
+ public new ObservesProcessTimeProperty ObservesProcessTime { get; } = new ObservesProcessTimeProperty(); + + ///  + /// + public new sealed class ObservesProcessTimeProperty : IProperty + { + /// Constant value for + public const string NAME = "observesProcessTime"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProcessTimeClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessTimeClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesProcessKindId + ///
+ public new ObservesProcessKindIdProperty ObservesProcessKindId { get; } = new ObservesProcessKindIdProperty(); + + ///  + /// + public new sealed class ObservesProcessKindIdProperty : IProperty + { + /// Constant value for + public const string NAME = "observesProcessKindId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProcessKindIdClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessKindIdClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesUser + ///
+ public new ObservesUserProperty ObservesUser { get; } = new ObservesUserProperty(); + + ///  + /// + public new sealed class ObservesUserProperty : IProperty + { + /// Constant value for + public const string NAME = "observesUser"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UserClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UserClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesProgram + ///
+ public new ObservesProgramProperty ObservesProgram { get; } = new ObservesProgramProperty(); + + ///  + /// + public new sealed class ObservesProgramProperty : IProperty + { + /// Constant value for + public const string NAME = "observesProgram"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProgramClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesPartUniqueId + ///
+ public new ObservesPartUniqueIdProperty ObservesPartUniqueId { get; } = new ObservesPartUniqueIdProperty(); + + ///  + /// + public new sealed class ObservesPartUniqueIdProperty : IProperty + { + /// Constant value for + public const string NAME = "observesPartUniqueId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PartUniqueIdClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartUniqueIdClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProcessPowerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProcessPowerClass.cs new file mode 100644 index 00000000..2ab55d58 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProcessPowerClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System composed of a power source associated with a piece of equipment that supplies energy to the manufacturing process separate from the Electric system.


Description

For example, this could be the power source for an EDM machining process, an electroplating line, or a welding system.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessPowerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382012_290973_42279"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382012_290973_42279"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} composed of a power source associated with a piece of equipment that supplies energy to the manufacturing process separate from the {{block(Electric)}} system. + Description For example, this could be the power source for an EDM machining process, an electroplating line, or a welding system. +"; + /// Constant value for + public const string NAME = "ProcessPower"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new ProcessPowerClassProperties Properties { get; } = new ProcessPowerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessPowerClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProtectiveClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProtectiveClass.cs new file mode 100644 index 00000000..3304ff97 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ProtectiveClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System that provides functions used to detect or prevent harm or damage to equipment or personnel.


Description

Protective does not include the information relating to the Enclosure.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProtectiveClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382013_685011_42282"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382013_685011_42282"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} that provides functions used to detect or prevent harm or damage to equipment or personnel. + Description {{block(Protective)}} does not include the information relating to the {{block(Enclosure)}}. +"; + /// Constant value for + public const string NAME = "Protective"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new ProtectiveClassProperties Properties { get; } = new ProtectiveClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProtectiveClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PulleyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PulleyClass.cs new file mode 100644 index 00000000..31120892 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PulleyClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of a mechanism or wheel that turns in a frame or block and serves to change the direction of or to transmit force.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PulleyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106473_162844_44441"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106473_162844_44441"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of a mechanism or wheel that turns in a frame or block and serves to change the direction of or to transmit force. +"; + /// Constant value for + public const string NAME = "Pulley"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new PulleyClassProperties Properties { get; } = new PulleyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PulleyClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PumpClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PumpClass.cs new file mode 100644 index 00000000..93e783e8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/PumpClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that raises, drives, exhausts, or compresses fluids or gases by means of a piston, plunger, or set of rotating vanes.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PumpClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106473_448314_44444"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106473_448314_44444"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that raises, drives, exhausts, or compresses fluids or gases by means of a piston, plunger, or set of rotating vanes. +"; + /// Constant value for + public const string NAME = "Pump"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new PumpClassProperties Properties { get; } = new PumpClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PumpClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ReelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ReelClass.cs new file mode 100644 index 00000000..80804b30 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ReelClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of a rotary storage unit for material.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ReelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106474_29298_44447"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106474_29298_44447"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of a rotary storage unit for material. +"; + /// Constant value for + public const string NAME = "Reel"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new ReelClassProperties Properties { get; } = new ReelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ReelClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/RemovalPotClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/RemovalPotClass.cs new file mode 100644 index 00000000..63574043 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/RemovalPotClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that is a Pot for a tool that has to be removed from a ToolMagazine or Turret to a location outside of the piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RemovalPotClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605552258019_616231_2696"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605552258019_616231_2696"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that is a {{block(Pot)}} for a tool that has to be removed from a {{block(ToolMagazine)}} or {{block(Turret)}} to a location outside of the piece of equipment. +"; + /// Constant value for + public const string NAME = "RemovalPot"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new RemovalPotClassProperties Properties { get; } = new RemovalPotClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RemovalPotClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ResourceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ResourceClass.cs new file mode 100644 index 00000000..511dad9c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ResourceClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// abstract Component composed of material or personnel involved in a manufacturing process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ResourceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382014_307743_42285"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382014_307743_42285"; + /// Constant value for + public const string SUMMARY = @" abstract {{block(Component)}} composed of material or personnel involved in a manufacturing process. +"; + /// Constant value for + public const string NAME = "Resource"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new ResourceClassProperties Properties { get; } = new ResourceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ResourceClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + IsResourceOfPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: IsResourceOf + ///
+ public new IsResourceOfPartProperty IsResourceOfPart { get; } = new IsResourceOfPartProperty(); + + ///  + /// + public new sealed class IsResourceOfPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isResourceOf"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "ResourcesClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ReturnPotClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ReturnPotClass.cs new file mode 100644 index 00000000..1a6da7a0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ReturnPotClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that is a Pot for a tool that has been removed from spindle or Turret and awaiting for return to a ToolMagazine.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ReturnPotClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605552257200_872757_2664"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605552257200_872757_2664"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that is a {{block(Pot)}} for a tool that has been removed from {{term(spindle)}} or {{block(Turret)}} and awaiting for return to a {{block(ToolMagazine)}}. +"; + /// Constant value for + public const string NAME = "ReturnPot"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new ReturnPotClassProperties Properties { get; } = new ReturnPotClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ReturnPotClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/RotaryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/RotaryClass.cs new file mode 100644 index 00000000..10eca350 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/RotaryClass.cs @@ -0,0 +1,367 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component Types::Axis that provides rotation about a fixed axis.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RotaryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382015_53595_42288"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382015_53595_42288"; + /// Constant value for + public const string SUMMARY = @" {{block(Component Types::Axis)}} that provides rotation about a fixed axis. +"; + /// Constant value for + public const string NAME = "Rotary"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381972_553005_42207 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.AxisClass); + + /// + public new RotaryClassProperties Properties { get; } = new RotaryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RotaryClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.AxisClass.AxisClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesLoad, + ObservesTemperature, + ObservesRotaryVelocity, + ObservesAxisFeedrate, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesLoad + ///
+ public new ObservesLoadProperty ObservesLoad { get; } = new ObservesLoadProperty(); + + ///  + /// + public new sealed class ObservesLoadProperty : IProperty + { + /// Constant value for + public const string NAME = "observesLoad"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LoadClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.LoadClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesTemperature + ///
+ public new ObservesTemperatureProperty ObservesTemperature { get; } = new ObservesTemperatureProperty(); + + ///  + /// + public new sealed class ObservesTemperatureProperty : IProperty + { + /// Constant value for + public const string NAME = "observesTemperature"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TemperatureClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.TemperatureClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesRotaryVelocity + ///
+ public new ObservesRotaryVelocityProperty ObservesRotaryVelocity { get; } = new ObservesRotaryVelocityProperty(); + + ///  + /// + public new sealed class ObservesRotaryVelocityProperty : IProperty + { + /// Constant value for + public const string NAME = "observesRotaryVelocity"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RotaryVelocityClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.RotaryVelocityClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesAxisFeedrate + ///
+ public new ObservesAxisFeedrateProperty ObservesAxisFeedrate { get; } = new ObservesAxisFeedrateProperty(); + + ///  + /// + public new sealed class ObservesAxisFeedrateProperty : IProperty + { + /// Constant value for + public const string NAME = "observesAxisFeedrate"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AxisFeedrateClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SensingElementClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SensingElementClass.cs new file mode 100644 index 00000000..2d144a13 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SensingElementClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that provides a signal or measured value.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensingElementClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106474_940737_44450"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106474_940737_44450"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that provides a signal or measured value. +"; + /// Constant value for + public const string NAME = "SensingElement"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new SensingElementClassProperties Properties { get; } = new SensingElementClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SensingElementClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SensorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SensorClass.cs new file mode 100644 index 00000000..6d6aee03 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SensorClass.cs @@ -0,0 +1,92 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component that responds to a physical stimulus and transmits a resulting impulse or value from a sensing unit.


Description

If modeling individual sensors, then sensor should be associated with the Component that the measured value is most closely associated.

When modeled as an Auxiliary, sensor SHOULD represent an integrated sensor unit system that provides signal processing, conversion, and communications. A sensor unit may have multiple sensing elements.

See SensorConfiguration for more details on the use and configuration of a Sensor.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382017_874684_42291"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382017_874684_42291"; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} that responds to a physical stimulus and transmits a resulting impulse or value from a sensing unit. + Description If modeling individual sensors, then sensor should be associated with the {{block(Component)}} that the measured value is most closely associated. + +When modeled as an {{block(Auxiliary)}}, sensor **SHOULD** represent an integrated {{term(sensor unit)}} system that provides signal processing, conversion, and communications. A {{term(sensor unit)}} may have multiple {{termplural(sensing element)}}. + +See {{block(SensorConfiguration)}} for more details on the use and configuration of a {{block(Sensor)}}. +"; + /// Constant value for + public const string NAME = "Sensor"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new SensorClassProperties Properties { get; } = new SensorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SensorClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SpindleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SpindleClass.cs new file mode 100644 index 00000000..e521907f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SpindleClass.cs @@ -0,0 +1,91 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component that provides an axis of rotation for the purpose of rapidly rotating a part or a tool to provide sufficient surface speed for cutting operations.

Spindle was DEPRECATED in MTConnect Version 1.1 and was replaced by RotaryMode.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpindleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1643678227814_87818_1410"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1643678227814_87818_1410"; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} that provides an axis of rotation for the purpose of rapidly rotating a part or a tool to provide sufficient surface speed for cutting operations. + +{{block(Spindle)}} was **DEPRECATED** in *MTConnect Version 1.1* and was replaced by {{block(RotaryMode)}}. +"; + /// Constant value for + public const string NAME = "Spindle"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381972_553005_42207 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.AxisClass); + + /// + public new SpindleClassProperties Properties { get; } = new SpindleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SpindleClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.AxisClass.AxisClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SpreaderClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SpreaderClass.cs new file mode 100644 index 00000000..37b99aaa --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SpreaderClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that flattens or spreading materials.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpreaderClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106475_909781_44453"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106475_909781_44453"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that flattens or spreading materials. +"; + /// Constant value for + public const string NAME = "Spreader"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new SpreaderClassProperties Properties { get; } = new SpreaderClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SpreaderClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StagingPotClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StagingPotClass.cs new file mode 100644 index 00000000..794d0f15 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StagingPotClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that is a Pot for a tool that is awaiting transfer to a ToolMagazine or Turret from outside of the piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StagingPotClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605552257626_405215_2680"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605552257626_405215_2680"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that is a {{block(Pot)}} for a tool that is awaiting transfer to a {{block(ToolMagazine)}} or {{block(Turret)}} from outside of the piece of equipment. +"; + /// Constant value for + public const string NAME = "StagingPot"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new StagingPotClassProperties Properties { get; } = new StagingPotClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class StagingPotClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StationClass.cs new file mode 100644 index 00000000..a5cbf215 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StationClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of a storage or mounting location for a tool associated with a Turret, GangToolBar, or ToolRack.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605552257415_810787_2672"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605552257415_810787_2672"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of a storage or mounting location for a tool associated with a {{block(Turret)}}, {{block(GangToolBar)}}, or {{block(ToolRack)}}. +"; + /// Constant value for + public const string NAME = "Station"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new StationClassProperties Properties { get; } = new StationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class StationClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StockClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StockClass.cs new file mode 100644 index 00000000..9e9dfa8b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StockClass.cs @@ -0,0 +1,298 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Material that is used in a manufacturing process and to which work is applied in a machine or piece of equipment to produce parts.


Description

Stock may be either a continuous piece of material from which multiple parts may be produced or it may be a discrete piece of material that will be made into a part or a set of parts.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StockClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382018_505205_42294"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382018_505205_42294"; + /// Constant value for + public const string SUMMARY = @" {{block(Material)}} that is used in a manufacturing process and to which work is applied in a machine or piece of equipment to produce parts. + Description {{block(Stock)}} may be either a continuous piece of material from which multiple parts may be produced or it may be a discrete piece of material that will be made into a part or a set of parts. +"; + /// Constant value for + public const string NAME = "Stock"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382002_513291_42264 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.MaterialClass); + + /// + public new StockClassProperties Properties { get; } = new StockClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class StockClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.MaterialClass.MaterialClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservesMaterial, + ObservesLengthRemaining, + ObservesLengthStandard, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservesMaterial + ///
+ public new ObservesMaterialProperty ObservesMaterial { get; } = new ObservesMaterialProperty(); + + ///  + /// + public new sealed class ObservesMaterialProperty : IProperty + { + /// Constant value for + public const string NAME = "observesMaterial"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MaterialClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.MaterialClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesLengthRemaining + ///
+ public new ObservesLengthRemainingProperty ObservesLengthRemaining { get; } = new ObservesLengthRemainingProperty(); + + ///  + /// + public new sealed class ObservesLengthRemainingProperty : IProperty + { + /// Constant value for + public const string NAME = "observesLengthRemaining"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Length.RemainingClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.LengthRemainingClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesLengthStandard + ///
+ public new ObservesLengthStandardProperty ObservesLengthStandard { get; } = new ObservesLengthStandardProperty(); + + ///  + /// + public new sealed class ObservesLengthStandardProperty : IProperty + { + /// Constant value for + public const string NAME = "observesLengthStandard"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Length.StandardClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.LengthStandardClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StorageBatteryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StorageBatteryClass.cs new file mode 100644 index 00000000..0b2dedcd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StorageBatteryClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of one or more cells in which chemical energy is converted into electricity and used as a source of power.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StorageBatteryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106475_664974_44456"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106475_664974_44456"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of one or more cells in which chemical energy is converted into electricity and used as a source of power. +"; + /// Constant value for + public const string NAME = "StorageBattery"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new StorageBatteryClassProperties Properties { get; } = new StorageBatteryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class StorageBatteryClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StructureClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StructureClass.cs new file mode 100644 index 00000000..645f9d78 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/StructureClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component composed of part(s) comprising the rigid bodies of the piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StructureClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587597358521_716746_1028"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587597358521_716746_1028"; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} composed of part(s) comprising the rigid bodies of the piece of equipment. +"; + /// Constant value for + public const string NAME = "Structure"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new StructureClassProperties Properties { get; } = new StructureClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class StructureClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + IsStructureOfPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: IsStructureOf + ///
+ public new IsStructureOfPartProperty IsStructureOfPart { get; } = new IsStructureOfPartProperty(); + + ///  + /// + public new sealed class IsStructureOfPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isStructureOf"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "StructuresClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SwitchClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SwitchClass.cs new file mode 100644 index 00000000..dac61b45 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SwitchClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that turns on or off an electric current or makes or breaks a circuit.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SwitchClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106476_558459_44459"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106476_558459_44459"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that turns on or off an electric current or makes or breaks a circuit. +"; + /// Constant value for + public const string NAME = "Switch"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new SwitchClassProperties Properties { get; } = new SwitchClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SwitchClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SystemClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SystemClass.cs new file mode 100644 index 00000000..5b939f9d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/SystemClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// abstract Component that is permanently integrated into the piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SystemClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382020_336298_42297"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382020_336298_42297"; + /// Constant value for + public const string SUMMARY = @" abstract {{block(Component)}} that is permanently integrated into the piece of equipment. +"; + /// Constant value for + public const string NAME = "System"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new SystemClassProperties Properties { get; } = new SystemClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SystemClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + IsSystemOfPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: IsSystemOf + ///
+ public new IsSystemOfPartProperty IsSystemOfPart { get; } = new IsSystemOfPartProperty(); + + ///  + /// + public new sealed class IsSystemOfPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isSystemOf"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "SystemsClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TableClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TableClass.cs new file mode 100644 index 00000000..361d472e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TableClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of a surface for holding an object or material.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TableClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106476_995417_44462"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106476_995417_44462"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of a surface for holding an object or material. +"; + /// Constant value for + public const string NAME = "Table"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new TableClassProperties Properties { get; } = new TableClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TableClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TankClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TankClass.cs new file mode 100644 index 00000000..c56ce9ad --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TankClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component generally composed of an enclosed container.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TankClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106477_651135_44465"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106477_651135_44465"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} generally composed of an enclosed container. +"; + /// Constant value for + public const string NAME = "Tank"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new TankClassProperties Properties { get; } = new TankClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TankClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TensionerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TensionerClass.cs new file mode 100644 index 00000000..9d233ec4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TensionerClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that provides or applies a stretch or strain to another mechanism.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TensionerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106477_119326_44468"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106477_119326_44468"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that provides or applies a stretch or strain to another mechanism. +"; + /// Constant value for + public const string NAME = "Tensioner"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new TensionerClassProperties Properties { get; } = new TensionerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TensionerClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ThermostatClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ThermostatClass.cs new file mode 100644 index 00000000..19e12af5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ThermostatClass.cs @@ -0,0 +1,91 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component composed of a sensor or an instrument that measures temperature.

Thermostat was DEPRECATED in MTConnect Version 1.2 and was replaced by Temperature.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.2 + /// + /// + [Obsolete("Deprecated in v1.2 according to https://model.mtconnect.org/#_Version_1.2")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ThermostatClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1643678703742_369144_1539"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1643678703742_369144_1539"; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} composed of a sensor or an instrument that measures temperature. + +{{block(Thermostat)}} was **DEPRECATED** in *MTConnect Version 1.2* and was replaced by {{block(Temperature)}}. +"; + /// Constant value for + public const string NAME = "Thermostat"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382017_874684_42291 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SensorClass); + + /// + public new ThermostatClassProperties Properties { get; } = new ThermostatClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ThermostatClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SensorClass.SensorClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ToolMagazineClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ToolMagazineClass.cs new file mode 100644 index 00000000..00daa2e7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ToolMagazineClass.cs @@ -0,0 +1,89 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// ToolingDelivery composed of a tool storage mechanism that holds any number of tools.



Description

Tools are located in Pots. Pots are moved into position to transfer tools into or out of the ToolMagazine by an AutomaticToolChanger.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolMagazineClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605551866030_769452_2402"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605551866030_769452_2402"; + /// Constant value for + public const string SUMMARY = @" {{block(ToolingDelivery)}} composed of a tool storage mechanism that holds any number of tools. + + Description Tools are located in {{block(Pot)}}s. {{block(Pot)}}s are moved into position to transfer tools into or out of the {{block(ToolMagazine)}} by an {{block(AutomaticToolChanger)}}. +"; + /// Constant value for + public const string NAME = "ToolMagazine"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382021_741508_42300 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.ToolingDeliveryClass); + + /// + public new ToolMagazineClassProperties Properties { get; } = new ToolMagazineClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolMagazineClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.ToolingDeliveryClass.ToolingDeliveryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ToolRackClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ToolRackClass.cs new file mode 100644 index 00000000..9b59dcb7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ToolRackClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// ToolingDelivery composed of a linear or matrixed tool storage mechanism that holds any number of tools.


Description

Tools are located in Station entities.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolRackClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605551899241_174607_2546"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605551899241_174607_2546"; + /// Constant value for + public const string SUMMARY = @" {{block(ToolingDelivery)}} composed of a linear or matrixed tool storage mechanism that holds any number of tools. + Description Tools are located in {{block(Station)}} entities. +"; + /// Constant value for + public const string NAME = "ToolRack"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382021_741508_42300 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.ToolingDeliveryClass); + + /// + public new ToolRackClassProperties Properties { get; } = new ToolRackClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolRackClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.ToolingDeliveryClass.ToolingDeliveryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ToolingDeliveryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ToolingDeliveryClass.cs new file mode 100644 index 00000000..1ffa04e4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ToolingDeliveryClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Auxiliary that manages, positions, stores, and delivers tooling within a piece of equipment.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolingDeliveryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382021_741508_42300"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382021_741508_42300"; + /// Constant value for + public const string SUMMARY = @" {{block(Auxiliary)}} that manages, positions, stores, and delivers tooling within a piece of equipment. + +"; + /// Constant value for + public const string NAME = "ToolingDelivery"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381970_785259_42204 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.AuxiliaryClass); + + /// + public new ToolingDeliveryClassProperties Properties { get; } = new ToolingDeliveryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolingDeliveryClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.AuxiliaryClass.AuxiliaryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TransferArmClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TransferArmClass.cs new file mode 100644 index 00000000..afb445e4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TransferArmClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that physically moves a tool from one location to another.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransferArmClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605552257830_675148_2688"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605552257830_675148_2688"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that physically moves a tool from one location to another. +"; + /// Constant value for + public const string NAME = "TransferArm"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new TransferArmClassProperties Properties { get; } = new TransferArmClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransferArmClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TransferPotClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TransferPotClass.cs new file mode 100644 index 00000000..6bda98a3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TransferPotClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that is a Pot for a tool that is awaiting transfer from a ToolMagazine to spindle or Turret.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransferPotClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605552258190_552410_2704"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605552258190_552410_2704"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that is a {{block(Pot)}} for a tool that is awaiting transfer from a {{block(ToolMagazine)}} to {{term(spindle)}} or {{block(Turret)}}. +"; + /// Constant value for + public const string NAME = "TransferPot"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new TransferPotClassProperties Properties { get; } = new TransferPotClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransferPotClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TransformerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TransformerClass.cs new file mode 100644 index 00000000..31ddade1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TransformerClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that transforms electric energy from a source to a secondary circuit.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransformerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106478_840214_44471"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106478_840214_44471"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that transforms electric energy from a source to a secondary circuit. +"; + /// Constant value for + public const string NAME = "Transformer"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new TransformerClassProperties Properties { get; } = new TransformerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransformerClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TurretClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TurretClass.cs new file mode 100644 index 00000000..0c16ba63 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/TurretClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// ToolingDelivery composed of a tool mounting mechanism that holds any number of tools.


Description

Tools are positioned for use in the manufacturing process by rotating the Turret.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TurretClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605551876111_523604_2450"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605551876111_523604_2450"; + /// Constant value for + public const string SUMMARY = @" {{block(ToolingDelivery)}} composed of a tool mounting mechanism that holds any number of tools. + Description Tools are positioned for use in the manufacturing process by rotating the {{block(Turret)}}. +"; + /// Constant value for + public const string NAME = "Turret"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382021_741508_42300 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.ToolingDeliveryClass); + + /// + public new TurretClassProperties Properties { get; } = new TurretClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TurretClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.ToolingDeliveryClass.ToolingDeliveryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/VacuumClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/VacuumClass.cs new file mode 100644 index 00000000..674df4b4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/VacuumClass.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System that evacuates gases and liquids from an enclosed and sealed space to a controlled negative pressure or a molecular density below the prevailing atmospheric level.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VacuumClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605116368942_480454_1665"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605116368942_480454_1665"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} that evacuates gases and liquids from an enclosed and sealed space to a controlled negative pressure or a molecular density below the prevailing atmospheric level. +"; + /// Constant value for + public const string NAME = "Vacuum"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new VacuumClassProperties Properties { get; } = new VacuumClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VacuumClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ValveClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ValveClass.cs new file mode 100644 index 00000000..e52bed01 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/ValveClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component that halts or controls the flow of a liquid, gas, or other material through a passage, pipe, inlet, or outlet.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ValveClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106478_602921_44474"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106478_602921_44474"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} that halts or controls the flow of a liquid, gas, or other material through a passage, pipe, inlet, or outlet. +"; + /// Constant value for + public const string NAME = "Valve"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new ValveClassProperties Properties { get; } = new ValveClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ValveClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/VatClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/VatClass.cs new file mode 100644 index 00000000..f217f1ce --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/VatClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component generally composed of an open container.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VatClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106479_944360_44477"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106479_944360_44477"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} generally composed of an open container. +"; + /// Constant value for + public const string NAME = "Vat"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new VatClassProperties Properties { get; } = new VatClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VatClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/VibrationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/VibrationClass.cs new file mode 100644 index 00000000..b476dfcd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/VibrationClass.cs @@ -0,0 +1,91 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Component composed of a sensor or an instrument that measures the amount and/or frequency of vibration within a system.

Vibration was DEPRECATED in MTConnect Version 1.2 and was replaced by Displacement, Frequency etc.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.2 + /// + /// + [Obsolete("Deprecated in v1.2 according to https://model.mtconnect.org/#_Version_1.2")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VibrationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1643678730400_947692_1640"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1643678730400_947692_1640"; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} composed of a sensor or an instrument that measures the amount and/or frequency of vibration within a system. + +{{block(Vibration)}} was **DEPRECATED** in *MTConnect Version 1.2* and was replaced by {{block(Displacement)}}, {{block(Frequency)}} etc. +"; + /// Constant value for + public const string NAME = "Vibration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382017_874684_42291 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SensorClass); + + /// + public new VibrationClassProperties Properties { get; } = new VibrationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VibrationClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SensorClass.SensorClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WasteDisposalClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WasteDisposalClass.cs new file mode 100644 index 00000000..c887fdb7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WasteDisposalClass.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// Auxiliary that removes manufacturing byproducts from a piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WasteDisposalClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572382023_920799_42303"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572382023_920799_42303"; + /// Constant value for + public const string SUMMARY = @" {{block(Auxiliary)}} that removes manufacturing byproducts from a piece of equipment. +"; + /// Constant value for + public const string NAME = "WasteDisposal"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381970_785259_42204 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.AuxiliaryClass); + + /// + public new WasteDisposalClassProperties Properties { get; } = new WasteDisposalClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WasteDisposalClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.AuxiliaryClass.AuxiliaryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WaterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WaterClass.cs new file mode 100644 index 00000000..e15949ae --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WaterClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of H_2 O.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WaterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106480_337779_44480"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106480_337779_44480"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of $$H_2 O$$. +"; + /// Constant value for + public const string NAME = "Water"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new WaterClassProperties Properties { get; } = new WaterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WaterClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WireClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WireClass.cs new file mode 100644 index 00000000..38b8e6d1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WireClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of a string like piece or filament of relatively rigid or flexible material provided in a variety of diameters.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WireClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312106480_27284_44483"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580312106480_27284_44483"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of a string like piece or filament of relatively rigid or flexible material provided in a variety of diameters. +"; + /// Constant value for + public const string NAME = "Wire"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new WireClassProperties Properties { get; } = new WireClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WireClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WorkEnvelopeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WorkEnvelopeClass.cs new file mode 100644 index 00000000..536ae2ac --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WorkEnvelopeClass.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// System composed of the physical process execution space within a piece of equipment.


Description

WorkEnvelope MAY provide information regarding the physical workspace and the conditions within that workspace.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WorkEnvelopeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587649840347_727529_300"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587649840347_727529_300"; + /// Constant value for + public const string SUMMARY = @" {{block(System)}} composed of the physical process execution space within a piece of equipment. + Description {{block(WorkEnvelope)}} **MAY** provide information regarding the physical workspace and the conditions within that workspace. +"; + /// Constant value for + public const string NAME = "WorkEnvelope"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572382020_336298_42297 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public new WorkEnvelopeClassProperties Properties { get; } = new WorkEnvelopeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WorkEnvelopeClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass.SystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WorkpieceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WorkpieceClass.cs new file mode 100644 index 00000000..8505956a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ComponentTypes/WorkpieceClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// leaf Component composed of an object or material on which a form of work is performed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WorkpieceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587650651134_415529_403"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587650651134_415529_403"; + /// Constant value for + public const string SUMMARY = @" leaf {{block(Component)}} composed of an object or material on which a form of work is performed. +"; + /// Constant value for + public const string NAME = "Workpiece"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new WorkpieceClassProperties Properties { get; } = new WorkpieceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WorkpieceClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComposition, + HasComponent, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + ///  + /// + public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Components/ComponentGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Components/ComponentGeneralization.cs new file mode 100644 index 00000000..c7b4bd32 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Components/ComponentGeneralization.cs @@ -0,0 +1,1256 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components +{ + /// logical or physical entity that provides a capability.


Description

Component is an abstract entity and will be realized by specific Component types for an MTConnectDevices entity. See Component Types for more details on the Component types.

Component also provides structure for describing the lower level entities associated with it.

At least one of Component, DataItem, or Reference entities MUST be provided for a Component.

![Component Example](figures/Component%20Example.png "Component Example"){: width="0.8"}

> Note: See {{lst(component-example)}} for the XML representation of the same example.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ComponentGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_8548C620_467A_4f50_9A22_58D84B7E8779"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_8548C620_467A_4f50_9A22_58D84B7E8779"; + /// Constant value for + public const string SUMMARY = @" logical or physical entity that provides a capability. + Description {{block(Component)}} is an abstract entity and will be realized by specific {{block(Component)}} types for an {{block(MTConnectDevices)}} entity. See {{package(Component Types)}} for more details on the {{block(Component)}} types. + +{{block(Component)}} also provides structure for describing the {{term(lower level)}} entities associated with it. + +At least one of {{block(Component)}}, {{block(DataItem)}}, or {{block(Reference)}} entities **MUST** be provided for a {{block(Component)}}. + +![Component Example](figures/Component%20Example.png ""Component Example""){: width=""0.8""} + +> Note: See {{lst(component-example)}} for the {{term(XML)}} representation of the same example. +"; + /// Constant value for + public const string NAME = "Component"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581734537697_742151_1119 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.ComponentClass); + + /// + public new ComponentGeneralizationProperties Properties { get; } = new ComponentGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ComponentGeneralizationProperties : Mtconnect.Glossary.MTConnectTerms.ComponentClass.ComponentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Id, + Name, + NativeName, + SampleInterval, + SampleRate, + Uuid, + HasDescriptionPart, + HasCompositionPart, + HasComponentPart, + HasConfigurationPart, + IsComponentOfPart, + ObservesPart, + MadeObservationPart, + HasReferencePart, + CoordinateSystemIdRef, + HasComponentStreamPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Id + ///
+ public new IdProperty Id { get; } = new IdProperty(); + + /// unique identifier for the Component.


+ ///
+ public new sealed class IdProperty : IProperty + { + /// Constant value for + public const string NAME = "id"; + /// Constant value for + public const string SUMMARY = @" unique identifier for the {{block(Component)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + /// name of the Component.

When provided, name in Component MUST be unique for all child Component entities of a parent Component.


+ ///
+ public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of the {{block(Component)}}. + +When provided, {{property(Component::name)}} **MUST** be unique for all child {{block(Component)}} entities of a parent {{block(Component)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NativeName + ///
+ public new NativeNameProperty NativeName { get; } = new NativeNameProperty(); + + /// common name associated with Component.


+ ///
+ public new sealed class NativeNameProperty : IProperty + { + /// Constant value for + public const string NAME = "nativeName"; + /// Constant value for + public const string SUMMARY = @" common name associated with {{block(Component)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SampleInterval + ///
+ public new SampleIntervalProperty SampleInterval { get; } = new SampleIntervalProperty(); + + /// interval in milliseconds between the completion of the reading of the data associated with the Component until the beginning of the next sampling of that data.

This information may be used by client software applications to understand how often information from a Component is expected to be refreshed.

The refresh rate for data from all child Component entities will be the
same as for the parent Component element unless specifically overridden by another sampleInterval in Component provided for the child Component.


+ ///
+ public new sealed class SampleIntervalProperty : IProperty + { + /// Constant value for + public const string NAME = "sampleInterval"; + /// Constant value for + public const string SUMMARY = @" interval in milliseconds between the completion of the reading of the data associated with the {{block(Component)}} until the beginning of the next sampling of that data. + +This information may be used by client software applications to understand how often information from a {{block(Component)}} is expected to be refreshed. + +The refresh rate for data from all child {{block(Component)}} entities will be the +same as for the parent {{block(Component)}} element unless specifically overridden by another {{property(Component::sampleInterval)}} provided for the child {{block(Component)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SampleRate + ///
+ public new SampleRateProperty SampleRate { get; } = new SampleRateProperty(); + + /// DEPRECATED in MTConnect Version 1.2. Replaced by sampleInterval in Component.


+ ///
+ public new sealed class SampleRateProperty : IProperty + { + /// Constant value for + public const string NAME = "sampleRate"; + /// Constant value for + public const string SUMMARY = @" **DEPRECATED** in *MTConnect Version 1.2*. Replaced by {{property(Component::sampleInterval)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Uuid + ///
+ public new UuidProperty Uuid { get; } = new UuidProperty(); + + /// universally unique identifier for the Component.


+ ///
+ public new sealed class UuidProperty : IProperty + { + /// Constant value for + public const string NAME = "uuid"; + /// Constant value for + public const string SUMMARY = @" universally unique identifier for the {{block(Component)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasDescription + ///
+ public new HasDescriptionPartProperty HasDescriptionPart { get; } = new HasDescriptionPartProperty(); + + ///  + /// + public new sealed class HasDescriptionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasDescription"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Description"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DescriptionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.DescriptionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionPartProperty HasCompositionPart { get; } = new HasCompositionPartProperty(); + + ///  + /// + public new sealed class HasCompositionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComposition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Compositions"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentPartProperty HasComponentPart { get; } = new HasComponentPartProperty(); + + ///  + /// + public new sealed class HasComponentPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Components"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasConfiguration + ///
+ public new HasConfigurationPartProperty HasConfigurationPart { get; } = new HasConfigurationPartProperty(); + + ///  + /// + public new sealed class HasConfigurationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasConfiguration"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Configuration"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ConfigurationClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.ConfigurationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: IsComponentOf + ///
+ public new IsComponentOfPartProperty IsComponentOfPart { get; } = new IsComponentOfPartProperty(); + + ///  + /// + public new sealed class IsComponentOfPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isComponentOf"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Components"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Observes + ///
+ public new ObservesPartProperty ObservesPart { get; } = new ObservesPartProperty(); + + ///  + /// + public new sealed class ObservesPartProperty : IProperty + { + /// Constant value for + public const string NAME = "observes"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "DataItems"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.DataItemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MadeObservation + ///
+ public new MadeObservationPartProperty MadeObservationPart { get; } = new MadeObservationPartProperty(); + + ///  + /// + public new sealed class MadeObservationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "madeObservation"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Observations"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ObservationGeneralization + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasReference + ///
+ public new HasReferencePartProperty HasReferencePart { get; } = new HasReferencePartProperty(); + + ///  + /// + public new sealed class HasReferencePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasReference"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "References"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ReferenceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.References.ReferenceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CoordinateSystemIdRef + ///
+ public new CoordinateSystemIdRefProperty CoordinateSystemIdRef { get; } = new CoordinateSystemIdRefProperty(); + + /// specifies the CoordinateSystem for this Component and its children.


+ ///
+ public new sealed class CoordinateSystemIdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "coordinateSystemIdRef"; + /// Constant value for + public const string SUMMARY = @" specifies the {{block(CoordinateSystem)}} for this {{block(Component)}} and its children. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponentStream + ///
+ public new HasComponentStreamPartProperty HasComponentStreamPart { get; } = new HasComponentStreamPartProperty(); + + ///  + /// + public new sealed class HasComponentStreamPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponentStream"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "shared"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "ComponentStream"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentStreamClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ComponentStreamClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + # region Rules + /// + /// Component1 + /// + /// Specification Language: Unspecified + public string Component1 => @"Components::Component::allInstances()->iterate(comp;compcount:Real=0| +if comp.id->size() = 1 and + (comp.observes->size() <> 0 or comp.hasReference->size() <> 0 or comp.hasComponent->size() <> 0 or comp.oclAsType(Components::""Component Types""::Organizer)->size() <> 0) +then + compcount + 1 +else + compcount + 0 +endif +) = Components::Component::allInstances()->size()"; + /* + Components::Component::allInstances()->iterate(comp;compcount:Real=0| + if comp.id->size() = 1 and + (comp.observes->size() <> 0 or comp.hasReference->size() <> 0 or comp.hasComponent->size() <> 0 or comp.oclAsType(Components::"Component Types"::Organizer)->size() <> 0) + then + compcount + 1 + else + compcount + 0 + endif + ) = Components::Component::allInstances()->size() + */ + # endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Components/DescriptionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Components/DescriptionClass.cs new file mode 100644 index 00000000..6417d550 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Components/DescriptionClass.cs @@ -0,0 +1,440 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Components +{ + /// descriptive content.


Description

> Note 1 to entry: See {{figure(Component Example)}} for an example.

> Note 2 to entry: See {{lst(component-example)}} for the XML representation of the same example.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DescriptionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_64352755_7251_46af_846D_937E5A1E3949"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_64352755_7251_46af_846D_937E5A1E3949"; + /// Constant value for + public const string SUMMARY = @" descriptive content. + Description > Note 1 to entry: See {{figure(Component Example)}} for an example. + +> Note 2 to entry: See {{lst(component-example)}} for the {{term(XML)}} representation of the same example. +"; + /// Constant value for + public const string NAME = "Description"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DescriptionClassProperties Properties { get; } = new DescriptionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DescriptionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Manufacturer, + Model, + SerialNumber, + Station, + Value, + }; + /// + ///
+ /// Original Name: Manufacturer + ///
+ public ManufacturerProperty Manufacturer { get; } = new ManufacturerProperty(); + + /// name of the manufacturer of the physical or logical part of a piece of equipment represented by this element.


+ ///
+ public sealed class ManufacturerProperty : IProperty + { + /// Constant value for + public const string NAME = "manufacturer"; + /// Constant value for + public const string SUMMARY = @" name of the manufacturer of the physical or logical part of a piece of equipment represented by this element. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Model + ///
+ public ModelProperty Model { get; } = new ModelProperty(); + + /// model description of the physical part or logical function of a piece of equipment represented by this element.


+ ///
+ public sealed class ModelProperty : IProperty + { + /// Constant value for + public const string NAME = "model"; + /// Constant value for + public const string SUMMARY = @" model description of the physical part or logical function of a piece of equipment represented by this element. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SerialNumber + ///
+ public SerialNumberProperty SerialNumber { get; } = new SerialNumberProperty(); + + /// serial number associated with a piece of equipment.


+ ///
+ public sealed class SerialNumberProperty : IProperty + { + /// Constant value for + public const string NAME = "serialNumber"; + /// Constant value for + public const string SUMMARY = @" serial number associated with a piece of equipment. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Station + ///
+ public StationProperty Station { get; } = new StationProperty(); + + /// identifier where a manufacturing function takes place.


+ ///
+ public sealed class StationProperty : IProperty + { + /// Constant value for + public const string NAME = "station"; + /// Constant value for + public const string SUMMARY = @" identifier where a manufacturing function takes place. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// description of the element.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" description of the element. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Compositions/CompositionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Compositions/CompositionClass.cs new file mode 100644 index 00000000..9baffe93 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Compositions/CompositionClass.cs @@ -0,0 +1,577 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Compositions +{ + /// functional part of a piece of equipment contained within a Component.


Description

Composition MUST NOT have child Component, Composition, or DataItems elements.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1658936424016_561586_139"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1658936424016_561586_139"; + /// Constant value for + public const string SUMMARY = @" functional part of a piece of equipment contained within a {{block(Component)}}. + Description {{block(Composition)}} **MUST NOT** have child {{block(Component)}}, {{block(Composition)}}, or {{block(DataItems)}} elements. +"; + /// Constant value for + public const string NAME = "Composition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new CompositionClassProperties Properties { get; } = new CompositionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class CompositionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + IsCompositionOfPart, + HasDescriptionPart, + HasConfigurationPart, + Id, + Type, + Name, + Uuid, + }; + /// + ///
+ /// Original Name: IsCompositionOf + ///
+ public IsCompositionOfPartProperty IsCompositionOfPart { get; } = new IsCompositionOfPartProperty(); + + ///  + /// + public sealed class IsCompositionOfPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isCompositionOf"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Compositions"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasDescription + ///
+ public HasDescriptionPartProperty HasDescriptionPart { get; } = new HasDescriptionPartProperty(); + + ///  + /// + public sealed class HasDescriptionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasDescription"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Description"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DescriptionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.DescriptionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasConfiguration + ///
+ public HasConfigurationPartProperty HasConfigurationPart { get; } = new HasConfigurationPartProperty(); + + ///  + /// + public sealed class HasConfigurationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasConfiguration"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Configuration"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ConfigurationClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.ConfigurationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Id + ///
+ public IdProperty Id { get; } = new IdProperty(); + + /// unique identifier for the Composition element.


+ ///
+ public sealed class IdProperty : IProperty + { + /// Constant value for + public const string NAME = "id"; + /// Constant value for + public const string SUMMARY = @" unique identifier for the {{block(Composition)}} element. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// type of Composition.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" type of {{block(Composition)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CompositionTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// name of the Composition element.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of the {{block(Composition)}} element. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Uuid + ///
+ public UuidProperty Uuid { get; } = new UuidProperty(); + + /// universally unique identifier for the Composition.


+ ///
+ public sealed class UuidProperty : IProperty + { + /// Constant value for + public const string NAME = "uuid"; + /// Constant value for + public const string SUMMARY = @" universally unique identifier for the {{block(Composition)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/ActuatorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/ActuatorClass.cs new file mode 100644 index 00000000..1ce5beb8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/ActuatorClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.ConditionTypes +{ + /// ConditionEnum.ACTUATOR


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActuatorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1598552637786_973679_485"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1598552637786_973679_485"; + /// Constant value for + public const string SUMMARY = @" {{def(ConditionEnum::ACTUATOR)}} +"; + /// Constant value for + public const string NAME = "Actuator"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531113_85883_25726 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ConditionClass); + + /// + public new ActuatorClassProperties Properties { get; } = new ActuatorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActuatorClassProperties : Mtconnect.ObservationInformationModel.ConditionClass.ConditionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUATOR"; + + /// + /// + /// Type: ConditionEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ConditionEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/CommunicationsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/CommunicationsClass.cs new file mode 100644 index 00000000..055cd2fc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/CommunicationsClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.ConditionTypes +{ + /// ConditionEnum.COMMUNICATIONS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CommunicationsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1598552901976_410405_544"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1598552901976_410405_544"; + /// Constant value for + public const string SUMMARY = @" {{def(ConditionEnum::COMMUNICATIONS)}} +"; + /// Constant value for + public const string NAME = "Communications"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531113_85883_25726 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ConditionClass); + + /// + public new CommunicationsClassProperties Properties { get; } = new CommunicationsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CommunicationsClassProperties : Mtconnect.ObservationInformationModel.ConditionClass.ConditionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMUNICATIONS"; + + /// + /// + /// Type: ConditionEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ConditionEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/DataRangeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/DataRangeClass.cs new file mode 100644 index 00000000..84620d76 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/DataRangeClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.ConditionTypes +{ + /// ConditionEnum.DATA_RANGE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataRangeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1598552902597_214436_552"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1598552902597_214436_552"; + /// Constant value for + public const string SUMMARY = @" {{def(ConditionEnum::DATA_RANGE)}} +"; + /// Constant value for + public const string NAME = "DataRange"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531113_85883_25726 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ConditionClass); + + /// + public new DataRangeClassProperties Properties { get; } = new DataRangeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DataRangeClassProperties : Mtconnect.ObservationInformationModel.ConditionClass.ConditionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DATA_RANGE"; + + /// + /// + /// Type: ConditionEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ConditionEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/LogicProgramClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/LogicProgramClass.cs new file mode 100644 index 00000000..e3d51fe3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/LogicProgramClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.ConditionTypes +{ + /// ConditionEnum.LOGIC_PROGRAM


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LogicProgramClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1598552904415_200781_584"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1598552904415_200781_584"; + /// Constant value for + public const string SUMMARY = @" {{def(ConditionEnum::LOGIC_PROGRAM)}} +"; + /// Constant value for + public const string NAME = "LogicProgram"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531113_85883_25726 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ConditionClass); + + /// + public new LogicProgramClassProperties Properties { get; } = new LogicProgramClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LogicProgramClassProperties : Mtconnect.ObservationInformationModel.ConditionClass.ConditionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LOGIC_PROGRAM"; + + /// + /// + /// Type: ConditionEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ConditionEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/MotionProgramClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/MotionProgramClass.cs new file mode 100644 index 00000000..3dd4dd2a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/MotionProgramClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.ConditionTypes +{ + /// ConditionEnum.MOTION_PROGRAM


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MotionProgramClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1598552917043_472168_592"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1598552917043_472168_592"; + /// Constant value for + public const string SUMMARY = @" {{def(ConditionEnum::MOTION_PROGRAM)}} +"; + /// Constant value for + public const string NAME = "MotionProgram"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531113_85883_25726 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ConditionClass); + + /// + public new MotionProgramClassProperties Properties { get; } = new MotionProgramClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MotionProgramClassProperties : Mtconnect.ObservationInformationModel.ConditionClass.ConditionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MOTION_PROGRAM"; + + /// + /// + /// Type: ConditionEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ConditionEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/SystemClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/SystemClass.cs new file mode 100644 index 00000000..86ffd380 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ConditionTypes/SystemClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.ConditionTypes +{ + /// ConditionEnum.SYSTEM


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SystemClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1598552920231_95319_608"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1598552920231_95319_608"; + /// Constant value for + public const string SUMMARY = @" {{def(ConditionEnum::SYSTEM)}} +"; + /// Constant value for + public const string NAME = "System"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531113_85883_25726 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ConditionClass); + + /// + public new SystemClassProperties Properties { get; } = new SystemClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SystemClassProperties : Mtconnect.ObservationInformationModel.ConditionClass.ConditionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SYSTEM"; + + /// + /// + /// Type: ConditionEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ConditionEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Configurations/ConfigurationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Configurations/ConfigurationClass.cs new file mode 100644 index 00000000..4492f9fc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Configurations/ConfigurationClass.cs @@ -0,0 +1,787 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Configurations +{ + /// technical information about an entity describing its physical layout, functional characteristics, and relationships with other entities.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConfigurationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_C04DCC77_16E8_4cef_92D4_B777AFC52570"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_C04DCC77_16E8_4cef_92D4_B777AFC52570"; + /// Constant value for + public const string SUMMARY = @" technical information about an entity describing its physical layout, functional characteristics, and relationships with other entities. +"; + /// Constant value for + public const string NAME = "Configuration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1635251403887_914466_345 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.ConfigurationGeneralization); + + /// + public new ConfigurationClassProperties Properties { get; } = new ConfigurationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ConfigurationClassProperties : Mtconnect.Glossary.MTConnectTerms.ConfigurationGeneralization.ConfigurationGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + IsConfigurationForPart, + HasSolidModelPart, + HasSensorConfigurationPart, + HasMotionPart, + HasRelationshipPart, + HasCoordinateSystemPart, + HasSpecificationPart, + IsConfigurationForCompositionPart, + HasImageFilePart, + HasPowerSourcePart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: IsConfigurationFor + ///
+ public new IsConfigurationForPartProperty IsConfigurationForPart { get; } = new IsConfigurationForPartProperty(); + + ///  + /// + public new sealed class IsConfigurationForPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isConfigurationFor"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Configuration"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasSolidModel + ///
+ public new HasSolidModelPartProperty HasSolidModelPart { get; } = new HasSolidModelPartProperty(); + + ///  + /// + public new sealed class HasSolidModelPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasSolidModel"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "SolidModel"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SolidModelClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.SolidModel.SolidModelClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasSensorConfiguration + ///
+ public new HasSensorConfigurationPartProperty HasSensorConfigurationPart { get; } = new HasSensorConfigurationPartProperty(); + + ///  + /// + public new sealed class HasSensorConfigurationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasSensorConfiguration"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "SensorConfiguration"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SensorConfigurationClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Sensor.SensorConfigurationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasMotion + ///
+ public new HasMotionPartProperty HasMotionPart { get; } = new HasMotionPartProperty(); + + ///  + /// + public new sealed class HasMotionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasMotion"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Motion"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MotionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Motion.MotionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasRelationship + ///
+ public new HasRelationshipPartProperty HasRelationshipPart { get; } = new HasRelationshipPartProperty(); + + ///  + /// + public new sealed class HasRelationshipPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasRelationship"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Relationships"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ConfigurationRelationshipClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Relationships.ConfigurationRelationshipClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCoordinateSystem + ///
+ public new HasCoordinateSystemPartProperty HasCoordinateSystemPart { get; } = new HasCoordinateSystemPartProperty(); + + ///  + /// + public new sealed class HasCoordinateSystemPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCoordinateSystem"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "CoordinateSystems"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CoordinateSystemClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems.CoordinateSystemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasSpecification + ///
+ public new HasSpecificationPartProperty HasSpecificationPart { get; } = new HasSpecificationPartProperty(); + + ///  + /// + public new sealed class HasSpecificationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasSpecification"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Specifications"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SpecificationClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.SpecificationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: IsConfigurationForComposition + ///
+ public new IsConfigurationForCompositionPartProperty IsConfigurationForCompositionPart { get; } = new IsConfigurationForCompositionPartProperty(); + + ///  + /// + public new sealed class IsConfigurationForCompositionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isConfigurationFor"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Configuration"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Compositions.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasImageFile + ///
+ public new HasImageFilePartProperty HasImageFilePart { get; } = new HasImageFilePartProperty(); + + ///  + /// + public new sealed class HasImageFilePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasImageFile"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "ImageFiles"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ImageFileClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.ImageFiles.ImageFileClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasPowerSource + ///
+ public new HasPowerSourcePartProperty HasPowerSourcePart { get; } = new HasPowerSourcePartProperty(); + + ///  + /// + public new sealed class HasPowerSourcePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasPowerSource"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "PowerSources"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PowerSourceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.PowerSources.PowerSourceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/CoordinateSystemClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/CoordinateSystemClass.cs new file mode 100644 index 00000000..73a2bc0e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/CoordinateSystemClass.cs @@ -0,0 +1,730 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems +{ + /// reference system that associates a unique set of n parameters with each point in an n-dimensional space. ISO 10303-218:2004


Description

At most only one of Origin or Transformation MUST be defined for a CoordinateSystem.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CoordinateSystemClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579100679936_1279_16310"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579100679936_1279_16310"; + /// Constant value for + public const string SUMMARY = @" reference system that associates a unique set of n parameters with each point in an n-dimensional space. {{cite(ISO 10303-218:2004)}} + Description At most only one of {{block(Origin)}} or {{block(Transformation)}} **MUST** be defined for a {{block(CoordinateSystem)}}. +"; + /// Constant value for + public const string NAME = "CoordinateSystem"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new CoordinateSystemClassProperties Properties { get; } = new CoordinateSystemClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class CoordinateSystemClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Id, + Name, + NativeName, + ParentIdRef, + HasOriginPart, + HasTransformationPart, + Type, + Uuid, + Description, + }; + /// + ///
+ /// Original Name: Id + ///
+ public IdProperty Id { get; } = new IdProperty(); + + /// unique identifier for the coordinate system.


+ ///
+ public sealed class IdProperty : IProperty + { + /// Constant value for + public const string NAME = "id"; + /// Constant value for + public const string SUMMARY = @" unique identifier for the coordinate system. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// name of the coordinate system.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of the coordinate system. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NativeName + ///
+ public NativeNameProperty NativeName { get; } = new NativeNameProperty(); + + /// manufacturer's name or users name for the coordinate system.


+ ///
+ public sealed class NativeNameProperty : IProperty + { + /// Constant value for + public const string NAME = "nativeName"; + /// Constant value for + public const string SUMMARY = @" manufacturer's name or users name for the coordinate system. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ParentIdRef + ///
+ public ParentIdRefProperty ParentIdRef { get; } = new ParentIdRefProperty(); + + /// pointer to the id in CoordinateSystem.


+ ///
+ public sealed class ParentIdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "parentIdRef"; + /// Constant value for + public const string SUMMARY = @" pointer to the {{property(CoordinateSystem::id)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasOrigin + ///
+ public HasOriginPartProperty HasOriginPart { get; } = new HasOriginPartProperty(); + + ///  + /// + public sealed class HasOriginPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasOrigin"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Origin"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: OriginClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems.OriginClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasTransformation + ///
+ public HasTransformationPartProperty HasTransformationPart { get; } = new HasTransformationPartProperty(); + + ///  + /// + public sealed class HasTransformationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasTransformation"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Transformation"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TransformationClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems.TransformationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// type of coordinate system.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" type of coordinate system. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CoordinateSystemTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CoordinateSystemTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Uuid + ///
+ public UuidProperty Uuid { get; } = new UuidProperty(); + + /// UUID for the coordinate system.


+ ///
+ public sealed class UuidProperty : IProperty + { + /// Constant value for + public const string NAME = "uuid"; + /// Constant value for + public const string SUMMARY = @" {{term(UUID)}} for the coordinate system. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Description + ///
+ public DescriptionProperty Description { get; } = new DescriptionProperty(); + + /// natural language description of the CoordinateSystem.


+ ///
+ public sealed class DescriptionProperty : IProperty + { + /// Constant value for + public const string NAME = "Description"; + /// Constant value for + public const string SUMMARY = @" natural language description of the {{block(CoordinateSystem)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + # region Rules + /// + /// Coordinatesystem + /// + /// Specification Language: Unspecified + public string Coordinatesystem => @"hasOrigin->size() + hasTransformation->size() <= 1 and hasOrigin->size() + hasTransformation->size() <> 0"; + /* + hasOrigin->size() + hasTransformation->size() <= 1 and hasOrigin->size() + hasTransformation->size() <> 0 + */ + # endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/OriginClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/OriginClass.cs new file mode 100644 index 00000000..988cca73 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/OriginClass.cs @@ -0,0 +1,153 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems +{ + /// coordinates of the origin position of a coordinate system.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OriginClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579107743274_159386_163610"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579107743274_159386_163610"; + /// Constant value for + public const string SUMMARY = @" coordinates of the origin position of a coordinate system. +"; + /// Constant value for + public const string NAME = "Origin"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new OriginClassProperties Properties { get; } = new OriginClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class OriginClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// The value of Origin in MILLIMETER_3D.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" The value of {{block(Origin)}} in `MILLIMETER_3D`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/RotationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/RotationClass.cs new file mode 100644 index 00000000..a4c0d277 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/RotationClass.cs @@ -0,0 +1,154 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems +{ + /// rotations about X, Y, and Z axes are expressed in A, B, and C respectively within a 3-dimensional vector.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RotationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1583182385473_997250_4783"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1583182385473_997250_4783"; + /// Constant value for + public const string SUMMARY = @" rotations about X, Y, and Z axes are expressed in A, B, and C respectively within a 3-dimensional vector. + +"; + /// Constant value for + public const string NAME = "Rotation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new RotationClassProperties Properties { get; } = new RotationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class RotationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// The value of Rotation in DEGREE_3D.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" The value of {{block(Rotation)}} in `DEGREE_3D`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/TransformationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/TransformationClass.cs new file mode 100644 index 00000000..b422c41c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/TransformationClass.cs @@ -0,0 +1,233 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems +{ + /// process of transforming to the origin position of the coordinate system from a parent coordinate system using Translation and Rotation.


Description

At a minimum, a Translation or a Rotation MUST be defined for a Transformation.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransformationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579103900791_417826_16362"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579103900791_417826_16362"; + /// Constant value for + public const string SUMMARY = @" process of transforming to the origin position of the coordinate system from a parent coordinate system using {{block(Translation)}} and {{block(Rotation)}}. + Description At a minimum, a {{block(Translation)}} or a {{block(Rotation)}} **MUST** be defined for a {{block(Transformation)}}. +"; + /// Constant value for + public const string NAME = "Transformation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new TransformationClassProperties Properties { get; } = new TransformationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class TransformationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + HasTranslationPart, + HasRotationPart, + }; + /// + ///
+ /// Original Name: HasTranslation + ///
+ public HasTranslationPartProperty HasTranslationPart { get; } = new HasTranslationPartProperty(); + + ///  + /// + public sealed class HasTranslationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasTranslation"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Translation"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TranslationClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems.TranslationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasRotation + ///
+ public HasRotationPartProperty HasRotationPart { get; } = new HasRotationPartProperty(); + + ///  + /// + public sealed class HasRotationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasRotation"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Rotation"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RotationClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems.RotationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + # region Rules + /// + /// Transform + /// + /// Specification Language: Unspecified + public string Transform => @"hasTranslation->size() + hasRotation->size() = 1 and hasTranslation->size() + hasRotation->size() <> 0 "; + /* + hasTranslation->size() + hasRotation->size() = 1 and hasTranslation->size() + hasRotation->size() <> 0 + */ + # endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/TranslationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/TranslationClass.cs new file mode 100644 index 00000000..208ff37e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CoordinateSystems/TranslationClass.cs @@ -0,0 +1,153 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems +{ + /// translations along X, Y, and Z axes are expressed as x,y, and z respectively within a 3-dimensional vector.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TranslationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1583182362743_846297_4736"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1583182362743_846297_4736"; + /// Constant value for + public const string SUMMARY = @" translations along X, Y, and Z axes are expressed as x,y, and z respectively within a 3-dimensional vector. +"; + /// Constant value for + public const string NAME = "Translation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new TranslationClassProperties Properties { get; } = new TranslationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class TranslationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// The value of Translation in MILLIMETER_3D.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" The value of {{block(Translation)}} in `MILLIMETER_3D`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItem/CuttingItemClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItem/CuttingItemClass.cs new file mode 100644 index 00000000..f2e30f9b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItem/CuttingItemClass.cs @@ -0,0 +1,808 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem +{ + /// part of of the tool that physically removes the material from the workpiece by shear deformation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingItemClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_99183806_F570_4387_BA6D_34929C20F954"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_99183806_F570_4387_BA6D_34929C20F954"; + /// Constant value for + public const string SUMMARY = @" part of of the tool that physically removes the material from the workpiece by shear deformation. +"; + /// Constant value for + public const string NAME = "CuttingItem"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new CuttingItemClassProperties Properties { get; } = new CuttingItemClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class CuttingItemClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Description, + Grade, + Indices, + ItemId, + Locus, + Manufacturers, + ProgramToolGroup, + HasCutterStatusPart, + HasItemLifePart, + HasMeasurementPart, + }; + /// + ///
+ /// Original Name: Description + ///
+ public DescriptionProperty Description { get; } = new DescriptionProperty(); + + /// free-form description of the cutting item.


+ ///
+ public sealed class DescriptionProperty : IProperty + { + /// Constant value for + public const string NAME = "Description"; + /// Constant value for + public const string SUMMARY = @" free-form description of the cutting item. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Grade + ///
+ public GradeProperty Grade { get; } = new GradeProperty(); + + /// material composition for this cutting item.



+ ///
+ public sealed class GradeProperty : IProperty + { + /// Constant value for + public const string NAME = "grade"; + /// Constant value for + public const string SUMMARY = @" material composition for this cutting item. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Indices + ///
+ public IndicesProperty Indices { get; } = new IndicesProperty(); + + /// number or numbers representing the individual cutting item or items on the tool.


Indices SHOULD start numbering with the inserts or CuttingItem furthest from the gauge line and increasing in value as the items get closer to the gauge line. Items at the same distance MAY be arbitrarily numbered.

> Note: In XML, the representation MUST be a single number ("1") or a comma separated set of individual elements ("1,2,3,4"), or as a inclusive range of values as in ("1-10") or any combination of ranges and numbers as in "1-4,6-10,22". There MUST NOT be spaces or non-integer values in the text representation.


+ ///
+ public sealed class IndicesProperty : IProperty + { + /// Constant value for + public const string NAME = "indices"; + /// Constant value for + public const string SUMMARY = @" number or numbers representing the individual cutting item or items on the tool. + +Indices **SHOULD** start numbering with the inserts or {{block(CuttingItem)}} furthest from the gauge line and increasing in value as the items get closer to the gauge line. Items at the same distance **MAY** be arbitrarily numbered. + +> Note: In {{term(XML)}}, the representation **MUST** be a single number (""1"") or a comma separated set of individual elements (""1,2,3,4""), or as a inclusive range of values as in (""1-10"") or any combination of ranges and numbers as in ""1-4,6-10,22"". There **MUST NOT** be spaces or non-integer values in the text representation. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ItemId + ///
+ public ItemIdProperty ItemId { get; } = new ItemIdProperty(); + + /// manufacturer identifier of this cutting item.


+ ///
+ public sealed class ItemIdProperty : IProperty + { + /// Constant value for + public const string NAME = "itemId"; + /// Constant value for + public const string SUMMARY = @" manufacturer identifier of this cutting item. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Locus + ///
+ public LocusProperty Locus { get; } = new LocusProperty(); + + /// free form description of the location on the cutting tool.

For clarity, the words FLUTE, INSERT, and CARTRIDGE SHOULD be used to assist in noting the location of a CuttingItem. Locus in CuttingItem MAY be any free form string, but SHOULD adhere to the following rules:

* The location numbering SHOULD start at the furthest CuttingItem and work it’s way back to the CuttingItem closest to the gauge line.

* Flutes SHOULD be identified as such using the word FLUTE:. For example: FLUTE: 1, INSERT: 2 - would indicate the first flute and the second furthest insert from the end of the tool on that flute.

* Other designations such as CARTRIDGE MAY be included, but should be identified using upper case and followed by a colon (:).


+ ///
+ public sealed class LocusProperty : IProperty + { + /// Constant value for + public const string NAME = "Locus"; + /// Constant value for + public const string SUMMARY = @" free form description of the location on the cutting tool. + +For clarity, the words `FLUTE`, `INSERT`, and `CARTRIDGE` **SHOULD** be used to assist in noting the location of a {{block(CuttingItem)}}. {{property(CuttingItem::Locus)}} **MAY** be any free form string, but **SHOULD** adhere to the following rules: + +* The location numbering **SHOULD** start at the furthest {{block(CuttingItem)}} and work it’s way back to the {{block(CuttingItem)}} closest to the gauge line. + +* Flutes **SHOULD** be identified as such using the word `FLUTE`:. For example: `FLUTE`: 1, `INSERT`: 2 - would indicate the first flute and the second furthest insert from the end of the tool on that flute. + +* Other designations such as `CARTRIDGE` **MAY** be included, but should be identified using upper case and followed by a colon (:). +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Manufacturers + ///
+ public ManufacturersProperty Manufacturers { get; } = new ManufacturersProperty(); + + /// manufacturers of the cutting item.

This will reference the tool item and adaptive items specifically. The cutting items
manufacturers’ will be a property of CuttingItem.

> Note: In XML, the representation MUST be a comma(,) delimited list of manufacturer names. See CuttingItem Schema Diagrams.


+ ///
+ public sealed class ManufacturersProperty : IProperty + { + /// Constant value for + public const string NAME = "manufacturers"; + /// Constant value for + public const string SUMMARY = @" manufacturers of the cutting item. + +This will reference the tool item and adaptive items specifically. The cutting items +manufacturers’ will be a property of {{block(CuttingItem)}}. + +> Note: In {{term(XML)}}, the representation **MUST** be a comma(,) delimited list of manufacturer names. See {{sect(CuttingItem Schema Diagrams)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ProgramToolGroup + ///
+ public ProgramToolGroupProperty ProgramToolGroup { get; } = new ProgramToolGroupProperty(); + + /// tool group this item is assigned in the part program.


+ ///
+ public sealed class ProgramToolGroupProperty : IProperty + { + /// Constant value for + public const string NAME = "ProgramToolGroup"; + /// Constant value for + public const string SUMMARY = @" tool group this item is assigned in the part program. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCutterStatus + ///
+ public HasCutterStatusPartProperty HasCutterStatusPart { get; } = new HasCutterStatusPartProperty(); + + ///  + /// + public sealed class HasCutterStatusPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCutterStatus"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "CutterStatus"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: StatusClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.StatusClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasItemLife + ///
+ public HasItemLifePartProperty HasItemLifePart { get; } = new HasItemLifePartProperty(); + + /// The tool life measured in tool wear.


+ ///
+ public sealed class HasItemLifePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasItemLife"; + /// Constant value for + public const string SUMMARY = @" The tool life measured in tool wear. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "ItemLife"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ItemLifeClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.ItemLifeClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasMeasurement + ///
+ public HasMeasurementPartProperty HasMeasurementPart { get; } = new HasMeasurementPartProperty(); + + /// A collection of measurements relating to this cutting item.


+ ///
+ public sealed class HasMeasurementPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasMeasurement"; + /// Constant value for + public const string SUMMARY = @" A collection of measurements relating to this cutting item. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Measurements"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MeasurementClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItem/ItemLifeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItem/ItemLifeClass.cs new file mode 100644 index 00000000..47c39607 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItem/ItemLifeClass.cs @@ -0,0 +1,508 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem +{ + /// life of a CuttingItem.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ItemLifeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_CC4F8633_BAAC_47e8_9EFB_2BFC62215FC8"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_CC4F8633_BAAC_47e8_9EFB_2BFC62215FC8"; + /// Constant value for + public const string SUMMARY = @" life of a {{block(CuttingItem)}}. +"; + /// Constant value for + public const string NAME = "ItemLife"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ItemLifeClassProperties Properties { get; } = new ItemLifeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ItemLifeClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + CountDirection, + Initial, + Limit, + Type, + Warning, + Value, + }; + /// + ///
+ /// Original Name: CountDirection + ///
+ public CountDirectionProperty CountDirection { get; } = new CountDirectionProperty(); + + /// indicates if the item life counts from zero to maximum or maximum to zero.


+ ///
+ public sealed class CountDirectionProperty : IProperty + { + /// Constant value for + public const string NAME = "countDirection"; + /// Constant value for + public const string SUMMARY = @" indicates if the item life counts from zero to maximum or maximum to zero. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CountDirectionTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CountDirectionTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Initial + ///
+ public InitialProperty Initial { get; } = new InitialProperty(); + + /// initial life of the item when it is new.


+ ///
+ public sealed class InitialProperty : IProperty + { + /// Constant value for + public const string NAME = "initial"; + /// Constant value for + public const string SUMMARY = @" initial life of the item when it is new. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Limit + ///
+ public LimitProperty Limit { get; } = new LimitProperty(); + + /// end of life limit for this item.


+ ///
+ public sealed class LimitProperty : IProperty + { + /// Constant value for + public const string NAME = "limit"; + /// Constant value for + public const string SUMMARY = @" end of life limit for this item. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// type of item life being accumulated.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" type of item life being accumulated. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ToolLifeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ToolLifeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Warning + ///
+ public WarningProperty Warning { get; } = new WarningProperty(); + + /// point at which a item life warning will be raised.



+ ///
+ public sealed class WarningProperty : IProperty + { + /// Constant value for + public const string NAME = "warning"; + /// Constant value for + public const string SUMMARY = @" point at which a item life warning will be raised. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// value of ItemLife.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" value of {{block(ItemLife)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ChamferFlatLengthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ChamferFlatLengthClass.cs new file mode 100644 index 00000000..0be4e272 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ChamferFlatLengthClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// flat length of a chamfer.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChamferFlatLengthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119552_156074_1492"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119552_156074_1492"; + /// Constant value for + public const string SUMMARY = @" flat length of a chamfer. +"; + /// Constant value for + public const string NAME = "ChamferFlatLength"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new ChamferFlatLengthClassProperties Properties { get; } = new ChamferFlatLengthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChamferFlatLengthClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BCH"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ChamferWidthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ChamferWidthClass.cs new file mode 100644 index 00000000..f28cb9b0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ChamferWidthClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// width of the chamfer.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChamferWidthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119553_748475_1495"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119553_748475_1495"; + /// Constant value for + public const string SUMMARY = @" width of the chamfer. +"; + /// Constant value for + public const string NAME = "ChamferWidth"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new ChamferWidthClassProperties Properties { get; } = new ChamferWidthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChamferWidthClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CHW"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CornerRadiusClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CornerRadiusClass.cs new file mode 100644 index 00000000..6c13a1e1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CornerRadiusClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// nominal radius of a rounded corner measured in the X Y-plane.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CornerRadiusClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119550_987439_1489"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119550_987439_1489"; + /// Constant value for + public const string SUMMARY = @" nominal radius of a rounded corner measured in the X Y-plane. +"; + /// Constant value for + public const string NAME = "CornerRadius"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new CornerRadiusClassProperties Properties { get; } = new CornerRadiusClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CornerRadiusClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RE"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingDiameterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingDiameterClass.cs new file mode 100644 index 00000000..3072df80 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingDiameterClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// diameter of a circle on which the defined point Pk located on this cutting tool.

The normal of the machined peripheral surface points towards the axis of the cutting tool.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingDiameterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119546_393506_1483"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119546_393506_1483"; + /// Constant value for + public const string SUMMARY = @" diameter of a circle on which the defined point Pk located on this cutting tool. + +The normal of the machined peripheral surface points towards the axis of the cutting tool. +"; + /// Constant value for + public const string NAME = "CuttingDiameter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new CuttingDiameterClassProperties Properties { get; } = new CuttingDiameterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CuttingDiameterClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DCx"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingEdgeLengthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingEdgeLengthClass.cs new file mode 100644 index 00000000..87e59d0b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingEdgeLengthClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// theoretical length of the cutting edge of a cutting item over sharp corners.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingEdgeLengthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119523_979361_1447"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119523_979361_1447"; + /// Constant value for + public const string SUMMARY = @" theoretical length of the cutting edge of a cutting item over sharp corners. +"; + /// Constant value for + public const string NAME = "CuttingEdgeLength"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new CuttingEdgeLengthClassProperties Properties { get; } = new CuttingEdgeLengthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CuttingEdgeLengthClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "L"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingHeightClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingHeightClass.cs new file mode 100644 index 00000000..7f582d0f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingHeightClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// distance from the basal plane of the tool item to the cutting point.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingHeightClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119549_27755_1486"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119549_27755_1486"; + /// Constant value for + public const string SUMMARY = @" distance from the basal plane of the tool item to the cutting point. +"; + /// Constant value for + public const string NAME = "CuttingHeight"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new CuttingHeightClassProperties Properties { get; } = new CuttingHeightClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CuttingHeightClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "HF"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingReferencePointClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingReferencePointClass.cs new file mode 100644 index 00000000..9d01de2d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/CuttingReferencePointClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// theoretical sharp point of the cutting tool from which the major functional dimensions are taken.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingReferencePointClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119521_500277_1444"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119521_500277_1444"; + /// Constant value for + public const string SUMMARY = @" theoretical sharp point of the cutting tool from which the major functional dimensions are taken. +"; + /// Constant value for + public const string NAME = "CuttingReferencePoint"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new CuttingReferencePointClassProperties Properties { get; } = new CuttingReferencePointClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CuttingReferencePointClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CRP"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/DriveAngleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/DriveAngleClass.cs new file mode 100644 index 00000000..1086027b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/DriveAngleClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// angle between the driving mechanism locator on a tool item and the main cutting edge.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DriveAngleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119525_506701_1450"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119525_506701_1450"; + /// Constant value for + public const string SUMMARY = @" angle between the driving mechanism locator on a tool item and the main cutting edge. +"; + /// Constant value for + public const string NAME = "DriveAngle"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new DriveAngleClassProperties Properties { get; } = new DriveAngleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DriveAngleClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DRVA"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/FlangeDiameterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/FlangeDiameterClass.cs new file mode 100644 index 00000000..a6953b69 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/FlangeDiameterClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// dimension between two parallel tangents on the outside edge of a flange.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FlangeDiameterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119527_9972_1453"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119527_9972_1453"; + /// Constant value for + public const string SUMMARY = @" dimension between two parallel tangents on the outside edge of a flange. +"; + /// Constant value for + public const string NAME = "FlangeDiameter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new FlangeDiameterClassProperties Properties { get; } = new FlangeDiameterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FlangeDiameterClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DF"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/FunctionalLengthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/FunctionalLengthClass.cs new file mode 100644 index 00000000..a7e4b8e6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/FunctionalLengthClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// distance from the gauge plane or from the end of the shank of the cutting tool, if a gauge plane does not exist, to the cutting reference point determined by the main function of the tool.

This measurement will be with reference to the cutting tool and MUST NOT exist without a cutting tool.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FunctionalLengthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582928842699_357161_1774"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582928842699_357161_1774"; + /// Constant value for + public const string SUMMARY = @" distance from the gauge plane or from the end of the shank of the cutting tool, if a gauge plane does not exist, to the cutting reference point determined by the main function of the tool. + +This measurement will be with reference to the cutting tool and **MUST NOT** exist without a cutting tool. +"; + /// Constant value for + public const string NAME = "FunctionalLength"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new FunctionalLengthClassProperties Properties { get; } = new FunctionalLengthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FunctionalLengthClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LFx"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/FunctionalWidthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/FunctionalWidthClass.cs new file mode 100644 index 00000000..62fac311 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/FunctionalWidthClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// distance between the cutting reference point and the rear backing surface of a turning tool or the axis of a boring bar.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FunctionalWidthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119528_340813_1456"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119528_340813_1456"; + /// Constant value for + public const string SUMMARY = @" distance between the cutting reference point and the rear backing surface of a turning tool or the axis of a boring bar. +"; + /// Constant value for + public const string NAME = "FunctionalWidth"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new FunctionalWidthClassProperties Properties { get; } = new FunctionalWidthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FunctionalWidthClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WF"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/IncribedCircleDiameterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/IncribedCircleDiameterClass.cs new file mode 100644 index 00000000..ee11907f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/IncribedCircleDiameterClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// diameter of a circle to which all edges of a equilateral and round regular insert are tangential.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class IncribedCircleDiameterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119531_697760_1459"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119531_697760_1459"; + /// Constant value for + public const string SUMMARY = @" diameter of a circle to which all edges of a equilateral and round regular insert are tangential. +"; + /// Constant value for + public const string NAME = "IncribedCircleDiameter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new IncribedCircleDiameterClassProperties Properties { get; } = new IncribedCircleDiameterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class IncribedCircleDiameterClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "IC"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/InsertWidthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/InsertWidthClass.cs new file mode 100644 index 00000000..801b116e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/InsertWidthClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// W1 is used for the insert width when an inscribed circle diameter is not practical.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class InsertWidthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119555_438468_1498"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119555_438468_1498"; + /// Constant value for + public const string SUMMARY = @" W1 is used for the insert width when an inscribed circle diameter is not practical. +"; + /// Constant value for + public const string NAME = "InsertWidth"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new InsertWidthClassProperties Properties { get; } = new InsertWidthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class InsertWidthClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "W1"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/PointAngleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/PointAngleClass.cs new file mode 100644 index 00000000..b54c37fc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/PointAngleClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// angle between the major cutting edge and the same cutting edge rotated by 180 degrees about the tool axis.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PointAngleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119533_180185_1462"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119533_180185_1462"; + /// Constant value for + public const string SUMMARY = @" angle between the major cutting edge and the same cutting edge rotated by 180 degrees about the tool axis. +"; + /// Constant value for + public const string NAME = "PointAngle"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new PointAngleClassProperties Properties { get; } = new PointAngleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PointAngleClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SIG"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/StepDiameterLengthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/StepDiameterLengthClass.cs new file mode 100644 index 00000000..7a3fdb65 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/StepDiameterLengthClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// length of a portion of a stepped tool that is related to a corresponding cutting diameter measured from the cutting reference point of that cutting diameter to the point on the next cutting edge at which the diameter starts to change.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StepDiameterLengthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119542_8236_1477"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119542_8236_1477"; + /// Constant value for + public const string SUMMARY = @" length of a portion of a stepped tool that is related to a corresponding cutting diameter measured from the cutting reference point of that cutting diameter to the point on the next cutting edge at which the diameter starts to change. +"; + /// Constant value for + public const string NAME = "StepDiameterLength"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new StepDiameterLengthClassProperties Properties { get; } = new StepDiameterLengthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class StepDiameterLengthClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SDLx"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/StepIncludedAngleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/StepIncludedAngleClass.cs new file mode 100644 index 00000000..ebba3a41 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/StepIncludedAngleClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// angle between a major edge on a step of a stepped tool and the same cutting edge rotated 180 degrees about its tool axis.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StepIncludedAngleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119543_450680_1480"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119543_450680_1480"; + /// Constant value for + public const string SUMMARY = @" angle between a major edge on a step of a stepped tool and the same cutting edge rotated 180 degrees about its tool axis. +"; + /// Constant value for + public const string NAME = "StepIncludedAngle"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new StepIncludedAngleClassProperties Properties { get; } = new StepIncludedAngleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class StepIncludedAngleClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "STAx"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ToolCuttingEdgeAngleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ToolCuttingEdgeAngleClass.cs new file mode 100644 index 00000000..5aed7246 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ToolCuttingEdgeAngleClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// angle between the tool cutting edge plane and the tool feed plane measured in a plane parallel the xy-plane.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolCuttingEdgeAngleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119534_837993_1465"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119534_837993_1465"; + /// Constant value for + public const string SUMMARY = @" angle between the tool cutting edge plane and the tool feed plane measured in a plane parallel the xy-plane. +"; + /// Constant value for + public const string NAME = "ToolCuttingEdgeAngle"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new ToolCuttingEdgeAngleClassProperties Properties { get; } = new ToolCuttingEdgeAngleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolCuttingEdgeAngleClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "KAPR"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ToolLeadAngleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ToolLeadAngleClass.cs new file mode 100644 index 00000000..d630a187 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ToolLeadAngleClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// angle between the tool cutting edge plane and a plane perpendicular to the tool feed plane measured in a plane parallel the xy-plane.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolLeadAngleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119536_882157_1468"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119536_882157_1468"; + /// Constant value for + public const string SUMMARY = @" angle between the tool cutting edge plane and a plane perpendicular to the tool feed plane measured in a plane parallel the xy-plane. +"; + /// Constant value for + public const string NAME = "ToolLeadAngle"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new ToolLeadAngleClassProperties Properties { get; } = new ToolLeadAngleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolLeadAngleClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PSIR"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ToolOrientationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ToolOrientationClass.cs new file mode 100644 index 00000000..c8c3a5ee --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/ToolOrientationClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// angle of the tool with respect to the workpiece for a given process.

The value is application specific.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolOrientationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119537_707758_1471"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119537_707758_1471"; + /// Constant value for + public const string SUMMARY = @" angle of the tool with respect to the workpiece for a given process. + +The value is application specific. +"; + /// Constant value for + public const string NAME = "ToolOrientation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new ToolOrientationClassProperties Properties { get; } = new ToolOrientationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolOrientationClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "N/A"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/WeightClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/WeightClass.cs new file mode 100644 index 00000000..72489ae6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/WeightClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// total weight of the cutting tool in grams.

The force exerted by the mass of the cutting tool.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WeightClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119518_35850_1438"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119518_35850_1438"; + /// Constant value for + public const string SUMMARY = @" total weight of the cutting tool in grams. + +The force exerted by the mass of the cutting tool. +"; + /// Constant value for + public const string NAME = "Weight"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new WeightClassProperties Properties { get; } = new WeightClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WeightClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WT"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/WiperEdgeLengthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/WiperEdgeLengthClass.cs new file mode 100644 index 00000000..2ad44c3e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingItemMeasurementSubtypes/WiperEdgeLengthClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes +{ + /// measure of the length of a wiper edge of a cutting item.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WiperEdgeLengthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119539_165490_1474"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119539_165490_1474"; + /// Constant value for + public const string SUMMARY = @" measure of the length of a wiper edge of a cutting item. +"; + /// Constant value for + public const string NAME = "WiperEdgeLength"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new WiperEdgeLengthClassProperties Properties { get; } = new WiperEdgeLengthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WiperEdgeLengthClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BS"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolArchetypeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolArchetypeClass.cs new file mode 100644 index 00000000..88e6fc79 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolArchetypeClass.cs @@ -0,0 +1,445 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool +{ + /// Asset that describes the static cutting tool geometries and nominal values as one would expect from a tool catalog.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingToolArchetypeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_8D60D3F8_AB1A_490b_923B_B978248EF331"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_8D60D3F8_AB1A_490b_923B_B978248EF331"; + /// Constant value for + public const string SUMMARY = @" {{block(Asset)}} that describes the static cutting tool geometries and nominal values as one would expect from a tool catalog. +"; + /// Constant value for + public const string NAME = "CuttingToolArchetype"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C7D39183_23CB_416b_A62D_F60815E08B1A + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.AssetClass); + + /// + public new CuttingToolArchetypeClassProperties Properties { get; } = new CuttingToolArchetypeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CuttingToolArchetypeClassProperties : Mtconnect.AssetInformationModel.AssetClass.AssetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Manufacturers, + SerialNumber, + ToolId, + HasCuttingToolDefinitionPart, + HasCuttingToolLifeCyclePart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Manufacturers + ///
+ public new ManufacturersProperty Manufacturers { get; } = new ManufacturersProperty(); + + /// manufacturers of the cutting tool.

This will reference the tool item and adaptive items specifically. The cutting items
manufacturers’ will be a property of CuttingItem.

> Note: In XML, the representation will be a comma(,) delimited list of manufacturer names. See CuttingTool Schema Diagrams.


+ ///
+ public new sealed class ManufacturersProperty : IProperty + { + /// Constant value for + public const string NAME = "manufacturers"; + /// Constant value for + public const string SUMMARY = @" manufacturers of the cutting tool. + +This will reference the tool item and adaptive items specifically. The cutting items +manufacturers’ will be a property of {{block(CuttingItem)}}. + +> Note: In {{term(XML)}}, the representation will be a comma(,) delimited list of manufacturer names. See {{sect(CuttingTool Schema Diagrams)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SerialNumber + ///
+ public new SerialNumberProperty SerialNumber { get; } = new SerialNumberProperty(); + + /// unique identifier for this assembly.


+ ///
+ public new sealed class SerialNumberProperty : IProperty + { + /// Constant value for + public const string NAME = "serialNumber"; + /// Constant value for + public const string SUMMARY = @" unique identifier for this assembly. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ToolId + ///
+ public new ToolIdProperty ToolId { get; } = new ToolIdProperty(); + + /// identifier for a class of cutting tools.


+ ///
+ public new sealed class ToolIdProperty : IProperty + { + /// Constant value for + public const string NAME = "toolId"; + /// Constant value for + public const string SUMMARY = @" identifier for a class of cutting tools. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCuttingToolDefinition + ///
+ public new HasCuttingToolDefinitionPartProperty HasCuttingToolDefinitionPart { get; } = new HasCuttingToolDefinitionPartProperty(); + + ///  + /// + public new sealed class HasCuttingToolDefinitionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCuttingToolDefinition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "CuttingToolDefinition"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CuttingToolDefinitionClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolDefinitionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCuttingToolLifeCycle + ///
+ public new HasCuttingToolLifeCyclePartProperty HasCuttingToolLifeCyclePart { get; } = new HasCuttingToolLifeCyclePartProperty(); + + ///  + /// + public new sealed class HasCuttingToolLifeCyclePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCuttingToolLifeCycle"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "CuttingToolLifeCycle"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CuttingToolLifeCycleClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.CuttingToolLifeCycleClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolArchetypeReferenceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolArchetypeReferenceClass.cs new file mode 100644 index 00000000..b48d4817 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolArchetypeReferenceClass.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.CuttingTool +{ + /// reference information about the assetId in Asset and/or the URL of the data source of CuttingToolArchetype.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingToolArchetypeReferenceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_D4CAAB4A_DE00_489d_ACCA_F00FC7296F0C"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_D4CAAB4A_DE00_489d_ACCA_F00FC7296F0C"; + /// Constant value for + public const string SUMMARY = @" reference information about the {{property(Asset::assetId)}} and/or the URL of the data source of {{block(CuttingToolArchetype)}}. +"; + /// Constant value for + public const string NAME = "CuttingToolArchetypeReference"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new CuttingToolArchetypeReferenceClassProperties Properties { get; } = new CuttingToolArchetypeReferenceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class CuttingToolArchetypeReferenceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Source, + Value, + }; + /// + ///
+ /// Original Name: Source + ///
+ public SourceProperty Source { get; } = new SourceProperty(); + + /// URL of the CuttingToolArchetype information model.



+ ///
+ public sealed class SourceProperty : IProperty + { + /// Constant value for + public const string NAME = "source"; + /// Constant value for + public const string SUMMARY = @" {{term(URL)}} of the {{block(CuttingToolArchetype)}} {{term(information model)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// assetId of the related CuttingToolArchetype.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" `assetId` of the related {{block(CuttingToolArchetype)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolClass.cs new file mode 100644 index 00000000..fc637584 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolClass.cs @@ -0,0 +1,516 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool +{ + /// Asset that physically removes the material from the workpiece by shear deformation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingToolClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_614061EF_1D50_4989_A935_02492044833A"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_614061EF_1D50_4989_A935_02492044833A"; + /// Constant value for + public const string SUMMARY = @" {{block(Asset)}} that physically removes the material from the workpiece by shear deformation. +"; + /// Constant value for + public const string NAME = "CuttingTool"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C7D39183_23CB_416b_A62D_F60815E08B1A + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.AssetClass); + + /// + public new CuttingToolClassProperties Properties { get; } = new CuttingToolClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CuttingToolClassProperties : Mtconnect.AssetInformationModel.AssetClass.AssetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Manufacturers, + SerialNumber, + ToolId, + HasCuttingToolLifeCyclePart, + HasCuttingToolArchetypeReferencePart, + HasCuttingToolDefinitionPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Manufacturers + ///
+ public new ManufacturersProperty Manufacturers { get; } = new ManufacturersProperty(); + + /// manufacturers of the cutting tool.

This will reference the tool item and adaptive items specifically. The cutting items
manufacturers’ will be a property of CuttingItem.

> Note: In XML, the representation MUST be a comma(,) delimited list of manufacturer names. See CuttingTool Schema Diagrams.


+ ///
+ public new sealed class ManufacturersProperty : IProperty + { + /// Constant value for + public const string NAME = "manufacturers"; + /// Constant value for + public const string SUMMARY = @" manufacturers of the cutting tool. + +This will reference the tool item and adaptive items specifically. The cutting items +manufacturers’ will be a property of {{block(CuttingItem)}}. + +> Note: In {{term(XML)}}, the representation **MUST** be a comma(,) delimited list of manufacturer names. See {{sect(CuttingTool Schema Diagrams)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SerialNumber + ///
+ public new SerialNumberProperty SerialNumber { get; } = new SerialNumberProperty(); + + /// unique identifier for this assembly.


+ ///
+ public new sealed class SerialNumberProperty : IProperty + { + /// Constant value for + public const string NAME = "serialNumber"; + /// Constant value for + public const string SUMMARY = @" unique identifier for this assembly. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ToolId + ///
+ public new ToolIdProperty ToolId { get; } = new ToolIdProperty(); + + /// identifier for a class of cutting tools.


+ ///
+ public new sealed class ToolIdProperty : IProperty + { + /// Constant value for + public const string NAME = "toolId"; + /// Constant value for + public const string SUMMARY = @" identifier for a class of cutting tools. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCuttingToolLifeCycle + ///
+ public new HasCuttingToolLifeCyclePartProperty HasCuttingToolLifeCyclePart { get; } = new HasCuttingToolLifeCyclePartProperty(); + + ///  + /// + public new sealed class HasCuttingToolLifeCyclePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCuttingToolLifeCycle"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "CuttingToolLifeCycle"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CuttingToolLifeCycleClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.CuttingToolLifeCycleClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCuttingToolArchetypeReference + ///
+ public new HasCuttingToolArchetypeReferencePartProperty HasCuttingToolArchetypeReferencePart { get; } = new HasCuttingToolArchetypeReferencePartProperty(); + + ///  + /// + public new sealed class HasCuttingToolArchetypeReferencePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCuttingToolArchetypeReference"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "CuttingToolArchetypeReference"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CuttingToolArchetypeReferenceClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolArchetypeReferenceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCuttingToolDefinition + ///
+ public new HasCuttingToolDefinitionPartProperty HasCuttingToolDefinitionPart { get; } = new HasCuttingToolDefinitionPartProperty(); + + /// 


+ ///
+ public new sealed class HasCuttingToolDefinitionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCuttingToolDefinition"; + /// Constant value for + public const string SUMMARY = @" +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "CuttingToolDefinition"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CuttingToolDefinitionClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolDefinitionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolDefinitionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolDefinitionClass.cs new file mode 100644 index 00000000..0cfadfdb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingTool/CuttingToolDefinitionClass.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.CuttingTool +{ + /// detailed structure of the cutting tool which is static during its lifecycle. ISO 13399.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingToolDefinitionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_37B8CFD0_D728_4841_9A07_B6CF819EC895"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_37B8CFD0_D728_4841_9A07_B6CF819EC895"; + /// Constant value for + public const string SUMMARY = @" detailed structure of the cutting tool which is static during its lifecycle. {{cite(ISO 13399)}}. +"; + /// Constant value for + public const string NAME = "CuttingToolDefinition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new CuttingToolDefinitionClassProperties Properties { get; } = new CuttingToolDefinitionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class CuttingToolDefinitionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Format, + Value, + }; + /// + ///
+ /// Original Name: Format + ///
+ public FormatProperty Format { get; } = new FormatProperty(); + + /// identifies the expected representation of the enclosed data.


+ ///
+ public sealed class FormatProperty : IProperty + { + /// Constant value for + public const string NAME = "format"; + /// Constant value for + public const string SUMMARY = @" identifies the expected representation of the enclosed data. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "XML"; + + /// + /// + /// Type: FormatTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.FormatTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// text of the CuttingToolDefinition in format defined by format in CuttingToolDefinition.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" text of the {{block(CuttingToolDefinition)}} in format defined by {{property(CuttingToolDefinition::format)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/CuttingToolLifeCycleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/CuttingToolLifeCycleClass.cs new file mode 100644 index 00000000..4ee3a15b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/CuttingToolLifeCycleClass.cs @@ -0,0 +1,857 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle +{ + /// data regarding the application or use of the tool.

This data is provided by various pieces of equipment (i.e. machine tool, presetter) and statistical process control applications. Life cycle data will not remain static, but will change periodically when a tool is used or measured.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingToolLifeCycleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_D1C82EBD_D828_4e5f_9F46_3337710837FE"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_D1C82EBD_D828_4e5f_9F46_3337710837FE"; + /// Constant value for + public const string SUMMARY = @" data regarding the application or use of the tool. + +This data is provided by various pieces of equipment (i.e. machine tool, presetter) and statistical process control applications. Life cycle data will not remain static, but will change periodically when a tool is used or measured. +"; + /// Constant value for + public const string NAME = "CuttingToolLifeCycle"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new CuttingToolLifeCycleClassProperties Properties { get; } = new CuttingToolLifeCycleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class CuttingToolLifeCycleClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + ConnectionCodeMachineSide, + ProgramToolGroup, + ProgramToolNumber, + HasProcessFeedRatePart, + HasToolLifePart, + HasProcessSpindleSpeedPart, + HasCutterStatusPart, + HasCuttingItemPart, + HasMeasurementPart, + HasReconditionCountPart, + HasLocationPart, + }; + /// + ///
+ /// Original Name: ConnectionCodeMachineSide + ///
+ public ConnectionCodeMachineSideProperty ConnectionCodeMachineSide { get; } = new ConnectionCodeMachineSideProperty(); + + /// identifier for the capability to connect any component of the cutting tool together, except Assembly Items, on the machine side. Code: CCMS


+ ///
+ public sealed class ConnectionCodeMachineSideProperty : IProperty + { + /// Constant value for + public const string NAME = "ConnectionCodeMachineSide"; + /// Constant value for + public const string SUMMARY = @" identifier for the capability to connect any component of the cutting tool together, except Assembly Items, on the machine side. Code: `CCMS` +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ProgramToolGroup + ///
+ public ProgramToolGroupProperty ProgramToolGroup { get; } = new ProgramToolGroupProperty(); + + /// tool group this tool is assigned in the part program.


+ ///
+ public sealed class ProgramToolGroupProperty : IProperty + { + /// Constant value for + public const string NAME = "ProgramToolGroup"; + /// Constant value for + public const string SUMMARY = @" tool group this tool is assigned in the part program. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ProgramToolNumber + ///
+ public ProgramToolNumberProperty ProgramToolNumber { get; } = new ProgramToolNumberProperty(); + + /// number of the tool as referenced in the part program.


+ ///
+ public sealed class ProgramToolNumberProperty : IProperty + { + /// Constant value for + public const string NAME = "ProgramToolNumber"; + /// Constant value for + public const string SUMMARY = @" number of the tool as referenced in the part program. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasProcessFeedRate + ///
+ public HasProcessFeedRatePartProperty HasProcessFeedRatePart { get; } = new HasProcessFeedRatePartProperty(); + + ///  + /// + public sealed class HasProcessFeedRatePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasProcessFeedRate"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "ProcessFeedRate"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProcessFeedRateClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.ProcessFeedRateClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasToolLife + ///
+ public HasToolLifePartProperty HasToolLifePart { get; } = new HasToolLifePartProperty(); + + ///  + /// + public sealed class HasToolLifePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasToolLife"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "ToolLife"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ToolLifeClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.ToolLifeClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasProcessSpindleSpeed + ///
+ public HasProcessSpindleSpeedPartProperty HasProcessSpindleSpeedPart { get; } = new HasProcessSpindleSpeedPartProperty(); + + ///  + /// + public sealed class HasProcessSpindleSpeedPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasProcessSpindleSpeed"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "ProcessSpindleSpeed"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProcessSpindleSpeedClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.ProcessSpindleSpeedClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCutterStatus + ///
+ public HasCutterStatusPartProperty HasCutterStatusPart { get; } = new HasCutterStatusPartProperty(); + + ///  + /// + public sealed class HasCutterStatusPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCutterStatus"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "CutterStatus"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: StatusClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.StatusClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCuttingItem + ///
+ public HasCuttingItemPartProperty HasCuttingItemPart { get; } = new HasCuttingItemPartProperty(); + + ///  + /// + public sealed class HasCuttingItemPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCuttingItem"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "CuttingItemsClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CuttingItemClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasMeasurement + ///
+ public HasMeasurementPartProperty HasMeasurementPart { get; } = new HasMeasurementPartProperty(); + + ///  + /// + public sealed class HasMeasurementPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasMeasurement"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Measurements"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MeasurementClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasReconditionCount + ///
+ public HasReconditionCountPartProperty HasReconditionCountPart { get; } = new HasReconditionCountPartProperty(); + + ///  + /// + public sealed class HasReconditionCountPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasReconditionCount"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "ReconditionCount"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ReconditionCountClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.ReconditionCountClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasLocation + ///
+ public HasLocationPartProperty HasLocationPart { get; } = new HasLocationPartProperty(); + + ///  + /// + public sealed class HasLocationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasLocation"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Location"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LocationClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.LocationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/LocationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/LocationClass.cs new file mode 100644 index 00000000..2ef1cdc6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/LocationClass.cs @@ -0,0 +1,727 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle +{ + /// location of the pot or spindle the cutting tool currently resides in.

If negativeOverlap in Location or positiveOverlap in Location is provided, the tool reserves additional locations on either side, otherwise if they are not given, no additional locations are required for this tool.

If the pot occupies the first or last location, a rollover to the beginning or the end of the indexable values may occur. For example, if there are 64 pots and the tool is in pot 64 with a positiveOverlap in Location of 1, the first pot MAY be occupied as well.


Description

Location MUST be defined only for the CuttingToolLifeCycle of CuttingTool and MUST NOT be defined for the CuttingToolLifeCycle of CuttingToolArchetype.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LocationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_A012A42B_DBEC_4334_891D_5B45D7A7E340"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_A012A42B_DBEC_4334_891D_5B45D7A7E340"; + /// Constant value for + public const string SUMMARY = @" location of the pot or spindle the cutting tool currently resides in. + +If {{property(Location::negativeOverlap)}} or {{property(Location::positiveOverlap)}} is provided, the tool reserves additional locations on either side, otherwise if they are not given, no additional locations are required for this tool. + +If the pot occupies the first or last location, a rollover to the beginning or the end of the indexable values may occur. For example, if there are 64 pots and the tool is in pot 64 with a {{property(Location::positiveOverlap)}} of 1, the first pot **MAY** be occupied as well. + Description {{block(Location)}} **MUST** be defined only for the {{block(CuttingToolLifeCycle)}} of {{block(CuttingTool)}} and **MUST NOT** be defined for the {{block(CuttingToolLifeCycle)}} of {{block(CuttingToolArchetype)}}. +"; + /// Constant value for + public const string NAME = "Location"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new LocationClassProperties Properties { get; } = new LocationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class LocationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + NegativeOverlap, + PositiveOverlap, + Type, + Turret, + ToolMagazine, + ToolBar, + ToolRack, + AutomaticToolChanger, + Value, + }; + /// + ///
+ /// Original Name: NegativeOverlap + ///
+ public NegativeOverlapProperty NegativeOverlap { get; } = new NegativeOverlapProperty(); + + /// number of locations at lower index values from this location.


+ ///
+ public sealed class NegativeOverlapProperty : IProperty + { + /// Constant value for + public const string NAME = "negativeOverlap"; + /// Constant value for + public const string SUMMARY = @" number of locations at lower index values from this location. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: PositiveOverlap + ///
+ public PositiveOverlapProperty PositiveOverlap { get; } = new PositiveOverlapProperty(); + + /// number of locations at higher index value from this location.



+ ///
+ public sealed class PositiveOverlapProperty : IProperty + { + /// Constant value for + public const string NAME = "positiveOverlap"; + /// Constant value for + public const string SUMMARY = @" number of locations at higher index value from this location. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// type of location being identified.

When a POT or STATION type is used, value in LocationMUST be a numeric value.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" type of location being identified. + +When a `POT` or `STATION` type is used, {{property(Location::value)}}**MUST** be a numeric value. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LocationTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.LocationTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Turret + ///
+ public TurretProperty Turret { get; } = new TurretProperty(); + + /// turret associated with a tool.


+ ///
+ public sealed class TurretProperty : IProperty + { + /// Constant value for + public const string NAME = "turret"; + /// Constant value for + public const string SUMMARY = @" turret associated with a tool. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ToolMagazine + ///
+ public ToolMagazineProperty ToolMagazine { get; } = new ToolMagazineProperty(); + + /// tool magazine associated with a tool.



+ ///
+ public sealed class ToolMagazineProperty : IProperty + { + /// Constant value for + public const string NAME = "toolMagazine"; + /// Constant value for + public const string SUMMARY = @" tool magazine associated with a tool. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ToolBar + ///
+ public ToolBarProperty ToolBar { get; } = new ToolBarProperty(); + + /// tool bar associated with a tool.


+ ///
+ public sealed class ToolBarProperty : IProperty + { + /// Constant value for + public const string NAME = "toolBar"; + /// Constant value for + public const string SUMMARY = @" tool bar associated with a tool. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ToolRack + ///
+ public ToolRackProperty ToolRack { get; } = new ToolRackProperty(); + + /// tool rack associated with a tool.


+ ///
+ public sealed class ToolRackProperty : IProperty + { + /// Constant value for + public const string NAME = "toolRack"; + /// Constant value for + public const string SUMMARY = @" tool rack associated with a tool. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: AutomaticToolChanger + ///
+ public AutomaticToolChangerProperty AutomaticToolChanger { get; } = new AutomaticToolChangerProperty(); + + /// automatic tool changer associated with a tool.


+ ///
+ public sealed class AutomaticToolChangerProperty : IProperty + { + /// Constant value for + public const string NAME = "automaticToolChanger"; + /// Constant value for + public const string SUMMARY = @" automatic tool changer associated with a tool. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/MeasurementClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/MeasurementClass.cs new file mode 100644 index 00000000..b851f8f7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/MeasurementClass.cs @@ -0,0 +1,654 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle +{ + /// constrained scalar value associated with a cutting tool.


Description

A Measurement is specific to the tool management policy at a particular shop. The tool zero reference point or gauge line will be different depending on the particular implementation and will be assumed to be consistent within the shop. MTConnect Standard does not standardize the manufacturing process or the definition of the zero point.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MeasurementClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_C09F377D_8946_421b_B746_E23C01D97EAC"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_C09F377D_8946_421b_B746_E23C01D97EAC"; + /// Constant value for + public const string SUMMARY = @" constrained scalar value associated with a cutting tool. + Description A {{block(Measurement)}} is specific to the tool management policy at a particular shop. The tool zero reference point or gauge line will be different depending on the particular implementation and will be assumed to be consistent within the shop. MTConnect Standard does not standardize the manufacturing process or the definition of the zero point. +"; + /// Constant value for + public const string NAME = "Measurement"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MeasurementClassProperties Properties { get; } = new MeasurementClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MeasurementClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Code, + Maximum, + Minimum, + NativeUnits, + Nominal, + SignificantDigits, + Units, + Value, + }; + /// + ///
+ /// Original Name: Code + ///
+ public CodeProperty Code { get; } = new CodeProperty(); + + /// shop specific code for the measurement.

ISO 13399 codes MAY be used for these codes as well.

See Cutting Tool Measurement Subtypes and Cutting Item Measurement Subtypes for details on Measurement types and their respective code in Measurement values.


+ ///
+ public sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @" shop specific code for the measurement. + +ISO 13399 codes **MAY** be used for these codes as well. + +See {{package(Cutting Tool Measurement Subtypes)}} and {{package(Cutting Item Measurement Subtypes)}} for details on {{block(Measurement)}} types and their respective {{property(Measurement::code)}} values. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Maximum + ///
+ public MaximumProperty Maximum { get; } = new MaximumProperty(); + + /// maximum value for the measurement.


+ ///
+ public sealed class MaximumProperty : IProperty + { + /// Constant value for + public const string NAME = "maximum"; + /// Constant value for + public const string SUMMARY = @" maximum value for the measurement. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Minimum + ///
+ public MinimumProperty Minimum { get; } = new MinimumProperty(); + + /// minimum value for the measurement.


+ ///
+ public sealed class MinimumProperty : IProperty + { + /// Constant value for + public const string NAME = "minimum"; + /// Constant value for + public const string SUMMARY = @" minimum value for the measurement. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NativeUnits + ///
+ public NativeUnitsProperty NativeUnits { get; } = new NativeUnitsProperty(); + + /// units the measurement was originally recorded in. See Device Information Model for the complete list of nativeUnits in DataItem.


+ ///
+ public sealed class NativeUnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "nativeUnits"; + /// Constant value for + public const string SUMMARY = @" units the measurement was originally recorded in. See {{package(Device Information Model)}} for the complete list of {{property(DataItem::nativeUnits)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: NativeUnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.NativeUnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Nominal + ///
+ public NominalProperty Nominal { get; } = new NominalProperty(); + + /// as advertised value for the measurement.



+ ///
+ public sealed class NominalProperty : IProperty + { + /// Constant value for + public const string NAME = "nominal"; + /// Constant value for + public const string SUMMARY = @" as advertised value for the measurement. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SignificantDigits + ///
+ public SignificantDigitsProperty SignificantDigits { get; } = new SignificantDigitsProperty(); + + /// number of significant digits in the reported value.


+ ///
+ public sealed class SignificantDigitsProperty : IProperty + { + /// Constant value for + public const string NAME = "significantDigits"; + /// Constant value for + public const string SUMMARY = @" number of significant digits in the reported value. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public UnitsProperty Units { get; } = new UnitsProperty(); + + /// units for the measurements. See Device Information Model for the complete list of units in DataItem.


+ ///
+ public sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @" units for the measurements. See {{package(Device Information Model)}} for the complete list of {{property(DataItem::units)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ProcessFeedRateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ProcessFeedRateClass.cs new file mode 100644 index 00000000..b984163a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ProcessFeedRateClass.cs @@ -0,0 +1,367 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle +{ + /// constrained process feed rate for the tool in mm/s.

The value in ProcessFeedRate MAY contain the nominal process target feed rate if available. If ProcessFeedRate is provided, at least one value of maximum in ProcessFeedRate, nominal in ProcessFeedRate, or minimum in ProcessFeedRate MUST be specified.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessFeedRateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_07E81F95_CE0D_4404_9384_30E428006C48"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_07E81F95_CE0D_4404_9384_30E428006C48"; + /// Constant value for + public const string SUMMARY = @" constrained process feed rate for the tool in mm/s. + +The {{property(ProcessFeedRate::value)}} **MAY** contain the nominal process target feed rate if available. If {{block(ProcessFeedRate)}} is provided, at least one value of {{property(ProcessFeedRate::maximum)}}, {{property(ProcessFeedRate::nominal)}}, or {{property(ProcessFeedRate::minimum)}} **MUST** be specified. +"; + /// Constant value for + public const string NAME = "ProcessFeedRate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ProcessFeedRateClassProperties Properties { get; } = new ProcessFeedRateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ProcessFeedRateClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Maximum, + Minimum, + Nominal, + Value, + }; + /// + ///
+ /// Original Name: Maximum + ///
+ public MaximumProperty Maximum { get; } = new MaximumProperty(); + + /// upper bound for the tool’s process target feedrate.


+ ///
+ public sealed class MaximumProperty : IProperty + { + /// Constant value for + public const string NAME = "maximum"; + /// Constant value for + public const string SUMMARY = @" upper bound for the tool’s process target feedrate. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Minimum + ///
+ public MinimumProperty Minimum { get; } = new MinimumProperty(); + + /// lower bound for the tool's feedrate.


+ ///
+ public sealed class MinimumProperty : IProperty + { + /// Constant value for + public const string NAME = "minimum"; + /// Constant value for + public const string SUMMARY = @" lower bound for the tool's feedrate. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Nominal + ///
+ public NominalProperty Nominal { get; } = new NominalProperty(); + + /// nominal feedrate the tool is designed to operate at.



+ ///
+ public sealed class NominalProperty : IProperty + { + /// Constant value for + public const string NAME = "nominal"; + /// Constant value for + public const string SUMMARY = @" nominal feedrate the tool is designed to operate at. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ProcessSpindleSpeedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ProcessSpindleSpeedClass.cs new file mode 100644 index 00000000..7cc1626f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ProcessSpindleSpeedClass.cs @@ -0,0 +1,367 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle +{ + /// constrained process spindle speed for the tool in revolutions/minute.


The value in ProcessSpindleSpeed MAY contain the nominal process target spindle speed if available. If ProcessSpindleSpeed is provided, at least one value of maximum in ProcessSpindleSpeed, nominal in ProcessSpindleSpeed, or minimum in ProcessSpindleSpeed MUST be specified.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessSpindleSpeedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_3B2E47CE_BBF6_4b7a_A0C6_146B2BE8331A"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_3B2E47CE_BBF6_4b7a_A0C6_146B2BE8331A"; + /// Constant value for + public const string SUMMARY = @" constrained process spindle speed for the tool in revolutions/minute. + +The {{property(ProcessSpindleSpeed::value)}} **MAY** contain the nominal process target spindle speed if available. If {{block(ProcessSpindleSpeed)}} is provided, at least one value of {{property(ProcessSpindleSpeed::maximum)}}, {{property(ProcessSpindleSpeed::nominal)}}, or {{property(ProcessSpindleSpeed::minimum)}} **MUST** be specified. +"; + /// Constant value for + public const string NAME = "ProcessSpindleSpeed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ProcessSpindleSpeedClassProperties Properties { get; } = new ProcessSpindleSpeedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ProcessSpindleSpeedClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Maximum, + Minimum, + Nominal, + Value, + }; + /// + ///
+ /// Original Name: Maximum + ///
+ public MaximumProperty Maximum { get; } = new MaximumProperty(); + + /// upper bound for the tool’s target spindle speed.


+ ///
+ public sealed class MaximumProperty : IProperty + { + /// Constant value for + public const string NAME = "maximum"; + /// Constant value for + public const string SUMMARY = @" upper bound for the tool’s target spindle speed. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Minimum + ///
+ public MinimumProperty Minimum { get; } = new MinimumProperty(); + + /// lower bound for the tools spindle speed.



+ ///
+ public sealed class MinimumProperty : IProperty + { + /// Constant value for + public const string NAME = "minimum"; + /// Constant value for + public const string SUMMARY = @" lower bound for the tools spindle speed. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Nominal + ///
+ public NominalProperty Nominal { get; } = new NominalProperty(); + + /// nominal speed the tool is designed to operate at.


+ ///
+ public sealed class NominalProperty : IProperty + { + /// Constant value for + public const string NAME = "nominal"; + /// Constant value for + public const string SUMMARY = @" nominal speed the tool is designed to operate at. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ReconditionCountClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ReconditionCountClass.cs new file mode 100644 index 00000000..a847f889 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ReconditionCountClass.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle +{ + /// number of times the cutter has been reconditioned.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ReconditionCountClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_AB33F1B2_493B_4f60_9394_4A69B30576F9"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_AB33F1B2_493B_4f60_9394_4A69B30576F9"; + /// Constant value for + public const string SUMMARY = @" number of times the cutter has been reconditioned. +"; + /// Constant value for + public const string NAME = "ReconditionCount"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ReconditionCountClassProperties Properties { get; } = new ReconditionCountClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ReconditionCountClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + MaximumCount, + Value, + }; + /// + ///
+ /// Original Name: MaximumCount + ///
+ public MaximumCountProperty MaximumCount { get; } = new MaximumCountProperty(); + + /// maximum number of times the tool may be reconditioned.



+ ///
+ public sealed class MaximumCountProperty : IProperty + { + /// Constant value for + public const string NAME = "maximumCount"; + /// Constant value for + public const string SUMMARY = @" maximum number of times the tool may be reconditioned. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// value in ReconditionCount MUST be provided for CuttingTool::CuttingToolLifeCycle and MUST NOT be provided for the CuttingToolArchetype::CuttingToolLifeCycle.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" {{property(ReconditionCount::value)}} **MUST** be provided for {{block(CuttingTool::CuttingToolLifeCycle)}} and **MUST NOT** be provided for the {{block(CuttingToolArchetype::CuttingToolLifeCycle)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/StatusClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/StatusClass.cs new file mode 100644 index 00000000..8f0b302a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/StatusClass.cs @@ -0,0 +1,153 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle +{ + /// status of the cutting tool.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StatusClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_2F5EC70A_8269_4c6a_AAB3_7F17B8F22C82"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_2F5EC70A_8269_4c6a_AAB3_7F17B8F22C82"; + /// Constant value for + public const string SUMMARY = @" status of the cutting tool. +"; + /// Constant value for + public const string NAME = "Status"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new StatusClassProperties Properties { get; } = new StatusClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class StatusClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// status value of the cutting tool.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" status value of the cutting tool. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CutterStatusTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CutterStatusTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ToolLifeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ToolLifeClass.cs new file mode 100644 index 00000000..e0408827 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolLifeCycle/ToolLifeClass.cs @@ -0,0 +1,509 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle +{ + /// cutting tool life as related to the assembly.


Description

ToolLife MUST be defined only for the CuttingToolLifeCycle of CuttingTool and MUST NOT be defined for the CuttingToolLifeCycle of CuttingToolArchetype.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolLifeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_37DECE45_091E_4f0c_AD72_EB481C0C1919"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_37DECE45_091E_4f0c_AD72_EB481C0C1919"; + /// Constant value for + public const string SUMMARY = @" cutting tool life as related to the assembly. + Description {{block(ToolLife)}} **MUST** be defined only for the {{block(CuttingToolLifeCycle)}} of {{block(CuttingTool)}} and **MUST NOT** be defined for the {{block(CuttingToolLifeCycle)}} of {{block(CuttingToolArchetype)}}. +"; + /// Constant value for + public const string NAME = "ToolLife"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ToolLifeClassProperties Properties { get; } = new ToolLifeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ToolLifeClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + CountDirection, + Initial, + Limit, + Type, + Warning, + Value, + }; + /// + ///
+ /// Original Name: CountDirection + ///
+ public CountDirectionProperty CountDirection { get; } = new CountDirectionProperty(); + + /// indicates if the tool life counts from zero to maximum or maximum to zero.


+ ///
+ public sealed class CountDirectionProperty : IProperty + { + /// Constant value for + public const string NAME = "countDirection"; + /// Constant value for + public const string SUMMARY = @" indicates if the tool life counts from zero to maximum or maximum to zero. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CountDirectionTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CountDirectionTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Initial + ///
+ public InitialProperty Initial { get; } = new InitialProperty(); + + /// initial life of the tool when it is new.


+ ///
+ public sealed class InitialProperty : IProperty + { + /// Constant value for + public const string NAME = "initial"; + /// Constant value for + public const string SUMMARY = @" initial life of the tool when it is new. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Limit + ///
+ public LimitProperty Limit { get; } = new LimitProperty(); + + /// end of life limit for the tool.


+ ///
+ public sealed class LimitProperty : IProperty + { + /// Constant value for + public const string NAME = "limit"; + /// Constant value for + public const string SUMMARY = @" end of life limit for the tool. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// type of tool life being accumulated.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" type of tool life being accumulated. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ToolLifeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ToolLifeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Warning + ///
+ public WarningProperty Warning { get; } = new WarningProperty(); + + /// point at which a tool life warning will be raised.


+ ///
+ public sealed class WarningProperty : IProperty + { + /// Constant value for + public const string NAME = "warning"; + /// Constant value for + public const string SUMMARY = @" point at which a tool life warning will be raised. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// value of ToolLife.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" value of {{block(ToolLife)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/BodyDiameterMaxClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/BodyDiameterMaxClass.cs new file mode 100644 index 00000000..72cc74d3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/BodyDiameterMaxClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes +{ + /// largest diameter of the body of a tool item.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BodyDiameterMaxClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119441_400816_1405"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119441_400816_1405"; + /// Constant value for + public const string SUMMARY = @" largest diameter of the body of a tool item. +"; + /// Constant value for + public const string NAME = "BodyDiameterMax"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new BodyDiameterMaxClassProperties Properties { get; } = new BodyDiameterMaxClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BodyDiameterMaxClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BDX"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/BodyLengthMaxClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/BodyLengthMaxClass.cs new file mode 100644 index 00000000..fc1431bf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/BodyLengthMaxClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes +{ + /// distance measured along the X axis from that point of the item closest to the workpiece, including the cutting item for a tool item but excluding a protruding locking mechanism for an adaptive item, to either the front of the flange on a flanged body or the beginning of the connection interface feature on the machine side for cylindrical or prismatic shanks.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BodyLengthMaxClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119498_219776_1408"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119498_219776_1408"; + /// Constant value for + public const string SUMMARY = @" distance measured along the X axis from that point of the item closest to the workpiece, including the cutting item for a tool item but excluding a protruding locking mechanism for an adaptive item, to either the front of the flange on a flanged body or the beginning of the connection interface feature on the machine side for cylindrical or prismatic shanks. +"; + /// Constant value for + public const string NAME = "BodyLengthMax"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new BodyLengthMaxClassProperties Properties { get; } = new BodyLengthMaxClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BodyLengthMaxClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LBX"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/CuttingDiameterMaxClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/CuttingDiameterMaxClass.cs new file mode 100644 index 00000000..1c4b036f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/CuttingDiameterMaxClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes +{ + /// maximum diameter of a circle on which the defined point Pk of each of the master inserts is located on a tool item.

The normal of the machined peripheral surface points towards the axis of the cutting tool.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingDiameterMaxClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119503_763396_1414"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119503_763396_1414"; + /// Constant value for + public const string SUMMARY = @" maximum diameter of a circle on which the defined point Pk of each of the master inserts is located on a tool item. + +The normal of the machined peripheral surface points towards the axis of the cutting tool. +"; + /// Constant value for + public const string NAME = "CuttingDiameterMax"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new CuttingDiameterMaxClassProperties Properties { get; } = new CuttingDiameterMaxClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CuttingDiameterMaxClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DC"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/DepthOfCutMaxClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/DepthOfCutMaxClass.cs new file mode 100644 index 00000000..90b92808 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/DepthOfCutMaxClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes +{ + /// maximum engagement of the cutting edge or edges with the workpiece measured perpendicular to the feed motion.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepthOfCutMaxClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119501_386680_1411"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119501_386680_1411"; + /// Constant value for + public const string SUMMARY = @" maximum engagement of the cutting edge or edges with the workpiece measured perpendicular to the feed motion. +"; + /// Constant value for + public const string NAME = "DepthOfCutMax"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new DepthOfCutMaxClassProperties Properties { get; } = new DepthOfCutMaxClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepthOfCutMaxClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "APMX"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/FlangeDiameterMaxClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/FlangeDiameterMaxClass.cs new file mode 100644 index 00000000..e4630b27 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/FlangeDiameterMaxClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes +{ + /// dimension between two parallel tangents on the outside edge of a flange.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FlangeDiameterMaxClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119505_613316_1417"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119505_613316_1417"; + /// Constant value for + public const string SUMMARY = @" dimension between two parallel tangents on the outside edge of a flange. +"; + /// Constant value for + public const string NAME = "FlangeDiameterMax"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new FlangeDiameterMaxClassProperties Properties { get; } = new FlangeDiameterMaxClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FlangeDiameterMaxClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DF"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/FunctionalLengthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/FunctionalLengthClass.cs new file mode 100644 index 00000000..98229b67 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/FunctionalLengthClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes +{ + /// distance from the gauge plane or from the end of the shank to the furthest point on the tool, if a gauge plane does not exist, to the cutting reference point determined by the main function of the tool.

The CuttingTool functional length will be the length of the entire tool, not a single cutting item. Each CuttingItem can have an independent FunctionalLength represented in its measurements.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FunctionalLengthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119520_340089_1441"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119520_340089_1441"; + /// Constant value for + public const string SUMMARY = @" distance from the gauge plane or from the end of the shank to the furthest point on the tool, if a gauge plane does not exist, to the cutting reference point determined by the main function of the tool. + +The {{block(CuttingTool)}} functional length will be the length of the entire tool, not a single cutting item. Each {{block(CuttingItem)}} can have an independent {{block(FunctionalLength)}} represented in its measurements. +"; + /// Constant value for + public const string NAME = "FunctionalLength"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new FunctionalLengthClassProperties Properties { get; } = new FunctionalLengthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FunctionalLengthClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LF"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/OverallToolLengthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/OverallToolLengthClass.cs new file mode 100644 index 00000000..20abd77c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/OverallToolLengthClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes +{ + /// largest length dimension of the cutting tool including the master insert where applicable.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OverallToolLengthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119507_120351_1420"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119507_120351_1420"; + /// Constant value for + public const string SUMMARY = @" largest length dimension of the cutting tool including the master insert where applicable. +"; + /// Constant value for + public const string NAME = "OverallToolLength"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new OverallToolLengthClassProperties Properties { get; } = new OverallToolLengthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OverallToolLengthClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "OAL"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ProtrudingLengthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ProtrudingLengthClass.cs new file mode 100644 index 00000000..cbfed192 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ProtrudingLengthClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes +{ + /// dimension from the yz-plane to the furthest point of the tool item or adaptive item measured in the -X direction.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProtrudingLengthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119517_195399_1435"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119517_195399_1435"; + /// Constant value for + public const string SUMMARY = @" dimension from the yz-plane to the furthest point of the tool item or adaptive item measured in the -X direction. +"; + /// Constant value for + public const string NAME = "ProtrudingLength"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new ProtrudingLengthClassProperties Properties { get; } = new ProtrudingLengthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProtrudingLengthClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LPR"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ShankDiameterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ShankDiameterClass.cs new file mode 100644 index 00000000..1fdb4cad --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ShankDiameterClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes +{ + /// dimension of the diameter of a cylindrical portion of a tool item or an adaptive item that can participate in a connection.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ShankDiameterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119509_829628_1423"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119509_829628_1423"; + /// Constant value for + public const string SUMMARY = @" dimension of the diameter of a cylindrical portion of a tool item or an adaptive item that can participate in a connection. +"; + /// Constant value for + public const string NAME = "ShankDiameter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new ShankDiameterClassProperties Properties { get; } = new ShankDiameterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ShankDiameterClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DMM"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ShankHeightClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ShankHeightClass.cs new file mode 100644 index 00000000..bbcf4927 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ShankHeightClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes +{ + /// dimension of the height of the shank.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ShankHeightClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119511_692072_1426"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119511_692072_1426"; + /// Constant value for + public const string SUMMARY = @" dimension of the height of the shank. +"; + /// Constant value for + public const string NAME = "ShankHeight"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new ShankHeightClassProperties Properties { get; } = new ShankHeightClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ShankHeightClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "H"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ShankLengthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ShankLengthClass.cs new file mode 100644 index 00000000..9add9cab --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/ShankLengthClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes +{ + /// dimension of the length of the shank.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ShankLengthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119512_81707_1429"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119512_81707_1429"; + /// Constant value for + public const string SUMMARY = @" dimension of the length of the shank. +"; + /// Constant value for + public const string NAME = "ShankLength"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new ShankLengthClassProperties Properties { get; } = new ShankLengthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ShankLengthClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LS"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/UsableLengthMaxClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/UsableLengthMaxClass.cs new file mode 100644 index 00000000..e7686208 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/UsableLengthMaxClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes +{ + /// maximum length of a cutting tool that can be used in a particular cutting operation including the non-cutting portions of the tool.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UsableLengthMaxClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919119515_469091_1432"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582919119515_469091_1432"; + /// Constant value for + public const string SUMMARY = @" maximum length of a cutting tool that can be used in a particular cutting operation including the non-cutting portions of the tool. +"; + /// Constant value for + public const string NAME = "UsableLengthMax"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new UsableLengthMaxClassProperties Properties { get; } = new UsableLengthMaxClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UsableLengthMaxClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LUX"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/WeightClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/WeightClass.cs new file mode 100644 index 00000000..6106f540 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/CuttingToolMeasurementSubtypes/WeightClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes +{ + /// total weight of the cutting tool in grams.

The force exerted by the mass of the cutting tool.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WeightClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1612380279018_31146_528"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1612380279018_31146_528"; + /// Constant value for + public const string SUMMARY = @" total weight of the cutting tool in grams. + +The force exerted by the mass of the cutting tool. +"; + /// Constant value for + public const string NAME = "Weight"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C09F377D_8946_421b_B746_E23C01D97EAC + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass); + + /// + public new WeightClassProperties Properties { get; } = new WeightClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WeightClassProperties : Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle.MeasurementClass.MeasurementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Code, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + ///  + /// + public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WT"; + + /// + /// + /// Type: CodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypes/ConditionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypes/ConditionClass.cs new file mode 100644 index 00000000..0df46d17 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypes/ConditionClass.cs @@ -0,0 +1,230 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.DataItems.DataItemTypes +{ + /// abstract DataItem that is about an entity's status regarding its ability to operate or it provides an indication whether the data reported for the entity is within an expected range.


Description

Condition is reported differently than Sample or Event. Condition MUST be reported as Normal, Warning, or Fault.

All Samples MAY have associated Condition states. Condition states indicate whether the value for the data is within an expected range and MUST be reported as Normal, or the value is unexpected or out of tolerance for the data and a Warning or Fault MUST be provided.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConditionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_3F5927FF_5B8D_4307_8D27_9654F724A657"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_3F5927FF_5B8D_4307_8D27_9654F724A657"; + /// Constant value for + public const string SUMMARY = @" abstract {{block(DataItem)}} that is about an entity's status regarding its ability to operate or it provides an indication whether the data reported for the entity is within an expected range. + Description {{block(Condition)}} is reported differently than {{block(Sample)}} or {{block(Event)}}. {{block(Condition)}} **MUST** be reported as {{block(Normal)}}, {{block(Warning)}}, or {{block(Fault)}}. + +All {{block(Sample)}}s **MAY** have associated {{block(Condition)}} states. {{block(Condition)}} states indicate whether the value for the data is within an expected range and **MUST** be reported as {{block(Normal)}}, or the value is unexpected or out of tolerance for the data and a {{block(Warning)}} or {{block(Fault)}} **MUST** be provided. +"; + /// Constant value for + public const string NAME = "Condition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_002C94B7_1257_49be_8EAA_CE7FCD7AFF8A + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.DataItems.DataItemClass); + + /// + public new ConditionClassProperties Properties { get; } = new ConditionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ConditionClassProperties : Mtconnect.DeviceInformationModel.DataItems.DataItemClass.DataItemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Category, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Category + ///
+ public new CategoryProperty Category { get; } = new CategoryProperty(); + + ///  + /// + public new sealed class CategoryProperty : IProperty + { + /// Constant value for + public const string NAME = "category"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CategoryEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CategoryEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ConditionEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ConditionEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypes/EventClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypes/EventClass.cs new file mode 100644 index 00000000..f6ca9d3b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypes/EventClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.DataItems.DataItemTypes +{ + /// abstract DataItem that is a discrete piece of information from a piece of equipment. It does not have intermediate values that vary over time.



Description

An Event is information that, when provided at any specific point in time, represents the current state of the piece of equipment.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EventClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_ED83840A_A210_4afb_B987_376C88EC8B17"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_ED83840A_A210_4afb_B987_376C88EC8B17"; + /// Constant value for + public const string SUMMARY = @" abstract {{block(DataItem)}} that is a discrete piece of information from a piece of equipment. It does not have intermediate values that vary over time. + + Description An {{block(Event)}} is information that, when provided at any specific point in time, represents the current state of the piece of equipment. +"; + /// Constant value for + public const string NAME = "Event"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_002C94B7_1257_49be_8EAA_CE7FCD7AFF8A + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.DataItems.DataItemClass); + + /// + public new EventClassProperties Properties { get; } = new EventClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EventClassProperties : Mtconnect.DeviceInformationModel.DataItems.DataItemClass.DataItemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Category, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Category + ///
+ public new CategoryProperty Category { get; } = new CategoryProperty(); + + ///  + /// + public new sealed class CategoryProperty : IProperty + { + /// Constant value for + public const string NAME = "category"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CategoryEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CategoryEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypes/SampleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypes/SampleClass.cs new file mode 100644 index 00000000..f6f48cc7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypes/SampleClass.cs @@ -0,0 +1,299 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.DataItems.DataItemTypes +{ + /// abstract DataItem that is continuously changing or analog data value.



Description

This data can be measured at any point-in-time and will always produce a result.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SampleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_B0781166_9F74_4844_B40C_CA32663868F2"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_B0781166_9F74_4844_B40C_CA32663868F2"; + /// Constant value for + public const string SUMMARY = @" abstract {{block(DataItem)}} that is continuously changing or analog data value. + + Description This data can be measured at any point-in-time and will always produce a result. +"; + /// Constant value for + public const string NAME = "Sample"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_002C94B7_1257_49be_8EAA_CE7FCD7AFF8A + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.DataItems.DataItemClass); + + /// + public new SampleClassProperties Properties { get; } = new SampleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SampleClassProperties : Mtconnect.DeviceInformationModel.DataItems.DataItemClass.DataItemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Category, + Type, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Category + ///
+ public new CategoryProperty Category { get; } = new CategoryProperty(); + + ///  + /// + public new sealed class CategoryProperty : IProperty + { + /// Constant value for + public const string NAME = "category"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CategoryEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CategoryEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseChuck.RequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseChuck.RequestClass.cs new file mode 100644 index 00000000..c2f463a3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseChuck.RequestClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the request to close a chuck.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CloseChuckRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623845929509_904789_2427"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623845929509_904789_2427"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(request)}} to close a chuck. +"; + /// Constant value for + public const string NAME = "CloseChuck.Request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218218_173108_1623 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.CloseChuckClass); + + /// + public new CloseChuckRequestClassProperties Properties { get; } = new CloseChuckRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CloseChuckRequestClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.CloseChuckClass.CloseChuckClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REQUEST"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RequestStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RequestStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseChuck.ResponseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseChuck.ResponseClass.cs new file mode 100644 index 00000000..ceda494b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseChuck.ResponseClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the response to a request to close a chuck.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CloseChuckResponseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623845936473_867534_2475"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623845936473_867534_2475"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(response)}} to a {{term(request)}} to close a chuck. +"; + /// Constant value for + public const string NAME = "CloseChuck.Response"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218218_173108_1623 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.CloseChuckClass); + + /// + public new CloseChuckResponseClassProperties Properties { get; } = new CloseChuckResponseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CloseChuckResponseClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.CloseChuckClass.CloseChuckClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RESPONSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResponseStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ResponseStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseChuckClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseChuckClass.cs new file mode 100644 index 00000000..395fdb22 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseChuckClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// InterfaceEventEnum.CLOSE_CHUCK


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CloseChuckClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218218_173108_1623"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218218_173108_1623"; + /// Constant value for + public const string SUMMARY = @" {{def(InterfaceEventEnum::CLOSE_CHUCK)}} +"; + /// Constant value for + public const string NAME = "CloseChuck"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new CloseChuckClassProperties Properties { get; } = new CloseChuckClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CloseChuckClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CLOSE_CHUCK"; + + /// + /// + /// Type: InterfaceEventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.InterfaceEventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseDoor.RequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseDoor.RequestClass.cs new file mode 100644 index 00000000..0af5634c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseDoor.RequestClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the request to close a door.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CloseDoorRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846243172_989237_2542"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846243172_989237_2542"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(request)}} to close a door. +"; + /// Constant value for + public const string NAME = "CloseDoor.Request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218219_606998_1626 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.CloseDoorClass); + + /// + public new CloseDoorRequestClassProperties Properties { get; } = new CloseDoorRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CloseDoorRequestClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.CloseDoorClass.CloseDoorClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REQUEST"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RequestStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RequestStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseDoor.ResponseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseDoor.ResponseClass.cs new file mode 100644 index 00000000..8271f596 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseDoor.ResponseClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the response to a request to close a door.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CloseDoorResponseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846243174_727333_2543"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846243174_727333_2543"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(response)}} to a {{term(request)}} to close a door. +"; + /// Constant value for + public const string NAME = "CloseDoor.Response"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218219_606998_1626 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.CloseDoorClass); + + /// + public new CloseDoorResponseClassProperties Properties { get; } = new CloseDoorResponseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CloseDoorResponseClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.CloseDoorClass.CloseDoorClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RESPONSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResponseStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ResponseStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseDoorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseDoorClass.cs new file mode 100644 index 00000000..e3775a82 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/CloseDoorClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// InterfaceEventEnum.CLOSE_DOOR


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CloseDoorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218219_606998_1626"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218219_606998_1626"; + /// Constant value for + public const string SUMMARY = @" {{def(InterfaceEventEnum::CLOSE_DOOR)}} +"; + /// Constant value for + public const string NAME = "CloseDoor"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new CloseDoorClassProperties Properties { get; } = new CloseDoorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CloseDoorClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CLOSE_DOOR"; + + /// + /// + /// Type: InterfaceEventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.InterfaceEventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/InterfaceStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/InterfaceStateClass.cs new file mode 100644 index 00000000..c78836f2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/InterfaceStateClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// InterfaceEventEnum.INTERFACE_STATE

When the InterfaceState is DISABLED, the state of all data items that are specific for the interaction model associated with that Interface MUST be set to NOT_READY.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class InterfaceStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218325_627294_1860"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218325_627294_1860"; + /// Constant value for + public const string SUMMARY = @" {{def(InterfaceEventEnum::INTERFACE_STATE)}} + +When the {{block(InterfaceState)}} is `DISABLED`, the state of all data items that are specific for the {{term(interaction model)}} associated with that {{block(Interface)}} **MUST** be set to `NOT_READY`. +"; + /// Constant value for + public const string NAME = "InterfaceState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new InterfaceStateClassProperties Properties { get; } = new InterfaceStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class InterfaceStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "INTERFACE_STATE"; + + /// + /// + /// Type: InterfaceEventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.InterfaceEventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: InterfaceStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.InterfaceStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialChange.RequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialChange.RequestClass.cs new file mode 100644 index 00000000..2acec360 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialChange.RequestClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the request to change the type of material or product being loaded or fed to a piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialChangeRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846334157_168653_2768"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846334157_168653_2768"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(request)}} to change the type of material or product being loaded or fed to a piece of equipment. +"; + /// Constant value for + public const string NAME = "MaterialChange.Request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218346_379398_1911 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialChangeClass); + + /// + public new MaterialChangeRequestClassProperties Properties { get; } = new MaterialChangeRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialChangeRequestClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialChangeClass.MaterialChangeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REQUEST"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RequestStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RequestStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialChange.ResponseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialChange.ResponseClass.cs new file mode 100644 index 00000000..a7e29dc1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialChange.ResponseClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the response to a request to change the type of material or product being loaded or fed to a piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialChangeResponseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846334158_582703_2769"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846334158_582703_2769"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(response)}} to a {{term(request)}} to change the type of material or product being loaded or fed to a piece of equipment. +"; + /// Constant value for + public const string NAME = "MaterialChange.Response"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218346_379398_1911 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialChangeClass); + + /// + public new MaterialChangeResponseClassProperties Properties { get; } = new MaterialChangeResponseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialChangeResponseClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialChangeClass.MaterialChangeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RESPONSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResponseStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ResponseStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialChangeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialChangeClass.cs new file mode 100644 index 00000000..e4c77528 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialChangeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// InterfaceEventEnum.MATERIAL_CHANGE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialChangeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218346_379398_1911"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218346_379398_1911"; + /// Constant value for + public const string SUMMARY = @" {{def(InterfaceEventEnum::MATERIAL_CHANGE)}} +"; + /// Constant value for + public const string NAME = "MaterialChange"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new MaterialChangeClassProperties Properties { get; } = new MaterialChangeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialChangeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MATERIAL_CHANGE"; + + /// + /// + /// Type: InterfaceEventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.InterfaceEventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialFeed.RequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialFeed.RequestClass.cs new file mode 100644 index 00000000..4541145f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialFeed.RequestClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the request to advance material or feed product to a piece of equipment from a continuous or bulk source.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialFeedRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846333719_341345_2748"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846333719_341345_2748"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(request)}} to advance material or feed product to a piece of equipment from a continuous or bulk source. +"; + /// Constant value for + public const string NAME = "MaterialFeed.Request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218347_189027_1914 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialFeedClass); + + /// + public new MaterialFeedRequestClassProperties Properties { get; } = new MaterialFeedRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialFeedRequestClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialFeedClass.MaterialFeedClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REQUEST"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RequestStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RequestStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialFeed.ResponseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialFeed.ResponseClass.cs new file mode 100644 index 00000000..44919e22 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialFeed.ResponseClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the response to a request to advance material or feed product to a piece of equipment from a continuous or bulk source.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialFeedResponseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846333720_744944_2749"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846333720_744944_2749"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(response)}} to a {{term(request)}} to advance material or feed product to a piece of equipment from a continuous or bulk source. +"; + /// Constant value for + public const string NAME = "MaterialFeed.Response"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218347_189027_1914 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialFeedClass); + + /// + public new MaterialFeedResponseClassProperties Properties { get; } = new MaterialFeedResponseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialFeedResponseClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialFeedClass.MaterialFeedClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RESPONSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResponseStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ResponseStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialFeedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialFeedClass.cs new file mode 100644 index 00000000..7e3cce5b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialFeedClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// InterfaceEventEnum.MATERIAL_FEED


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialFeedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218347_189027_1914"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218347_189027_1914"; + /// Constant value for + public const string SUMMARY = @" {{def(InterfaceEventEnum::MATERIAL_FEED)}} +"; + /// Constant value for + public const string NAME = "MaterialFeed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new MaterialFeedClassProperties Properties { get; } = new MaterialFeedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialFeedClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MATERIAL_FEED"; + + /// + /// + /// Type: InterfaceEventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.InterfaceEventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialLoad.RequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialLoad.RequestClass.cs new file mode 100644 index 00000000..8cd27b8e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialLoad.RequestClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the request to load a piece of material or product.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialLoadRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846332884_293361_2708"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846332884_293361_2708"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(request)}} to load a piece of material or product. +"; + /// Constant value for + public const string NAME = "MaterialLoad.Request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218351_269470_1926 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialLoadClass); + + /// + public new MaterialLoadRequestClassProperties Properties { get; } = new MaterialLoadRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialLoadRequestClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialLoadClass.MaterialLoadClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REQUEST"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RequestStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RequestStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialLoad.ResponseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialLoad.ResponseClass.cs new file mode 100644 index 00000000..dc27e6ca --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialLoad.ResponseClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the response to a request to load a piece of material or product.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialLoadResponseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846332885_807381_2709"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846332885_807381_2709"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(response)}} to a {{term(request)}} to load a piece of material or product. +"; + /// Constant value for + public const string NAME = "MaterialLoad.Response"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218351_269470_1926 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialLoadClass); + + /// + public new MaterialLoadResponseClassProperties Properties { get; } = new MaterialLoadResponseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialLoadResponseClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialLoadClass.MaterialLoadClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RESPONSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResponseStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ResponseStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialLoadClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialLoadClass.cs new file mode 100644 index 00000000..3e54da86 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialLoadClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// InterfaceEventEnum.MATERIAL_LOAD


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialLoadClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218351_269470_1926"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218351_269470_1926"; + /// Constant value for + public const string SUMMARY = @" {{def(InterfaceEventEnum::MATERIAL_LOAD)}} +"; + /// Constant value for + public const string NAME = "MaterialLoad"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new MaterialLoadClassProperties Properties { get; } = new MaterialLoadClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialLoadClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MATERIAL_LOAD"; + + /// + /// + /// Type: InterfaceEventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.InterfaceEventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialRetract.RequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialRetract.RequestClass.cs new file mode 100644 index 00000000..4e50581c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialRetract.RequestClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the request to remove or retract material or product.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialRetractRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846334763_269855_2788"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846334763_269855_2788"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(request)}} to remove or retract material or product. +"; + /// Constant value for + public const string NAME = "MaterialRetract.Request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218353_840620_1929 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialRetractClass); + + /// + public new MaterialRetractRequestClassProperties Properties { get; } = new MaterialRetractRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialRetractRequestClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialRetractClass.MaterialRetractClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REQUEST"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RequestStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RequestStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialRetract.ResponseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialRetract.ResponseClass.cs new file mode 100644 index 00000000..b3216fe3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialRetract.ResponseClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the response to a request to remove or retract material or product.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialRetractResponseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846334764_879451_2789"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846334764_879451_2789"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(response)}} to a {{term(request)}} to remove or retract material or product. +"; + /// Constant value for + public const string NAME = "MaterialRetract.Response"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218353_840620_1929 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialRetractClass); + + /// + public new MaterialRetractResponseClassProperties Properties { get; } = new MaterialRetractResponseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialRetractResponseClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialRetractClass.MaterialRetractClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RESPONSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResponseStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ResponseStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialRetractClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialRetractClass.cs new file mode 100644 index 00000000..c43cc12f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialRetractClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// InterfaceEventEnum.MATERIAL_RETRACT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialRetractClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218353_840620_1929"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218353_840620_1929"; + /// Constant value for + public const string SUMMARY = @" {{def(InterfaceEventEnum::MATERIAL_RETRACT)}} +"; + /// Constant value for + public const string NAME = "MaterialRetract"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new MaterialRetractClassProperties Properties { get; } = new MaterialRetractClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialRetractClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MATERIAL_RETRACT"; + + /// + /// + /// Type: InterfaceEventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.InterfaceEventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialUnload.RequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialUnload.RequestClass.cs new file mode 100644 index 00000000..2f6286d3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialUnload.RequestClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the request to unload a piece of material or product.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialUnloadRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846333301_2253_2728"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846333301_2253_2728"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(request)}} to unload a piece of material or product. +"; + /// Constant value for + public const string NAME = "MaterialUnload.Request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218354_760416_1932 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialUnloadClass); + + /// + public new MaterialUnloadRequestClassProperties Properties { get; } = new MaterialUnloadRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialUnloadRequestClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialUnloadClass.MaterialUnloadClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REQUEST"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RequestStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RequestStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialUnload.ResponseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialUnload.ResponseClass.cs new file mode 100644 index 00000000..caf2585d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialUnload.ResponseClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the response to a request to unload a piece of material or product.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialUnloadResponseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846333302_943133_2729"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846333302_943133_2729"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(response)}} to a {{term(request)}} to unload a piece of material or product. +"; + /// Constant value for + public const string NAME = "MaterialUnload.Response"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218354_760416_1932 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialUnloadClass); + + /// + public new MaterialUnloadResponseClassProperties Properties { get; } = new MaterialUnloadResponseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialUnloadResponseClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.MaterialUnloadClass.MaterialUnloadClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RESPONSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResponseStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ResponseStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialUnloadClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialUnloadClass.cs new file mode 100644 index 00000000..0b78d4f3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/MaterialUnloadClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// InterfaceEventEnum.MATERIAL_UNLOAD


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialUnloadClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218354_760416_1932"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218354_760416_1932"; + /// Constant value for + public const string SUMMARY = @" {{def(InterfaceEventEnum::MATERIAL_UNLOAD)}} +"; + /// Constant value for + public const string NAME = "MaterialUnload"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new MaterialUnloadClassProperties Properties { get; } = new MaterialUnloadClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialUnloadClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MATERIAL_UNLOAD"; + + /// + /// + /// Type: InterfaceEventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.InterfaceEventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenChuck.RequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenChuck.RequestClass.cs new file mode 100644 index 00000000..e9c6eb87 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenChuck.RequestClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the request to open a chuck.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OpenChuckRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846314911_287666_2648"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846314911_287666_2648"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(request)}} to open a chuck. +"; + /// Constant value for + public const string NAME = "OpenChuck.Request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218357_970458_1938 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.OpenChuckClass); + + /// + public new OpenChuckRequestClassProperties Properties { get; } = new OpenChuckRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OpenChuckRequestClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.OpenChuckClass.OpenChuckClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REQUEST"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RequestStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RequestStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenChuck.ResponseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenChuck.ResponseClass.cs new file mode 100644 index 00000000..535d2db2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenChuck.ResponseClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the response to a request to open a chuck.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OpenChuckResponseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846314912_181643_2649"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846314912_181643_2649"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(response)}} to a {{term(request)}} to open a chuck. +"; + /// Constant value for + public const string NAME = "OpenChuck.Response"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218357_970458_1938 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.OpenChuckClass); + + /// + public new OpenChuckResponseClassProperties Properties { get; } = new OpenChuckResponseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OpenChuckResponseClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.OpenChuckClass.OpenChuckClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RESPONSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResponseStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ResponseStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenChuckClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenChuckClass.cs new file mode 100644 index 00000000..e72d2b58 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenChuckClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// InterfaceEventEnum.OPEN_CHUCK


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OpenChuckClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218357_970458_1938"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218357_970458_1938"; + /// Constant value for + public const string SUMMARY = @" {{def(InterfaceEventEnum::OPEN_CHUCK)}} +"; + /// Constant value for + public const string NAME = "OpenChuck"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new OpenChuckClassProperties Properties { get; } = new OpenChuckClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OpenChuckClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "OPEN_CHUCK"; + + /// + /// + /// Type: InterfaceEventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.InterfaceEventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenDoor.RequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenDoor.RequestClass.cs new file mode 100644 index 00000000..b440c0e6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenDoor.RequestClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the request to open a door.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OpenDoorRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846331922_738200_2668"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846331922_738200_2668"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(request)}} to open a door. +"; + /// Constant value for + public const string NAME = "OpenDoor.Request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218358_780465_1941 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.OpenDoorClass); + + /// + public new OpenDoorRequestClassProperties Properties { get; } = new OpenDoorRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OpenDoorRequestClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.OpenDoorClass.OpenDoorClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REQUEST"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RequestStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RequestStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenDoor.ResponseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenDoor.ResponseClass.cs new file mode 100644 index 00000000..4756fea4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenDoor.ResponseClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the response to a request to open a door.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OpenDoorResponseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846331923_500359_2669"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846331923_500359_2669"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(response)}} to a {{term(request)}} to open a door. +"; + /// Constant value for + public const string NAME = "OpenDoor.Response"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218358_780465_1941 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.OpenDoorClass); + + /// + public new OpenDoorResponseClassProperties Properties { get; } = new OpenDoorResponseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OpenDoorResponseClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.OpenDoorClass.OpenDoorClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RESPONSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResponseStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ResponseStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenDoorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenDoorClass.cs new file mode 100644 index 00000000..069934b6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/OpenDoorClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// InterfaceEventEnum.OPEN_DOOR


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OpenDoorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218358_780465_1941"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218358_780465_1941"; + /// Constant value for + public const string SUMMARY = @" {{def(InterfaceEventEnum::OPEN_DOOR)}} +"; + /// Constant value for + public const string NAME = "OpenDoor"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new OpenDoorClassProperties Properties { get; } = new OpenDoorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OpenDoorClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "OPEN_DOOR"; + + /// + /// + /// Type: InterfaceEventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.InterfaceEventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/PartChange.RequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/PartChange.RequestClass.cs new file mode 100644 index 00000000..651092ed --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/PartChange.RequestClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the request to change the part or product associated with a piece of equipment to a different part or product.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartChangeRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846332463_494092_2688"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846332463_494092_2688"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(request)}} to change the part or product associated with a piece of equipment to a different part or product. +"; + /// Constant value for + public const string NAME = "PartChange.Request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218361_159569_1950 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.PartChangeClass); + + /// + public new PartChangeRequestClassProperties Properties { get; } = new PartChangeRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartChangeRequestClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.PartChangeClass.PartChangeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REQUEST"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RequestStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RequestStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/PartChange.ResponseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/PartChange.ResponseClass.cs new file mode 100644 index 00000000..d74d8de7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/PartChange.ResponseClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// operating state of the response to a request to change the part or product associated with a piece of equipment to a different part or product.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartChangeResponseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623846332464_142258_2689"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623846332464_142258_2689"; + /// Constant value for + public const string SUMMARY = @" operating state of the {{term(response)}} to a {{term(request)}} to change the part or product associated with a piece of equipment to a different part or product. +"; + /// Constant value for + public const string NAME = "PartChange.Response"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218361_159569_1950 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.PartChangeClass); + + /// + public new PartChangeResponseClassProperties Properties { get; } = new PartChangeResponseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartChangeResponseClassProperties : Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.PartChangeClass.PartChangeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RESPONSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResponseStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ResponseStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/PartChangeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/PartChangeClass.cs new file mode 100644 index 00000000..6955b370 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItemTypesForInterface/PartChangeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface +{ + /// InterfaceEventEnum.PART_CHANGE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartChangeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218361_159569_1950"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218361_159569_1950"; + /// Constant value for + public const string SUMMARY = @" {{def(InterfaceEventEnum::PART_CHANGE)}} +"; + /// Constant value for + public const string NAME = "PartChange"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PartChangeClassProperties Properties { get; } = new PartChangeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartChangeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_CHANGE"; + + /// + /// + /// Type: InterfaceEventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.InterfaceEventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItems/DataItemClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItems/DataItemClass.cs new file mode 100644 index 00000000..882cf89f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataItems/DataItemClass.cs @@ -0,0 +1,1893 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.DataItems +{ + /// information reported about a piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataItemClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_002C94B7_1257_49be_8EAA_CE7FCD7AFF8A"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_002C94B7_1257_49be_8EAA_CE7FCD7AFF8A"; + /// Constant value for + public const string SUMMARY = @" information reported about a piece of equipment. +"; + /// Constant value for + public const string NAME = "DataItem"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DataItemClassProperties Properties { get; } = new DataItemClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DataItemClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Category, + CompositionId, + CoordinateSystem, + Discrete, + Id, + Name, + NativeScale, + NativeUnits, + SampleRate, + SignificantDigits, + Statistic, + SubType, + Type, + Units, + IsObservedByPart, + Representation, + HasSourcePart, + HasConstraintPart, + HasFilterPart, + HasInitialValuePart, + HasResetTriggerPart, + HasObservationPart, + HasDefinitionPart, + CoordinateSystemIdRef, + HasRelationshipPart, + }; + /// + ///
+ /// Original Name: Category + ///
+ public CategoryProperty Category { get; } = new CategoryProperty(); + + /// specifies the kind of information provided by a data item.


+ ///
+ public sealed class CategoryProperty : IProperty + { + /// Constant value for + public const string NAME = "category"; + /// Constant value for + public const string SUMMARY = @" specifies the kind of information provided by a data item. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CategoryEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CategoryEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CompositionId + ///
+ public CompositionIdProperty CompositionId { get; } = new CompositionIdProperty(); + + /// identifier attribute of the Composition that the reported data is most closely associated.


+ ///
+ public sealed class CompositionIdProperty : IProperty + { + /// Constant value for + public const string NAME = "compositionId"; + /// Constant value for + public const string SUMMARY = @" identifier attribute of the {{block(Composition)}} that the reported data is most closely associated. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CoordinateSystem + ///
+ public CoordinateSystemProperty CoordinateSystem { get; } = new CoordinateSystemProperty(); + + /// for measured values relative to a coordinate system like Position, the coordinate system used may be reported.

DEPRECATED in Version 2.0. Replaced by coordinateSystemIdRef in Component.


+ ///
+ public sealed class CoordinateSystemProperty : IProperty + { + /// Constant value for + public const string NAME = "coordinateSystem"; + /// Constant value for + public const string SUMMARY = @" for measured values relative to a coordinate system like {{block(Position)}}, the coordinate system used may be reported. + +**DEPRECATED** in *Version 2.0*. Replaced by {{property(Component::coordinateSystemIdRef)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "2.0"; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CoordinateSystemEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CoordinateSystemEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Discrete + ///
+ public DiscreteProperty Discrete { get; } = new DiscreteProperty(); + + /// indication signifying whether each value reported for the Observation is significant and whether duplicate values are to be suppressed.

If a value is not defined for discrete in DataItem, the default value MUST be false.


+ ///
+ public sealed class DiscreteProperty : IProperty + { + /// Constant value for + public const string NAME = "discrete"; + /// Constant value for + public const string SUMMARY = @" indication signifying whether each value reported for the {{term(Observation)}} is significant and whether duplicate values are to be suppressed. + +If a value is not defined for {{property(DataItem::discrete)}}, the default value **MUST** be `false`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Boolean + /// + public System.Type Type => typeof(Boolean); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Id + ///
+ public IdProperty Id { get; } = new IdProperty(); + + /// unique identifier for this data item.


+ ///
+ public sealed class IdProperty : IProperty + { + /// Constant value for + public const string NAME = "id"; + /// Constant value for + public const string SUMMARY = @" unique identifier for this data item. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// name of the data item.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of the data item. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NativeScale + ///
+ public NativeScaleProperty NativeScale { get; } = new NativeScaleProperty(); + + /// used to convert the reported value to represent the original measured value.


+ ///
+ public sealed class NativeScaleProperty : IProperty + { + /// Constant value for + public const string NAME = "nativeScale"; + /// Constant value for + public const string SUMMARY = @" used to convert the reported value to represent the original measured value. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NativeUnits + ///
+ public NativeUnitsProperty NativeUnits { get; } = new NativeUnitsProperty(); + + /// native units of measurement for the reported value of the data item.


+ ///
+ public sealed class NativeUnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "nativeUnits"; + /// Constant value for + public const string SUMMARY = @" native units of measurement for the reported value of the data item. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: NativeUnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.NativeUnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SampleRate + ///
+ public SampleRateProperty SampleRate { get; } = new SampleRateProperty(); + + /// rate at which successive samples of a data item are recorded by a piece of equipment.


+ ///
+ public sealed class SampleRateProperty : IProperty + { + /// Constant value for + public const string NAME = "sampleRate"; + /// Constant value for + public const string SUMMARY = @" rate at which successive samples of a data item are recorded by a piece of equipment. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SignificantDigits + ///
+ public SignificantDigitsProperty SignificantDigits { get; } = new SignificantDigitsProperty(); + + /// number of significant digits in the reported value.


+ ///
+ public sealed class SignificantDigitsProperty : IProperty + { + /// Constant value for + public const string NAME = "significantDigits"; + /// Constant value for + public const string SUMMARY = @" number of significant digits in the reported value. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Statistic + ///
+ public StatisticProperty Statistic { get; } = new StatisticProperty(); + + /// type of statistical calculation performed on a series of data samples to provide the reported data value.


+ ///
+ public sealed class StatisticProperty : IProperty + { + /// Constant value for + public const string NAME = "statistic"; + /// Constant value for + public const string SUMMARY = @" type of statistical calculation performed on a series of data samples to provide the reported data value. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: StatisticEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.StatisticEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public SubTypeProperty SubType { get; } = new SubTypeProperty(); + + /// sub-categorization of the type in DataItem.


+ ///
+ public sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @" sub-categorization of the {{property(DataItem::type)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// type of data being measured. See DataItem Types.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" type of data being measured. See {{package(DataItem Types)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public UnitsProperty Units { get; } = new UnitsProperty(); + + /// unit of measurement for the reported value of the data item.


+ ///
+ public sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @" unit of measurement for the reported value of the data item. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: IsObservedBy + ///
+ public IsObservedByPartProperty IsObservedByPart { get; } = new IsObservedByPartProperty(); + + ///  + /// + public sealed class IsObservedByPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isObservedBy"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "DataItems"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Representation + ///
+ public RepresentationProperty Representation { get; } = new RepresentationProperty(); + + /// description of a means to interpret data consisting of multiple data points or samples reported as a single value.

If representation in DataItem is not specified, it MUST be determined to be VALUE.



+ ///
+ public sealed class RepresentationProperty : IProperty + { + /// Constant value for + public const string NAME = "representation"; + /// Constant value for + public const string SUMMARY = @" description of a means to interpret data consisting of multiple data points or samples reported as a single value. + +If {{property(DataItem::representation)}} is not specified, it **MUST** be determined to be `VALUE`. + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RepresentationEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RepresentationEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasSource + ///
+ public HasSourcePartProperty HasSourcePart { get; } = new HasSourcePartProperty(); + + ///  + /// + public sealed class HasSourcePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasSource"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Source"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SourceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.SourceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasConstraint + ///
+ public HasConstraintPartProperty HasConstraintPart { get; } = new HasConstraintPartProperty(); + + ///  + /// + public sealed class HasConstraintPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasConstraint"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Constraints"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ConstraintsClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.ConstraintsClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasFilter + ///
+ public HasFilterPartProperty HasFilterPart { get; } = new HasFilterPartProperty(); + + ///  + /// + public sealed class HasFilterPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasFilter"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Filters"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: FilterClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.FilterClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasInitialValue + ///
+ public HasInitialValuePartProperty HasInitialValuePart { get; } = new HasInitialValuePartProperty(); + + ///  + /// + public sealed class HasInitialValuePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasInitialValue"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "InitialValue"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: InitialValueClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.InitialValueClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasResetTrigger + ///
+ public HasResetTriggerPartProperty HasResetTriggerPart { get; } = new HasResetTriggerPartProperty(); + + ///  + /// + public sealed class HasResetTriggerPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasResetTrigger"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "ResetTrigger"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResetTriggerClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.ResetTriggerClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasObservation + ///
+ public HasObservationPartProperty HasObservationPart { get; } = new HasObservationPartProperty(); + + ///  + /// + public sealed class HasObservationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasObservation"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "shared"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Observations"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ObservationGeneralization + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasDefinition + ///
+ public HasDefinitionPartProperty HasDefinitionPart { get; } = new HasDefinitionPartProperty(); + + ///  + /// + public sealed class HasDefinitionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasDefinition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Definition"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DefinitionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.DefinitionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CoordinateSystemIdRef + ///
+ public CoordinateSystemIdRefProperty CoordinateSystemIdRef { get; } = new CoordinateSystemIdRefProperty(); + + /// associated CoordinateSystem context for the DataItem.


+ ///
+ public sealed class CoordinateSystemIdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "coordinateSystemIdRef"; + /// Constant value for + public const string SUMMARY = @" associated {{block(CoordinateSystem)}} context for the {{block(DataItem)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasRelationship + ///
+ public HasRelationshipPartProperty HasRelationshipPart { get; } = new HasRelationshipPartProperty(); + + ///  + /// + public sealed class HasRelationshipPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasRelationship"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Relationships"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AbstractDataItemRelationshipClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.RelationshipTypesForDataItem.AbstractDataItemRelationshipClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + # region Rules + /// + /// Dataitem1 + /// + /// Specification Language: Unspecified + public string Dataitem1 => @"id->size() = 1 and +(self.oclAsType(DataItems::""DataItem Types""::Event).type->size() = 1 or +self.oclAsType(DataItems::""DataItem Types""::Sample).type->size() = 1 or +self.oclAsType(DataItems::""DataItem Types""::Condition).type->size() = 1 +) and +(self.oclAsType(DataItems::""DataItem Types""::Event).category->size() = 1 or +self.oclAsType(DataItems::""DataItem Types""::Sample).category->size() = 1 or +self.oclAsType(DataItems::""DataItem Types""::Condition).category->size() = 1 +)"; + /* + id->size() = 1 and + (self.oclAsType(DataItems::"DataItem Types"::Event).type->size() = 1 or + self.oclAsType(DataItems::"DataItem Types"::Sample).type->size() = 1 or + self.oclAsType(DataItems::"DataItem Types"::Condition).type->size() = 1 + ) and + (self.oclAsType(DataItems::"DataItem Types"::Event).category->size() = 1 or + self.oclAsType(DataItems::"DataItem Types"::Sample).category->size() = 1 or + self.oclAsType(DataItems::"DataItem Types"::Condition).category->size() = 1 + ) + */ + /// + /// Dataitem2 + /// + /// Specification Language: Unspecified + public string Dataitem2 => @"self.oclAsType(DataItems::""DataItem Types""::Event).category = DataTypes::CategoryEnum::EVENT or +self.oclAsType(DataItems::""DataItem Types""::Sample).category = DataTypes::CategoryEnum::SAMPLE or +self.oclAsType(DataItems::""DataItem Types""::Condition).category = DataTypes::CategoryEnum::CONDITION"; + /* + self.oclAsType(DataItems::"DataItem Types"::Event).category = DataTypes::CategoryEnum::EVENT or + self.oclAsType(DataItems::"DataItem Types"::Sample).category = DataTypes::CategoryEnum::SAMPLE or + self.oclAsType(DataItems::"DataItem Types"::Condition).category = DataTypes::CategoryEnum::CONDITION + */ + # endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/AlarmLimitResultClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/AlarmLimitResultClass.cs new file mode 100644 index 00000000..1a5f280b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/AlarmLimitResultClass.cs @@ -0,0 +1,378 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AlarmLimitResultClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1620206902894_670781_812"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1620206902894_670781_812"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "AlarmLimitResult"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531114_503405_25727 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.Representations.DataSetClass); + + /// + public new AlarmLimitResultClassProperties Properties { get; } = new AlarmLimitResultClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AlarmLimitResultClassProperties : Mtconnect.ObservationInformationModel.Representations.DataSetClass.DataSetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + UpperLimit, + UpperWarning, + LowerWarning, + LowerLimit, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: UpperLimit + ///
+ public new UpperLimitProperty UpperLimit { get; } = new UpperLimitProperty(); + + /// upper conformance boundary for a variable.

> Note: immediate concern or action may be required.




+ ///
+ public new sealed class UpperLimitProperty : IProperty + { + /// Constant value for + public const string NAME = "UpperLimit"; + /// Constant value for + public const string SUMMARY = @" upper conformance boundary for a variable. + +> Note: immediate concern or action may be required. + + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: UpperWarning + ///
+ public new UpperWarningProperty UpperWarning { get; } = new UpperWarningProperty(); + + /// upper boundary indicating increased concern and supervision may be required.


+ ///
+ public new sealed class UpperWarningProperty : IProperty + { + /// Constant value for + public const string NAME = "UpperWarning"; + /// Constant value for + public const string SUMMARY = @" upper boundary indicating increased concern and supervision may be required. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LowerWarning + ///
+ public new LowerWarningProperty LowerWarning { get; } = new LowerWarningProperty(); + + /// lower boundary indicating increased concern and supervision may be required.


+ ///
+ public new sealed class LowerWarningProperty : IProperty + { + /// Constant value for + public const string NAME = "LowerWarning"; + /// Constant value for + public const string SUMMARY = @" lower boundary indicating increased concern and supervision may be required. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LowerLimit + ///
+ public new LowerLimitProperty LowerLimit { get; } = new LowerLimitProperty(); + + /// lower conformance boundary for a variable.

> Note: immediate concern or action may be required.




+ ///
+ public new sealed class LowerLimitProperty : IProperty + { + /// Constant value for + public const string NAME = "LowerLimit"; + /// Constant value for + public const string SUMMARY = @" lower conformance boundary for a variable. + +> Note: immediate concern or action may be required. + + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/ControlLimitResultClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/ControlLimitResultClass.cs new file mode 100644 index 00000000..b524f5c8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/ControlLimitResultClass.cs @@ -0,0 +1,449 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControlLimitResultClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1620206731259_178927_703"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1620206731259_178927_703"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "ControlLimitResult"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531114_503405_25727 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.Representations.DataSetClass); + + /// + public new ControlLimitResultClassProperties Properties { get; } = new ControlLimitResultClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ControlLimitResultClassProperties : Mtconnect.ObservationInformationModel.Representations.DataSetClass.DataSetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + UpperLimit, + UpperWarning, + Nominal, + LowerWarning, + LowerLimit, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: UpperLimit + ///
+ public new UpperLimitProperty UpperLimit { get; } = new UpperLimitProperty(); + + /// upper conformance boundary for a variable.

> Note: immediate concern or action may be required.




+ ///
+ public new sealed class UpperLimitProperty : IProperty + { + /// Constant value for + public const string NAME = "UpperLimit"; + /// Constant value for + public const string SUMMARY = @" upper conformance boundary for a variable. + +> Note: immediate concern or action may be required. + + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: UpperWarning + ///
+ public new UpperWarningProperty UpperWarning { get; } = new UpperWarningProperty(); + + /// upper boundary indicating increased concern and supervision may be required.


+ ///
+ public new sealed class UpperWarningProperty : IProperty + { + /// Constant value for + public const string NAME = "UpperWarning"; + /// Constant value for + public const string SUMMARY = @" upper boundary indicating increased concern and supervision may be required. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Nominal + ///
+ public new NominalProperty Nominal { get; } = new NominalProperty(); + + /// ideal or desired value for a variable.


+ ///
+ public new sealed class NominalProperty : IProperty + { + /// Constant value for + public const string NAME = "Nominal"; + /// Constant value for + public const string SUMMARY = @" ideal or desired value for a variable. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LowerWarning + ///
+ public new LowerWarningProperty LowerWarning { get; } = new LowerWarningProperty(); + + /// lower boundary indicating increased concern and supervision may be required.


+ ///
+ public new sealed class LowerWarningProperty : IProperty + { + /// Constant value for + public const string NAME = "LowerWarning"; + /// Constant value for + public const string SUMMARY = @" lower boundary indicating increased concern and supervision may be required. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LowerLimit + ///
+ public new LowerLimitProperty LowerLimit { get; } = new LowerLimitProperty(); + + /// lower conformance boundary for a variable.

> Note: immediate concern or action may be required.




+ ///
+ public new sealed class LowerLimitProperty : IProperty + { + /// Constant value for + public const string NAME = "LowerLimit"; + /// Constant value for + public const string SUMMARY = @" lower conformance boundary for a variable. + +> Note: immediate concern or action may be required. + + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/FeatureMeasurementResultClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/FeatureMeasurementResultClass.cs new file mode 100644 index 00000000..5176b899 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/FeatureMeasurementResultClass.cs @@ -0,0 +1,727 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FeatureMeasurementResultClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678194789732_239714_17210"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678194789732_239714_17210"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "FeatureMeasurementResult"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1582846972437_483160_2181 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.Representations.TableClass); + + /// + public new FeatureMeasurementResultClassProperties Properties { get; } = new FeatureMeasurementResultClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FeatureMeasurementResultClassProperties : Mtconnect.ObservationInformationModel.Representations.TableClass.TableClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + MeasurementId, + FeaturePersistentId, + CharacteristicPersistentId, + MeasurementType, + MeasurementValue, + MeasurementUnits, + CharacteristicStatus, + UncertaintyType, + Uncertainty, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: MeasurementId + ///
+ public new MeasurementIdProperty MeasurementId { get; } = new MeasurementIdProperty(); + + /// identifier of this measurement.


+ ///
+ public new sealed class MeasurementIdProperty : IProperty + { + /// Constant value for + public const string NAME = "MeasurementId"; + /// Constant value for + public const string SUMMARY = @" identifier of this measurement. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: FeaturePersistentId + ///
+ public new FeaturePersistentIdProperty FeaturePersistentId { get; } = new FeaturePersistentIdProperty(); + + /// UUID of the feature.


+ ///
+ public new sealed class FeaturePersistentIdProperty : IProperty + { + /// Constant value for + public const string NAME = "FeaturePersistentId"; + /// Constant value for + public const string SUMMARY = @" {{term(UUID)}} of the feature. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CharacteristicPersistentId + ///
+ public new CharacteristicPersistentIdProperty CharacteristicPersistentId { get; } = new CharacteristicPersistentIdProperty(); + + /// UUID of the characteristic.


+ ///
+ public new sealed class CharacteristicPersistentIdProperty : IProperty + { + /// Constant value for + public const string NAME = "CharacteristicPersistentId"; + /// Constant value for + public const string SUMMARY = @" {{term(UUID)}} of the characteristic. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MeasurementType + ///
+ public new MeasurementTypeProperty MeasurementType { get; } = new MeasurementTypeProperty(); + + /// class of measurement being performed. QIF 3:2018 Section 6.3

Examples: POINT, RADIUS, ANGLE, LENGTH, etc.


+ ///
+ public new sealed class MeasurementTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "MeasurementType"; + /// Constant value for + public const string SUMMARY = @" class of measurement being performed. {{cite(QIF 3:2018 Section 6.3)}} + +Examples: `POINT`, `RADIUS`, `ANGLE`, `LENGTH`, etc. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MeasurementValue + ///
+ public new MeasurementValueProperty MeasurementValue { get; } = new MeasurementValueProperty(); + + /// measurement based on the measurement type.


+ ///
+ public new sealed class MeasurementValueProperty : IProperty + { + /// Constant value for + public const string NAME = "MeasurementValue"; + /// Constant value for + public const string SUMMARY = @" measurement based on the measurement type. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MeasurementUnits + ///
+ public new MeasurementUnitsProperty MeasurementUnits { get; } = new MeasurementUnitsProperty(); + + /// engineering units of the measurement.


+ ///
+ public new sealed class MeasurementUnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "MeasurementUnits"; + /// Constant value for + public const string SUMMARY = @" engineering units of the measurement. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CharacteristicStatus + ///
+ public new CharacteristicStatusProperty CharacteristicStatus { get; } = new CharacteristicStatusProperty(); + + /// pass/fail result of the measurement.


+ ///
+ public new sealed class CharacteristicStatusProperty : IProperty + { + /// Constant value for + public const string NAME = "CharacteristicStatus"; + /// Constant value for + public const string SUMMARY = @" pass/fail result of the measurement. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CharacteristicStatusEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CharacteristicStatusEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: UncertaintyType + ///
+ public new UncertaintyTypeProperty UncertaintyType { get; } = new UncertaintyTypeProperty(); + + /// method used to compute standard uncertainty.


+ ///
+ public new sealed class UncertaintyTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "UncertaintyType"; + /// Constant value for + public const string SUMMARY = @" method used to compute {{term(standard uncertainty)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UncertaintyTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UncertaintyTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Uncertainty + ///
+ public new UncertaintyProperty Uncertainty { get; } = new UncertaintyProperty(); + + /// uncertainty specified by UNCERTAINTY_TYPE.


+ ///
+ public new sealed class UncertaintyProperty : IProperty + { + /// Constant value for + public const string NAME = "Uncertainty"; + /// Constant value for + public const string SUMMARY = @" {{term(uncertainty)}} specified by `UNCERTAINTY_TYPE`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/LocationAddressResultClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/LocationAddressResultClass.cs new file mode 100644 index 00000000..f9233750 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/LocationAddressResultClass.cs @@ -0,0 +1,1364 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LocationAddressResultClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1696869014788_515272_2985"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1696869014788_515272_2985"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "LocationAddressResult"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531114_503405_25727 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.Representations.DataSetClass); + + /// + public new LocationAddressResultClassProperties Properties { get; } = new LocationAddressResultClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LocationAddressResultClassProperties : Mtconnect.ObservationInformationModel.Representations.DataSetClass.DataSetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + GivenName, + Surname, + Qualification, + NameQualifier, + OrganizationName, + LegalStatus, + OrganizationUnit, + Building, + Floor, + Door, + Thoroughfare, + PremiseIdentifier, + Town, + Region, + District, + CountryName, + CountryCode, + PostCode, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: GivenName + ///
+ public new GivenNameProperty GivenName { get; } = new GivenNameProperty(); + + /// element specifying the name used to distinguish between persons having the same surname(s) and who may have access to a particular delivery point.


+ ///
+ public new sealed class GivenNameProperty : IProperty + { + /// Constant value for + public const string NAME = "GivenName"; + /// Constant value for + public const string SUMMARY = @" element specifying the name used to distinguish between persons having the same surname(s) and who may have access to a particular delivery point. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Surname + ///
+ public new SurnameProperty Surname { get; } = new SurnameProperty(); + + /// element which identifies the family or parentage of an individual.


+ ///
+ public new sealed class SurnameProperty : IProperty + { + /// Constant value for + public const string NAME = "Surname"; + /// Constant value for + public const string SUMMARY = @" element which identifies the family or parentage of an individual. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Qualification + ///
+ public new QualificationProperty Qualification { get; } = new QualificationProperty(); + + /// element indicating an individual’s professional or academic qualification or rank in a professional group or society (e.g. PhD, Fellow of the Royal Society, FRS, Barrister at Law).


+ ///
+ public new sealed class QualificationProperty : IProperty + { + /// Constant value for + public const string NAME = "Qualification"; + /// Constant value for + public const string SUMMARY = @" element indicating an individual’s professional or academic qualification or rank in a professional group or society (e.g. PhD, Fellow of the Royal Society, FRS, Barrister at Law). +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NameQualifier + ///
+ public new NameQualifierProperty NameQualifier { get; } = new NameQualifierProperty(); + + /// element used in some countries to distinguish between persons with the same surname(s) who have similar given names or initials (e.g.III, Senior, the Third.).


+ ///
+ public new sealed class NameQualifierProperty : IProperty + { + /// Constant value for + public const string NAME = "NameQualifier"; + /// Constant value for + public const string SUMMARY = @" element used in some countries to distinguish between persons with the same surname(s) who have similar given names or initials (e.g.III, Senior, the Third.). +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: OrganizationName + ///
+ public new OrganizationNameProperty OrganizationName { get; } = new OrganizationNameProperty(); + + /// element giving the official name, the registered business name or other official designation of an organization.


+ ///
+ public new sealed class OrganizationNameProperty : IProperty + { + /// Constant value for + public const string NAME = "OrganizationName"; + /// Constant value for + public const string SUMMARY = @" element giving the official name, the registered business name or other official designation of an organization. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LegalStatus + ///
+ public new LegalStatusProperty LegalStatus { get; } = new LegalStatusProperty(); + + /// element indicating the formal registration of an organization (e.g. GmbH, Inc., Ltd.).


+ ///
+ public new sealed class LegalStatusProperty : IProperty + { + /// Constant value for + public const string NAME = "LegalStatus"; + /// Constant value for + public const string SUMMARY = @" element indicating the formal registration of an organization (e.g. GmbH, Inc., Ltd.). +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: OrganizationUnit + ///
+ public new OrganizationUnitProperty OrganizationUnit { get; } = new OrganizationUnitProperty(); + + /// element identifying a subdivision of an organization.


+ ///
+ public new sealed class OrganizationUnitProperty : IProperty + { + /// Constant value for + public const string NAME = "OrganizationUnit"; + /// Constant value for + public const string SUMMARY = @" element identifying a subdivision of an organization. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Building + ///
+ public new BuildingProperty Building { get; } = new BuildingProperty(); + + /// element identifying the number or name and type of the edifice or construction in or adjacent to which a delivery point is located.


+ ///
+ public new sealed class BuildingProperty : IProperty + { + /// Constant value for + public const string NAME = "Building"; + /// Constant value for + public const string SUMMARY = @" element identifying the number or name and type of the edifice or construction in or adjacent to which a delivery point is located. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Floor + ///
+ public new FloorProperty Floor { get; } = new FloorProperty(); + + /// element indicating the floor or level on which a delivery point is located in a multi-story building.


+ ///
+ public new sealed class FloorProperty : IProperty + { + /// Constant value for + public const string NAME = "Floor"; + /// Constant value for + public const string SUMMARY = @" element indicating the floor or level on which a delivery point is located in a multi-story building. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Door + ///
+ public new DoorProperty Door { get; } = new DoorProperty(); + + /// element indicating the apartment, room or office in, at or adjacent to which a delivery point, situated within a building, is located.


+ ///
+ public new sealed class DoorProperty : IProperty + { + /// Constant value for + public const string NAME = "Door"; + /// Constant value for + public const string SUMMARY = @" element indicating the apartment, room or office in, at or adjacent to which a delivery point, situated within a building, is located. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Thoroughfare + ///
+ public new ThoroughfareProperty Thoroughfare { get; } = new ThoroughfareProperty(); + + /// element which identifies the road or part of a road or other access route along which a delivery point can be accessed, either directly or via a secondary or tertiary road or access route.


+ ///
+ public new sealed class ThoroughfareProperty : IProperty + { + /// Constant value for + public const string NAME = "Thoroughfare"; + /// Constant value for + public const string SUMMARY = @" element which identifies the road or part of a road or other access route along which a delivery point can be accessed, either directly or via a secondary or tertiary road or access route. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: PremiseIdentifier + ///
+ public new PremiseIdentifierProperty PremiseIdentifier { get; } = new PremiseIdentifierProperty(); + + /// element designating the area or the object on an area, adjacent to thoroughfare, in which the delivery point or delivery point access is located.


+ ///
+ public new sealed class PremiseIdentifierProperty : IProperty + { + /// Constant value for + public const string NAME = "PremiseIdentifier"; + /// Constant value for + public const string SUMMARY = @" element designating the area or the object on an area, adjacent to thoroughfare, in which the delivery point or delivery point access is located. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Town + ///
+ public new TownProperty Town { get; } = new TownProperty(); + + /// element indicating the name of the populated place in which a delivery point is located, or the populated.


+ ///
+ public new sealed class TownProperty : IProperty + { + /// Constant value for + public const string NAME = "Town"; + /// Constant value for + public const string SUMMARY = @" element indicating the name of the populated place in which a delivery point is located, or the populated. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Region + ///
+ public new RegionProperty Region { get; } = new RegionProperty(); + + /// element specifying the geographic or administrative area of the country in which the town is situated.


+ ///
+ public new sealed class RegionProperty : IProperty + { + /// Constant value for + public const string NAME = "Region"; + /// Constant value for + public const string SUMMARY = @" element specifying the geographic or administrative area of the country in which the town is situated. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: District + ///
+ public new DistrictProperty District { get; } = new DistrictProperty(); + + /// element indicating the name of the area within or adjacent to the town in which a delivery point is located, or via which it is accessed.


+ ///
+ public new sealed class DistrictProperty : IProperty + { + /// Constant value for + public const string NAME = "District"; + /// Constant value for + public const string SUMMARY = @" element indicating the name of the area within or adjacent to the town in which a delivery point is located, or via which it is accessed. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CountryName + ///
+ public new CountryNameProperty CountryName { get; } = new CountryNameProperty(); + + /// element designating the country, dependency or area of geopolitical interest, in which a delivery point is located or via which the delivery point is accessed.


+ ///
+ public new sealed class CountryNameProperty : IProperty + { + /// Constant value for + public const string NAME = "CountryName"; + /// Constant value for + public const string SUMMARY = @" element designating the country, dependency or area of geopolitical interest, in which a delivery point is located or via which the delivery point is accessed. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CountryCode + ///
+ public new CountryCodeProperty CountryCode { get; } = new CountryCodeProperty(); + + /// interest, in which a delivery point is located or via which the delivery point is accessed.


+ ///
+ public new sealed class CountryCodeProperty : IProperty + { + /// Constant value for + public const string NAME = "CountryCode"; + /// Constant value for + public const string SUMMARY = @" interest, in which a delivery point is located or via which the delivery point is accessed. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: PostCode + ///
+ public new PostCodeProperty PostCode { get; } = new PostCodeProperty(); + + /// element designating the code used for the sorting of mail.


+ ///
+ public new sealed class PostCodeProperty : IProperty + { + /// Constant value for + public const string NAME = "PostCode"; + /// Constant value for + public const string SUMMARY = @" element designating the code used for the sorting of mail. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/LocationSpatialGeographicResultClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/LocationSpatialGeographicResultClass.cs new file mode 100644 index 00000000..0d9d697e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/LocationSpatialGeographicResultClass.cs @@ -0,0 +1,299 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LocationSpatialGeographicResultClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1712322166773_615724_510"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1712322166773_615724_510"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "LocationSpatialGeographicResult"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531114_503405_25727 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.Representations.DataSetClass); + + /// + public new LocationSpatialGeographicResultClassProperties Properties { get; } = new LocationSpatialGeographicResultClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LocationSpatialGeographicResultClassProperties : Mtconnect.ObservationInformationModel.Representations.DataSetClass.DataSetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Longitude, + Latitude, + Altitude, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Longitude + ///
+ public new LongitudeProperty Longitude { get; } = new LongitudeProperty(); + + /// geographic longitude.


+ ///
+ public new sealed class LongitudeProperty : IProperty + { + /// Constant value for + public const string NAME = "Longitude"; + /// Constant value for + public const string SUMMARY = @" geographic longitude. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Latitude + ///
+ public new LatitudeProperty Latitude { get; } = new LatitudeProperty(); + + /// geographic latitude.


+ ///
+ public new sealed class LatitudeProperty : IProperty + { + /// Constant value for + public const string NAME = "Latitude"; + /// Constant value for + public const string SUMMARY = @" geographic latitude. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Altitude + ///
+ public new AltitudeProperty Altitude { get; } = new AltitudeProperty(); + + /// height relative to a reference.


+ ///
+ public new sealed class AltitudeProperty : IProperty + { + /// Constant value for + public const string NAME = "Altitude"; + /// Constant value for + public const string SUMMARY = @" height relative to a reference. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/MaintenanceListResultClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/MaintenanceListResultClass.cs new file mode 100644 index 00000000..f3690314 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/MaintenanceListResultClass.cs @@ -0,0 +1,796 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaintenanceListResultClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643971089385_291275_851"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1643971089385_291275_851"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "MaintenanceListResult"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1582846972437_483160_2181 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.Representations.TableClass); + + /// + public new MaintenanceListResultClassProperties Properties { get; } = new MaintenanceListResultClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaintenanceListResultClassProperties : Mtconnect.ObservationInformationModel.Representations.TableClass.TableClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Value, + Interval, + NextServiceDate, + Reset, + Severity, + Direction, + Name, + LastServiceDate, + Units, + Target, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Value + ///
+ public new ValueProperty Value { get; } = new ValueProperty(); + + /// current interval value of the activity.


+ ///
+ public new sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "Value"; + /// Constant value for + public const string SUMMARY = @" current interval value of the activity. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Interval + ///
+ public new IntervalProperty Interval { get; } = new IntervalProperty(); + + /// interval of the value observed.


+ ///
+ public new sealed class IntervalProperty : IProperty + { + /// Constant value for + public const string NAME = "Interval"; + /// Constant value for + public const string SUMMARY = @" interval of the value observed. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ABSOLUTE"; + + /// + /// + /// Type: MaintenanceListIntervalEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.MaintenanceListIntervalEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NextServiceDate + ///
+ public new NextServiceDateProperty NextServiceDate { get; } = new NextServiceDateProperty(); + + /// next date/time stamp that maintenance should be performed.


+ ///
+ public new sealed class NextServiceDateProperty : IProperty + { + /// Constant value for + public const string NAME = "NextServiceDate"; + /// Constant value for + public const string SUMMARY = @" next date/time stamp that maintenance should be performed. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Reset + ///
+ public new ResetProperty Reset { get; } = new ResetProperty(); + + /// last date/time stamp of the observation was reset.


+ ///
+ public new sealed class ResetProperty : IProperty + { + /// Constant value for + public const string NAME = "Reset"; + /// Constant value for + public const string SUMMARY = @" last date/time stamp of the {{term(observation)}} was reset. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Severity + ///
+ public new SeverityProperty Severity { get; } = new SeverityProperty(); + + /// level of severity on a scale of 1-10.


+ ///
+ public new sealed class SeverityProperty : IProperty + { + /// Constant value for + public const string NAME = "Severity"; + /// Constant value for + public const string SUMMARY = @" level of severity on a scale of 1-10. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Direction + ///
+ public new DirectionProperty Direction { get; } = new DirectionProperty(); + + /// direction of the value observed.


+ ///
+ public new sealed class DirectionProperty : IProperty + { + /// Constant value for + public const string NAME = "Direction"; + /// Constant value for + public const string SUMMARY = @" direction of the value observed. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "UP"; + + /// + /// + /// Type: MaintenanceListDirectionEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.MaintenanceListDirectionEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + /// identifier of the maintenance activity.


+ ///
+ public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "Name"; + /// Constant value for + public const string SUMMARY = @" identifier of the maintenance activity. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LastServiceDate + ///
+ public new LastServiceDateProperty LastServiceDate { get; } = new LastServiceDateProperty(); + + /// last date/time stamp that maintenance was performed.


+ ///
+ public new sealed class LastServiceDateProperty : IProperty + { + /// Constant value for + public const string NAME = "LastServiceDate"; + /// Constant value for + public const string SUMMARY = @" last date/time stamp that maintenance was performed. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + /// same as units in DataItem. See Device Information Model.


+ ///
+ public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "Units"; + /// Constant value for + public const string SUMMARY = @" same as {{property(DataItem::units)}}. See {{package(Device Information Model)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COUNT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Target + ///
+ public new TargetProperty Target { get; } = new TargetProperty(); + + /// target value of the next maintenance.


+ ///
+ public new sealed class TargetProperty : IProperty + { + /// Constant value for + public const string NAME = "Target"; + /// Constant value for + public const string SUMMARY = @" target value of the next maintenance. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/SensorAttachmentResultClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/SensorAttachmentResultClass.cs new file mode 100644 index 00000000..30a58779 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/SensorAttachmentResultClass.cs @@ -0,0 +1,158 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DataTypes +{ + /// 


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorAttachmentResultClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1620207520256_148935_1073"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1620207520256_148935_1073"; + /// Constant value for + public const string SUMMARY = @" +"; + /// Constant value for + public const string NAME = "SensorAttachmentResult"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531114_503405_25727 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.Representations.DataSetClass); + + /// + public new SensorAttachmentResultClassProperties Properties { get; } = new SensorAttachmentResultClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SensorAttachmentResultClassProperties : Mtconnect.ObservationInformationModel.Representations.DataSetClass.DataSetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SensorId, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SensorId + ///
+ public new SensorIdProperty SensorId { get; } = new SensorIdProperty(); + + /// identity of a sensor used to observe some measurement of an item.


+ ///
+ public new sealed class SensorIdProperty : IProperty + { + /// Constant value for + public const string NAME = "SensorId"; + /// Constant value for + public const string SUMMARY = @" identity of a sensor used to observe some measurement of an item. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/SpecificationLimitResultClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/SpecificationLimitResultClass.cs new file mode 100644 index 00000000..c56a5a11 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DataTypes/SpecificationLimitResultClass.cs @@ -0,0 +1,307 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpecificationLimitResultClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1620206901637_323897_780"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1620206901637_323897_780"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "SpecificationLimitResult"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531114_503405_25727 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.Representations.DataSetClass); + + /// + public new SpecificationLimitResultClassProperties Properties { get; } = new SpecificationLimitResultClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SpecificationLimitResultClassProperties : Mtconnect.ObservationInformationModel.Representations.DataSetClass.DataSetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + UpperLimit, + Nominal, + LowerLimit, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: UpperLimit + ///
+ public new UpperLimitProperty UpperLimit { get; } = new UpperLimitProperty(); + + /// upper conformance boundary for a variable.

> Note: immediate concern or action may be required.




+ ///
+ public new sealed class UpperLimitProperty : IProperty + { + /// Constant value for + public const string NAME = "UpperLimit"; + /// Constant value for + public const string SUMMARY = @" upper conformance boundary for a variable. + +> Note: immediate concern or action may be required. + + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Nominal + ///
+ public new NominalProperty Nominal { get; } = new NominalProperty(); + + /// ideal or desired value for a variable.


+ ///
+ public new sealed class NominalProperty : IProperty + { + /// Constant value for + public const string NAME = "Nominal"; + /// Constant value for + public const string SUMMARY = @" ideal or desired value for a variable. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LowerLimit + ///
+ public new LowerLimitProperty LowerLimit { get; } = new LowerLimitProperty(); + + /// lower conformance boundary for a variable.

> Note: immediate concern or action may be required.




+ ///
+ public new sealed class LowerLimitProperty : IProperty + { + /// Constant value for + public const string NAME = "LowerLimit"; + /// Constant value for + public const string SUMMARY = @" lower conformance boundary for a variable. + +> Note: immediate concern or action may be required. + + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DeviceInformationModel/DeviceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DeviceInformationModel/DeviceClass.cs new file mode 100644 index 00000000..f50afa54 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/DeviceInformationModel/DeviceClass.cs @@ -0,0 +1,1428 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel +{ + /// Component composed of a piece of equipment that produces observations about itself.


Description

A Device organizes its parts as Component entities.

A Device MUST have a name in Device and uuid in Device to identify itself.

A Device MUST have the following DataItems: Availability, AssetChanged, and AssetRemoved.

See Components for more details on the properties of Device.

> See Part Properties of Device for a list of top level Component types for a Device.





+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeviceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1620240839406_285612_1596"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1620240839406_285612_1596"; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} composed of a piece of equipment that produces {{termplural(observation)}} about itself. + Description A {{block(Device)}} {{termplural(organize)}} its parts as {{block(Component)}} entities. + +A {{block(Device)}} **MUST** have a {{property(Device::name)}} and {{property(Device::uuid)}} to identify itself. + +A {{block(Device)}} **MUST** have the following {{block(DataItems)}}: {{block(Availability)}}, {{block(AssetChanged)}}, and {{block(AssetRemoved)}}. + +See {{package(Components)}} for more details on the properties of {{block(Device)}}. + +> See {{sect(Part Properties of Device)}} for a list of {{term(top level)}} {{block(Component)}} types for a {{block(Device)}}. + +"; + /// Constant value for + public const string NAME = "Device"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new DeviceClassProperties Properties { get; } = new DeviceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeviceClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasAuxiliaryPart, + HasControllerPart, + HasInterfacePart, + HasResourcePart, + HasStructurePart, + Iso841Class, + Uuid, + MtconnectVersion, + HasSystemPart, + Name, + HasPartPart, + HasProcessPart, + HasAxisPart, + HasAdapterPart, + ObservesAvailability, + ObservesAssetChanged, + ObservesAssetRemoved, + Hash, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasAuxiliary + ///
+ public new HasAuxiliaryPartProperty HasAuxiliaryPart { get; } = new HasAuxiliaryPartProperty(); + + ///  + /// + public new sealed class HasAuxiliaryPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasAuxiliary"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "AuxiliariesClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AuxiliaryClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.AuxiliaryClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasController + ///
+ public new HasControllerPartProperty HasControllerPart { get; } = new HasControllerPartProperty(); + + ///  + /// + public new sealed class HasControllerPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasController"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "ControllersClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ControllerClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.ControllerClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasInterface + ///
+ public new HasInterfacePartProperty HasInterfacePart { get; } = new HasInterfacePartProperty(); + + ///  + /// + public new sealed class HasInterfacePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasInterface"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "InterfacesClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: InterfaceClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.InterfaceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasResource + ///
+ public new HasResourcePartProperty HasResourcePart { get; } = new HasResourcePartProperty(); + + ///  + /// + public new sealed class HasResourcePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasResource"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "ResourcesClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResourceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.ResourceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasStructure + ///
+ public new HasStructurePartProperty HasStructurePart { get; } = new HasStructurePartProperty(); + + ///  + /// + public new sealed class HasStructurePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasStructure"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "StructuresClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: StructureClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.StructureClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Iso841Class + ///
+ public new Iso841ClassProperty Iso841Class { get; } = new Iso841ClassProperty(); + + /// DEPRECATED in MTConnect Version 1.2.


+ ///
+ public new sealed class Iso841ClassProperty : IProperty + { + /// Constant value for + public const string NAME = "iso841Class"; + /// Constant value for + public const string SUMMARY = @" **DEPRECATED** in *MTConnect Version 1.2*. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Uuid + ///
+ public new UuidProperty Uuid { get; } = new UuidProperty(); + + /// universally unique identifier for the element.


+ ///
+ public new sealed class UuidProperty : IProperty + { + /// Constant value for + public const string NAME = "uuid"; + /// Constant value for + public const string SUMMARY = @" universally unique identifier for the element. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MtconnectVersion + ///
+ public new MtconnectVersionProperty MtconnectVersion { get; } = new MtconnectVersionProperty(); + + /// MTConnect version of the Device Information Model used to configure the information to be published for a piece of equipment in an MTConnect Response Document.


+ ///
+ public new sealed class MtconnectVersionProperty : IProperty + { + /// Constant value for + public const string NAME = "mtconnectVersion"; + /// Constant value for + public const string SUMMARY = @" MTConnect version of the {{term(Device Information Model)}} used to configure the information to be published for a piece of equipment in an {{term(MTConnect Response Document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasSystem + ///
+ public new HasSystemPartProperty HasSystemPart { get; } = new HasSystemPartProperty(); + + ///  + /// + public new sealed class HasSystemPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasSystem"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "SystemsClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SystemClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.SystemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + /// name of an element or a piece of equipment.


+ ///
+ public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of an element or a piece of equipment. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasPart + ///
+ public new HasPartPartProperty HasPartPart { get; } = new HasPartPartProperty(); + + ///  + /// + public new sealed class HasPartPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasPart"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "PartsClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PartClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.PartClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasProcess + ///
+ public new HasProcessPartProperty HasProcessPart { get; } = new HasProcessPartProperty(); + + ///  + /// + public new sealed class HasProcessPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasProcess"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "ProcessesClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProcessClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.ProcessClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasAxis + ///
+ public new HasAxisPartProperty HasAxisPart { get; } = new HasAxisPartProperty(); + + ///  + /// + public new sealed class HasAxisPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasAxis"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "AxesClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AxisClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.AxisClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasAdapter + ///
+ public new HasAdapterPartProperty HasAdapterPart { get; } = new HasAdapterPartProperty(); + + ///  + /// + public new sealed class HasAdapterPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasAdapter"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "AdaptersClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AdapterClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentTypes.AdapterClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesAvailability + ///
+ public new ObservesAvailabilityProperty ObservesAvailability { get; } = new ObservesAvailabilityProperty(); + + ///  + /// + public new sealed class ObservesAvailabilityProperty : IProperty + { + /// Constant value for + public const string NAME = "observesAvailability"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AvailabilityClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.AvailabilityClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesAssetChanged + ///
+ public new ObservesAssetChangedProperty ObservesAssetChanged { get; } = new ObservesAssetChangedProperty(); + + ///  + /// + public new sealed class ObservesAssetChangedProperty : IProperty + { + /// Constant value for + public const string NAME = "observesAssetChanged"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AssetChangedClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.AssetChangedClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesAssetRemoved + ///
+ public new ObservesAssetRemovedProperty ObservesAssetRemoved { get; } = new ObservesAssetRemovedProperty(); + + ///  + /// + public new sealed class ObservesAssetRemovedProperty : IProperty + { + /// Constant value for + public const string NAME = "observesAssetRemoved"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AssetRemovedClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.AssetRemovedClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Hash + ///
+ public new HashProperty Hash { get; } = new HashProperty(); + + /// condensed message digest from a secure one-way hash function. FIPS PUB 180-4


+ ///
+ public new sealed class HashProperty : IProperty + { + /// Constant value for + public const string NAME = "hash"; + /// Constant value for + public const string SUMMARY = @" condensed message digest from a secure one-way hash function. {{cite(FIPS PUB 180-4)}} +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + # region Rules + /// + /// Device1 + /// + /// Specification Language: Unspecified + public string Device1 => @"Components::Devices::Device::allInstances()->iterate(device;devicecount:Real=0| +if device.observes->size() >= 3 +then + if device.observes->iterate(av;avail:Real=0|if av.oclAsType(DataItems::""DataItem Types""::Event).type = DataTypes::EventEnum::AVAILABILITY then avail+1 else avail+0 endif) = 1 + then if device.observes->iterate(ac;assetc:Real=0|if ac.oclAsType(DataItems::""DataItem Types""::Event).type = DataTypes::EventEnum::ASSET_CHANGED then assetc+1 else assetc+0 endif) = 1 + then if device.observes->iterate(ar;assetr:Real=0|if ar.oclAsType(DataItems::""DataItem Types""::Event).type = DataTypes::EventEnum::ASSET_REMOVED then assetr+1 else assetr+0 endif) = 1 + then devicecount + 1 + else devicecount + 0 + endif + else devicecount + 0 + endif + else devicecount + 0 + endif +else devicecount + 0 +endif) = hasDevice->size()"; + /* + Components::Devices::Device::allInstances()->iterate(device;devicecount:Real=0| + if device.observes->size() >= 3 + then + if device.observes->iterate(av;avail:Real=0|if av.oclAsType(DataItems::"DataItem Types"::Event).type = DataTypes::EventEnum::AVAILABILITY then avail+1 else avail+0 endif) = 1 + then if device.observes->iterate(ac;assetc:Real=0|if ac.oclAsType(DataItems::"DataItem Types"::Event).type = DataTypes::EventEnum::ASSET_CHANGED then assetc+1 else assetc+0 endif) = 1 + then if device.observes->iterate(ar;assetr:Real=0|if ar.oclAsType(DataItems::"DataItem Types"::Event).type = DataTypes::EventEnum::ASSET_REMOVED then assetr+1 else assetr+0 endif) = 1 + then devicecount + 1 + else devicecount + 0 + endif + else devicecount + 0 + endif + else devicecount + 0 + endif + else devicecount + 0 + endif) = hasDevice->size() + */ + /// + /// Device2 + /// + /// Specification Language: Unspecified + public string Device2 => @"Components::Devices::Device::allInstances()->iterate(device;devicecount:Real=0| +if device.id->size() = 1 and + device.name->size() = 1 and + device.uuid->size() = 1 and + (device.observes->size() > 0 or device.hasReference->size() > 0 or device.hasComponent->size() > 0) +then + devicecount + 1 +else + devicecount + 0 +endif +) = Components::Devices::Device::allInstances()->size()"; + /* + Components::Devices::Device::allInstances()->iterate(device;devicecount:Real=0| + if device.id->size() = 1 and + device.name->size() = 1 and + device.uuid->size() = 1 and + (device.observes->size() > 0 or device.hasReference->size() > 0 or device.hasComponent->size() > 0) + then + devicecount + 1 + else + devicecount + 0 + endif + ) = Components::Devices::Device::allInstances()->size() + */ + # endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Devices/AgentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Devices/AgentClass.cs new file mode 100644 index 00000000..ec6f358e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Devices/AgentClass.cs @@ -0,0 +1,97 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Components.Devices +{ + /// Device composed of an MTConnect Agent and all its connected data sources.


Description

An Agent MUST be provided by all MTConnect Agent implementations.

An Agent MUST provide notifications when devices are added or changed.

An Agent MUST provide connection information for each data source currently supplying data to the MTConnect Agent.

An Agent MAY provide information about telemetry relating to data sources.

An Agent MAY provide information about the MTConnect Agent resource utilization.





+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AgentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605101231735_42972_30"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605101231735_42972_30"; + /// Constant value for + public const string SUMMARY = @" {{block(Device)}} composed of an {{term(MTConnect Agent)}} and all its connected data sources. + Description An {{block(Agent)}} **MUST** be provided by all {{term(MTConnect Agent)}} implementations. + +An {{block(Agent)}} **MUST** provide notifications when devices are added or changed. + +An {{block(Agent)}} **MUST** provide connection information for each data source currently supplying data to the {{term(MTConnect Agent)}}. + +An {{block(Agent)}} **MAY** provide information about telemetry relating to data sources. + +An {{block(Agent)}} **MAY** provide information about the {{term(MTConnect Agent)}} resource utilization. + +"; + /// Constant value for + public const string NAME = "Agent"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1620240839406_285612_1596 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public new AgentClassProperties Properties { get; } = new AgentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AgentClassProperties : Mtconnect.DeviceInformationModel.DeviceClass.DeviceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.AbortedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.AbortedClass.cs new file mode 100644 index 00000000..dcd86360 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.AbortedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions or activities that were attempted, but terminated before they could be completed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActivationCountAbortedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601182_847652_810"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601182_847652_810"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions or activities that were attempted, but terminated before they could be completed. +"; + /// Constant value for + public const string NAME = "ActivationCount.Aborted"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601180_60498_809 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass); + + /// + public new ActivationCountAbortedClassProperties Properties { get; } = new ActivationCountAbortedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActivationCountAbortedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass.ActivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ABORTED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.AllClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.AllClass.cs new file mode 100644 index 00000000..2b16ca7f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.AllClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of all actions, items, or activities being counted independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActivationCountAllClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601182_773148_811"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601182_773148_811"; + /// Constant value for + public const string SUMMARY = @" accumulation of all actions, items, or activities being counted independent of the outcome. +"; + /// Constant value for + public const string NAME = "ActivationCount.All"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601180_60498_809 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass); + + /// + public new ActivationCountAllClassProperties Properties { get; } = new ActivationCountAllClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActivationCountAllClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass.ActivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.BadClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.BadClass.cs new file mode 100644 index 00000000..a89cebd6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.BadClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that do not conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActivationCountBadClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601182_902751_812"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601182_902751_812"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that do not conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "ActivationCount.Bad"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601180_60498_809 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass); + + /// + public new ActivationCountBadClassProperties Properties { get; } = new ActivationCountBadClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActivationCountBadClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass.ActivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BAD"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.CompleteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.CompleteClass.cs new file mode 100644 index 00000000..227a2a93 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.CompleteClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities that have been completed, independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActivationCountCompleteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601184_207530_813"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601184_207530_813"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities that have been completed, independent of the outcome. +"; + /// Constant value for + public const string NAME = "ActivationCount.Complete"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601180_60498_809 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass); + + /// + public new ActivationCountCompleteClassProperties Properties { get; } = new ActivationCountCompleteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActivationCountCompleteClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass.ActivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMPLETE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.FailedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.FailedClass.cs new file mode 100644 index 00000000..4ebc1ce8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.FailedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions or activities that were attempted, but failed to complete or resulted in an unexpected or unacceptable outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActivationCountFailedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601184_223995_814"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601184_223995_814"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions or activities that were attempted, but failed to complete or resulted in an unexpected or unacceptable outcome. +"; + /// Constant value for + public const string NAME = "ActivationCount.Failed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601180_60498_809 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass); + + /// + public new ActivationCountFailedClassProperties Properties { get; } = new ActivationCountFailedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActivationCountFailedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass.ActivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FAILED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.GoodClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.GoodClass.cs new file mode 100644 index 00000000..2db79031 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.GoodClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActivationCountGoodClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601184_129403_815"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601184_129403_815"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "ActivationCount.Good"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601180_60498_809 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass); + + /// + public new ActivationCountGoodClassProperties Properties { get; } = new ActivationCountGoodClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActivationCountGoodClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass.ActivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "GOOD"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.RemainingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.RemainingClass.cs new file mode 100644 index 00000000..8301e591 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.RemainingClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities yet to be counted.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActivationCountRemainingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601185_196775_816"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601185_196775_816"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities yet to be counted. +"; + /// Constant value for + public const string NAME = "ActivationCount.Remaining"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601180_60498_809 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass); + + /// + public new ActivationCountRemainingClassProperties Properties { get; } = new ActivationCountRemainingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActivationCountRemainingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass.ActivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REMAINING"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.TargetClass.cs new file mode 100644 index 00000000..a16639b3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCount.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActivationCountTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601185_493477_817"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601185_493477_817"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "ActivationCount.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601180_60498_809 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass); + + /// + public new ActivationCountTargetClassProperties Properties { get; } = new ActivationCountTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActivationCountTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ActivationCountClass.ActivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TARGET"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCountClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCountClass.cs new file mode 100644 index 00000000..976aae1e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivationCountClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ACTIVATION_COUNT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActivationCountClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601180_60498_809"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601180_60498_809"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ACTIVATION_COUNT)}} +"; + /// Constant value for + public const string NAME = "ActivationCount"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ActivationCountClassProperties Properties { get; } = new ActivationCountClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActivationCountClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTIVATION_COUNT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActiveAxesClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActiveAxesClass.cs new file mode 100644 index 00000000..e59d8112 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActiveAxesClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ACTIVE_AXES


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActiveAxesClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218138_831122_1509"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218138_831122_1509"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ACTIVE_AXES)}} +"; + /// Constant value for + public const string NAME = "ActiveAxes"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ActiveAxesClassProperties Properties { get; } = new ActiveAxesClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActiveAxesClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTIVE_AXES"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivePowerSourceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivePowerSourceClass.cs new file mode 100644 index 00000000..06d67d48 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActivePowerSourceClass.cs @@ -0,0 +1,228 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ACTIVE_POWER_SOURCE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActivePowerSourceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1696872166478_3528_3677"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1696872166478_3528_3677"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ACTIVE_POWER_SOURCE)}} +"; + /// Constant value for + public const string NAME = "ActivePowerSource"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ActivePowerSourceClassProperties Properties { get; } = new ActivePowerSourceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActivePowerSourceClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTIVE_POWER_SOURCE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + /// name of the power source referring to Configuration value in PowerSource.


+ ///
+ public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @" name of the power source referring to {{block(Configuration)}} {{property(PowerSource::value)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActuatorStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActuatorStateClass.cs new file mode 100644 index 00000000..3a30ec16 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ActuatorStateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ACTUATOR_STATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActuatorStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218141_894098_1512"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218141_894098_1512"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ACTUATOR_STATE)}} +"; + /// Constant value for + public const string NAME = "ActuatorState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ActuatorStateClassProperties Properties { get; } = new ActuatorStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ActuatorStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ActuatorStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ActuatorStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUATOR_STATE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AdapterSoftwareVersionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AdapterSoftwareVersionClass.cs new file mode 100644 index 00000000..0f4ce4c6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AdapterSoftwareVersionClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ADAPTER_SOFTWARE_VERSION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AdapterSoftwareVersionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605104021797_851627_751"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605104021797_851627_751"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ADAPTER_SOFTWARE_VERSION)}} +"; + /// Constant value for + public const string NAME = "AdapterSoftwareVersion"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new AdapterSoftwareVersionClassProperties Properties { get; } = new AdapterSoftwareVersionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AdapterSoftwareVersionClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ADAPTER_SOFTWARE_VERSION"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AdapterURIClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AdapterURIClass.cs new file mode 100644 index 00000000..35d20d81 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AdapterURIClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ADAPTER_URI


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AdapterURIClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605104022240_37694_759"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605104022240_37694_759"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ADAPTER_URI)}} +"; + /// Constant value for + public const string NAME = "AdapterURI"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new AdapterURIClassProperties Properties { get; } = new AdapterURIClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AdapterURIClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ADAPTER_URI"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AlarmClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AlarmClass.cs new file mode 100644 index 00000000..58ea1488 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AlarmClass.cs @@ -0,0 +1,516 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ALARM


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AlarmClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218144_231993_1515"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218144_231993_1515"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ALARM)}} +"; + /// Constant value for + public const string NAME = "Alarm"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new AlarmClassProperties Properties { get; } = new AlarmClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AlarmClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Code, + Severity, + NativeCode, + State, + Lang, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALARM"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Code + ///
+ public new CodeProperty Code { get; } = new CodeProperty(); + + /// type of alarm.


+ ///
+ public new sealed class CodeProperty : IProperty + { + /// Constant value for + public const string NAME = "code"; + /// Constant value for + public const string SUMMARY = @" type of alarm. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AlarmCodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.AlarmCodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Severity + ///
+ public new SeverityProperty Severity { get; } = new SeverityProperty(); + + /// severity of the alarm.


+ ///
+ public new sealed class SeverityProperty : IProperty + { + /// Constant value for + public const string NAME = "severity"; + /// Constant value for + public const string SUMMARY = @" severity of the alarm. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AlarmSeverityEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.AlarmSeverityEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NativeCode + ///
+ public new NativeCodeProperty NativeCode { get; } = new NativeCodeProperty(); + + /// native code for the piece of equipment.


+ ///
+ public new sealed class NativeCodeProperty : IProperty + { + /// Constant value for + public const string NAME = "nativeCode"; + /// Constant value for + public const string SUMMARY = @" native code for the piece of equipment. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: State + ///
+ public new StateProperty State { get; } = new StateProperty(); + + /// state of the alarm.


+ ///
+ public new sealed class StateProperty : IProperty + { + /// Constant value for + public const string NAME = "state"; + /// Constant value for + public const string SUMMARY = @" state of the alarm. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AlarmStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.AlarmStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Lang + ///
+ public new LangProperty Lang { get; } = new LangProperty(); + + /// specifies the language of the alarm text.

See IETF RFC 4646 (http://www.ietf.org/rfc/rfc4646.txt).


+ ///
+ public new sealed class LangProperty : IProperty + { + /// Constant value for + public const string NAME = "lang"; + /// Constant value for + public const string SUMMARY = @" specifies the language of the alarm text. + +See {{cite(IETF RFC 4646)}} (http://www.ietf.org/rfc/rfc4646.txt). +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AlarmLimitClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AlarmLimitClass.cs new file mode 100644 index 00000000..baa92590 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AlarmLimitClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ALARM_LIMIT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AlarmLimitClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605646964681_939072_3338"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605646964681_939072_3338"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ALARM_LIMIT)}} +"; + /// Constant value for + public const string NAME = "AlarmLimit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new AlarmLimitClassProperties Properties { get; } = new AlarmLimitClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AlarmLimitClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALARM_LIMIT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AlarmLimitResultClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.AlarmLimitResultClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AlarmLimitsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AlarmLimitsClass.cs new file mode 100644 index 00000000..f7a53e3c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AlarmLimitsClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ALARM_LIMITS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AlarmLimitsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1696080573203_824006_2383"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1696080573203_824006_2383"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ALARM_LIMITS)}} +"; + /// Constant value for + public const string NAME = "AlarmLimits"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new AlarmLimitsClassProperties Properties { get; } = new AlarmLimitsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AlarmLimitsClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALARM_LIMIT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AlarmLimitResultClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.AlarmLimitResultClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.InstallDateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.InstallDateClass.cs new file mode 100644 index 00000000..6099a3e9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.InstallDateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// date the hardware or software was installed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ApplicationInstallDateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751251555_252423_2532"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751251555_252423_2532"; + /// Constant value for + public const string SUMMARY = @" date the hardware or software was installed. +"; + /// Constant value for + public const string NAME = "Application.InstallDate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751251551_234348_2529 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ApplicationClass); + + /// + public new ApplicationInstallDateClassProperties Properties { get; } = new ApplicationInstallDateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ApplicationInstallDateClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ApplicationClass.ApplicationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "INSTALL_DATE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.LicenseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.LicenseClass.cs new file mode 100644 index 00000000..b7fb3af2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.LicenseClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// license code to validate or activate the hardware or software.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ApplicationLicenseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751251555_756578_2531"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751251555_756578_2531"; + /// Constant value for + public const string SUMMARY = @" license code to validate or activate the hardware or software. +"; + /// Constant value for + public const string NAME = "Application.License"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751251551_234348_2529 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ApplicationClass); + + /// + public new ApplicationLicenseClassProperties Properties { get; } = new ApplicationLicenseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ApplicationLicenseClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ApplicationClass.ApplicationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LICENSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.ManufacturerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.ManufacturerClass.cs new file mode 100644 index 00000000..781bea96 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.ManufacturerClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// corporate identity for the maker of the hardware or software.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ApplicationManufacturerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751251554_276842_2530"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751251554_276842_2530"; + /// Constant value for + public const string SUMMARY = @" corporate identity for the maker of the hardware or software. +"; + /// Constant value for + public const string NAME = "Application.Manufacturer"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751251551_234348_2529 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ApplicationClass); + + /// + public new ApplicationManufacturerClassProperties Properties { get; } = new ApplicationManufacturerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ApplicationManufacturerClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ApplicationClass.ApplicationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MANUFACTURER"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.ReleaseDateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.ReleaseDateClass.cs new file mode 100644 index 00000000..1c0168ec --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.ReleaseDateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// date the hardware or software was released for general use.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ApplicationReleaseDateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751251551_422984_2528"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751251551_422984_2528"; + /// Constant value for + public const string SUMMARY = @" date the hardware or software was released for general use. +"; + /// Constant value for + public const string NAME = "Application.ReleaseDate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751251551_234348_2529 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ApplicationClass); + + /// + public new ApplicationReleaseDateClassProperties Properties { get; } = new ApplicationReleaseDateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ApplicationReleaseDateClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ApplicationClass.ApplicationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RELEASE_DATE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.VersionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.VersionClass.cs new file mode 100644 index 00000000..acce110f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Application.VersionClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// version of the hardware or software.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ApplicationVersionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751251548_420199_2527"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751251548_420199_2527"; + /// Constant value for + public const string SUMMARY = @" version of the hardware or software. +"; + /// Constant value for + public const string NAME = "Application.Version"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751251551_234348_2529 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ApplicationClass); + + /// + public new ApplicationVersionClassProperties Properties { get; } = new ApplicationVersionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ApplicationVersionClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ApplicationClass.ApplicationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VERSION"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ApplicationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ApplicationClass.cs new file mode 100644 index 00000000..0773c509 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ApplicationClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.APPLICATION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ApplicationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751251551_234348_2529"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751251551_234348_2529"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::APPLICATION)}} +"; + /// Constant value for + public const string NAME = "Application"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ApplicationClassProperties Properties { get; } = new ApplicationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ApplicationClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "APPLICATION"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AssetChangedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AssetChangedClass.cs new file mode 100644 index 00000000..f0c1276c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AssetChangedClass.cs @@ -0,0 +1,299 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ASSET_CHANGED


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetChangedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218176_915013_1548"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218176_915013_1548"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ASSET_CHANGED)}} +"; + /// Constant value for + public const string NAME = "AssetChanged"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new AssetChangedClassProperties Properties { get; } = new AssetChangedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AssetChangedClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + AssetType, + Type, + Hash, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: AssetType + ///
+ public new AssetTypeProperty AssetType { get; } = new AssetTypeProperty(); + + /// type of Asset changed. See Asset Information Model for details on the Asset model.


+ ///
+ public new sealed class AssetTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "assetType"; + /// Constant value for + public const string SUMMARY = @" type of {{block(Asset)}} changed. See {{package(Asset Information Model)}} for details on the {{block(Asset)}} model. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ASSET_CHANGED"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Hash + ///
+ public new HashProperty Hash { get; } = new HashProperty(); + + /// condensed message digest from a secure one-way hash function. FIPS PUB 180-4


+ ///
+ public new sealed class HashProperty : IProperty + { + /// Constant value for + public const string NAME = "hash"; + /// Constant value for + public const string SUMMARY = @" condensed message digest from a secure one-way hash function. {{cite(FIPS PUB 180-4)}} +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AssetCountClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AssetCountClass.cs new file mode 100644 index 00000000..50b3f11a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AssetCountClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ASSET_COUNT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetCountClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640602520420_217627_44"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1640602520420_217627_44"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ASSET_COUNT)}} +"; + /// Constant value for + public const string NAME = "AssetCount"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new AssetCountClassProperties Properties { get; } = new AssetCountClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AssetCountClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ASSET_COUNT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AssetRemovedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AssetRemovedClass.cs new file mode 100644 index 00000000..3983eabf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AssetRemovedClass.cs @@ -0,0 +1,299 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ASSET_REMOVED


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetRemovedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218180_352606_1551"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218180_352606_1551"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ASSET_REMOVED)}} +"; + /// Constant value for + public const string NAME = "AssetRemoved"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new AssetRemovedClassProperties Properties { get; } = new AssetRemovedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AssetRemovedClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + AssetType, + Type, + Hash, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: AssetType + ///
+ public new AssetTypeProperty AssetType { get; } = new AssetTypeProperty(); + + /// type of Asset removed. See Asset Information Model for details on the Asset model.


+ ///
+ public new sealed class AssetTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "assetType"; + /// Constant value for + public const string SUMMARY = @" type of {{block(Asset)}} removed. See {{package(Asset Information Model)}} for details on the {{block(Asset)}} model. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ASSET_REMOVED"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Hash + ///
+ public new HashProperty Hash { get; } = new HashProperty(); + + /// condensed message digest from a secure one-way hash function. FIPS PUB 180-4


+ ///
+ public new sealed class HashProperty : IProperty + { + /// Constant value for + public const string NAME = "hash"; + /// Constant value for + public const string SUMMARY = @" condensed message digest from a secure one-way hash function. {{cite(FIPS PUB 180-4)}} +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AvailabilityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AvailabilityClass.cs new file mode 100644 index 00000000..0d4bfed4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AvailabilityClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.AVAILABILITY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AvailabilityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218181_310908_1554"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218181_310908_1554"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::AVAILABILITY)}} +"; + /// Constant value for + public const string NAME = "Availability"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new AvailabilityClassProperties Properties { get; } = new AvailabilityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AvailabilityClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AvailabilityEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.AvailabilityEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "AVAILABILITY"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisCouplingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisCouplingClass.cs new file mode 100644 index 00000000..0f79e0ff --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisCouplingClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.AXIS_COUPLING


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisCouplingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218184_367826_1557"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218184_367826_1557"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::AXIS_COUPLING)}} +"; + /// Constant value for + public const string NAME = "AxisCoupling"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new AxisCouplingClassProperties Properties { get; } = new AxisCouplingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisCouplingClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AxisCouplingEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.AxisCouplingEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "AXIS_COUPLING"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverride.JogClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverride.JogClass.cs new file mode 100644 index 00000000..d8867f93 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverride.JogClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// relating to momentary activation of a function or a movement.

DEPRECATION WARNING: May be deprecated in the future.


Description

When the JOG subtype of AxisFeedrateOverride is applied, the resulting commanded feedrate for the axis is limited to the value of the original JOG subtype of the AxisFeedrate multiplied by the value of the JOG subtype of
AxisFeedrateOverride.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisFeedrateOverrideJogClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218199_242402_1584"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218199_242402_1584"; + /// Constant value for + public const string SUMMARY = @" relating to momentary activation of a function or a movement. + +**DEPRECATION WARNING**: May be deprecated in the future. + Description When the `JOG` subtype of `AxisFeedrateOverride` is applied, the resulting commanded feedrate for the axis is limited to the value of the original `JOG` subtype of the `AxisFeedrate` multiplied by the value of the `JOG` subtype of +`AxisFeedrateOverride`. +"; + /// Constant value for + public const string NAME = "AxisFeedrateOverride.Jog"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218198_335017_1581 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.AxisFeedrateOverrideClass); + + /// + public new AxisFeedrateOverrideJogClassProperties Properties { get; } = new AxisFeedrateOverrideJogClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisFeedrateOverrideJogClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.AxisFeedrateOverrideClass.AxisFeedrateOverrideClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverride.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverride.ProgrammedClass.cs new file mode 100644 index 00000000..1bc6f893 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverride.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisFeedrateOverrideProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218201_838245_1587"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218201_838245_1587"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "AxisFeedrateOverride.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218198_335017_1581 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.AxisFeedrateOverrideClass); + + /// + public new AxisFeedrateOverrideProgrammedClassProperties Properties { get; } = new AxisFeedrateOverrideProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisFeedrateOverrideProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.AxisFeedrateOverrideClass.AxisFeedrateOverrideClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverride.RapidClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverride.RapidClass.cs new file mode 100644 index 00000000..feb50ed5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverride.RapidClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// performing an operation faster or in less time than nominal rate.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisFeedrateOverrideRapidClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218202_484852_1590"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218202_484852_1590"; + /// Constant value for + public const string SUMMARY = @" performing an operation faster or in less time than nominal rate. +"; + /// Constant value for + public const string NAME = "AxisFeedrateOverride.Rapid"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218198_335017_1581 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.AxisFeedrateOverrideClass); + + /// + public new AxisFeedrateOverrideRapidClassProperties Properties { get; } = new AxisFeedrateOverrideRapidClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisFeedrateOverrideRapidClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.AxisFeedrateOverrideClass.AxisFeedrateOverrideClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverrideClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverrideClass.cs new file mode 100644 index 00000000..7d0dcc6a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisFeedrateOverrideClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.AXIS_FEEDRATE_OVERRIDE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisFeedrateOverrideClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218198_335017_1581"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218198_335017_1581"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::AXIS_FEEDRATE_OVERRIDE)}} +"; + /// Constant value for + public const string NAME = "AxisFeedrateOverride"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new AxisFeedrateOverrideClassProperties Properties { get; } = new AxisFeedrateOverrideClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisFeedrateOverrideClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "AXIS_FEEDRATE_OVERRIDE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisInterlockClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisInterlockClass.cs new file mode 100644 index 00000000..18ae0ef3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisInterlockClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.AXIS_INTERLOCK


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisInterlockClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218203_465402_1593"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218203_465402_1593"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::AXIS_INTERLOCK)}} +"; + /// Constant value for + public const string NAME = "AxisInterlock"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new AxisInterlockClassProperties Properties { get; } = new AxisInterlockClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisInterlockClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AxisInterlockEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.AxisInterlockEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "AXIS_INTERLOCK"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisStateClass.cs new file mode 100644 index 00000000..a67b6022 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/AxisStateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.AXIS_STATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218205_154539_1596"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218205_154539_1596"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::AXIS_STATE)}} +"; + /// Constant value for + public const string NAME = "AxisState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new AxisStateClassProperties Properties { get; } = new AxisStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AxisStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.AxisStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "AXIS_STATE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/BatteryStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/BatteryStateClass.cs new file mode 100644 index 00000000..097457a0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/BatteryStateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.BATTERY_STATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BatteryStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660319644994_162266_445"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660319644994_162266_445"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::BATTERY_STATE)}} +"; + /// Constant value for + public const string NAME = "BatteryState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new BatteryStateClassProperties Properties { get; } = new BatteryStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BatteryStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: BatteryStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.BatteryStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BATTERY_STATE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/BlockClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/BlockClass.cs new file mode 100644 index 00000000..9be51dd4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/BlockClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.BLOCK


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BlockClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218206_188857_1599"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218206_188857_1599"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::BLOCK)}} +"; + /// Constant value for + public const string NAME = "Block"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new BlockClassProperties Properties { get; } = new BlockClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BlockClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BLOCK"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/BlockCountClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/BlockCountClass.cs new file mode 100644 index 00000000..c9ce8996 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/BlockCountClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.BLOCK_COUNT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BlockCountClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218208_179832_1602"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218208_179832_1602"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::BLOCK_COUNT)}} +"; + /// Constant value for + public const string NAME = "BlockCount"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new BlockCountClassProperties Properties { get; } = new BlockCountClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BlockCountClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BLOCK_COUNT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CharacteristicPersistentIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CharacteristicPersistentIdClass.cs new file mode 100644 index 00000000..0c4e76cf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CharacteristicPersistentIdClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.CHARACTERISTIC_PERSISTENT_ID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CharacteristicPersistentIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678250721451_170871_18540"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678250721451_170871_18540"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::CHARACTERISTIC_PERSISTENT_ID)}} +"; + /// Constant value for + public const string NAME = "CharacteristicPersistentId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new CharacteristicPersistentIdClassProperties Properties { get; } = new CharacteristicPersistentIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CharacteristicPersistentIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ADAPTER_URI"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CharacteristicStatusClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CharacteristicStatusClass.cs new file mode 100644 index 00000000..a67540a5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CharacteristicStatusClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.CHARACTERISTIC_STATUS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CharacteristicStatusClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678250725500_734546_18580"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678250725500_734546_18580"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::CHARACTERISTIC_STATUS)}} +"; + /// Constant value for + public const string NAME = "CharacteristicStatus"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new CharacteristicStatusClassProperties Properties { get; } = new CharacteristicStatusClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CharacteristicStatusClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ADAPTER_URI"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CharacteristicStatusEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CharacteristicStatusEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ChuckInterlock.ManualUnclampClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ChuckInterlock.ManualUnclampClass.cs new file mode 100644 index 00000000..0f3e1a7c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ChuckInterlock.ManualUnclampClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// indication of the state of an operator controlled interlock that can inhibit the ability to initiate an unclamp action of an electronically controlled chuck.

When ChuckInterlockManualUnclamp is ACTIVE, it is expected that a chuck cannot be unclamped until ChuckInterlockManualUnclamp is set to INACTIVE.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChuckInterlockManualUnclampClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218214_457994_1614"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218214_457994_1614"; + /// Constant value for + public const string SUMMARY = @" indication of the state of an operator controlled interlock that can inhibit the ability to initiate an unclamp action of an electronically controlled chuck. + +When {{block(ChuckInterlockManualUnclamp)}} is `ACTIVE`, it is expected that a chuck cannot be unclamped until {{block(ChuckInterlockManualUnclamp)}} is set to `INACTIVE`. +"; + /// Constant value for + public const string NAME = "ChuckInterlock.ManualUnclamp"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218212_381005_1611 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ChuckInterlockClass); + + /// + public new ChuckInterlockManualUnclampClassProperties Properties { get; } = new ChuckInterlockManualUnclampClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChuckInterlockManualUnclampClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ChuckInterlockClass.ChuckInterlockClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ChuckInterlockClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ChuckInterlockClass.cs new file mode 100644 index 00000000..bbc43f9a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ChuckInterlockClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.CHUCK_INTERLOCK


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChuckInterlockClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218212_381005_1611"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218212_381005_1611"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::CHUCK_INTERLOCK)}} +"; + /// Constant value for + public const string NAME = "ChuckInterlock"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ChuckInterlockClassProperties Properties { get; } = new ChuckInterlockClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChuckInterlockClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ChuckInterlockEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ChuckInterlockEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CHUCK_INTERLOCK"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ChuckStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ChuckStateClass.cs new file mode 100644 index 00000000..8bb3c123 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ChuckStateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.CHUCK_STATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChuckStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218215_224787_1617"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218215_224787_1617"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::CHUCK_STATE)}} +"; + /// Constant value for + public const string NAME = "ChuckState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ChuckStateClassProperties Properties { get; } = new ChuckStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChuckStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ChuckStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ChuckStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CHUCK_STATE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ClockTimeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ClockTimeClass.cs new file mode 100644 index 00000000..d1b31c35 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ClockTimeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.CLOCK_TIME


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ClockTimeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218216_670260_1620"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218216_670260_1620"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::CLOCK_TIME)}} +"; + /// Constant value for + public const string NAME = "ClockTime"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ClockTimeClassProperties Properties { get; } = new ClockTimeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ClockTimeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CLOCK_TIME"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CodeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CodeClass.cs new file mode 100644 index 00000000..13ad8fc4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CodeClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.CODE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CodeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218220_736863_1629"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218220_736863_1629"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::CODE)}} +"; + /// Constant value for + public const string NAME = "Code"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new CodeClassProperties Properties { get; } = new CodeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CodeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CODE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ComponentDataClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ComponentDataClass.cs new file mode 100644 index 00000000..011d8337 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ComponentDataClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// tabular EventEnum.COMPONENT_DATA

If the Component multiplicity can be determined, the device model MUST use a fixed set of Components.

ComponentData MUST provide a DataItem Definition.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ComponentDataClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678101504782_455626_16476"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678101504782_455626_16476"; + /// Constant value for + public const string SUMMARY = @" tabular {{def(EventEnum::COMPONENT_DATA)}} + +If the {{block(Component)}} multiplicity can be determined, the device model **MUST** use a fixed set of {{block(Component)}}s. + +{{block(ComponentData)}} **MUST** provide a {{block(DataItem)}} {{block(Definition)}}. +"; + /// Constant value for + public const string NAME = "ComponentData"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ComponentDataClassProperties Properties { get; } = new ComponentDataClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ComponentDataClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMPONENT_DATA"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.ActionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.ActionClass.cs new file mode 100644 index 00000000..d8215d91 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.ActionClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// indication of the operating state of a mechanism.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionStateActionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218224_748196_1635"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218224_748196_1635"; + /// Constant value for + public const string SUMMARY = @" indication of the operating state of a mechanism. +"; + /// Constant value for + public const string NAME = "CompositionState.Action"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218222_423849_1632 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CompositionStateClass); + + /// + public new CompositionStateActionClassProperties Properties { get; } = new CompositionStateActionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CompositionStateActionClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CompositionStateClass.CompositionStateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionStateActionEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CompositionStateActionEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.LateralClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.LateralClass.cs new file mode 100644 index 00000000..ceaf2608 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.LateralClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// indication of the position of a mechanism that may move in a lateral direction.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionStateLateralClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218226_122905_1638"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218226_122905_1638"; + /// Constant value for + public const string SUMMARY = @" indication of the position of a mechanism that may move in a lateral direction. +"; + /// Constant value for + public const string NAME = "CompositionState.Lateral"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218222_423849_1632 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CompositionStateClass); + + /// + public new CompositionStateLateralClassProperties Properties { get; } = new CompositionStateLateralClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CompositionStateLateralClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CompositionStateClass.CompositionStateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionStateLateralEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CompositionStateLateralEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.MotionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.MotionClass.cs new file mode 100644 index 00000000..a49e0be2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.MotionClass.cs @@ -0,0 +1,228 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// indication of the open or closed state of a mechanism.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionStateMotionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218227_296717_1641"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218227_296717_1641"; + /// Constant value for + public const string SUMMARY = @" indication of the open or closed state of a mechanism. + +"; + /// Constant value for + public const string NAME = "CompositionState.Motion"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218222_423849_1632 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CompositionStateClass); + + /// + public new CompositionStateMotionClassProperties Properties { get; } = new CompositionStateMotionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CompositionStateMotionClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CompositionStateClass.CompositionStateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionStateMotionEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CompositionStateMotionEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.SwitchedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.SwitchedClass.cs new file mode 100644 index 00000000..bd0d2ae3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.SwitchedClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// indication of the activation state of a mechanism.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionStateSwitchedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218229_183554_1644"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218229_183554_1644"; + /// Constant value for + public const string SUMMARY = @" indication of the activation state of a mechanism. +"; + /// Constant value for + public const string NAME = "CompositionState.Switched"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218222_423849_1632 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CompositionStateClass); + + /// + public new CompositionStateSwitchedClassProperties Properties { get; } = new CompositionStateSwitchedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CompositionStateSwitchedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CompositionStateClass.CompositionStateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionStateSwitchedEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CompositionStateSwitchedEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.VerticalClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.VerticalClass.cs new file mode 100644 index 00000000..8da5842a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionState.VerticalClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// indication of the position of a mechanism that may move in a vertical direction.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionStateVerticalClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218230_768917_1647"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218230_768917_1647"; + /// Constant value for + public const string SUMMARY = @" indication of the position of a mechanism that may move in a vertical direction. +"; + /// Constant value for + public const string NAME = "CompositionState.Vertical"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218222_423849_1632 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CompositionStateClass); + + /// + public new CompositionStateVerticalClassProperties Properties { get; } = new CompositionStateVerticalClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CompositionStateVerticalClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CompositionStateClass.CompositionStateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionStateVerticalEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CompositionStateVerticalEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionStateClass.cs new file mode 100644 index 00000000..1392f665 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CompositionStateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.COMPOSITION_STATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218222_423849_1632"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218222_423849_1632"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::COMPOSITION_STATE)}} +"; + /// Constant value for + public const string NAME = "CompositionState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new CompositionStateClassProperties Properties { get; } = new CompositionStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CompositionStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMPOSITION_STATE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ConnectionStatusClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ConnectionStatusClass.cs new file mode 100644 index 00000000..8cb11fd4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ConnectionStatusClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.CONNECTION_STATUS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConnectionStatusClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605104021452_397920_743"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605104021452_397920_743"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::CONNECTION_STATUS)}} +"; + /// Constant value for + public const string NAME = "ConnectionStatus"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ConnectionStatusClassProperties Properties { get; } = new ConnectionStatusClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ConnectionStatusClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ConnectionStatusEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ConnectionStatusEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CONNECTION_STATUS"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControlLimitClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControlLimitClass.cs new file mode 100644 index 00000000..5b490c87 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControlLimitClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.CONTROL_LIMIT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControlLimitClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605646894483_607516_3273"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605646894483_607516_3273"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::CONTROL_LIMIT)}} +"; + /// Constant value for + public const string NAME = "ControlLimit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ControlLimitClassProperties Properties { get; } = new ControlLimitClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ControlLimitClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CONTROL_LIMIT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ControlLimitResultClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ControlLimitResultClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControlLimitsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControlLimitsClass.cs new file mode 100644 index 00000000..115d10df --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControlLimitsClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.CONTROL_LIMITS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControlLimitsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1696080573204_6427_2384"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1696080573204_6427_2384"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::CONTROL_LIMITS)}} +"; + /// Constant value for + public const string NAME = "ControlLimits"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ControlLimitsClassProperties Properties { get; } = new ControlLimitsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ControlLimitsClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CONTROL_LIMIT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ControlLimitResultClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ControlLimitResultClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeClass.cs new file mode 100644 index 00000000..6603b91f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.CONTROLLER_MODE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControllerModeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218235_737319_1656"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218235_737319_1656"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::CONTROLLER_MODE)}} +"; + /// Constant value for + public const string NAME = "ControllerMode"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ControllerModeClassProperties Properties { get; } = new ControllerModeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ControllerModeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ControllerModeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ControllerModeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CONTROLLER_MODE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.DryRunClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.DryRunClass.cs new file mode 100644 index 00000000..17e323b4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.DryRunClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// setting or operator selection used to execute a test mode to confirm the execution of machine functions.

When DRY_RUN is ON, the equipment performs all of its normal functions, except no part or product is produced. If the equipment has a spindle, spindle operation is suspended.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControllerModeOverrideDryRunClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218238_470483_1662"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218238_470483_1662"; + /// Constant value for + public const string SUMMARY = @" setting or operator selection used to execute a test mode to confirm the execution of machine functions. + +When `DRY_RUN` is `ON`, the equipment performs all of its normal functions, except no part or product is produced. If the equipment has a spindle, spindle operation is suspended. +"; + /// Constant value for + public const string NAME = "ControllerModeOverride.DryRun"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218236_117661_1659 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ControllerModeOverrideClass); + + /// + public new ControllerModeOverrideDryRunClassProperties Properties { get; } = new ControllerModeOverrideDryRunClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ControllerModeOverrideDryRunClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ControllerModeOverrideClass.ControllerModeOverrideClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.MachineAxisLockClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.MachineAxisLockClass.cs new file mode 100644 index 00000000..a1be39b3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.MachineAxisLockClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// setting or operator selection that changes the behavior of the controller on a piece of equipment.

When MACHINE_AXIS_LOCK is ON, program execution continues normally, but no equipment motion occurs.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControllerModeOverrideMachineAxisLockClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218241_79288_1668"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218241_79288_1668"; + /// Constant value for + public const string SUMMARY = @" setting or operator selection that changes the behavior of the controller on a piece of equipment. + +When `MACHINE_AXIS_LOCK` is `ON`, program execution continues normally, but no equipment motion occurs. +"; + /// Constant value for + public const string NAME = "ControllerModeOverride.MachineAxisLock"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218236_117661_1659 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ControllerModeOverrideClass); + + /// + public new ControllerModeOverrideMachineAxisLockClassProperties Properties { get; } = new ControllerModeOverrideMachineAxisLockClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ControllerModeOverrideMachineAxisLockClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ControllerModeOverrideClass.ControllerModeOverrideClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.OptionalStopClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.OptionalStopClass.cs new file mode 100644 index 00000000..88ad75f4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.OptionalStopClass.cs @@ -0,0 +1,163 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// setting or operator selection that changes the behavior of the controller on a piece of equipment.

The program execution is stopped after a specific program block is executed when OPTIONAL_STOP is ON.

In the case of a G-Code program, a program block containing a M01 code designates the command for an OPTIONAL_STOP.

Execution MUST change to OPTIONAL_STOP after a program block specifying an optional stop is executed and the ControllerModeOverride OPTIONAL_STOP selection is ON.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControllerModeOverrideOptionalStopClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218242_341536_1671"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218242_341536_1671"; + /// Constant value for + public const string SUMMARY = @" setting or operator selection that changes the behavior of the controller on a piece of equipment. + +The program execution is stopped after a specific program block is executed when `OPTIONAL_STOP` is `ON`. + +In the case of a G-Code program, a program block containing a M01 code designates the command for an `OPTIONAL_STOP`. + +{{block(Execution)}} **MUST** change to `OPTIONAL_STOP` after a program block specifying an optional stop is executed and the {{block(ControllerModeOverride)}} `OPTIONAL_STOP` selection is `ON`. +"; + /// Constant value for + public const string NAME = "ControllerModeOverride.OptionalStop"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218236_117661_1659 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ControllerModeOverrideClass); + + /// + public new ControllerModeOverrideOptionalStopClassProperties Properties { get; } = new ControllerModeOverrideOptionalStopClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ControllerModeOverrideOptionalStopClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ControllerModeOverrideClass.ControllerModeOverrideClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.SingleBlockClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.SingleBlockClass.cs new file mode 100644 index 00000000..d6fa5db0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.SingleBlockClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// setting or operator selection that changes the behavior of the controller on a piece of equipment.

Program execution is paused after each block of code is executed when SINGLE_BLOCK is ON.

When SINGLE_BLOCK is ON, Execution MUST change to INTERRUPTED after completion of each block of code.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControllerModeOverrideSingleBlockClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218239_202787_1665"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218239_202787_1665"; + /// Constant value for + public const string SUMMARY = @" setting or operator selection that changes the behavior of the controller on a piece of equipment. + +Program execution is paused after each block of code is executed when `SINGLE_BLOCK` is `ON`. + +When `SINGLE_BLOCK` is `ON`, {{block(Execution)}} **MUST** change to `INTERRUPTED` after completion of each block of code. +"; + /// Constant value for + public const string NAME = "ControllerModeOverride.SingleBlock"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218236_117661_1659 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ControllerModeOverrideClass); + + /// + public new ControllerModeOverrideSingleBlockClassProperties Properties { get; } = new ControllerModeOverrideSingleBlockClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ControllerModeOverrideSingleBlockClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ControllerModeOverrideClass.ControllerModeOverrideClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.ToolChangeStopClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.ToolChangeStopClass.cs new file mode 100644 index 00000000..20c33f39 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverride.ToolChangeStopClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// setting or operator selection that changes the behavior of the controller on a piece of equipment.

Program execution is paused when a command is executed requesting a cutting tool to be changed.

Execution MUST change to INTERRUPTED after completion of the command requesting a cutting tool to be changed and TOOL_CHANGE_STOP is ON.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControllerModeOverrideToolChangeStopClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218244_835736_1674"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218244_835736_1674"; + /// Constant value for + public const string SUMMARY = @" setting or operator selection that changes the behavior of the controller on a piece of equipment. + +Program execution is paused when a command is executed requesting a cutting tool to be changed. + +{{block(Execution)}} **MUST** change to `INTERRUPTED` after completion of the command requesting a cutting tool to be changed and `TOOL_CHANGE_STOP` is `ON`. +"; + /// Constant value for + public const string NAME = "ControllerModeOverride.ToolChangeStop"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218236_117661_1659 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ControllerModeOverrideClass); + + /// + public new ControllerModeOverrideToolChangeStopClassProperties Properties { get; } = new ControllerModeOverrideToolChangeStopClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ControllerModeOverrideToolChangeStopClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ControllerModeOverrideClass.ControllerModeOverrideClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverrideClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverrideClass.cs new file mode 100644 index 00000000..98ee7bd7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ControllerModeOverrideClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.CONTROLLER_MODE_OVERRIDE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControllerModeOverrideClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218236_117661_1659"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218236_117661_1659"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::CONTROLLER_MODE_OVERRIDE)}} +"; + /// Constant value for + public const string NAME = "ControllerModeOverride"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ControllerModeOverrideClassProperties Properties { get; } = new ControllerModeOverrideClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ControllerModeOverrideClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CONTROLLER_MODE_OVERRIDE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ControllerModeOverrideEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ControllerModeOverrideEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CoupledAxesClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CoupledAxesClass.cs new file mode 100644 index 00000000..71d86ae4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CoupledAxesClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.COUPLED_AXES


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CoupledAxesClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218245_451201_1677"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218245_451201_1677"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::COUPLED_AXES)}} +"; + /// Constant value for + public const string NAME = "CoupledAxes"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new CoupledAxesClassProperties Properties { get; } = new CoupledAxesClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CoupledAxesClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COUPLED_AXES"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.AbortedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.AbortedClass.cs new file mode 100644 index 00000000..bc380e75 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.AbortedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions or activities that were attempted, but terminated before they could be completed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CycleCountAbortedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197602624_682781_992"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197602624_682781_992"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions or activities that were attempted, but terminated before they could be completed. +"; + /// Constant value for + public const string NAME = "CycleCount.Aborted"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197602623_421954_991 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass); + + /// + public new CycleCountAbortedClassProperties Properties { get; } = new CycleCountAbortedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CycleCountAbortedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass.CycleCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ABORTED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.AllClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.AllClass.cs new file mode 100644 index 00000000..f3182bb9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.AllClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of all actions, items, or activities being counted independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CycleCountAllClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197602625_488496_993"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197602625_488496_993"; + /// Constant value for + public const string SUMMARY = @" accumulation of all actions, items, or activities being counted independent of the outcome. +"; + /// Constant value for + public const string NAME = "CycleCount.All"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197602623_421954_991 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass); + + /// + public new CycleCountAllClassProperties Properties { get; } = new CycleCountAllClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CycleCountAllClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass.CycleCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.BadClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.BadClass.cs new file mode 100644 index 00000000..5303e349 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.BadClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that do not conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CycleCountBadClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197602625_144956_994"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197602625_144956_994"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that do not conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "CycleCount.Bad"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197602623_421954_991 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass); + + /// + public new CycleCountBadClassProperties Properties { get; } = new CycleCountBadClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CycleCountBadClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass.CycleCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BAD"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.CompleteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.CompleteClass.cs new file mode 100644 index 00000000..059653e1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.CompleteClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities that have been completed, independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CycleCountCompleteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197602625_164832_995"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197602625_164832_995"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities that have been completed, independent of the outcome. +"; + /// Constant value for + public const string NAME = "CycleCount.Complete"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197602623_421954_991 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass); + + /// + public new CycleCountCompleteClassProperties Properties { get; } = new CycleCountCompleteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CycleCountCompleteClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass.CycleCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMPLETE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.FailedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.FailedClass.cs new file mode 100644 index 00000000..18006962 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.FailedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions or activities that were attempted, but failed to complete or resulted in an unexpected or unacceptable outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CycleCountFailedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197602625_399618_996"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197602625_399618_996"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions or activities that were attempted, but failed to complete or resulted in an unexpected or unacceptable outcome. +"; + /// Constant value for + public const string NAME = "CycleCount.Failed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197602623_421954_991 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass); + + /// + public new CycleCountFailedClassProperties Properties { get; } = new CycleCountFailedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CycleCountFailedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass.CycleCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FAILED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.GoodClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.GoodClass.cs new file mode 100644 index 00000000..67080089 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.GoodClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CycleCountGoodClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197602626_179310_997"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197602626_179310_997"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "CycleCount.Good"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197602623_421954_991 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass); + + /// + public new CycleCountGoodClassProperties Properties { get; } = new CycleCountGoodClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CycleCountGoodClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass.CycleCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "GOOD"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.RemainingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.RemainingClass.cs new file mode 100644 index 00000000..9e7ad274 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.RemainingClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities yet to be counted.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CycleCountRemainingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197602628_454727_998"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197602628_454727_998"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities yet to be counted. +"; + /// Constant value for + public const string NAME = "CycleCount.Remaining"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197602623_421954_991 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass); + + /// + public new CycleCountRemainingClassProperties Properties { get; } = new CycleCountRemainingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CycleCountRemainingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass.CycleCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REMAINING"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.TargetClass.cs new file mode 100644 index 00000000..cd726736 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCount.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CycleCountTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197602628_785471_999"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197602628_785471_999"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "CycleCount.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197602623_421954_991 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass); + + /// + public new CycleCountTargetClassProperties Properties { get; } = new CycleCountTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CycleCountTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.CycleCountClass.CycleCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TARGET"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCountClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCountClass.cs new file mode 100644 index 00000000..28227fb3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/CycleCountClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.CYCLE_COUNT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CycleCountClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197602623_421954_991"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197602623_421954_991"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::CYCLE_COUNT)}} +"; + /// Constant value for + public const string NAME = "CycleCount"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new CycleCountClassProperties Properties { get; } = new CycleCountClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CycleCountClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CYCLE_COUNT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCode.ExpirationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCode.ExpirationClass.cs new file mode 100644 index 00000000..88495349 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCode.ExpirationClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// time and date code relating to the expiration or end of useful life for a material or other physical item.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DateCodeExpirationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218255_944717_1698"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218255_944717_1698"; + /// Constant value for + public const string SUMMARY = @" time and date code relating to the expiration or end of useful life for a material or other physical item. +"; + /// Constant value for + public const string NAME = "DateCode.Expiration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218252_114493_1692 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DateCodeClass); + + /// + public new DateCodeExpirationClassProperties Properties { get; } = new DateCodeExpirationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DateCodeExpirationClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DateCodeClass.DateCodeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCode.FirstUseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCode.FirstUseClass.cs new file mode 100644 index 00000000..b1765bc4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCode.FirstUseClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// time and date code relating the first use of a material or other physical item.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DateCodeFirstUseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218256_219043_1701"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218256_219043_1701"; + /// Constant value for + public const string SUMMARY = @" time and date code relating the first use of a material or other physical item. +"; + /// Constant value for + public const string NAME = "DateCode.FirstUse"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218252_114493_1692 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DateCodeClass); + + /// + public new DateCodeFirstUseClassProperties Properties { get; } = new DateCodeFirstUseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DateCodeFirstUseClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DateCodeClass.DateCodeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCode.ManufactureClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCode.ManufactureClass.cs new file mode 100644 index 00000000..72721a6e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCode.ManufactureClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// time and date code relating to the production of a material or other physical item.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DateCodeManufactureClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218254_396480_1695"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218254_396480_1695"; + /// Constant value for + public const string SUMMARY = @" time and date code relating to the production of a material or other physical item. +"; + /// Constant value for + public const string NAME = "DateCode.Manufacture"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218252_114493_1692 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DateCodeClass); + + /// + public new DateCodeManufactureClassProperties Properties { get; } = new DateCodeManufactureClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DateCodeManufactureClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DateCodeClass.DateCodeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCodeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCodeClass.cs new file mode 100644 index 00000000..b7469e54 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DateCodeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.DATE_CODE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DateCodeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218252_114493_1692"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218252_114493_1692"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::DATE_CODE)}} +"; + /// Constant value for + public const string NAME = "DateCode"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new DateCodeClassProperties Properties { get; } = new DateCodeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DateCodeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DATE_CODE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.AbortedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.AbortedClass.cs new file mode 100644 index 00000000..0c432768 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.AbortedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions or activities that were attempted, but terminated before they could be completed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeactivationCountAbortedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601895_97837_901"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601895_97837_901"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions or activities that were attempted, but terminated before they could be completed. +"; + /// Constant value for + public const string NAME = "DeactivationCount.Aborted"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601894_262797_900 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass); + + /// + public new DeactivationCountAbortedClassProperties Properties { get; } = new DeactivationCountAbortedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeactivationCountAbortedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass.DeactivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ABORTED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.AllClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.AllClass.cs new file mode 100644 index 00000000..60b06b2b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.AllClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of all actions, items, or activities being counted independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeactivationCountAllClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601895_152121_902"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601895_152121_902"; + /// Constant value for + public const string SUMMARY = @" accumulation of all actions, items, or activities being counted independent of the outcome. +"; + /// Constant value for + public const string NAME = "DeactivationCount.All"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601894_262797_900 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass); + + /// + public new DeactivationCountAllClassProperties Properties { get; } = new DeactivationCountAllClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeactivationCountAllClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass.DeactivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.BadClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.BadClass.cs new file mode 100644 index 00000000..7e714d5d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.BadClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that do not conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeactivationCountBadClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601896_60536_903"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601896_60536_903"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that do not conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "DeactivationCount.Bad"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601894_262797_900 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass); + + /// + public new DeactivationCountBadClassProperties Properties { get; } = new DeactivationCountBadClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeactivationCountBadClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass.DeactivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BAD"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.CompleteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.CompleteClass.cs new file mode 100644 index 00000000..2659e2d6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.CompleteClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities that have been completed, independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeactivationCountCompleteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601896_334943_904"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601896_334943_904"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities that have been completed, independent of the outcome. +"; + /// Constant value for + public const string NAME = "DeactivationCount.Complete"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601894_262797_900 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass); + + /// + public new DeactivationCountCompleteClassProperties Properties { get; } = new DeactivationCountCompleteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeactivationCountCompleteClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass.DeactivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMPLETE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.FailedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.FailedClass.cs new file mode 100644 index 00000000..c23d1805 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.FailedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions or activities that were attempted, but failed to complete or resulted in an unexpected or unacceptable outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeactivationCountFailedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601896_175668_905"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601896_175668_905"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions or activities that were attempted, but failed to complete or resulted in an unexpected or unacceptable outcome. +"; + /// Constant value for + public const string NAME = "DeactivationCount.Failed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601894_262797_900 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass); + + /// + public new DeactivationCountFailedClassProperties Properties { get; } = new DeactivationCountFailedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeactivationCountFailedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass.DeactivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FAILED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.GoodClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.GoodClass.cs new file mode 100644 index 00000000..03ec4c28 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.GoodClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeactivationCountGoodClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601897_425105_906"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601897_425105_906"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "DeactivationCount.Good"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601894_262797_900 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass); + + /// + public new DeactivationCountGoodClassProperties Properties { get; } = new DeactivationCountGoodClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeactivationCountGoodClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass.DeactivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "GOOD"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.RemainingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.RemainingClass.cs new file mode 100644 index 00000000..48470b0d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.RemainingClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities yet to be counted.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeactivationCountRemainingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601897_705539_907"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601897_705539_907"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities yet to be counted. +"; + /// Constant value for + public const string NAME = "DeactivationCount.Remaining"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601894_262797_900 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass); + + /// + public new DeactivationCountRemainingClassProperties Properties { get; } = new DeactivationCountRemainingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeactivationCountRemainingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass.DeactivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REMAINING"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.TargetClass.cs new file mode 100644 index 00000000..3881c1f2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCount.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeactivationCountTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601897_386103_908"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601897_386103_908"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "DeactivationCount.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197601894_262797_900 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass); + + /// + public new DeactivationCountTargetClassProperties Properties { get; } = new DeactivationCountTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeactivationCountTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DeactivationCountClass.DeactivationCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TARGET"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCountClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCountClass.cs new file mode 100644 index 00000000..7529025b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeactivationCountClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.DEACTIVATION_COUNT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeactivationCountClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197601894_262797_900"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197601894_262797_900"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::DEACTIVATION_COUNT)}} +"; + /// Constant value for + public const string NAME = "DeactivationCount"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new DeactivationCountClassProperties Properties { get; } = new DeactivationCountClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeactivationCountClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEACTIVATION_COUNT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceAddedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceAddedClass.cs new file mode 100644 index 00000000..607d01b8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceAddedClass.cs @@ -0,0 +1,228 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.DEVICE_ADDED


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeviceAddedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605103593648_589050_423"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605103593648_589050_423"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::DEVICE_ADDED)}} +"; + /// Constant value for + public const string NAME = "DeviceAdded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new DeviceAddedClassProperties Properties { get; } = new DeviceAddedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeviceAddedClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Hash, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEVICE_ADDED"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Hash + ///
+ public new HashProperty Hash { get; } = new HashProperty(); + + /// condensed message digest from a secure one-way hash function. FIPS PUB 180-4


+ ///
+ public new sealed class HashProperty : IProperty + { + /// Constant value for + public const string NAME = "hash"; + /// Constant value for + public const string SUMMARY = @" condensed message digest from a secure one-way hash function. {{cite(FIPS PUB 180-4)}} +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceChangedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceChangedClass.cs new file mode 100644 index 00000000..046d926b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceChangedClass.cs @@ -0,0 +1,228 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.DEVICE_CHANGED


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeviceChangedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605104020806_268015_727"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605104020806_268015_727"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::DEVICE_CHANGED)}} +"; + /// Constant value for + public const string NAME = "DeviceChanged"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new DeviceChangedClassProperties Properties { get; } = new DeviceChangedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeviceChangedClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Hash, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEVICE_CHANGED"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Hash + ///
+ public new HashProperty Hash { get; } = new HashProperty(); + + /// condensed message digest from a secure one-way hash function. FIPS PUB 180-4


+ ///
+ public new sealed class HashProperty : IProperty + { + /// Constant value for + public const string NAME = "hash"; + /// Constant value for + public const string SUMMARY = @" condensed message digest from a secure one-way hash function. {{cite(FIPS PUB 180-4)}} +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceRemovedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceRemovedClass.cs new file mode 100644 index 00000000..5c0f1c0b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceRemovedClass.cs @@ -0,0 +1,228 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.DEVICE_REMOVED


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeviceRemovedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605104021126_502092_735"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605104021126_502092_735"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::DEVICE_REMOVED)}} +"; + /// Constant value for + public const string NAME = "DeviceRemoved"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new DeviceRemovedClassProperties Properties { get; } = new DeviceRemovedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeviceRemovedClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Hash, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEVICE_REMOVED"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Hash + ///
+ public new HashProperty Hash { get; } = new HashProperty(); + + /// condensed message digest from a secure one-way hash function. FIPS PUB 180-4


+ ///
+ public new sealed class HashProperty : IProperty + { + /// Constant value for + public const string NAME = "hash"; + /// Constant value for + public const string SUMMARY = @" condensed message digest from a secure one-way hash function. {{cite(FIPS PUB 180-4)}} +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceUuidClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceUuidClass.cs new file mode 100644 index 00000000..9569b7ea --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DeviceUuidClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.DEVICE_UUID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeviceUuidClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218277_625034_1752"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218277_625034_1752"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::DEVICE_UUID)}} +"; + /// Constant value for + public const string NAME = "DeviceUuid"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new DeviceUuidClassProperties Properties { get; } = new DeviceUuidClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeviceUuidClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEVICE_UUID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Direction.LinearClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Direction.LinearClass.cs new file mode 100644 index 00000000..74488719 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Direction.LinearClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// direction of motion of a linear motion.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DirectionLinearClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218281_243605_1761"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218281_243605_1761"; + /// Constant value for + public const string SUMMARY = @" direction of motion of a linear motion. +"; + /// Constant value for + public const string NAME = "Direction.Linear"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218278_641962_1755 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DirectionClass); + + /// + public new DirectionLinearClassProperties Properties { get; } = new DirectionLinearClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DirectionLinearClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DirectionClass.DirectionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DirectionLinearEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DirectionLinearEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Direction.RotaryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Direction.RotaryClass.cs new file mode 100644 index 00000000..b993dc37 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Direction.RotaryClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// rotational direction of a rotary motion using the right hand rule convention.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DirectionRotaryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218280_535236_1758"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218280_535236_1758"; + /// Constant value for + public const string SUMMARY = @" rotational direction of a rotary motion using the right hand rule convention. +"; + /// Constant value for + public const string NAME = "Direction.Rotary"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218278_641962_1755 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DirectionClass); + + /// + public new DirectionRotaryClassProperties Properties { get; } = new DirectionRotaryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DirectionRotaryClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.DirectionClass.DirectionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DirectionRotaryEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DirectionRotaryEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DirectionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DirectionClass.cs new file mode 100644 index 00000000..a3f5d221 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DirectionClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.DIRECTION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DirectionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218278_641962_1755"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218278_641962_1755"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::DIRECTION)}} +"; + /// Constant value for + public const string NAME = "Direction"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new DirectionClassProperties Properties { get; } = new DirectionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DirectionClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DIRECTION"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DirectionEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DirectionEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DoorStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DoorStateClass.cs new file mode 100644 index 00000000..99389229 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/DoorStateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.DOOR_STATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DoorStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218284_523548_1767"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218284_523548_1767"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::DOOR_STATE)}} +"; + /// Constant value for + public const string NAME = "DoorState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new DoorStateClassProperties Properties { get; } = new DoorStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DoorStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DoorStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DoorStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DOOR_STATE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EmergencyStopClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EmergencyStopClass.cs new file mode 100644 index 00000000..6688d5b8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EmergencyStopClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.EMERGENCY_STOP


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EmergencyStopClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218286_842979_1773"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218286_842979_1773"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::EMERGENCY_STOP)}} +"; + /// Constant value for + public const string NAME = "EmergencyStop"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new EmergencyStopClassProperties Properties { get; } = new EmergencyStopClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EmergencyStopClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EmergencyStopEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EmergencyStopEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "EMERGENCY_STOP"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EndOfBar.AuxiliaryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EndOfBar.AuxiliaryClass.cs new file mode 100644 index 00000000..840823ac --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EndOfBar.AuxiliaryClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// when multiple locations on a piece of bar stock are referenced as the indication for the EndOfBar, the additional location(s) MUST be designated as AUXILIARY indication(s) for the EndOfBar.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EndOfBarAuxiliaryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218290_73647_1782"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218290_73647_1782"; + /// Constant value for + public const string SUMMARY = @" when multiple locations on a piece of bar stock are referenced as the indication for the {{block(EndOfBar)}}, the additional location(s) **MUST** be designated as `AUXILIARY` indication(s) for the {{block(EndOfBar)}}. +"; + /// Constant value for + public const string NAME = "EndOfBar.Auxiliary"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218288_775940_1776 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EndOfBarClass); + + /// + public new EndOfBarAuxiliaryClassProperties Properties { get; } = new EndOfBarAuxiliaryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EndOfBarAuxiliaryClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EndOfBarClass.EndOfBarClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EndOfBar.PrimaryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EndOfBar.PrimaryClass.cs new file mode 100644 index 00000000..ccdb03f7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EndOfBar.PrimaryClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// specific applications MAY reference one or more locations on a piece of bar stock as the indication for the EndOfBar.

The main or most important location MUST be designated as the PRIMARY indication for the EndOfBar.

If no subType is specified, PRIMARY MUST be the default EndOfBar indication.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EndOfBarPrimaryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218289_100730_1779"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218289_100730_1779"; + /// Constant value for + public const string SUMMARY = @" specific applications **MAY** reference one or more locations on a piece of bar stock as the indication for the {{block(EndOfBar)}}. + +The main or most important location **MUST** be designated as the {{block(PRIMARY)}} indication for the {{block(EndOfBar)}}. + +If no {{block(subType)}} is specified, {{block(PRIMARY)}} **MUST** be the default {{block(EndOfBar)}} indication. +"; + /// Constant value for + public const string NAME = "EndOfBar.Primary"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218288_775940_1776 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EndOfBarClass); + + /// + public new EndOfBarPrimaryClassProperties Properties { get; } = new EndOfBarPrimaryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EndOfBarPrimaryClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EndOfBarClass.EndOfBarClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EndOfBarClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EndOfBarClass.cs new file mode 100644 index 00000000..6f393822 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EndOfBarClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.END_OF_BAR


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EndOfBarClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218288_775940_1776"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218288_775940_1776"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::END_OF_BAR)}} +"; + /// Constant value for + public const string NAME = "EndOfBar"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new EndOfBarClassProperties Properties { get; } = new EndOfBarClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EndOfBarClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EndOfBarEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EndOfBarEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "END_OF_BAR"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PRIMARY"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.DelayClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.DelayClass.cs new file mode 100644 index 00000000..d812f2ae --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.DelayClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// elapsed time of a temporary halt of action.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentModeDelayClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218297_322979_1800"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218297_322979_1800"; + /// Constant value for + public const string SUMMARY = @" elapsed time of a temporary halt of action. +"; + /// Constant value for + public const string NAME = "EquipmentMode.Delay"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218291_180049_1785 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EquipmentModeClass); + + /// + public new EquipmentModeDelayClassProperties Properties { get; } = new EquipmentModeDelayClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EquipmentModeDelayClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EquipmentModeClass.EquipmentModeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.LoadedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.LoadedClass.cs new file mode 100644 index 00000000..c95171ac --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.LoadedClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// indication that the sub-parts of a piece of equipment are under load.

Example: For traditional machine tools, this is an indication that the cutting tool is assumed to be engaged with the part.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentModeLoadedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218293_885971_1788"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218293_885971_1788"; + /// Constant value for + public const string SUMMARY = @" indication that the sub-parts of a piece of equipment are under load. + +Example: For traditional machine tools, this is an indication that the cutting tool is assumed to be engaged with the part. +"; + /// Constant value for + public const string NAME = "EquipmentMode.Loaded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218291_180049_1785 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EquipmentModeClass); + + /// + public new EquipmentModeLoadedClassProperties Properties { get; } = new EquipmentModeLoadedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EquipmentModeLoadedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EquipmentModeClass.EquipmentModeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.OperatingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.OperatingClass.cs new file mode 100644 index 00000000..0cc8c533 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.OperatingClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// indication that the major sub-parts of a piece of equipment are powered or performing any activity whether producing a part or product or not.

Example: For traditional machine tools, this includes when the piece of equipment is WORKING or it is idle.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentModeOperatingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218295_856400_1794"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218295_856400_1794"; + /// Constant value for + public const string SUMMARY = @" indication that the major sub-parts of a piece of equipment are powered or performing any activity whether producing a part or product or not. + +Example: For traditional machine tools, this includes when the piece of equipment is `WORKING` or it is idle. +"; + /// Constant value for + public const string NAME = "EquipmentMode.Operating"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218291_180049_1785 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EquipmentModeClass); + + /// + public new EquipmentModeOperatingClassProperties Properties { get; } = new EquipmentModeOperatingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EquipmentModeOperatingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EquipmentModeClass.EquipmentModeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.PoweredClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.PoweredClass.cs new file mode 100644 index 00000000..314ff709 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.PoweredClass.cs @@ -0,0 +1,160 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// indication that primary power is applied to the piece of equipment and, as a minimum, the controller or logic portion of the piece of equipment is powered and functioning or components that are required to remain on are
powered.

Example: Heaters for an extrusion machine that required to be powered even when the equipment is turned off.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentModePoweredClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218296_663822_1797"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218296_663822_1797"; + /// Constant value for + public const string SUMMARY = @" indication that primary power is applied to the piece of equipment and, as a minimum, the controller or logic portion of the piece of equipment is powered and functioning or components that are required to remain on are +powered. + +Example: Heaters for an extrusion machine that required to be powered even when the equipment is turned off. +"; + /// Constant value for + public const string NAME = "EquipmentMode.Powered"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218291_180049_1785 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EquipmentModeClass); + + /// + public new EquipmentModePoweredClassProperties Properties { get; } = new EquipmentModePoweredClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EquipmentModePoweredClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EquipmentModeClass.EquipmentModeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.WorkingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.WorkingClass.cs new file mode 100644 index 00000000..e081718f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentMode.WorkingClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// indication that a piece of equipment is performing any activity, the equipment is active and performing a function under load or not.

Example: For traditional machine tools, this includes when the piece of equipment is LOADED, making rapid moves, executing a tool change, etc.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentModeWorkingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218294_549129_1791"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218294_549129_1791"; + /// Constant value for + public const string SUMMARY = @" indication that a piece of equipment is performing any activity, the equipment is active and performing a function under load or not. + +Example: For traditional machine tools, this includes when the piece of equipment is `LOADED`, making rapid moves, executing a tool change, etc. +"; + /// Constant value for + public const string NAME = "EquipmentMode.Working"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218291_180049_1785 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EquipmentModeClass); + + /// + public new EquipmentModeWorkingClassProperties Properties { get; } = new EquipmentModeWorkingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EquipmentModeWorkingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.EquipmentModeClass.EquipmentModeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentModeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentModeClass.cs new file mode 100644 index 00000000..3f8ea806 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/EquipmentModeClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.EQUIPMENT_MODE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentModeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218291_180049_1785"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218291_180049_1785"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::EQUIPMENT_MODE)}} +"; + /// Constant value for + public const string NAME = "EquipmentMode"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new EquipmentModeClassProperties Properties { get; } = new EquipmentModeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EquipmentModeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EquipmentModeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EquipmentModeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "EQUIPMENT_MODE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ExecutionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ExecutionClass.cs new file mode 100644 index 00000000..7922d0a7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ExecutionClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.EXECUTION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ExecutionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218306_196644_1821"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218306_196644_1821"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::EXECUTION)}} +"; + /// Constant value for + public const string NAME = "Execution"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ExecutionClassProperties Properties { get; } = new ExecutionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ExecutionClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ExecutionEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ExecutionEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "EXECUTION"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FeatureMeasurementClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FeatureMeasurementClass.cs new file mode 100644 index 00000000..2343477c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FeatureMeasurementClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// tabular representation of EventEnum.FEATURE_MEASUREMENT

FeatureMeasurement MAY include a characteristic in which case it MAY include a CHARACTERISTIC_STATUS.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FeatureMeasurementClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678194652938_418535_17145"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678194652938_418535_17145"; + /// Constant value for + public const string SUMMARY = @" tabular representation of {{def(EventEnum::FEATURE_MEASUREMENT)}} + +{{block(FeatureMeasurement)}} **MAY** include a {{term(characteristic)}} in which case it **MAY** include a `CHARACTERISTIC_STATUS`. +"; + /// Constant value for + public const string NAME = "FeatureMeasurement"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new FeatureMeasurementClassProperties Properties { get; } = new FeatureMeasurementClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FeatureMeasurementClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FEATURE_MEASUREMENT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: FeatureMeasurementResultClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.FeatureMeasurementResultClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FeaturePersisitentIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FeaturePersisitentIdClass.cs new file mode 100644 index 00000000..7d914033 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FeaturePersisitentIdClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.FEATURE_PERSISTENT_ID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FeaturePersisitentIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1677579833995_963806_528"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1677579833995_963806_528"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::FEATURE_PERSISTENT_ID)}} +"; + /// Constant value for + public const string NAME = "FeaturePersisitentId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new FeaturePersisitentIdClassProperties Properties { get; } = new FeaturePersisitentIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FeaturePersisitentIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FEATURE_PERSISTENT_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.InstallDateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.InstallDateClass.cs new file mode 100644 index 00000000..f4c495a3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.InstallDateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// date the hardware or software was installed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FirmwareInstallDateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751250492_784600_2484"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751250492_784600_2484"; + /// Constant value for + public const string SUMMARY = @" date the hardware or software was installed. +"; + /// Constant value for + public const string NAME = "Firmware.InstallDate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751250489_129096_2481 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.FirmwareClass); + + /// + public new FirmwareInstallDateClassProperties Properties { get; } = new FirmwareInstallDateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FirmwareInstallDateClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.FirmwareClass.FirmwareClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "INSTALL_DATE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.LicenseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.LicenseClass.cs new file mode 100644 index 00000000..a63a76e7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.LicenseClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// license code to validate or activate the hardware or software.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FirmwareLicenseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751250491_12153_2483"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751250491_12153_2483"; + /// Constant value for + public const string SUMMARY = @" license code to validate or activate the hardware or software. +"; + /// Constant value for + public const string NAME = "Firmware.License"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751250489_129096_2481 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.FirmwareClass); + + /// + public new FirmwareLicenseClassProperties Properties { get; } = new FirmwareLicenseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FirmwareLicenseClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.FirmwareClass.FirmwareClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LICENSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.ManufacturerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.ManufacturerClass.cs new file mode 100644 index 00000000..2121e1c5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.ManufacturerClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// corporate identity for the maker of the hardware or software.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FirmwareManufacturerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751250489_957505_2482"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751250489_957505_2482"; + /// Constant value for + public const string SUMMARY = @" corporate identity for the maker of the hardware or software. +"; + /// Constant value for + public const string NAME = "Firmware.Manufacturer"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751250489_129096_2481 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.FirmwareClass); + + /// + public new FirmwareManufacturerClassProperties Properties { get; } = new FirmwareManufacturerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FirmwareManufacturerClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.FirmwareClass.FirmwareClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MANUFACTURER"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.ReleaseDateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.ReleaseDateClass.cs new file mode 100644 index 00000000..c8ce2bbf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.ReleaseDateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// date the hardware or software was released for general use.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FirmwareReleaseDateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751250488_404522_2480"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751250488_404522_2480"; + /// Constant value for + public const string SUMMARY = @" date the hardware or software was released for general use. +"; + /// Constant value for + public const string NAME = "Firmware.ReleaseDate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751250489_129096_2481 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.FirmwareClass); + + /// + public new FirmwareReleaseDateClassProperties Properties { get; } = new FirmwareReleaseDateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FirmwareReleaseDateClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.FirmwareClass.FirmwareClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RELEASE_DATE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.VersionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.VersionClass.cs new file mode 100644 index 00000000..ba72459d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Firmware.VersionClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// version of the hardware or software.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FirmwareVersionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751250486_399335_2479"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751250486_399335_2479"; + /// Constant value for + public const string SUMMARY = @" version of the hardware or software. +"; + /// Constant value for + public const string NAME = "Firmware.Version"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751250489_129096_2481 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.FirmwareClass); + + /// + public new FirmwareVersionClassProperties Properties { get; } = new FirmwareVersionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FirmwareVersionClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.FirmwareClass.FirmwareClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VERSION"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FirmwareClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FirmwareClass.cs new file mode 100644 index 00000000..b511fd5b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FirmwareClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.FIRMWARE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FirmwareClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751250489_129096_2481"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751250489_129096_2481"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::FIRMWARE)}} +"; + /// Constant value for + public const string NAME = "Firmware"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new FirmwareClassProperties Properties { get; } = new FirmwareClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FirmwareClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FIRMWARE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FixtureIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FixtureIdClass.cs new file mode 100644 index 00000000..f0caf6d6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FixtureIdClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.FIXTURE_ID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FixtureIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640605430258_307416_529"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1640605430258_307416_529"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::FIXTURE_ID)}} +"; + /// Constant value for + public const string NAME = "FixtureId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new FixtureIdClassProperties Properties { get; } = new FixtureIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FixtureIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FIXTURE_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FunctionalModeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FunctionalModeClass.cs new file mode 100644 index 00000000..e64ab646 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/FunctionalModeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.FUNCTIONAL_MODE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FunctionalModeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218312_721573_1833"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218312_721573_1833"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::FUNCTIONAL_MODE)}} +"; + /// Constant value for + public const string NAME = "FunctionalMode"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new FunctionalModeClassProperties Properties { get; } = new FunctionalModeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FunctionalModeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: FunctionalModeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.FunctionalModeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FUNCTIONAL_MODE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.BrinellClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.BrinellClass.cs new file mode 100644 index 00000000..c38054dc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.BrinellClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// scale to measure the resistance to deformation of a surface.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardnessBrinellClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218321_478440_1851"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218321_478440_1851"; + /// Constant value for + public const string SUMMARY = @" scale to measure the resistance to deformation of a surface. +"; + /// Constant value for + public const string NAME = "Hardness.Brinell"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218314_342350_1839 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardnessClass); + + /// + public new HardnessBrinellClassProperties Properties { get; } = new HardnessBrinellClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardnessBrinellClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardnessClass.HardnessClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.LeebClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.LeebClass.cs new file mode 100644 index 00000000..18cd4710 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.LeebClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// scale to measure the elasticity of a surface.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardnessLeebClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218323_947410_1854"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218323_947410_1854"; + /// Constant value for + public const string SUMMARY = @" scale to measure the elasticity of a surface. +"; + /// Constant value for + public const string NAME = "Hardness.Leeb"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218314_342350_1839 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardnessClass); + + /// + public new HardnessLeebClassProperties Properties { get; } = new HardnessLeebClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardnessLeebClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardnessClass.HardnessClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.MohsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.MohsClass.cs new file mode 100644 index 00000000..fa6a9a85 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.MohsClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// scale to measure the resistance to scratching of a surface.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardnessMohsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218324_91879_1857"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218324_91879_1857"; + /// Constant value for + public const string SUMMARY = @" scale to measure the resistance to scratching of a surface. +"; + /// Constant value for + public const string NAME = "Hardness.Mohs"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218314_342350_1839 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardnessClass); + + /// + public new HardnessMohsClassProperties Properties { get; } = new HardnessMohsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardnessMohsClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardnessClass.HardnessClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.RockwellClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.RockwellClass.cs new file mode 100644 index 00000000..532e73d7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.RockwellClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// scale to measure the resistance to deformation of a surface.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardnessRockwellClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218316_492545_1842"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218316_492545_1842"; + /// Constant value for + public const string SUMMARY = @" scale to measure the resistance to deformation of a surface. +"; + /// Constant value for + public const string NAME = "Hardness.Rockwell"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218314_342350_1839 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardnessClass); + + /// + public new HardnessRockwellClassProperties Properties { get; } = new HardnessRockwellClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardnessRockwellClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardnessClass.HardnessClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.ShoreClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.ShoreClass.cs new file mode 100644 index 00000000..9fd29e5e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.ShoreClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// scale to measure the resistance to deformation of a surface.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardnessShoreClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218319_289736_1848"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218319_289736_1848"; + /// Constant value for + public const string SUMMARY = @" scale to measure the resistance to deformation of a surface. +"; + /// Constant value for + public const string NAME = "Hardness.Shore"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218314_342350_1839 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardnessClass); + + /// + public new HardnessShoreClassProperties Properties { get; } = new HardnessShoreClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardnessShoreClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardnessClass.HardnessClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.VickersClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.VickersClass.cs new file mode 100644 index 00000000..b3189f61 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardness.VickersClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// scale to measure the resistance to deformation of a surface.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardnessVickersClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218318_467155_1845"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218318_467155_1845"; + /// Constant value for + public const string SUMMARY = @" scale to measure the resistance to deformation of a surface. +"; + /// Constant value for + public const string NAME = "Hardness.Vickers"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218314_342350_1839 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardnessClass); + + /// + public new HardnessVickersClassProperties Properties { get; } = new HardnessVickersClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardnessVickersClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardnessClass.HardnessClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/HardnessClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/HardnessClass.cs new file mode 100644 index 00000000..e0c9cecc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/HardnessClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.HARDNESS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardnessClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218314_342350_1839"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218314_342350_1839"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::HARDNESS)}} +"; + /// Constant value for + public const string NAME = "Hardness"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new HardnessClassProperties Properties { get; } = new HardnessClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardnessClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "HARDNESS"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.InstallDateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.InstallDateClass.cs new file mode 100644 index 00000000..f4413129 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.InstallDateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// date the hardware or software was installed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardwareInstallDateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751253564_596674_2628"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751253564_596674_2628"; + /// Constant value for + public const string SUMMARY = @" date the hardware or software was installed. +"; + /// Constant value for + public const string NAME = "Hardware.InstallDate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751253562_643001_2625 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardwareClass); + + /// + public new HardwareInstallDateClassProperties Properties { get; } = new HardwareInstallDateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardwareInstallDateClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardwareClass.HardwareClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "INSTALL_DATE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.LicenseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.LicenseClass.cs new file mode 100644 index 00000000..35190cb3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.LicenseClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// license code to validate or activate the hardware or software.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardwareLicenseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751253564_817208_2627"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751253564_817208_2627"; + /// Constant value for + public const string SUMMARY = @" license code to validate or activate the hardware or software. +"; + /// Constant value for + public const string NAME = "Hardware.License"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751253562_643001_2625 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardwareClass); + + /// + public new HardwareLicenseClassProperties Properties { get; } = new HardwareLicenseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardwareLicenseClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardwareClass.HardwareClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LICENSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.ManufacturerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.ManufacturerClass.cs new file mode 100644 index 00000000..e197ba5a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.ManufacturerClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// corporate identity for the maker of the hardware or software.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardwareManufacturerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751253563_257520_2626"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751253563_257520_2626"; + /// Constant value for + public const string SUMMARY = @" corporate identity for the maker of the hardware or software. +"; + /// Constant value for + public const string NAME = "Hardware.Manufacturer"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751253562_643001_2625 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardwareClass); + + /// + public new HardwareManufacturerClassProperties Properties { get; } = new HardwareManufacturerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardwareManufacturerClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardwareClass.HardwareClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MANUFACTURER"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.ModelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.ModelClass.cs new file mode 100644 index 00000000..d7f6b70c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.ModelClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// model info of the hardware or software.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardwareModelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1696090778954_615098_2808"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1696090778954_615098_2808"; + /// Constant value for + public const string SUMMARY = @" model info of the hardware or software. +"; + /// Constant value for + public const string NAME = "Hardware.Model"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751253562_643001_2625 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardwareClass); + + /// + public new HardwareModelClassProperties Properties { get; } = new HardwareModelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardwareModelClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardwareClass.HardwareClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MODEL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.ReleaseDateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.ReleaseDateClass.cs new file mode 100644 index 00000000..ed6c9a36 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.ReleaseDateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// date the hardware or software was released for general use.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardwareReleaseDateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751253561_14971_2624"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751253561_14971_2624"; + /// Constant value for + public const string SUMMARY = @" date the hardware or software was released for general use. +"; + /// Constant value for + public const string NAME = "Hardware.ReleaseDate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751253562_643001_2625 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardwareClass); + + /// + public new HardwareReleaseDateClassProperties Properties { get; } = new HardwareReleaseDateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardwareReleaseDateClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardwareClass.HardwareClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RELEASE_DATE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.VersionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.VersionClass.cs new file mode 100644 index 00000000..ba870027 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Hardware.VersionClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// version of the hardware or software.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardwareVersionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751253560_81934_2623"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751253560_81934_2623"; + /// Constant value for + public const string SUMMARY = @" version of the hardware or software. +"; + /// Constant value for + public const string NAME = "Hardware.Version"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751253562_643001_2625 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardwareClass); + + /// + public new HardwareVersionClassProperties Properties { get; } = new HardwareVersionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardwareVersionClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.HardwareClass.HardwareClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VERSION"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/HardwareClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/HardwareClass.cs new file mode 100644 index 00000000..8fe10544 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/HardwareClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.HARDWARE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HardwareClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751253562_643001_2625"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751253562_643001_2625"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::HARDWARE)}} +"; + /// Constant value for + public const string NAME = "Hardware"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new HardwareClassProperties Properties { get; } = new HardwareClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HardwareClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "HARDWARE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/HostNameClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/HostNameClass.cs new file mode 100644 index 00000000..518b6ff1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/HostNameClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.HOST_NAME


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HostNameClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1659031716201_769258_86"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1659031716201_769258_86"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::HOST_NAME)}} +"; + /// Constant value for + public const string NAME = "HostName"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new HostNameClassProperties Properties { get; } = new HostNameClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HostNameClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "HOST_NAME"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LeakDetectClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LeakDetectClass.cs new file mode 100644 index 00000000..8f00b81e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LeakDetectClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.LEAK_DETECT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LeakDetectClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1659073414212_549101_96"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1659073414212_549101_96"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::LEAK_DETECT)}} +"; + /// Constant value for + public const string NAME = "LeakDetect"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new LeakDetectClassProperties Properties { get; } = new LeakDetectClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LeakDetectClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LeakDetectEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.LeakDetectEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LEAK_DETECT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.InstallDateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.InstallDateClass.cs new file mode 100644 index 00000000..37aeeba5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.InstallDateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// date the hardware or software was installed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LibraryInstallDateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751252599_980795_2580"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751252599_980795_2580"; + /// Constant value for + public const string SUMMARY = @" date the hardware or software was installed. +"; + /// Constant value for + public const string NAME = "Library.InstallDate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751252597_838265_2577 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LibraryClass); + + /// + public new LibraryInstallDateClassProperties Properties { get; } = new LibraryInstallDateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LibraryInstallDateClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LibraryClass.LibraryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "INSTALL_DATE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.LicenseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.LicenseClass.cs new file mode 100644 index 00000000..bc9c5ef4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.LicenseClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// license code to validate or activate the hardware or software.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LibraryLicenseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751252598_854284_2579"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751252598_854284_2579"; + /// Constant value for + public const string SUMMARY = @" license code to validate or activate the hardware or software. +"; + /// Constant value for + public const string NAME = "Library.License"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751252597_838265_2577 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LibraryClass); + + /// + public new LibraryLicenseClassProperties Properties { get; } = new LibraryLicenseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LibraryLicenseClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LibraryClass.LibraryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LICENSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.ManufacturerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.ManufacturerClass.cs new file mode 100644 index 00000000..37b37c9b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.ManufacturerClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// corporate identity for the maker of the hardware or software.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LibraryManufacturerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751252598_214138_2578"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751252598_214138_2578"; + /// Constant value for + public const string SUMMARY = @" corporate identity for the maker of the hardware or software. +"; + /// Constant value for + public const string NAME = "Library.Manufacturer"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751252597_838265_2577 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LibraryClass); + + /// + public new LibraryManufacturerClassProperties Properties { get; } = new LibraryManufacturerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LibraryManufacturerClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LibraryClass.LibraryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MANUFACTURER"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.ReleaseDateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.ReleaseDateClass.cs new file mode 100644 index 00000000..8fb5c49a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.ReleaseDateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// date the hardware or software was released for general use.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LibraryReleaseDateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751252596_216510_2576"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751252596_216510_2576"; + /// Constant value for + public const string SUMMARY = @" date the hardware or software was released for general use. +"; + /// Constant value for + public const string NAME = "Library.ReleaseDate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751252597_838265_2577 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LibraryClass); + + /// + public new LibraryReleaseDateClassProperties Properties { get; } = new LibraryReleaseDateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LibraryReleaseDateClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LibraryClass.LibraryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RELEASE_DATE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.VersionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.VersionClass.cs new file mode 100644 index 00000000..68ebb4f4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Library.VersionClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// version of the hardware or software.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LibraryVersionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751252595_854357_2575"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751252595_854357_2575"; + /// Constant value for + public const string SUMMARY = @" version of the hardware or software. +"; + /// Constant value for + public const string NAME = "Library.Version"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587751252597_838265_2577 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LibraryClass); + + /// + public new LibraryVersionClassProperties Properties { get; } = new LibraryVersionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LibraryVersionClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LibraryClass.LibraryClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VERSION"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LibraryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LibraryClass.cs new file mode 100644 index 00000000..37067ec9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LibraryClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.LIBRARY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LibraryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587751252597_838265_2577"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587751252597_838265_2577"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::LIBRARY)}} +"; + /// Constant value for + public const string NAME = "Library"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new LibraryClassProperties Properties { get; } = new LibraryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LibraryClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LIBRARY"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Line.MaximumClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Line.MaximumClass.cs new file mode 100644 index 00000000..16fbb76f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Line.MaximumClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// maximum line number of the code being executed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// Deprecated: v1.4 + /// + /// + [Obsolete("Deprecated in v1.4 according to https://model.mtconnect.org/#_Version_1.4")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LineMaximumClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218333_533922_1881"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218333_533922_1881"; + /// Constant value for + public const string SUMMARY = @" maximum line number of the code being executed. +"; + /// Constant value for + public const string NAME = "Line.Maximum"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218332_604692_1878 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LineClass); + + /// + public new LineMaximumClassProperties Properties { get; } = new LineMaximumClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LineMaximumClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LineClass.LineClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Line.MinimumClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Line.MinimumClass.cs new file mode 100644 index 00000000..2b1b01ec --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Line.MinimumClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// minimum line number of the code being executed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// Deprecated: v1.4 + /// + /// + [Obsolete("Deprecated in v1.4 according to https://model.mtconnect.org/#_Version_1.4")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LineMinimumClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218334_360453_1884"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218334_360453_1884"; + /// Constant value for + public const string SUMMARY = @" minimum line number of the code being executed. +"; + /// Constant value for + public const string NAME = "Line.Minimum"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218332_604692_1878 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LineClass); + + /// + public new LineMinimumClassProperties Properties { get; } = new LineMinimumClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LineMinimumClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LineClass.LineClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineClass.cs new file mode 100644 index 00000000..782d6dfa --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.LINE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.4 + /// + /// + [Obsolete("Deprecated in v1.4 according to https://model.mtconnect.org/#_Version_1.4")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LineClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218332_604692_1878"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218332_604692_1878"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::LINE)}} +"; + /// Constant value for + public const string NAME = "Line"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new LineClassProperties Properties { get; } = new LineClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LineClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LINE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineLabelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineLabelClass.cs new file mode 100644 index 00000000..6d07f664 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineLabelClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.LINE_LABEL


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LineLabelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218337_266479_1890"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218337_266479_1890"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::LINE_LABEL)}} +"; + /// Constant value for + public const string NAME = "LineLabel"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new LineLabelClassProperties Properties { get; } = new LineLabelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LineLabelClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LINE_LABEL"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineNumber.AbsoluteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineNumber.AbsoluteClass.cs new file mode 100644 index 00000000..fb8addd6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineNumber.AbsoluteClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// position of a block of program code relative to the beginning of the control program.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LineNumberAbsoluteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218340_564692_1896"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218340_564692_1896"; + /// Constant value for + public const string SUMMARY = @" position of a block of program code relative to the beginning of the control program. +"; + /// Constant value for + public const string NAME = "LineNumber.Absolute"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218338_357401_1893 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LineNumberClass); + + /// + public new LineNumberAbsoluteClassProperties Properties { get; } = new LineNumberAbsoluteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LineNumberAbsoluteClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LineNumberClass.LineNumberClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineNumber.IncrementalClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineNumber.IncrementalClass.cs new file mode 100644 index 00000000..8231221c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineNumber.IncrementalClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// position of a block of program code relative to the occurrence of the last LineLabel encountered in the control program.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LineNumberIncrementalClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218341_529972_1899"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218341_529972_1899"; + /// Constant value for + public const string SUMMARY = @" position of a block of program code relative to the occurrence of the last {{block(LineLabel)}} encountered in the control program. +"; + /// Constant value for + public const string NAME = "LineNumber.Incremental"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218338_357401_1893 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LineNumberClass); + + /// + public new LineNumberIncrementalClassProperties Properties { get; } = new LineNumberIncrementalClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LineNumberIncrementalClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LineNumberClass.LineNumberClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineNumberClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineNumberClass.cs new file mode 100644 index 00000000..fea5b6c2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LineNumberClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.LINE_NUMBER


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LineNumberClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218338_357401_1893"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218338_357401_1893"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::LINE_NUMBER)}} +"; + /// Constant value for + public const string NAME = "LineNumber"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new LineNumberClassProperties Properties { get; } = new LineNumberClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LineNumberClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LINE_NUMBER"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.AbortedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.AbortedClass.cs new file mode 100644 index 00000000..52e51a7c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.AbortedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions or activities that were attempted, but terminated before they could be completed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LoadCountAbortedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622196842734_263875_507"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622196842734_263875_507"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions or activities that were attempted, but terminated before they could be completed. +"; + /// Constant value for + public const string NAME = "LoadCount.Aborted"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622196568711_867317_79 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass); + + /// + public new LoadCountAbortedClassProperties Properties { get; } = new LoadCountAbortedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LoadCountAbortedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass.LoadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ABORTED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.AllClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.AllClass.cs new file mode 100644 index 00000000..6e623308 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.AllClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of all actions, items, or activities being counted independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LoadCountAllClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622196707853_649963_171"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622196707853_649963_171"; + /// Constant value for + public const string SUMMARY = @" accumulation of all actions, items, or activities being counted independent of the outcome. +"; + /// Constant value for + public const string NAME = "LoadCount.All"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622196568711_867317_79 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass); + + /// + public new LoadCountAllClassProperties Properties { get; } = new LoadCountAllClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LoadCountAllClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass.LoadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.BadClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.BadClass.cs new file mode 100644 index 00000000..050c891b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.BadClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that do not conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LoadCountBadClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622196744806_461842_219"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622196744806_461842_219"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that do not conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "LoadCount.Bad"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622196568711_867317_79 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass); + + /// + public new LoadCountBadClassProperties Properties { get; } = new LoadCountBadClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LoadCountBadClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass.LoadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BAD"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.CompleteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.CompleteClass.cs new file mode 100644 index 00000000..0632bace --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.CompleteClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities that have been completed, independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LoadCountCompleteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622196805428_711762_411"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622196805428_711762_411"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities that have been completed, independent of the outcome. +"; + /// Constant value for + public const string NAME = "LoadCount.Complete"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622196568711_867317_79 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass); + + /// + public new LoadCountCompleteClassProperties Properties { get; } = new LoadCountCompleteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LoadCountCompleteClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass.LoadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMPLETE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.FailedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.FailedClass.cs new file mode 100644 index 00000000..0327e1a4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.FailedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions or activities that were attempted, but failed to complete or resulted in an unexpected or unacceptable outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LoadCountFailedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622196829482_213492_459"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622196829482_213492_459"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions or activities that were attempted, but failed to complete or resulted in an unexpected or unacceptable outcome. +"; + /// Constant value for + public const string NAME = "LoadCount.Failed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622196568711_867317_79 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass); + + /// + public new LoadCountFailedClassProperties Properties { get; } = new LoadCountFailedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LoadCountFailedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass.LoadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FAILED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.GoodClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.GoodClass.cs new file mode 100644 index 00000000..7446f01c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.GoodClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LoadCountGoodClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622196759604_210690_267"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622196759604_210690_267"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "LoadCount.Good"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622196568711_867317_79 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass); + + /// + public new LoadCountGoodClassProperties Properties { get; } = new LoadCountGoodClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LoadCountGoodClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass.LoadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "GOOD"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.RemainingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.RemainingClass.cs new file mode 100644 index 00000000..cedade47 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.RemainingClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities yet to be counted.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LoadCountRemainingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622196792240_831354_363"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622196792240_831354_363"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities yet to be counted. +"; + /// Constant value for + public const string NAME = "LoadCount.Remaining"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622196568711_867317_79 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass); + + /// + public new LoadCountRemainingClassProperties Properties { get; } = new LoadCountRemainingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LoadCountRemainingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass.LoadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REMAINING"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.TargetClass.cs new file mode 100644 index 00000000..54558f10 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCount.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LoadCountTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622196780123_734929_315"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622196780123_734929_315"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "LoadCount.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622196568711_867317_79 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass); + + /// + public new LoadCountTargetClassProperties Properties { get; } = new LoadCountTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LoadCountTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.LoadCountClass.LoadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TARGET"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCountClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCountClass.cs new file mode 100644 index 00000000..c935ea74 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LoadCountClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.LOAD_COUNT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LoadCountClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622196568711_867317_79"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622196568711_867317_79"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::LOAD_COUNT)}} +"; + /// Constant value for + public const string NAME = "LoadCount"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new LoadCountClassProperties Properties { get; } = new LoadCountClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LoadCountClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LOAD_COUNT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LocationAddressClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LocationAddressClass.cs new file mode 100644 index 00000000..c9936cc2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LocationAddressClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.LOCATION_ADDRESS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LocationAddressClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1696868943362_99609_2971"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1696868943362_99609_2971"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::LOCATION_ADDRESS)}} +"; + /// Constant value for + public const string NAME = "LocationAddress"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new LocationAddressClassProperties Properties { get; } = new LocationAddressClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LocationAddressClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LOCATION_ADDRESS"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LocationAddressResultClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.LocationAddressResultClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LocationNarrativeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LocationNarrativeClass.cs new file mode 100644 index 00000000..4232e748 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LocationNarrativeClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.LOCATION_NARRATIVE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LocationNarrativeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1712320901547_688092_333"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1712320901547_688092_333"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::LOCATION_NARRATIVE)}} +"; + /// Constant value for + public const string NAME = "LocationNarrative"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new LocationNarrativeClassProperties Properties { get; } = new LocationNarrativeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LocationNarrativeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LOCATION_NARRATIVE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LocationSpatialGeographicClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LocationSpatialGeographicClass.cs new file mode 100644 index 00000000..994b427c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LocationSpatialGeographicClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.LOCATION_SPATIAL_GEOGRAPHIC


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LocationSpatialGeographicClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1712322699365_211671_599"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1712322699365_211671_599"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::LOCATION_SPATIAL_GEOGRAPHIC)}} +"; + /// Constant value for + public const string NAME = "LocationSpatialGeographic"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new LocationSpatialGeographicClassProperties Properties { get; } = new LocationSpatialGeographicClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LocationSpatialGeographicClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LOCATION_SPATIAL_GEOGRAPHIC"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LocationSpatialGeographicResultClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.LocationSpatialGeographicResultClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LockStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LockStateClass.cs new file mode 100644 index 00000000..f6fe16ad --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/LockStateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.LOCK_STATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LockStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622457702589_196111_730"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622457702589_196111_730"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::LOCK_STATE)}} +"; + /// Constant value for + public const string NAME = "LockState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new LockStateClassProperties Properties { get; } = new LockStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LockStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LockStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.LockStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LOCK_STATE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MTConnectVersionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MTConnectVersionClass.cs new file mode 100644 index 00000000..541319e0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MTConnectVersionClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.MTCONNECT_VERSION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectVersionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605104219140_173001_977"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605104219140_173001_977"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::MTCONNECT_VERSION)}} +"; + /// Constant value for + public const string NAME = "MTConnectVersion"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new MTConnectVersionClassProperties Properties { get; } = new MTConnectVersionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MTConnectVersionClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MTCONNECT_VERSION"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaintenanceListClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaintenanceListClass.cs new file mode 100644 index 00000000..bf5f359c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaintenanceListClass.cs @@ -0,0 +1,233 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.MAINTENANCE_LIST

If result::Interval in MaintenanceList key is not provided, it is assumed ABSOLUTE.

If result::Direction in MaintenanceList key is not provided, it is assumed UP.

If result::Units in MaintenanceList key is not provided, it is assumed to be COUNT.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaintenanceListClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640604216330_942815_196"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1640604216330_942815_196"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::MAINTENANCE_LIST)}} + +If {{property(MaintenanceList::result::Interval)}} `key` is not provided, it is assumed `ABSOLUTE`. + +If {{property(MaintenanceList::result::Direction)}} `key` is not provided, it is assumed `UP`. + +If {{property(MaintenanceList::result::Units)}} `key` is not provided, it is assumed to be `COUNT`. +"; + /// Constant value for + public const string NAME = "MaintenanceList"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new MaintenanceListClassProperties Properties { get; } = new MaintenanceListClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaintenanceListClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MAINTENANCE_LIST"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MaintenanceListResultClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.MaintenanceListResultClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialClass.cs new file mode 100644 index 00000000..33f86c43 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.MATERIAL


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218345_971688_1908"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218345_971688_1908"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::MATERIAL)}} +"; + /// Constant value for + public const string NAME = "Material"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new MaterialClassProperties Properties { get; } = new MaterialClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MATERIAL"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialLayer.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialLayer.ActualClass.cs new file mode 100644 index 00000000..7db32ca4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialLayer.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialLayerActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218349_979590_1920"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218349_979590_1920"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "MaterialLayer.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218348_114353_1917 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.MaterialLayerClass); + + /// + public new MaterialLayerActualClassProperties Properties { get; } = new MaterialLayerActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialLayerActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.MaterialLayerClass.MaterialLayerClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialLayer.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialLayer.TargetClass.cs new file mode 100644 index 00000000..2622c197 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialLayer.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialLayerTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218350_358815_1923"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218350_358815_1923"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "MaterialLayer.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218348_114353_1917 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.MaterialLayerClass); + + /// + public new MaterialLayerTargetClassProperties Properties { get; } = new MaterialLayerTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialLayerTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.MaterialLayerClass.MaterialLayerClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialLayerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialLayerClass.cs new file mode 100644 index 00000000..d51229f5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MaterialLayerClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.MATERIAL_LAYER


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialLayerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218348_114353_1917"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218348_114353_1917"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::MATERIAL_LAYER)}} +"; + /// Constant value for + public const string NAME = "MaterialLayer"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new MaterialLayerClassProperties Properties { get; } = new MaterialLayerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialLayerClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MATERIAL_LAYER"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MeasurementTypeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MeasurementTypeClass.cs new file mode 100644 index 00000000..21ff2b48 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MeasurementTypeClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.MEASUREMENT_TYPE

Examples: POINT, RADIUS, ANGLE, LENGTH, etc.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MeasurementTypeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678250722376_138912_18550"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678250722376_138912_18550"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::MEASUREMENT_TYPE)}} + +Examples: `POINT`, `RADIUS`, `ANGLE`, `LENGTH`, etc. +"; + /// Constant value for + public const string NAME = "MeasurementType"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new MeasurementTypeClassProperties Properties { get; } = new MeasurementTypeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MeasurementTypeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MEASUREMENT_TYPE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MeasurementUnitsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MeasurementUnitsClass.cs new file mode 100644 index 00000000..92b35cf5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MeasurementUnitsClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.MEASUREMENT_UNITS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MeasurementUnitsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678250724207_274165_18570"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678250724207_274165_18570"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::MEASUREMENT_UNITS)}} +"; + /// Constant value for + public const string NAME = "MeasurementUnits"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new MeasurementUnitsClassProperties Properties { get; } = new MeasurementUnitsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MeasurementUnitsClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MEASUREMENT_UNITS"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MeasurementValueClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MeasurementValueClass.cs new file mode 100644 index 00000000..aa9b1670 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MeasurementValueClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.MEASUREMENT_VALUE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MeasurementValueClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678250723151_758937_18560"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678250723151_758937_18560"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::MEASUREMENT_VALUE)}} +"; + /// Constant value for + public const string NAME = "MeasurementValue"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new MeasurementValueClassProperties Properties { get; } = new MeasurementValueClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MeasurementValueClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MEASUREMENT_VALUE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Double + /// + public System.Type Type => typeof(Double); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MessageClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MessageClass.cs new file mode 100644 index 00000000..af39a735 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/MessageClass.cs @@ -0,0 +1,228 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.MESSAGE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MessageClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218355_525053_1935"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218355_525053_1935"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::MESSAGE)}} +"; + /// Constant value for + public const string NAME = "Message"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new MessageClassProperties Properties { get; } = new MessageClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MessageClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + NativeCode, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MESSAGE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NativeCode + ///
+ public new NativeCodeProperty NativeCode { get; } = new NativeCodeProperty(); + + /// control system local identification of the information being transferred.


+ ///
+ public new sealed class NativeCodeProperty : IProperty + { + /// Constant value for + public const string NAME = "nativeCode"; + /// Constant value for + public const string SUMMARY = @" control system local identification of the information being transferred. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.GatewayClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.GatewayClass.cs new file mode 100644 index 00000000..3d55adf6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.GatewayClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// Gateway for the component network.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NetworkGatewayClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587752236920_181237_3803"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587752236920_181237_3803"; + /// Constant value for + public const string SUMMARY = @" Gateway for the component network. +"; + /// Constant value for + public const string NAME = "Network.Gateway"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587752011247_360664_3696 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass); + + /// + public new NetworkGatewayClassProperties Properties { get; } = new NetworkGatewayClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class NetworkGatewayClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass.NetworkClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "GATEWAY"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.IPv4AddressClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.IPv4AddressClass.cs new file mode 100644 index 00000000..24cae1e8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.IPv4AddressClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// IPV4 network address of the component.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NetworkIPv4AddressClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587752112543_442139_3748"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587752112543_442139_3748"; + /// Constant value for + public const string SUMMARY = @" IPV4 network address of the component. +"; + /// Constant value for + public const string NAME = "Network.IPv4Address"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587752011247_360664_3696 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass); + + /// + public new NetworkIPv4AddressClassProperties Properties { get; } = new NetworkIPv4AddressClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class NetworkIPv4AddressClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass.NetworkClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "IPV4_ADDRESS"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.IPv6AddressClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.IPv6AddressClass.cs new file mode 100644 index 00000000..120a642c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.IPv6AddressClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// IPV6 network address of the component.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NetworkIPv6AddressClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587752236364_622520_3797"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587752236364_622520_3797"; + /// Constant value for + public const string SUMMARY = @" IPV6 network address of the component. +"; + /// Constant value for + public const string NAME = "Network.IPv6Address"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587752011247_360664_3696 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass); + + /// + public new NetworkIPv6AddressClassProperties Properties { get; } = new NetworkIPv6AddressClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class NetworkIPv6AddressClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass.NetworkClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "IPV6_ADDRESS"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.MacAddressClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.MacAddressClass.cs new file mode 100644 index 00000000..bbf02865 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.MacAddressClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// Media Access Control Address.

The unique physical address of the network hardware.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NetworkMacAddressClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587752238592_527923_3821"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587752238592_527923_3821"; + /// Constant value for + public const string SUMMARY = @" Media Access Control Address. + +The unique physical address of the network hardware. +"; + /// Constant value for + public const string NAME = "Network.MacAddress"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587752011247_360664_3696 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass); + + /// + public new NetworkMacAddressClassProperties Properties { get; } = new NetworkMacAddressClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class NetworkMacAddressClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass.NetworkClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MAC_ADDRESS"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.SubnetMaskClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.SubnetMaskClass.cs new file mode 100644 index 00000000..cdc8d71f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.SubnetMaskClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// SubNet mask for the component network.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NetworkSubnetMaskClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587752237521_658816_3809"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587752237521_658816_3809"; + /// Constant value for + public const string SUMMARY = @" SubNet mask for the component network. +"; + /// Constant value for + public const string NAME = "Network.SubnetMask"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587752011247_360664_3696 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass); + + /// + public new NetworkSubnetMaskClassProperties Properties { get; } = new NetworkSubnetMaskClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class NetworkSubnetMaskClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass.NetworkClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SUBNET_MASK"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.VLanIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.VLanIdClass.cs new file mode 100644 index 00000000..d96f7e7a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.VLanIdClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// layer2 Virtual Local Network (VLAN) ID for the component network.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NetworkVLanIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587752238033_807415_3815"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587752238033_807415_3815"; + /// Constant value for + public const string SUMMARY = @" layer2 Virtual Local Network (VLAN) ID for the component network. +"; + /// Constant value for + public const string NAME = "Network.VLanId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587752011247_360664_3696 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass); + + /// + public new NetworkVLanIdClassProperties Properties { get; } = new NetworkVLanIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class NetworkVLanIdClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass.NetworkClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VLAN_ID"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.WirelessClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.WirelessClass.cs new file mode 100644 index 00000000..045359d1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Network.WirelessClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identifies whether the connection type is wireless.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NetworkWirelessClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587752240967_632676_3827"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587752240967_632676_3827"; + /// Constant value for + public const string SUMMARY = @" identifies whether the connection type is wireless. +"; + /// Constant value for + public const string NAME = "Network.Wireless"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587752011247_360664_3696 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass); + + /// + public new NetworkWirelessClassProperties Properties { get; } = new NetworkWirelessClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class NetworkWirelessClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.NetworkClass.NetworkClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WIRELESS"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: NetworkWirelessEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.NetworkWirelessEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/NetworkClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/NetworkClass.cs new file mode 100644 index 00000000..0224aa5e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/NetworkClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.NETWORK


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NetworkClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587752011247_360664_3696"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587752011247_360664_3696"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::NETWORK)}} +"; + /// Constant value for + public const string NAME = "Network"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new NetworkClassProperties Properties { get; } = new NetworkClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class NetworkClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "NETWORK"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/NetworkPortClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/NetworkPortClass.cs new file mode 100644 index 00000000..19c5149c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/NetworkPortClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.NETWORK_PORT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NetworkPortClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1659031598181_501424_69"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1659031598181_501424_69"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::NETWORK_PORT)}} +"; + /// Constant value for + public const string NAME = "NetworkPort"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new NetworkPortClassProperties Properties { get; } = new NetworkPortClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class NetworkPortClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "NETWORK_PORT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingModeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingModeClass.cs new file mode 100644 index 00000000..8e8d49d8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingModeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.OPERATING_MODE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OperatingModeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1637936881318_547715_125"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1637936881318_547715_125"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::OPERATING_MODE)}} +"; + /// Constant value for + public const string NAME = "OperatingMode"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new OperatingModeClassProperties Properties { get; } = new OperatingModeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OperatingModeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: OperatingModeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.OperatingModeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "OPERATING_MODE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.InstallDateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.InstallDateClass.cs new file mode 100644 index 00000000..49c94956 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.InstallDateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// date the hardware or software was installed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OperatingSystemInstallDateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587749568237_314274_2287"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587749568237_314274_2287"; + /// Constant value for + public const string SUMMARY = @" date the hardware or software was installed. +"; + /// Constant value for + public const string NAME = "OperatingSystem.InstallDate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587749356759_918178_2174 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.OperatingSystemClass); + + /// + public new OperatingSystemInstallDateClassProperties Properties { get; } = new OperatingSystemInstallDateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OperatingSystemInstallDateClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.OperatingSystemClass.OperatingSystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "INSTALL_DATE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.LicenseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.LicenseClass.cs new file mode 100644 index 00000000..cee869e7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.LicenseClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// license code to validate or activate the hardware or software.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OperatingSystemLicenseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587749448940_235806_2226"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587749448940_235806_2226"; + /// Constant value for + public const string SUMMARY = @" license code to validate or activate the hardware or software. +"; + /// Constant value for + public const string NAME = "OperatingSystem.License"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587749356759_918178_2174 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.OperatingSystemClass); + + /// + public new OperatingSystemLicenseClassProperties Properties { get; } = new OperatingSystemLicenseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OperatingSystemLicenseClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.OperatingSystemClass.OperatingSystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LICENSE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.ManufacturerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.ManufacturerClass.cs new file mode 100644 index 00000000..30eee4c3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.ManufacturerClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// corporate identity for the maker of the hardware or software.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OperatingSystemManufacturerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587749570053_609318_2293"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587749570053_609318_2293"; + /// Constant value for + public const string SUMMARY = @" corporate identity for the maker of the hardware or software. +"; + /// Constant value for + public const string NAME = "OperatingSystem.Manufacturer"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587749356759_918178_2174 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.OperatingSystemClass); + + /// + public new OperatingSystemManufacturerClassProperties Properties { get; } = new OperatingSystemManufacturerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OperatingSystemManufacturerClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.OperatingSystemClass.OperatingSystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MANUFACTURER"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.ReleaseDateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.ReleaseDateClass.cs new file mode 100644 index 00000000..5a532aa7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.ReleaseDateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// date the hardware or software was released for general use.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OperatingSystemReleaseDateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587749567506_402379_2281"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587749567506_402379_2281"; + /// Constant value for + public const string SUMMARY = @" date the hardware or software was released for general use. +"; + /// Constant value for + public const string NAME = "OperatingSystem.ReleaseDate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587749356759_918178_2174 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.OperatingSystemClass); + + /// + public new OperatingSystemReleaseDateClassProperties Properties { get; } = new OperatingSystemReleaseDateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OperatingSystemReleaseDateClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.OperatingSystemClass.OperatingSystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RELEASE_DATE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.VersionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.VersionClass.cs new file mode 100644 index 00000000..87a73ee7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystem.VersionClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// version of the hardware or software.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OperatingSystemVersionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587749559059_116779_2275"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587749559059_116779_2275"; + /// Constant value for + public const string SUMMARY = @" version of the hardware or software. +"; + /// Constant value for + public const string NAME = "OperatingSystem.Version"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587749356759_918178_2174 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.OperatingSystemClass); + + /// + public new OperatingSystemVersionClassProperties Properties { get; } = new OperatingSystemVersionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OperatingSystemVersionClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.OperatingSystemClass.OperatingSystemClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VERSION"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystemClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystemClass.cs new file mode 100644 index 00000000..0dc58d58 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatingSystemClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.OPERATING_SYSTEM


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OperatingSystemClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587749356759_918178_2174"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587749356759_918178_2174"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::OPERATING_SYSTEM)}} +"; + /// Constant value for + public const string NAME = "OperatingSystem"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new OperatingSystemClassProperties Properties { get; } = new OperatingSystemClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OperatingSystemClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "OPERATING_SYSTEM"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatorIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatorIdClass.cs new file mode 100644 index 00000000..f8ec1f4a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/OperatorIdClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.OPERATOR_ID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OperatorIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218359_14434_1944"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218359_14434_1944"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::OPERATOR_ID)}} +"; + /// Constant value for + public const string NAME = "OperatorId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new OperatorIdClassProperties Properties { get; } = new OperatorIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OperatorIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "OPERATOR_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PalletIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PalletIdClass.cs new file mode 100644 index 00000000..e3af77ba --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PalletIdClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PALLET_ID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PalletIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218360_706917_1947"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218360_706917_1947"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PALLET_ID)}} +"; + /// Constant value for + public const string NAME = "PalletId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PalletIdClassProperties Properties { get; } = new PalletIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PalletIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PALLET_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.AbortedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.AbortedClass.cs new file mode 100644 index 00000000..6630a653 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.AbortedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions or activities that were attempted, but terminated before they could be completed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartCountAbortedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622198316196_962977_1096"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622198316196_962977_1096"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions or activities that were attempted, but terminated before they could be completed. +"; + /// Constant value for + public const string NAME = "PartCount.Aborted"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218363_437912_1953 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass); + + /// + public new PartCountAbortedClassProperties Properties { get; } = new PartCountAbortedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartCountAbortedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass.PartCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ABORTED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.AllClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.AllClass.cs new file mode 100644 index 00000000..49d314ec --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.AllClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of all actions, items, or activities being counted independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartCountAllClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218364_92714_1956"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218364_92714_1956"; + /// Constant value for + public const string SUMMARY = @" accumulation of all actions, items, or activities being counted independent of the outcome. +"; + /// Constant value for + public const string NAME = "PartCount.All"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218363_437912_1953 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass); + + /// + public new PartCountAllClassProperties Properties { get; } = new PartCountAllClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartCountAllClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass.PartCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.BadClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.BadClass.cs new file mode 100644 index 00000000..9138dd13 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.BadClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that do not conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartCountBadClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218366_272395_1962"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218366_272395_1962"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that do not conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "PartCount.Bad"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218363_437912_1953 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass); + + /// + public new PartCountBadClassProperties Properties { get; } = new PartCountBadClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartCountBadClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass.PartCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.CompleteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.CompleteClass.cs new file mode 100644 index 00000000..8c14db5c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.CompleteClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities that have been completed, independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartCountCompleteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622198316196_914320_1095"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622198316196_914320_1095"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities that have been completed, independent of the outcome. +"; + /// Constant value for + public const string NAME = "PartCount.Complete"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218363_437912_1953 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass); + + /// + public new PartCountCompleteClassProperties Properties { get; } = new PartCountCompleteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartCountCompleteClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass.PartCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMPLETE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.FailedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.FailedClass.cs new file mode 100644 index 00000000..2264f560 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.FailedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions or activities that were attempted, but failed to complete or resulted in an unexpected or unacceptable outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartCountFailedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622198316195_939175_1094"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622198316195_939175_1094"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions or activities that were attempted, but failed to complete or resulted in an unexpected or unacceptable outcome. +"; + /// Constant value for + public const string NAME = "PartCount.Failed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218363_437912_1953 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass); + + /// + public new PartCountFailedClassProperties Properties { get; } = new PartCountFailedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartCountFailedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass.PartCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FAILED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.GoodClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.GoodClass.cs new file mode 100644 index 00000000..e3fcf56a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.GoodClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartCountGoodClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218365_610432_1959"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218365_610432_1959"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "PartCount.Good"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218363_437912_1953 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass); + + /// + public new PartCountGoodClassProperties Properties { get; } = new PartCountGoodClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartCountGoodClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass.PartCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.RemainingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.RemainingClass.cs new file mode 100644 index 00000000..2bb91f8f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.RemainingClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities yet to be counted.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartCountRemainingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218369_145028_1968"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218369_145028_1968"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities yet to be counted. +"; + /// Constant value for + public const string NAME = "PartCount.Remaining"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218363_437912_1953 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass); + + /// + public new PartCountRemainingClassProperties Properties { get; } = new PartCountRemainingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartCountRemainingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass.PartCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.TargetClass.cs new file mode 100644 index 00000000..e0d6d1b6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCount.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartCountTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218368_213025_1965"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218368_213025_1965"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "PartCount.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218363_437912_1953 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass); + + /// + public new PartCountTargetClassProperties Properties { get; } = new PartCountTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartCountTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartCountClass.PartCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCountClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCountClass.cs new file mode 100644 index 00000000..b55e3d09 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCountClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PART_COUNT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartCountClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218363_437912_1953"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218363_437912_1953"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PART_COUNT)}} +"; + /// Constant value for + public const string NAME = "PartCount"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PartCountClassProperties Properties { get; } = new PartCountClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartCountClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_COUNT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCountTypeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCountTypeClass.cs new file mode 100644 index 00000000..ef32149c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartCountTypeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PART_COUNT_TYPE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartCountTypeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640701999569_209325_30"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1640701999569_209325_30"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PART_COUNT_TYPE)}} +"; + /// Constant value for + public const string NAME = "PartCountType"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PartCountTypeClassProperties Properties { get; } = new PartCountTypeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartCountTypeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PartCountTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.PartCountTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_COUNT_TYPE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartDetectClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartDetectClass.cs new file mode 100644 index 00000000..c742476b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartDetectClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PART_DETECT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartDetectClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218370_623546_1971"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218370_623546_1971"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PART_DETECT)}} +"; + /// Constant value for + public const string NAME = "PartDetect"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PartDetectClassProperties Properties { get; } = new PartDetectClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartDetectClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PartDetectEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.PartDetectEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_DETECT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.BatchClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.BatchClass.cs new file mode 100644 index 00000000..b9b2bb5e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.BatchClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identifier that references a group of parts produced in a batch.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartGroupIdBatchClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549062063_854543_562"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549062063_854543_562"; + /// Constant value for + public const string SUMMARY = @" identifier that references a group of parts produced in a batch. +"; + /// Constant value for + public const string NAME = "PartGroupId.Batch"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605548793581_13403_454 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartGroupIdClass); + + /// + public new PartGroupIdBatchClassProperties Properties { get; } = new PartGroupIdBatchClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartGroupIdBatchClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartGroupIdClass.PartGroupIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BATCH"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.HeatTreatClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.HeatTreatClass.cs new file mode 100644 index 00000000..1fb20135 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.HeatTreatClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identifier used to reference a material heat number.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartGroupIdHeatTreatClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549063031_286367_574"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549063031_286367_574"; + /// Constant value for + public const string SUMMARY = @" identifier used to reference a material heat number. +"; + /// Constant value for + public const string NAME = "PartGroupId.HeatTreat"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605548793581_13403_454 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartGroupIdClass); + + /// + public new PartGroupIdHeatTreatClassProperties Properties { get; } = new PartGroupIdHeatTreatClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartGroupIdHeatTreatClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartGroupIdClass.PartGroupIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "HEAT_TREAT"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.LotClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.LotClass.cs new file mode 100644 index 00000000..4adf9b74 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.LotClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identifier that references a group of parts tracked as a lot.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartGroupIdLotClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549060880_815075_556"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549060880_815075_556"; + /// Constant value for + public const string SUMMARY = @" identifier that references a group of parts tracked as a lot. +"; + /// Constant value for + public const string NAME = "PartGroupId.Lot"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605548793581_13403_454 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartGroupIdClass); + + /// + public new PartGroupIdLotClassProperties Properties { get; } = new PartGroupIdLotClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartGroupIdLotClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartGroupIdClass.PartGroupIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LOT"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.RawMaterialClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.RawMaterialClass.cs new file mode 100644 index 00000000..03e86d39 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.RawMaterialClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// material that is used to produce parts.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartGroupIdRawMaterialClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549062665_586803_568"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549062665_586803_568"; + /// Constant value for + public const string SUMMARY = @" material that is used to produce parts. +"; + /// Constant value for + public const string NAME = "PartGroupId.RawMaterial"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605548793581_13403_454 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartGroupIdClass); + + /// + public new PartGroupIdRawMaterialClassProperties Properties { get; } = new PartGroupIdRawMaterialClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartGroupIdRawMaterialClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartGroupIdClass.PartGroupIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RAW_MATERIAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.UuidClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.UuidClass.cs new file mode 100644 index 00000000..0030542b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupId.UuidClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// universally unique identifier as specified in ISO 11578 or RFC 4122.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartGroupIdUuidClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605548887970_584693_507"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605548887970_584693_507"; + /// Constant value for + public const string SUMMARY = @" universally unique identifier as specified in ISO 11578 or RFC 4122. +"; + /// Constant value for + public const string NAME = "PartGroupId.Uuid"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605548793581_13403_454 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartGroupIdClass); + + /// + public new PartGroupIdUuidClassProperties Properties { get; } = new PartGroupIdUuidClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartGroupIdUuidClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartGroupIdClass.PartGroupIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "UUID"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupIdClass.cs new file mode 100644 index 00000000..d0edc96a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartGroupIdClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PART_GROUP_ID

If no subType in DataItem is specified, UUID is default.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartGroupIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605548793581_13403_454"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605548793581_13403_454"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PART_GROUP_ID)}} + +If no {{property(DataItem::subType)}} is specified, `UUID` is default. +"; + /// Constant value for + public const string NAME = "PartGroupId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PartGroupIdClassProperties Properties { get; } = new PartGroupIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartGroupIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_GROUP_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "UUID"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartIdClass.cs new file mode 100644 index 00000000..dd1e61cf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartIdClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PART_ID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218372_674466_1974"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218372_674466_1974"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PART_ID)}} +"; + /// Constant value for + public const string NAME = "PartId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PartIdClassProperties Properties { get; } = new PartIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.PartFamilyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.PartFamilyClass.cs new file mode 100644 index 00000000..c05ca83e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.PartFamilyClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identifier given to a group of parts having similarities in geometry, manufacturing process, and/or functions.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartKindIdPartFamilyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549487194_494116_1162"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549487194_494116_1162"; + /// Constant value for + public const string SUMMARY = @" identifier given to a group of parts having similarities in geometry, manufacturing process, and/or functions. +"; + /// Constant value for + public const string NAME = "PartKindId.PartFamily"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549230052_910367_748 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartKindIdClass); + + /// + public new PartKindIdPartFamilyClassProperties Properties { get; } = new PartKindIdPartFamilyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartKindIdPartFamilyClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartKindIdClass.PartKindIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_FAMILY"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.PartNameClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.PartNameClass.cs new file mode 100644 index 00000000..1e999d86 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.PartNameClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// word or set of words by which a part is known, addressed, or referred to.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartKindIdPartNameClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549487494_183842_1168"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549487494_183842_1168"; + /// Constant value for + public const string SUMMARY = @" word or set of words by which a part is known, addressed, or referred to. +"; + /// Constant value for + public const string NAME = "PartKindId.PartName"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549230052_910367_748 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartKindIdClass); + + /// + public new PartKindIdPartNameClassProperties Properties { get; } = new PartKindIdPartNameClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartKindIdPartNameClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartKindIdClass.PartKindIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_NAME"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.PartNumberClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.PartNumberClass.cs new file mode 100644 index 00000000..b5aa7d7e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.PartNumberClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identifier of a particular part design or model.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartKindIdPartNumberClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549486826_192443_1156"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549486826_192443_1156"; + /// Constant value for + public const string SUMMARY = @" identifier of a particular part design or model. +"; + /// Constant value for + public const string NAME = "PartKindId.PartNumber"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549230052_910367_748 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartKindIdClass); + + /// + public new PartKindIdPartNumberClassProperties Properties { get; } = new PartKindIdPartNumberClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartKindIdPartNumberClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartKindIdClass.PartKindIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_NUMBER"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.UuidClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.UuidClass.cs new file mode 100644 index 00000000..2d0b7af2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindId.UuidClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// universally unique identifier as specified in ISO 11578 or RFC 4122.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartKindIdUuidClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549268594_986831_772"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549268594_986831_772"; + /// Constant value for + public const string SUMMARY = @" universally unique identifier as specified in ISO 11578 or RFC 4122. +"; + /// Constant value for + public const string NAME = "PartKindId.Uuid"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549230052_910367_748 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartKindIdClass); + + /// + public new PartKindIdUuidClassProperties Properties { get; } = new PartKindIdUuidClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartKindIdUuidClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartKindIdClass.PartKindIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "UUID"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindIdClass.cs new file mode 100644 index 00000000..42c1071e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartKindIdClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PART_KIND_ID

If no subType in DataItem is specified, UUID is default.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartKindIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549230052_910367_748"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549230052_910367_748"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PART_KIND_ID)}} + +If no {{property(DataItem::subType)}} is specified, `UUID` is default. +"; + /// Constant value for + public const string NAME = "PartKindId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PartKindIdClassProperties Properties { get; } = new PartKindIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartKindIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_KIND_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "UUID"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartNumberClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartNumberClass.cs new file mode 100644 index 00000000..62431337 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartNumberClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PART_NUMBER


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// Deprecated: v1.7 + /// + /// + [Obsolete("Deprecated in v1.7 according to https://model.mtconnect.org/#_Version_1.7")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartNumberClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218373_779731_1977"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218373_779731_1977"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PART_NUMBER)}} +"; + /// Constant value for + public const string NAME = "PartNumber"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.7"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PartNumberClassProperties Properties { get; } = new PartNumberClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartNumberClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_NUMBER"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartProcessingStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartProcessingStateClass.cs new file mode 100644 index 00000000..1cbbea99 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartProcessingStateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PART_PROCESSING_STATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartProcessingStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622460050272_943675_1231"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622460050272_943675_1231"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PART_PROCESSING_STATE)}} +"; + /// Constant value for + public const string NAME = "PartProcessingState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PartProcessingStateClassProperties Properties { get; } = new PartProcessingStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartProcessingStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PartProcessingStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.PartProcessingStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_PROCESSING_STATE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartStatusClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartStatusClass.cs new file mode 100644 index 00000000..693da3af --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartStatusClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PART_STATUS

If unique identifier is given, part status is for that individual. If group identifier is given without a unique identifier, then the status is assumed to be for the whole group.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartStatusClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549230538_92395_756"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549230538_92395_756"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PART_STATUS)}} + +If unique identifier is given, part status is for that individual. If group identifier is given without a unique identifier, then the status is assumed to be for the whole group. +"; + /// Constant value for + public const string NAME = "PartStatus"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PartStatusClassProperties Properties { get; } = new PartStatusClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartStatusClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PartStatusEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.PartStatusEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_STATUS"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueId.RawMaterialClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueId.RawMaterialClass.cs new file mode 100644 index 00000000..c7fcca81 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueId.RawMaterialClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// material that is used to produce parts.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartUniqueIdRawMaterialClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549589049_455523_1306"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549589049_455523_1306"; + /// Constant value for + public const string SUMMARY = @" material that is used to produce parts. +"; + /// Constant value for + public const string NAME = "PartUniqueId.RawMaterial"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549240508_290295_764 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartUniqueIdClass); + + /// + public new PartUniqueIdRawMaterialClassProperties Properties { get; } = new PartUniqueIdRawMaterialClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartUniqueIdRawMaterialClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartUniqueIdClass.PartUniqueIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RAW_MATERIAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueId.SerialNumberClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueId.SerialNumberClass.cs new file mode 100644 index 00000000..0ee84afb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueId.SerialNumberClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// serial number that uniquely identifies a specific part.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartUniqueIdSerialNumberClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549588698_723253_1300"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549588698_723253_1300"; + /// Constant value for + public const string SUMMARY = @" serial number that uniquely identifies a specific part. +"; + /// Constant value for + public const string NAME = "PartUniqueId.SerialNumber"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549240508_290295_764 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartUniqueIdClass); + + /// + public new PartUniqueIdSerialNumberClassProperties Properties { get; } = new PartUniqueIdSerialNumberClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartUniqueIdSerialNumberClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartUniqueIdClass.PartUniqueIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SERIAL_NUMBER"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueId.UuidClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueId.UuidClass.cs new file mode 100644 index 00000000..31b94705 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueId.UuidClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// universally unique identifier as specified in ISO 11578 or RFC 4122.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartUniqueIdUuidClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549269055_807696_778"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549269055_807696_778"; + /// Constant value for + public const string SUMMARY = @" universally unique identifier as specified in ISO 11578 or RFC 4122. +"; + /// Constant value for + public const string NAME = "PartUniqueId.Uuid"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549240508_290295_764 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartUniqueIdClass); + + /// + public new PartUniqueIdUuidClassProperties Properties { get; } = new PartUniqueIdUuidClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartUniqueIdUuidClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PartUniqueIdClass.PartUniqueIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "UUID"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueIdClass.cs new file mode 100644 index 00000000..db4833aa --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PartUniqueIdClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PART_UNIQUE_ID

If no subType in DataItem is specified, UUID is default.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartUniqueIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549240508_290295_764"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549240508_290295_764"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PART_UNIQUE_ID)}} + +If no {{property(DataItem::subType)}} is specified, `UUID` is default. +"; + /// Constant value for + public const string NAME = "PartUniqueId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PartUniqueIdClassProperties Properties { get; } = new PartUniqueIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PartUniqueIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART_UNIQUE_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "UUID"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverride.JogClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverride.JogClass.cs new file mode 100644 index 00000000..6b8947ae --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverride.JogClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// relating to momentary activation of a function or a movement.

DEPRECATION WARNING: May be deprecated in the future.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedrateOverrideJogClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218382_209855_2004"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218382_209855_2004"; + /// Constant value for + public const string SUMMARY = @" relating to momentary activation of a function or a movement. + +**DEPRECATION WARNING**: May be deprecated in the future. +"; + /// Constant value for + public const string NAME = "PathFeedrateOverride.Jog"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218381_937176_2001 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PathFeedrateOverrideClass); + + /// + public new PathFeedrateOverrideJogClassProperties Properties { get; } = new PathFeedrateOverrideJogClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedrateOverrideJogClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PathFeedrateOverrideClass.PathFeedrateOverrideClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverride.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverride.ProgrammedClass.cs new file mode 100644 index 00000000..d20d3f6b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverride.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedrateOverrideProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218383_276168_2007"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218383_276168_2007"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "PathFeedrateOverride.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218381_937176_2001 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PathFeedrateOverrideClass); + + /// + public new PathFeedrateOverrideProgrammedClassProperties Properties { get; } = new PathFeedrateOverrideProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedrateOverrideProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PathFeedrateOverrideClass.PathFeedrateOverrideClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverride.RapidClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverride.RapidClass.cs new file mode 100644 index 00000000..bc504d3e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverride.RapidClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// performing an operation faster or in less time than nominal rate.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedrateOverrideRapidClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218384_46527_2010"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218384_46527_2010"; + /// Constant value for + public const string SUMMARY = @" performing an operation faster or in less time than nominal rate. +"; + /// Constant value for + public const string NAME = "PathFeedrateOverride.Rapid"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218381_937176_2001 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PathFeedrateOverrideClass); + + /// + public new PathFeedrateOverrideRapidClassProperties Properties { get; } = new PathFeedrateOverrideRapidClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedrateOverrideRapidClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PathFeedrateOverrideClass.PathFeedrateOverrideClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverrideClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverrideClass.cs new file mode 100644 index 00000000..d447ecb5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathFeedrateOverrideClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PATH_FEEDRATE_OVERRIDE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedrateOverrideClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218381_937176_2001"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218381_937176_2001"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PATH_FEEDRATE_OVERRIDE)}} +"; + /// Constant value for + public const string NAME = "PathFeedrateOverride"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PathFeedrateOverrideClassProperties Properties { get; } = new PathFeedrateOverrideClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedrateOverrideClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PATH_FEEDRATE_OVERRIDE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathModeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathModeClass.cs new file mode 100644 index 00000000..00bd9c71 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PathModeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PATH_MODE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathModeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218390_161639_2025"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218390_161639_2025"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PATH_MODE)}} +"; + /// Constant value for + public const string NAME = "PathMode"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PathModeClassProperties Properties { get; } = new PathModeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathModeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "INDEPENDENT"; + + /// + /// + /// Type: PathModeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.PathModeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PATH_MODE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerState.ControlClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerState.ControlClass.cs new file mode 100644 index 00000000..f979bf78 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerState.ControlClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// state of the enabling signal or control logic that enables or disables the function or operation of the entity.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PowerStateControlClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218408_18470_2070"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218408_18470_2070"; + /// Constant value for + public const string SUMMARY = @" state of the enabling signal or control logic that enables or disables the function or operation of the entity. +"; + /// Constant value for + public const string NAME = "PowerState.Control"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218405_135132_2064 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PowerStateClass); + + /// + public new PowerStateControlClassProperties Properties { get; } = new PowerStateControlClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PowerStateControlClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PowerStateClass.PowerStateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerState.LineClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerState.LineClass.cs new file mode 100644 index 00000000..d8bfab7c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerState.LineClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// state of the power source for the entity.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PowerStateLineClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218406_183325_2067"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218406_183325_2067"; + /// Constant value for + public const string SUMMARY = @" state of the power source for the entity. +"; + /// Constant value for + public const string NAME = "PowerState.Line"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218405_135132_2064 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PowerStateClass); + + /// + public new PowerStateLineClassProperties Properties { get; } = new PowerStateLineClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PowerStateLineClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.PowerStateClass.PowerStateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerStateClass.cs new file mode 100644 index 00000000..a8597fac --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerStateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.POWER_STATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PowerStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218405_135132_2064"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218405_135132_2064"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::POWER_STATE)}} +"; + /// Constant value for + public const string NAME = "PowerState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PowerStateClassProperties Properties { get; } = new PowerStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PowerStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PowerStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.PowerStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "POWER_STATE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerStatusClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerStatusClass.cs new file mode 100644 index 00000000..7c76fd67 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/PowerStatusClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.POWER_STATUS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PowerStatusClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218409_246360_2073"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218409_246360_2073"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::POWER_STATUS)}} +"; + /// Constant value for + public const string NAME = "PowerStatus"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new PowerStatusClassProperties Properties { get; } = new PowerStatusClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PowerStatusClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "POWER_STATUS"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PowerStatusEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.PowerStatusEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateId.OrderNumberClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateId.OrderNumberClass.cs new file mode 100644 index 00000000..c2d31137 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateId.OrderNumberClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identifier of the authorization of the process occurrence. Synonyms include "job id", "work order".


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessAggregateIdOrderNumberClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549941736_739395_1704"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549941736_739395_1704"; + /// Constant value for + public const string SUMMARY = @" identifier of the authorization of the process occurrence. Synonyms include ""job id"", ""work order"". +"; + /// Constant value for + public const string NAME = "ProcessAggregateId.OrderNumber"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549689754_638221_1396 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessAggregateIdClass); + + /// + public new ProcessAggregateIdOrderNumberClassProperties Properties { get; } = new ProcessAggregateIdOrderNumberClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessAggregateIdOrderNumberClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessAggregateIdClass.ProcessAggregateIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ORDER_NUMBER"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateId.ProcessPlanClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateId.ProcessPlanClass.cs new file mode 100644 index 00000000..5f567c4a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateId.ProcessPlanClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identifier of the process plan that this occurrence belongs to. Synonyms include "routing id", "job id".



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessAggregateIdProcessPlanClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549941144_813107_1698"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549941144_813107_1698"; + /// Constant value for + public const string SUMMARY = @" identifier of the process plan that this occurrence belongs to. Synonyms include ""routing id"", ""job id"". +"; + /// Constant value for + public const string NAME = "ProcessAggregateId.ProcessPlan"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549689754_638221_1396 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessAggregateIdClass); + + /// + public new ProcessAggregateIdProcessPlanClassProperties Properties { get; } = new ProcessAggregateIdProcessPlanClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessAggregateIdProcessPlanClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessAggregateIdClass.ProcessAggregateIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROCESS_PLAN"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateId.ProcessStepClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateId.ProcessStepClass.cs new file mode 100644 index 00000000..91d400d1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateId.ProcessStepClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identifier of the step in the process plan that this occurrence corresponds to. Synonyms include "operation id".


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessAggregateIdProcessStepClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549839127_633081_1596"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549839127_633081_1596"; + /// Constant value for + public const string SUMMARY = @" identifier of the step in the process plan that this occurrence corresponds to. Synonyms include ""operation id"". +"; + /// Constant value for + public const string NAME = "ProcessAggregateId.ProcessStep"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549689754_638221_1396 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessAggregateIdClass); + + /// + public new ProcessAggregateIdProcessStepClassProperties Properties { get; } = new ProcessAggregateIdProcessStepClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessAggregateIdProcessStepClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessAggregateIdClass.ProcessAggregateIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROCESS_STEP"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateIdClass.cs new file mode 100644 index 00000000..679c2a35 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessAggregateIdClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PROCESS_AGGREGATE_ID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessAggregateIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549689754_638221_1396"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549689754_638221_1396"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PROCESS_AGGREGATE_ID)}} +"; + /// Constant value for + public const string NAME = "ProcessAggregateId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ProcessAggregateIdClassProperties Properties { get; } = new ProcessAggregateIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessAggregateIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROCESS_AGGREGATE_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindId.ISOStepExecutableClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindId.ISOStepExecutableClass.cs new file mode 100644 index 00000000..7e454515 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindId.ISOStepExecutableClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// reference to a ISO 10303 Executable.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessKindIdISOStepExecutableClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605550088480_962073_1800"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605550088480_962073_1800"; + /// Constant value for + public const string SUMMARY = @" reference to a ISO 10303 Executable. +"; + /// Constant value for + public const string NAME = "ProcessKindId.ISOStepExecutable"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549690346_543437_1404 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessKindIdClass); + + /// + public new ProcessKindIdISOStepExecutableClassProperties Properties { get; } = new ProcessKindIdISOStepExecutableClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessKindIdISOStepExecutableClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessKindIdClass.ProcessKindIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ISO_STEP_EXECUTABLE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindId.ProcessNameClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindId.ProcessNameClass.cs new file mode 100644 index 00000000..a7502166 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindId.ProcessNameClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// word or set of words by which a process being executed (process occurrence) by the device is known, addressed, or referred to.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessKindIdProcessNameClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605550088194_398416_1794"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605550088194_398416_1794"; + /// Constant value for + public const string SUMMARY = @" word or set of words by which a process being executed (process occurrence) by the device is known, addressed, or referred to. +"; + /// Constant value for + public const string NAME = "ProcessKindId.ProcessName"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549690346_543437_1404 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessKindIdClass); + + /// + public new ProcessKindIdProcessNameClassProperties Properties { get; } = new ProcessKindIdProcessNameClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessKindIdProcessNameClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessKindIdClass.ProcessKindIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROCESS_NAME"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindId.UuidClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindId.UuidClass.cs new file mode 100644 index 00000000..5e30473b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindId.UuidClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// universally unique identifier as specified in ISO 11578 or RFC 4122.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessKindIdUuidClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549849270_197703_1602"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549849270_197703_1602"; + /// Constant value for + public const string SUMMARY = @" universally unique identifier as specified in ISO 11578 or RFC 4122. +"; + /// Constant value for + public const string NAME = "ProcessKindId.Uuid"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549690346_543437_1404 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessKindIdClass); + + /// + public new ProcessKindIdUuidClassProperties Properties { get; } = new ProcessKindIdUuidClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessKindIdUuidClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessKindIdClass.ProcessKindIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "UUID"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindIdClass.cs new file mode 100644 index 00000000..af4e081e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessKindIdClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PROCESS_KIND_ID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessKindIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549690346_543437_1404"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549690346_543437_1404"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PROCESS_KIND_ID)}} +"; + /// Constant value for + public const string NAME = "ProcessKindId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ProcessKindIdClassProperties Properties { get; } = new ProcessKindIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessKindIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROCESS_KIND_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.ActivityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.ActivityClass.cs new file mode 100644 index 00000000..44ce0966 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.ActivityClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// phase or segment of a recipe or program.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessOccurrenceIdActivityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640702912876_459309_188"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1640702912876_459309_188"; + /// Constant value for + public const string SUMMARY = @" phase or segment of a recipe or program. +"; + /// Constant value for + public const string NAME = "ProcessOccurrenceId.Activity"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549692001_598671_1420 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessOccurrenceIdClass); + + /// + public new ProcessOccurrenceIdActivityClassProperties Properties { get; } = new ProcessOccurrenceIdActivityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessOccurrenceIdActivityClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessOccurrenceIdClass.ProcessOccurrenceIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTIVITY"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.OperationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.OperationClass.cs new file mode 100644 index 00000000..bcd5a22d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.OperationClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// step of a discrete manufacturing process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessOccurrenceIdOperationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640702976667_529892_213"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1640702976667_529892_213"; + /// Constant value for + public const string SUMMARY = @" step of a discrete manufacturing process. +"; + /// Constant value for + public const string NAME = "ProcessOccurrenceId.Operation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549692001_598671_1420 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessOccurrenceIdClass); + + /// + public new ProcessOccurrenceIdOperationClassProperties Properties { get; } = new ProcessOccurrenceIdOperationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessOccurrenceIdOperationClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessOccurrenceIdClass.ProcessOccurrenceIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "OPERATION"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.RecipeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.RecipeClass.cs new file mode 100644 index 00000000..d3ec9c5b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.RecipeClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// process as part of product production; can be a subprocess of a larger process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessOccurrenceIdRecipeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640702975917_50205_205"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1640702975917_50205_205"; + /// Constant value for + public const string SUMMARY = @" process as part of product production; can be a subprocess of a larger process. +"; + /// Constant value for + public const string NAME = "ProcessOccurrenceId.Recipe"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549692001_598671_1420 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessOccurrenceIdClass); + + /// + public new ProcessOccurrenceIdRecipeClassProperties Properties { get; } = new ProcessOccurrenceIdRecipeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessOccurrenceIdRecipeClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessOccurrenceIdClass.ProcessOccurrenceIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RECIPE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.SegmentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.SegmentClass.cs new file mode 100644 index 00000000..cb5a8ffd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceId.SegmentClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// phase of a recipe process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessOccurrenceIdSegmentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640702975251_53241_197"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1640702975251_53241_197"; + /// Constant value for + public const string SUMMARY = @" phase of a recipe process. +"; + /// Constant value for + public const string NAME = "ProcessOccurrenceId.Segment"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605549692001_598671_1420 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessOccurrenceIdClass); + + /// + public new ProcessOccurrenceIdSegmentClassProperties Properties { get; } = new ProcessOccurrenceIdSegmentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessOccurrenceIdSegmentClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessOccurrenceIdClass.ProcessOccurrenceIdClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SEGMENT"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceIdClass.cs new file mode 100644 index 00000000..7763cf78 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessOccurrenceIdClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PROCESS_OCCURRENCE_ID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessOccurrenceIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605549692001_598671_1420"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605549692001_598671_1420"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PROCESS_OCCURRENCE_ID)}} +"; + /// Constant value for + public const string NAME = "ProcessOccurrenceId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ProcessOccurrenceIdClassProperties Properties { get; } = new ProcessOccurrenceIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessOccurrenceIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROCESS_OCCURRENCE_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessStateClass.cs new file mode 100644 index 00000000..c0222b7a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessStateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PROCESS_STATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622460054393_582789_1245"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622460054393_582789_1245"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PROCESS_STATE)}} +"; + /// Constant value for + public const string NAME = "ProcessState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ProcessStateClassProperties Properties { get; } = new ProcessStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProcessStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ProcessStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROCESS_STATE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTime.CompleteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTime.CompleteClass.cs new file mode 100644 index 00000000..7ce11aa7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTime.CompleteClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// time and date associated with the completion of an activity or event.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessTimeCompleteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218413_298281_2085"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218413_298281_2085"; + /// Constant value for + public const string SUMMARY = @" time and date associated with the completion of an activity or event. +"; + /// Constant value for + public const string NAME = "ProcessTime.Complete"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218411_953996_2079 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessTimeClass); + + /// + public new ProcessTimeCompleteClassProperties Properties { get; } = new ProcessTimeCompleteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessTimeCompleteClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessTimeClass.ProcessTimeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTime.StartClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTime.StartClass.cs new file mode 100644 index 00000000..43ff033c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTime.StartClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// boundary when an activity or an event commences.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessTimeStartClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218412_357036_2082"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218412_357036_2082"; + /// Constant value for + public const string SUMMARY = @" boundary when an activity or an event commences. +"; + /// Constant value for + public const string NAME = "ProcessTime.Start"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218411_953996_2079 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessTimeClass); + + /// + public new ProcessTimeStartClassProperties Properties { get; } = new ProcessTimeStartClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessTimeStartClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessTimeClass.ProcessTimeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTime.TargetCompletionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTime.TargetCompletionClass.cs new file mode 100644 index 00000000..c25d11ca --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTime.TargetCompletionClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// projected time and date associated with the end or completion of an activity or event.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessTimeTargetCompletionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218415_960366_2088"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218415_960366_2088"; + /// Constant value for + public const string SUMMARY = @" projected time and date associated with the end or completion of an activity or event. +"; + /// Constant value for + public const string NAME = "ProcessTime.TargetCompletion"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218411_953996_2079 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessTimeClass); + + /// + public new ProcessTimeTargetCompletionClassProperties Properties { get; } = new ProcessTimeTargetCompletionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessTimeTargetCompletionClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProcessTimeClass.ProcessTimeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTimeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTimeClass.cs new file mode 100644 index 00000000..cfdc5002 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProcessTimeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PROCESS_TIME


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessTimeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218411_953996_2079"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218411_953996_2079"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PROCESS_TIME)}} +"; + /// Constant value for + public const string NAME = "ProcessTime"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ProcessTimeClassProperties Properties { get; } = new ProcessTimeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessTimeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROCESS_TIME"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.ActiveClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.ActiveClass.cs new file mode 100644 index 00000000..d3fefed5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.ActiveClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of the logic or motion program currently executing.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramActiveClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643281649143_793563_12"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1643281649143_793563_12"; + /// Constant value for + public const string SUMMARY = @" identity of the logic or motion program currently executing. +"; + /// Constant value for + public const string NAME = "Program.Active"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218420_715490_2100 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass); + + /// + public new ProgramActiveClassProperties Properties { get; } = new ProgramActiveClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramActiveClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass.ProgramClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTIVE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.ActivityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.ActivityClass.cs new file mode 100644 index 00000000..8cd7ebe6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.ActivityClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// phase or segment of a recipe or program.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramActivityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640702710028_630824_145"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1640702710028_630824_145"; + /// Constant value for + public const string SUMMARY = @" phase or segment of a recipe or program. +"; + /// Constant value for + public const string NAME = "Program.Activity"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218420_715490_2100 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass); + + /// + public new ProgramActivityClassProperties Properties { get; } = new ProgramActivityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramActivityClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass.ProgramClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTIVITY"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.MainClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.MainClass.cs new file mode 100644 index 00000000..d58afdee --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.MainClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of the primary logic or motion program currently being executed.

It is the starting nest level in a call structure and may contain calls to sub programs.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramMainClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643972411815_658547_946"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1643972411815_658547_946"; + /// Constant value for + public const string SUMMARY = @" identity of the primary logic or motion program currently being executed. + +It is the starting nest level in a call structure and may contain calls to sub programs. +"; + /// Constant value for + public const string NAME = "Program.Main"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218420_715490_2100 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass); + + /// + public new ProgramMainClassProperties Properties { get; } = new ProgramMainClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramMainClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass.ProgramClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MAIN"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.OperationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.OperationClass.cs new file mode 100644 index 00000000..87a31b0b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.OperationClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// step of a discrete manufacturing process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramOperationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640702814655_707586_180"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1640702814655_707586_180"; + /// Constant value for + public const string SUMMARY = @" step of a discrete manufacturing process. +"; + /// Constant value for + public const string NAME = "Program.Operation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218420_715490_2100 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass); + + /// + public new ProgramOperationClassProperties Properties { get; } = new ProgramOperationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramOperationClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass.ProgramClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "OPERATION"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.RecipeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.RecipeClass.cs new file mode 100644 index 00000000..a6f9f9c0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.RecipeClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// process as part of product production; can be a subprocess of a larger process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramRecipeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640702813737_769643_172"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1640702813737_769643_172"; + /// Constant value for + public const string SUMMARY = @" process as part of product production; can be a subprocess of a larger process. +"; + /// Constant value for + public const string NAME = "Program.Recipe"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218420_715490_2100 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass); + + /// + public new ProgramRecipeClassProperties Properties { get; } = new ProgramRecipeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramRecipeClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass.ProgramClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RECIPE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.ScheduleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.ScheduleClass.cs new file mode 100644 index 00000000..65f327ac --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.ScheduleClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of a control program that is used to specify the order of execution of other programs.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramScheduleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643972413453_523292_956"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1643972413453_523292_956"; + /// Constant value for + public const string SUMMARY = @" identity of a control program that is used to specify the order of execution of other programs. +"; + /// Constant value for + public const string NAME = "Program.Schedule"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218420_715490_2100 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass); + + /// + public new ProgramScheduleClassProperties Properties { get; } = new ProgramScheduleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramScheduleClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass.ProgramClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SCHEDULE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.SegmentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.SegmentClass.cs new file mode 100644 index 00000000..647a09c1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Program.SegmentClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// phase of a recipe process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramSegmentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640702813033_250589_164"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1640702813033_250589_164"; + /// Constant value for + public const string SUMMARY = @" phase of a recipe process. +"; + /// Constant value for + public const string NAME = "Program.Segment"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218420_715490_2100 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass); + + /// + public new ProgramSegmentClassProperties Properties { get; } = new ProgramSegmentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramSegmentClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramClass.ProgramClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SEGMENT"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramClass.cs new file mode 100644 index 00000000..51e32b16 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PROGRAM


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218420_715490_2100"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218420_715490_2100"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PROGRAM)}} +"; + /// Constant value for + public const string NAME = "Program"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ProgramClassProperties Properties { get; } = new ProgramClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAM"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramComment.ActiveClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramComment.ActiveClass.cs new file mode 100644 index 00000000..152db1b4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramComment.ActiveClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of the logic or motion program currently executing.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramCommentActiveClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1658934368035_110256_34"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1658934368035_110256_34"; + /// Constant value for + public const string SUMMARY = @" identity of the logic or motion program currently executing. +"; + /// Constant value for + public const string NAME = "ProgramComment.Active"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218421_695516_2103 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramCommentClass); + + /// + public new ProgramCommentActiveClassProperties Properties { get; } = new ProgramCommentActiveClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramCommentActiveClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramCommentClass.ProgramCommentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTIVE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramComment.MainClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramComment.MainClass.cs new file mode 100644 index 00000000..38c90737 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramComment.MainClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of the primary logic or motion program currently being executed.

It is the starting nest level in a call structure and may contain calls to sub programs.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramCommentMainClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1658934368028_460912_32"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1658934368028_460912_32"; + /// Constant value for + public const string SUMMARY = @" identity of the primary logic or motion program currently being executed. + +It is the starting nest level in a call structure and may contain calls to sub programs. +"; + /// Constant value for + public const string NAME = "ProgramComment.Main"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218421_695516_2103 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramCommentClass); + + /// + public new ProgramCommentMainClassProperties Properties { get; } = new ProgramCommentMainClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramCommentMainClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramCommentClass.ProgramCommentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MAIN"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramComment.ScheduleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramComment.ScheduleClass.cs new file mode 100644 index 00000000..06ee8ebb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramComment.ScheduleClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of a control program that is used to specify the order of execution of other programs.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramCommentScheduleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1658934368033_498225_33"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1658934368033_498225_33"; + /// Constant value for + public const string SUMMARY = @" identity of a control program that is used to specify the order of execution of other programs. +"; + /// Constant value for + public const string NAME = "ProgramComment.Schedule"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218421_695516_2103 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramCommentClass); + + /// + public new ProgramCommentScheduleClassProperties Properties { get; } = new ProgramCommentScheduleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramCommentScheduleClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramCommentClass.ProgramCommentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SCHEDULE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramCommentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramCommentClass.cs new file mode 100644 index 00000000..75a78925 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramCommentClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PROGRAM_COMMENT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramCommentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218421_695516_2103"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218421_695516_2103"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PROGRAM_COMMENT)}} +"; + /// Constant value for + public const string NAME = "ProgramComment"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ProgramCommentClassProperties Properties { get; } = new ProgramCommentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramCommentClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAM_COMMENT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramEditClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramEditClass.cs new file mode 100644 index 00000000..13524b9e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramEditClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PROGRAM_EDIT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramEditClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218423_45728_2106"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218423_45728_2106"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PROGRAM_EDIT)}} +"; + /// Constant value for + public const string NAME = "ProgramEdit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ProgramEditClassProperties Properties { get; } = new ProgramEditClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramEditClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProgramEditEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ProgramEditEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAM_EDIT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramEditNameClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramEditNameClass.cs new file mode 100644 index 00000000..2cc7e9f1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramEditNameClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PROGRAM_EDIT_NAME


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramEditNameClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218424_573300_2109"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218424_573300_2109"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PROGRAM_EDIT_NAME)}} +"; + /// Constant value for + public const string NAME = "ProgramEditName"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ProgramEditNameClassProperties Properties { get; } = new ProgramEditNameClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramEditNameClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAM_EDIT_NAME"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeader.ActiveClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeader.ActiveClass.cs new file mode 100644 index 00000000..9623ee84 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeader.ActiveClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of the logic or motion program currently executing.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramHeaderActiveClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587749122500_588362_2022"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587749122500_588362_2022"; + /// Constant value for + public const string SUMMARY = @" identity of the logic or motion program currently executing. +"; + /// Constant value for + public const string NAME = "ProgramHeader.Active"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218425_677557_2112 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramHeaderClass); + + /// + public new ProgramHeaderActiveClassProperties Properties { get; } = new ProgramHeaderActiveClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramHeaderActiveClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramHeaderClass.ProgramHeaderClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeader.MainClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeader.MainClass.cs new file mode 100644 index 00000000..bbe04dae --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeader.MainClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of the primary logic or motion program currently being executed.

It is the starting nest level in a call structure and may contain calls to sub programs.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramHeaderMainClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587749122498_223738_2020"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587749122498_223738_2020"; + /// Constant value for + public const string SUMMARY = @" identity of the primary logic or motion program currently being executed. + +It is the starting nest level in a call structure and may contain calls to sub programs. +"; + /// Constant value for + public const string NAME = "ProgramHeader.Main"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218425_677557_2112 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramHeaderClass); + + /// + public new ProgramHeaderMainClassProperties Properties { get; } = new ProgramHeaderMainClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramHeaderMainClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramHeaderClass.ProgramHeaderClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeader.ScheduleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeader.ScheduleClass.cs new file mode 100644 index 00000000..49bab837 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeader.ScheduleClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of a control program that is used to specify the order of execution of other programs.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramHeaderScheduleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587749122500_370109_2021"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587749122500_370109_2021"; + /// Constant value for + public const string SUMMARY = @" identity of a control program that is used to specify the order of execution of other programs. +"; + /// Constant value for + public const string NAME = "ProgramHeader.Schedule"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218425_677557_2112 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramHeaderClass); + + /// + public new ProgramHeaderScheduleClassProperties Properties { get; } = new ProgramHeaderScheduleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramHeaderScheduleClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramHeaderClass.ProgramHeaderClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeaderClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeaderClass.cs new file mode 100644 index 00000000..0a07284b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramHeaderClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PROGRAM_HEADER


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramHeaderClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218425_677557_2112"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218425_677557_2112"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PROGRAM_HEADER)}} +"; + /// Constant value for + public const string NAME = "ProgramHeader"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ProgramHeaderClassProperties Properties { get; } = new ProgramHeaderClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramHeaderClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAM_HEADER"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MAIN"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocation.ActiveClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocation.ActiveClass.cs new file mode 100644 index 00000000..874f3dc3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocation.ActiveClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of the logic or motion program currently executing.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramLocationActiveClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218429_625454_2124"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218429_625454_2124"; + /// Constant value for + public const string SUMMARY = @" identity of the logic or motion program currently executing. +"; + /// Constant value for + public const string NAME = "ProgramLocation.Active"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218426_493212_2115 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramLocationClass); + + /// + public new ProgramLocationActiveClassProperties Properties { get; } = new ProgramLocationActiveClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramLocationActiveClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramLocationClass.ProgramLocationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocation.MainClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocation.MainClass.cs new file mode 100644 index 00000000..893f8bf2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocation.MainClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of the primary logic or motion program currently being executed.

It is the starting nest level in a call structure and may contain calls to sub programs.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramLocationMainClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218428_40392_2121"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218428_40392_2121"; + /// Constant value for + public const string SUMMARY = @" identity of the primary logic or motion program currently being executed. + +It is the starting nest level in a call structure and may contain calls to sub programs. +"; + /// Constant value for + public const string NAME = "ProgramLocation.Main"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218426_493212_2115 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramLocationClass); + + /// + public new ProgramLocationMainClassProperties Properties { get; } = new ProgramLocationMainClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramLocationMainClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramLocationClass.ProgramLocationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocation.ScheduleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocation.ScheduleClass.cs new file mode 100644 index 00000000..925fc7b3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocation.ScheduleClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of a control program that is used to specify the order of execution of other programs.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramLocationScheduleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218426_688966_2118"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218426_688966_2118"; + /// Constant value for + public const string SUMMARY = @" identity of a control program that is used to specify the order of execution of other programs. +"; + /// Constant value for + public const string NAME = "ProgramLocation.Schedule"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218426_493212_2115 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramLocationClass); + + /// + public new ProgramLocationScheduleClassProperties Properties { get; } = new ProgramLocationScheduleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramLocationScheduleClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramLocationClass.ProgramLocationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationClass.cs new file mode 100644 index 00000000..2cf362c4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PROGRAM_LOCATION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramLocationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218426_493212_2115"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218426_493212_2115"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PROGRAM_LOCATION)}} +"; + /// Constant value for + public const string NAME = "ProgramLocation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ProgramLocationClassProperties Properties { get; } = new ProgramLocationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramLocationClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAM_LOCATION"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationType.ActiveClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationType.ActiveClass.cs new file mode 100644 index 00000000..78330a0d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationType.ActiveClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of the logic or motion program currently executing.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramLocationTypeActiveClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218432_333321_2136"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218432_333321_2136"; + /// Constant value for + public const string SUMMARY = @" identity of the logic or motion program currently executing. +"; + /// Constant value for + public const string NAME = "ProgramLocationType.Active"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218430_336265_2127 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramLocationTypeClass); + + /// + public new ProgramLocationTypeActiveClassProperties Properties { get; } = new ProgramLocationTypeActiveClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramLocationTypeActiveClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramLocationTypeClass.ProgramLocationTypeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationType.MainClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationType.MainClass.cs new file mode 100644 index 00000000..b8476a0d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationType.MainClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of the primary logic or motion program currently being executed.

It is the starting nest level in a call structure and may contain calls to sub programs.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramLocationTypeMainClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218431_68146_2133"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218431_68146_2133"; + /// Constant value for + public const string SUMMARY = @" identity of the primary logic or motion program currently being executed. + +It is the starting nest level in a call structure and may contain calls to sub programs. +"; + /// Constant value for + public const string NAME = "ProgramLocationType.Main"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218430_336265_2127 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramLocationTypeClass); + + /// + public new ProgramLocationTypeMainClassProperties Properties { get; } = new ProgramLocationTypeMainClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramLocationTypeMainClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramLocationTypeClass.ProgramLocationTypeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationType.ScheduleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationType.ScheduleClass.cs new file mode 100644 index 00000000..718802a3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationType.ScheduleClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identity of a control program that is used to specify the order of execution of other programs.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramLocationTypeScheduleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218431_639461_2130"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218431_639461_2130"; + /// Constant value for + public const string SUMMARY = @" identity of a control program that is used to specify the order of execution of other programs. +"; + /// Constant value for + public const string NAME = "ProgramLocationType.Schedule"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218430_336265_2127 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramLocationTypeClass); + + /// + public new ProgramLocationTypeScheduleClassProperties Properties { get; } = new ProgramLocationTypeScheduleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramLocationTypeScheduleClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ProgramLocationTypeClass.ProgramLocationTypeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationTypeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationTypeClass.cs new file mode 100644 index 00000000..8a0a87ba --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramLocationTypeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PROGRAM_LOCATION_TYPE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramLocationTypeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218430_336265_2127"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218430_336265_2127"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PROGRAM_LOCATION_TYPE)}} +"; + /// Constant value for + public const string NAME = "ProgramLocationType"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ProgramLocationTypeClassProperties Properties { get; } = new ProgramLocationTypeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramLocationTypeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAM_LOCATION_TYPE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ProgramLocationTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ProgramLocationTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramNestLevelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramNestLevelClass.cs new file mode 100644 index 00000000..6a99727e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ProgramNestLevelClass.cs @@ -0,0 +1,230 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.PROGRAM_NEST_LEVEL

If an initial value is not defined, the nesting level associated with the highest or initial nesting level of the program MUST default to zero (0).



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramNestLevelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218433_608443_2139"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218433_608443_2139"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::PROGRAM_NEST_LEVEL)}} + +If an initial value is not defined, the nesting level associated with the highest or initial nesting level of the program **MUST** default to zero (0). + +"; + /// Constant value for + public const string NAME = "ProgramNestLevel"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ProgramNestLevelClassProperties Properties { get; } = new ProgramNestLevelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProgramNestLevelClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAM_NEST_LEVEL"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/RotaryModeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/RotaryModeClass.cs new file mode 100644 index 00000000..327d05d7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/RotaryModeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ROTARY_MODE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RotaryModeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218435_352480_2145"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218435_352480_2145"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ROTARY_MODE)}} +"; + /// Constant value for + public const string NAME = "RotaryMode"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new RotaryModeClassProperties Properties { get; } = new RotaryModeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RotaryModeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RotaryModeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RotaryModeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ROTARY_MODE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/RotaryVelocityOverrideClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/RotaryVelocityOverrideClass.cs new file mode 100644 index 00000000..6eebc2a9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/RotaryVelocityOverrideClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ROTARY_VELOCITY_OVERRIDE

This command represents a percentage change to the velocity calculated by a logic or motion program or set by a switch for a Rotary type axis.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RotaryVelocityOverrideClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218440_585732_2163"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218440_585732_2163"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ROTARY_VELOCITY_OVERRIDE)}} + +This command represents a percentage change to the velocity calculated by a logic or motion program or set by a switch for a {{block(Rotary)}} type axis. +"; + /// Constant value for + public const string NAME = "RotaryVelocityOverride"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new RotaryVelocityOverrideClassProperties Properties { get; } = new RotaryVelocityOverrideClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RotaryVelocityOverrideClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ROTARY_VELOCITY_OVERRIDE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/RotationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/RotationClass.cs new file mode 100644 index 00000000..7c00954f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/RotationClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.ROTATION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RotationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587752488096_459350_4104"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587752488096_459350_4104"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::ROTATION)}} +"; + /// Constant value for + public const string NAME = "Rotation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new RotationClassProperties Properties { get; } = new RotationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RotationClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE_3D"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ROTATION"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Float[] + /// + public System.Type Type => typeof(float[]); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorAttachmentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorAttachmentClass.cs new file mode 100644 index 00000000..ad5dbf2a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorAttachmentClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.SENSOR_ATTACHMENT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorAttachmentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605115194197_946259_1333"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605115194197_946259_1333"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::SENSOR_ATTACHMENT)}} +"; + /// Constant value for + public const string NAME = "SensorAttachment"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new SensorAttachmentClassProperties Properties { get; } = new SensorAttachmentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SensorAttachmentClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SENSOR_ATTACHMENT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SensorAttachmentResultClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SensorAttachmentResultClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.BinaryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.BinaryClass.cs new file mode 100644 index 00000000..f119f572 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.BinaryClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.SENSOR_STATE where the state is DataItemSubTypeEnum.BINARY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorStateBinaryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1677588817279_722263_781"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1677588817279_722263_781"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::SENSOR_STATE)}} where the state is {{def(DataItemSubTypeEnum::BINARY)}} +"; + /// Constant value for + public const string NAME = "SensorState.Binary"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1677588817278_345680_780 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.SensorStateClass); + + /// + public new SensorStateBinaryClassProperties Properties { get; } = new SensorStateBinaryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SensorStateBinaryClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.SensorStateClass.SensorStateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BINARY"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Bool + /// + public System.Type Type => typeof(bool); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.BooleanClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.BooleanClass.cs new file mode 100644 index 00000000..d0404b45 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.BooleanClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.SENSOR_STATE where the state is DataItemSubTypeEnum.BOOLEAN


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorStateBooleanClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1677588817279_198819_782"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1677588817279_198819_782"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::SENSOR_STATE)}} where the state is {{def(DataItemSubTypeEnum::BOOLEAN)}} +"; + /// Constant value for + public const string NAME = "SensorState.Boolean"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1677588817278_345680_780 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.SensorStateClass); + + /// + public new SensorStateBooleanClassProperties Properties { get; } = new SensorStateBooleanClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SensorStateBooleanClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.SensorStateClass.SensorStateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BOOLEAN"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Boolean + /// + public System.Type Type => typeof(Boolean); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.DetectClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.DetectClass.cs new file mode 100644 index 00000000..6534154e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.DetectClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.SENSOR_STATE where the state is DataItemSubTypeEnum.DETECT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorStateDetectClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1677588817279_516836_784"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1677588817279_516836_784"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::SENSOR_STATE)}} where the state is {{def(DataItemSubTypeEnum::DETECT)}} +"; + /// Constant value for + public const string NAME = "SensorState.Detect"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1677588817278_345680_780 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.SensorStateClass); + + /// + public new SensorStateDetectClassProperties Properties { get; } = new SensorStateDetectClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SensorStateDetectClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.SensorStateClass.SensorStateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DETECT"; + + /// + /// + /// Type: SensorStateDetectEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SensorStateDetectEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionStateSwitchedEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CompositionStateSwitchedEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.EnumeratedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.EnumeratedClass.cs new file mode 100644 index 00000000..b75cdb4a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorState.EnumeratedClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.SENSOR_STATE where the state is DataItemSubTypeEnum.ENUMERATED


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorStateEnumeratedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1677588817279_537934_783"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1677588817279_537934_783"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::SENSOR_STATE)}} where the state is {{def(DataItemSubTypeEnum::ENUMERATED)}} +"; + /// Constant value for + public const string NAME = "SensorState.Enumerated"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1677588817278_345680_780 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.SensorStateClass); + + /// + public new SensorStateEnumeratedClassProperties Properties { get; } = new SensorStateEnumeratedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SensorStateEnumeratedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.SensorStateClass.SensorStateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ENUMERATED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorStateClass.cs new file mode 100644 index 00000000..9405f5ba --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SensorStateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.SENSOR_STATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1677588817278_345680_780"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1677588817278_345680_780"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::SENSOR_STATE)}} +"; + /// Constant value for + public const string NAME = "SensorState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new SensorStateClassProperties Properties { get; } = new SensorStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SensorStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SENSOR_STATE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BINARY"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SerialNumberClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SerialNumberClass.cs new file mode 100644 index 00000000..c37e3534 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SerialNumberClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.SERIAL_NUMBER


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SerialNumberClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218441_671480_2166"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218441_671480_2166"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::SERIAL_NUMBER)}} +"; + /// Constant value for + public const string NAME = "SerialNumber"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new SerialNumberClassProperties Properties { get; } = new SerialNumberClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SerialNumberClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SERIAL_NUMBER"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SpecificationLimitClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SpecificationLimitClass.cs new file mode 100644 index 00000000..f7e2e0d8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SpecificationLimitClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.SPECIFICATION_LIMIT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpecificationLimitClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605646964270_821694_3328"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605646964270_821694_3328"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::SPECIFICATION_LIMIT)}} +"; + /// Constant value for + public const string NAME = "SpecificationLimit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new SpecificationLimitClassProperties Properties { get; } = new SpecificationLimitClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SpecificationLimitClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SPECIFICATION_LIMIT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SpecificationLimitResultClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SpecificationLimitResultClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SpecificationLimitsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SpecificationLimitsClass.cs new file mode 100644 index 00000000..526445c8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SpecificationLimitsClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.SPECIFICATION_LIMITS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpecificationLimitsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1696080573206_993652_2385"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1696080573206_993652_2385"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::SPECIFICATION_LIMITS)}} +"; + /// Constant value for + public const string NAME = "SpecificationLimits"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new SpecificationLimitsClassProperties Properties { get; } = new SpecificationLimitsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SpecificationLimitsClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SPECIFICATION_LIMIT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SpecificationLimitResultClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SpecificationLimitResultClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SpindleInterlockClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SpindleInterlockClass.cs new file mode 100644 index 00000000..0b2bde28 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/SpindleInterlockClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.SPINDLE_INTERLOCK


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpindleInterlockClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218446_291783_2187"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218446_291783_2187"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::SPINDLE_INTERLOCK)}} +"; + /// Constant value for + public const string NAME = "SpindleInterlock"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new SpindleInterlockClassProperties Properties { get; } = new SpindleInterlockClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SpindleInterlockClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SpindleInterlockEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SpindleInterlockEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SPINDLE_INTERLOCK"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.ActualClass.cs new file mode 100644 index 00000000..e50313e7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.THICKNESS that is DataItemSubTypeEnum.ACTUAL.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ThicknessActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1712321222573_579674_359"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1712321222573_579674_359"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::THICKNESS)}} that is {{def(DataItemSubTypeEnum::ACTUAL)}}. +"; + /// Constant value for + public const string NAME = "Thickness.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1712321222573_635969_358 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ThicknessClass); + + /// + public new ThicknessActualClassProperties Properties { get; } = new ThicknessActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ThicknessActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ThicknessClass.ThicknessClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.CommandedClass.cs new file mode 100644 index 00000000..a5d38dc5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.THICKNESS that is DataItemSubTypeEnum.COMMANDED.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ThicknessCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1712321222574_777814_360"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1712321222574_777814_360"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::THICKNESS)}} that is {{def(DataItemSubTypeEnum::COMMANDED)}}. +"; + /// Constant value for + public const string NAME = "Thickness.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1712321222573_635969_358 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ThicknessClass); + + /// + public new ThicknessCommandedClassProperties Properties { get; } = new ThicknessCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ThicknessCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ThicknessClass.ThicknessClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.ProgrammedClass.cs new file mode 100644 index 00000000..e7c8c13d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.THICKNESS that is DataItemSubTypeEnum.PROGRAMMED.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ThicknessProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1712321222575_829695_362"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1712321222575_829695_362"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::THICKNESS)}} that is {{def(DataItemSubTypeEnum::PROGRAMMED)}}. +"; + /// Constant value for + public const string NAME = "Thickness.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1712321222573_635969_358 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ThicknessClass); + + /// + public new ThicknessProgrammedClassProperties Properties { get; } = new ThicknessProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ThicknessProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ThicknessClass.ThicknessClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAMMED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.TargetClass.cs new file mode 100644 index 00000000..40e84656 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/Thickness.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.THICKNESS that is DataItemSubTypeEnum.TARGET.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ThicknessTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1712321222575_954880_361"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1712321222575_954880_361"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::THICKNESS)}} that is {{def(DataItemSubTypeEnum::TARGET)}}. +"; + /// Constant value for + public const string NAME = "Thickness.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1712321222573_635969_358 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ThicknessClass); + + /// + public new ThicknessTargetClassProperties Properties { get; } = new ThicknessTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ThicknessTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ThicknessClass.ThicknessClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TARGET"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ThicknessClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ThicknessClass.cs new file mode 100644 index 00000000..5abb63e4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ThicknessClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.THICKNESS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ThicknessClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1712321222573_635969_358"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1712321222573_635969_358"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::THICKNESS)}} +"; + /// Constant value for + public const string NAME = "Thickness"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ThicknessClassProperties Properties { get; } = new ThicknessClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ThicknessClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "THICKNESS"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolAssetIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolAssetIdClass.cs new file mode 100644 index 00000000..243d2b84 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolAssetIdClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.TOOL_ASSET_ID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolAssetIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218453_396537_2214"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218453_396537_2214"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::TOOL_ASSET_ID)}} +"; + /// Constant value for + public const string NAME = "ToolAssetId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ToolAssetIdClassProperties Properties { get; } = new ToolAssetIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolAssetIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TOOL_ASSET_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolCuttingItemClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolCuttingItemClass.cs new file mode 100644 index 00000000..f98d904f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolCuttingItemClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.TOOL_CUTTING_ITEM


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolCuttingItemClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1696090268084_365387_2771"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1696090268084_365387_2771"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::TOOL_CUTTING_ITEM)}} +"; + /// Constant value for + public const string NAME = "ToolCuttingItem"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ToolCuttingItemClassProperties Properties { get; } = new ToolCuttingItemClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolCuttingItemClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TOOL_CUTTING_ITEM"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolGroupClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolGroupClass.cs new file mode 100644 index 00000000..fdf92cce --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolGroupClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.TOOL_GROUP


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolGroupClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218454_932545_2217"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218454_932545_2217"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::TOOL_GROUP)}} +"; + /// Constant value for + public const string NAME = "ToolGroup"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ToolGroupClassProperties Properties { get; } = new ToolGroupClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolGroupClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TOOL_GROUP"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolIdClass.cs new file mode 100644 index 00000000..bc911f46 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolIdClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.TOOL_ID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// Deprecated: v1.2 + /// + /// + [Obsolete("Deprecated in v1.2 according to https://model.mtconnect.org/#_Version_1.2")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218456_275899_2220"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218456_275899_2220"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::TOOL_ID)}} +"; + /// Constant value for + public const string NAME = "ToolId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ToolIdClassProperties Properties { get; } = new ToolIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TOOL_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolNumberClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolNumberClass.cs new file mode 100644 index 00000000..faccc7ae --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolNumberClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.TOOL_NUMBER


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolNumberClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218457_198781_2223"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218457_198781_2223"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::TOOL_NUMBER)}} +"; + /// Constant value for + public const string NAME = "ToolNumber"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ToolNumberClassProperties Properties { get; } = new ToolNumberClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolNumberClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TOOL_NUMBER"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffset.LengthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffset.LengthClass.cs new file mode 100644 index 00000000..c10617d2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffset.LengthClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// reference to a length type tool offset variable.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolOffsetLengthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218460_852754_2232"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218460_852754_2232"; + /// Constant value for + public const string SUMMARY = @" reference to a length type tool offset variable. +"; + /// Constant value for + public const string NAME = "ToolOffset.Length"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218458_345999_2226 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ToolOffsetClass); + + /// + public new ToolOffsetLengthClassProperties Properties { get; } = new ToolOffsetLengthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolOffsetLengthClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ToolOffsetClass.ToolOffsetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffset.RadialClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffset.RadialClass.cs new file mode 100644 index 00000000..270d664a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffset.RadialClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// reference to a radial type tool offset variable.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolOffsetRadialClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218459_234864_2229"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218459_234864_2229"; + /// Constant value for + public const string SUMMARY = @" reference to a radial type tool offset variable. +"; + /// Constant value for + public const string NAME = "ToolOffset.Radial"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218458_345999_2226 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ToolOffsetClass); + + /// + public new ToolOffsetRadialClassProperties Properties { get; } = new ToolOffsetRadialClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolOffsetRadialClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ToolOffsetClass.ToolOffsetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffsetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffsetClass.cs new file mode 100644 index 00000000..18bf1ddd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffsetClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.TOOL_OFFSET


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolOffsetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218458_345999_2226"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218458_345999_2226"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::TOOL_OFFSET)}} +"; + /// Constant value for + public const string NAME = "ToolOffset"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ToolOffsetClassProperties Properties { get; } = new ToolOffsetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolOffsetClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TOOL_OFFSET"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffsetsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffsetsClass.cs new file mode 100644 index 00000000..cfefb591 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ToolOffsetsClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// tabular representation of EventEnum.TOOL_OFFSETS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolOffsetsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678189804769_814006_17113"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678189804769_814006_17113"; + /// Constant value for + public const string SUMMARY = @" tabular representation of {{def(EventEnum::TOOL_OFFSETS)}} +"; + /// Constant value for + public const string NAME = "ToolOffsets"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ToolOffsetsClassProperties Properties { get; } = new ToolOffsetsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ToolOffsetsClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TOOL_OFFSETS"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.AbortedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.AbortedClass.cs new file mode 100644 index 00000000..baae5c71 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.AbortedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions or activities that were attempted, but terminated before they could be completed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransferCountAbortedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197600320_62104_719"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197600320_62104_719"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions or activities that were attempted, but terminated before they could be completed. +"; + /// Constant value for + public const string NAME = "TransferCount.Aborted"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197600319_862998_718 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass); + + /// + public new TransferCountAbortedClassProperties Properties { get; } = new TransferCountAbortedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransferCountAbortedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass.TransferCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ABORTED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.AllClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.AllClass.cs new file mode 100644 index 00000000..9c232c4f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.AllClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of all actions, items, or activities being counted independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransferCountAllClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197600321_961833_720"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197600321_961833_720"; + /// Constant value for + public const string SUMMARY = @" accumulation of all actions, items, or activities being counted independent of the outcome. +"; + /// Constant value for + public const string NAME = "TransferCount.All"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197600319_862998_718 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass); + + /// + public new TransferCountAllClassProperties Properties { get; } = new TransferCountAllClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransferCountAllClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass.TransferCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.BadClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.BadClass.cs new file mode 100644 index 00000000..85264404 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.BadClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that do not conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransferCountBadClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197600321_847692_721"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197600321_847692_721"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that do not conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "TransferCount.Bad"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197600319_862998_718 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass); + + /// + public new TransferCountBadClassProperties Properties { get; } = new TransferCountBadClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransferCountBadClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass.TransferCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BAD"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.CompleteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.CompleteClass.cs new file mode 100644 index 00000000..5c47d176 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.CompleteClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities that have been completed, independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransferCountCompleteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197600322_557984_722"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197600322_557984_722"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities that have been completed, independent of the outcome. +"; + /// Constant value for + public const string NAME = "TransferCount.Complete"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197600319_862998_718 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass); + + /// + public new TransferCountCompleteClassProperties Properties { get; } = new TransferCountCompleteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransferCountCompleteClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass.TransferCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMPLETE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.FailedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.FailedClass.cs new file mode 100644 index 00000000..66615c60 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.FailedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that do not conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransferCountFailedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197600324_243545_723"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197600324_243545_723"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that do not conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "TransferCount.Failed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197600319_862998_718 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass); + + /// + public new TransferCountFailedClassProperties Properties { get; } = new TransferCountFailedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransferCountFailedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass.TransferCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FAILED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.GoodClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.GoodClass.cs new file mode 100644 index 00000000..6a81f68e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.GoodClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransferCountGoodClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197600324_310485_724"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197600324_310485_724"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "TransferCount.Good"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197600319_862998_718 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass); + + /// + public new TransferCountGoodClassProperties Properties { get; } = new TransferCountGoodClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransferCountGoodClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass.TransferCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "GOOD"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.RemainingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.RemainingClass.cs new file mode 100644 index 00000000..881b16b7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.RemainingClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities yet to be counted.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransferCountRemainingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197600324_866652_725"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197600324_866652_725"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities yet to be counted. +"; + /// Constant value for + public const string NAME = "TransferCount.Remaining"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197600319_862998_718 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass); + + /// + public new TransferCountRemainingClassProperties Properties { get; } = new TransferCountRemainingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransferCountRemainingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass.TransferCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REMAINING"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.TargetClass.cs new file mode 100644 index 00000000..b18c0258 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCount.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransferCountTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197600325_450370_726"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197600325_450370_726"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "TransferCount.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197600319_862998_718 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass); + + /// + public new TransferCountTargetClassProperties Properties { get; } = new TransferCountTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransferCountTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.TransferCountClass.TransferCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TARGET"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCountClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCountClass.cs new file mode 100644 index 00000000..9bd57c3a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TransferCountClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.TRANSFER_COUNT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransferCountClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197600319_862998_718"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197600319_862998_718"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::TRANSFER_COUNT)}} +"; + /// Constant value for + public const string NAME = "TransferCount"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new TransferCountClassProperties Properties { get; } = new TransferCountClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransferCountClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TRANSFER_COUNT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TranslationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TranslationClass.cs new file mode 100644 index 00000000..1e6d86cd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/TranslationClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.TRANSLATION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TranslationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587752631993_447108_4157"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587752631993_447108_4157"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::TRANSLATION)}} +"; + /// Constant value for + public const string NAME = "Translation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new TranslationClassProperties Properties { get; } = new TranslationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TranslationClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER_3D"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TRANSLATION"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Float[] + /// + public System.Type Type => typeof(float[]); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UncertaintyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UncertaintyClass.cs new file mode 100644 index 00000000..1abce70d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UncertaintyClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.UNCERTAINTY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UncertaintyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678250846052_368890_18600"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678250846052_368890_18600"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::UNCERTAINTY)}} +"; + /// Constant value for + public const string NAME = "Uncertainty"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new UncertaintyClassProperties Properties { get; } = new UncertaintyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UncertaintyClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "UNCERTAINTY"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Double + /// + public System.Type Type => typeof(Double); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UncertaintyTypeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UncertaintyTypeClass.cs new file mode 100644 index 00000000..edec360c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UncertaintyTypeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.UNCERTAINTY_TYPE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UncertaintyTypeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678250726400_859394_18590"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678250726400_859394_18590"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::UNCERTAINTY_TYPE)}} +"; + /// Constant value for + public const string NAME = "UncertaintyType"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new UncertaintyTypeClassProperties Properties { get; } = new UncertaintyTypeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UncertaintyTypeClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "UNCERTAINTY_TYPE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UncertaintyTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UncertaintyTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.AbortedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.AbortedClass.cs new file mode 100644 index 00000000..5c9d3235 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.AbortedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions or activities that were attempted, but terminated before they could be completed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UnloadCountAbortedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197599376_979084_628"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197599376_979084_628"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions or activities that were attempted, but terminated before they could be completed. +"; + /// Constant value for + public const string NAME = "UnloadCount.Aborted"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197599372_551036_627 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass); + + /// + public new UnloadCountAbortedClassProperties Properties { get; } = new UnloadCountAbortedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UnloadCountAbortedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass.UnloadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ABORTED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.AllClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.AllClass.cs new file mode 100644 index 00000000..fe273841 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.AllClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of all actions, items, or activities being counted independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UnloadCountAllClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197599377_17893_629"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197599377_17893_629"; + /// Constant value for + public const string SUMMARY = @" accumulation of all actions, items, or activities being counted independent of the outcome. +"; + /// Constant value for + public const string NAME = "UnloadCount.All"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197599372_551036_627 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass); + + /// + public new UnloadCountAllClassProperties Properties { get; } = new UnloadCountAllClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UnloadCountAllClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass.UnloadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.BadClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.BadClass.cs new file mode 100644 index 00000000..5e5e4301 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.BadClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that do not conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UnloadCountBadClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197599379_440258_630"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197599379_440258_630"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that do not conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "UnloadCount.Bad"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197599372_551036_627 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass); + + /// + public new UnloadCountBadClassProperties Properties { get; } = new UnloadCountBadClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UnloadCountBadClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass.UnloadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BAD"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.CompleteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.CompleteClass.cs new file mode 100644 index 00000000..77683f30 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.CompleteClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities that have been completed, independent of the outcome.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UnloadCountCompleteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197599380_669297_631"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197599380_669297_631"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities that have been completed, independent of the outcome. +"; + /// Constant value for + public const string NAME = "UnloadCount.Complete"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197599372_551036_627 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass); + + /// + public new UnloadCountCompleteClassProperties Properties { get; } = new UnloadCountCompleteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UnloadCountCompleteClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass.UnloadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMPLETE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.FailedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.FailedClass.cs new file mode 100644 index 00000000..c6330257 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.FailedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that do not conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UnloadCountFailedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197599380_913979_632"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197599380_913979_632"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that do not conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "UnloadCount.Failed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197599372_551036_627 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass); + + /// + public new UnloadCountFailedClassProperties Properties { get; } = new UnloadCountFailedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UnloadCountFailedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass.UnloadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FAILED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.GoodClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.GoodClass.cs new file mode 100644 index 00000000..04a6bca9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.GoodClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities being counted that conform to specification or expectation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UnloadCountGoodClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197599380_277377_633"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197599380_277377_633"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities being counted that conform to specification or expectation. +"; + /// Constant value for + public const string NAME = "UnloadCount.Good"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197599372_551036_627 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass); + + /// + public new UnloadCountGoodClassProperties Properties { get; } = new UnloadCountGoodClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UnloadCountGoodClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass.UnloadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "GOOD"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.RemainingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.RemainingClass.cs new file mode 100644 index 00000000..c0429e1a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.RemainingClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// accumulation of actions, items, or activities yet to be counted.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UnloadCountRemainingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197599381_823328_634"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197599381_823328_634"; + /// Constant value for + public const string SUMMARY = @" accumulation of actions, items, or activities yet to be counted. +"; + /// Constant value for + public const string NAME = "UnloadCount.Remaining"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197599372_551036_627 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass); + + /// + public new UnloadCountRemainingClassProperties Properties { get; } = new UnloadCountRemainingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UnloadCountRemainingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass.UnloadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REMAINING"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.TargetClass.cs new file mode 100644 index 00000000..e6f527be --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCount.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UnloadCountTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197599381_81547_635"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197599381_81547_635"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "UnloadCount.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622197599372_551036_627 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass); + + /// + public new UnloadCountTargetClassProperties Properties { get; } = new UnloadCountTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UnloadCountTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UnloadCountClass.UnloadCountClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TARGET"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCountClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCountClass.cs new file mode 100644 index 00000000..2dca1c33 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UnloadCountClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.UNLOAD_COUNT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UnloadCountClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622197599372_551036_627"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622197599372_551036_627"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::UNLOAD_COUNT)}} +"; + /// Constant value for + public const string NAME = "UnloadCount"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new UnloadCountClassProperties Properties { get; } = new UnloadCountClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UnloadCountClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ALL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "UNLOAD_COUNT"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/User.MaintenanceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/User.MaintenanceClass.cs new file mode 100644 index 00000000..3e855120 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/User.MaintenanceClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identifier of the person currently responsible for performing maintenance on the piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UserMaintenanceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218464_860925_2244"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218464_860925_2244"; + /// Constant value for + public const string SUMMARY = @" identifier of the person currently responsible for performing maintenance on the piece of equipment. +"; + /// Constant value for + public const string NAME = "User.Maintenance"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218462_589955_2238 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UserClass); + + /// + public new UserMaintenanceClassProperties Properties { get; } = new UserMaintenanceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UserMaintenanceClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UserClass.UserClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/User.OperatorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/User.OperatorClass.cs new file mode 100644 index 00000000..6a5f38cb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/User.OperatorClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identifier of the person currently responsible for operating the piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UserOperatorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218463_266708_2241"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218463_266708_2241"; + /// Constant value for + public const string SUMMARY = @" identifier of the person currently responsible for operating the piece of equipment. +"; + /// Constant value for + public const string NAME = "User.Operator"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218462_589955_2238 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UserClass); + + /// + public new UserOperatorClassProperties Properties { get; } = new UserOperatorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UserOperatorClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UserClass.UserClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/User.SetUpClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/User.SetUpClass.cs new file mode 100644 index 00000000..8a9ab9c7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/User.SetUpClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// identifier of the person currently responsible for preparing a piece of equipment for production or restoring the piece of equipment to a neutral state after production.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: vtype, subType + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UserSetUpClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218465_993216_2247"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218465_993216_2247"; + /// Constant value for + public const string SUMMARY = @" identifier of the person currently responsible for preparing a piece of equipment for production or restoring the piece of equipment to a neutral state after production. +"; + /// Constant value for + public const string NAME = "User.SetUp"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "type, subType"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218462_589955_2238 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UserClass); + + /// + public new UserSetUpClassProperties Properties { get; } = new UserSetUpClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UserSetUpClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.UserClass.UserClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UserClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UserClass.cs new file mode 100644 index 00000000..5efd8da2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/UserClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.USER


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UserClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218462_589955_2238"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218462_589955_2238"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::USER)}} +"; + /// Constant value for + public const string NAME = "User"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new UserClassProperties Properties { get; } = new UserClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class UserClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "USER"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ValveState.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ValveState.ActualClass.cs new file mode 100644 index 00000000..b64c6b8c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ValveState.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ValveStateActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622456281075_994059_143"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622456281075_994059_143"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "ValveState.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622456026145_896882_60 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ValveStateClass); + + /// + public new ValveStateActualClassProperties Properties { get; } = new ValveStateActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ValveStateActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ValveStateClass.ValveStateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ValveState.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ValveState.ProgrammedClass.cs new file mode 100644 index 00000000..74849e59 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ValveState.ProgrammedClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// directive value without offsets and adjustments.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ValveStateProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622456282962_537096_188"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622456282962_537096_188"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. + + +"; + /// Constant value for + public const string NAME = "ValveState.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1622456026145_896882_60 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ValveStateClass); + + /// + public new ValveStateProgrammedClassProperties Properties { get; } = new ValveStateProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ValveStateProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes.ValveStateClass.ValveStateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAMMED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ValveStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ValveStateClass.cs new file mode 100644 index 00000000..fffefffd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/ValveStateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.VALVE_STATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ValveStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622456026145_896882_60"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622456026145_896882_60"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::VALVE_STATE)}} +"; + /// Constant value for + public const string NAME = "ValveState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new ValveStateClassProperties Properties { get; } = new ValveStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ValveStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ValveStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ValveStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VALVE_STATE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/VariableClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/VariableClass.cs new file mode 100644 index 00000000..2a653d0a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/VariableClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.VARIABLE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VariableClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218466_234870_2250"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218466_234870_2250"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::VARIABLE)}} +"; + /// Constant value for + public const string NAME = "Variable"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new VariableClassProperties Properties { get; } = new VariableClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VariableClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VARIABLE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WaitStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WaitStateClass.cs new file mode 100644 index 00000000..498d4b02 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WaitStateClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.WAIT_STATE

When result in Execution is not WAIT, isUnavailable in Observation of WaitState MUST be true.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WaitStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218483_193774_2298"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218483_193774_2298"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::WAIT_STATE)}} + +When {{property(Execution::result)}} is not `WAIT`, {{property(Observation::isUnavailable)}} of {{block(WaitState)}} **MUST** be `true`. +"; + /// Constant value for + public const string NAME = "WaitState"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new WaitStateClassProperties Properties { get; } = new WaitStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WaitStateClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: WaitStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.WaitStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WAIT_STATE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WireClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WireClass.cs new file mode 100644 index 00000000..e94896c9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WireClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.WIRE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WireClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218487_411486_2310"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218487_411486_2310"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::WIRE)}} +"; + /// Constant value for + public const string NAME = "Wire"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new WireClassProperties Properties { get; } = new WireClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WireClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WIRE"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WorkOffsetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WorkOffsetClass.cs new file mode 100644 index 00000000..93798564 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WorkOffsetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.WORK_OFFSET


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WorkOffsetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218488_839923_2316"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218488_839923_2316"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::WORK_OFFSET)}} +"; + /// Constant value for + public const string NAME = "WorkOffset"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new WorkOffsetClassProperties Properties { get; } = new WorkOffsetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WorkOffsetClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WORK_OFFSET"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WorkOffsetsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WorkOffsetsClass.cs new file mode 100644 index 00000000..bd9aae97 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WorkOffsetsClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// tabular representation of EventEnum.WORK_OFFSETS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WorkOffsetsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678189715894_143339_17099"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678189715894_143339_17099"; + /// Constant value for + public const string SUMMARY = @" tabular representation of {{def(EventEnum::WORK_OFFSETS)}} +"; + /// Constant value for + public const string NAME = "WorkOffsets"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new WorkOffsetsClassProperties Properties { get; } = new WorkOffsetsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WorkOffsetsClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WORK_OFFSETS"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WorkholdingIdClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WorkholdingIdClass.cs new file mode 100644 index 00000000..a9c56540 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/EventTypes/WorkholdingIdClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes +{ + /// EventEnum.WORKHOLDING_ID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WorkholdingIdClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218487_830191_2313"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218487_830191_2313"; + /// Constant value for + public const string SUMMARY = @" {{def(EventEnum::WORKHOLDING_ID)}} +"; + /// Constant value for + public const string NAME = "WorkholdingId"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new WorkholdingIdClassProperties Properties { get; } = new WorkholdingIdClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WorkholdingIdClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WORKHOLDING_ID"; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/AbstractFileClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/AbstractFileClass.cs new file mode 100644 index 00000000..6bc5e322 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/AbstractFileClass.cs @@ -0,0 +1,511 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.Files +{ + /// abstract Asset that contains the common properties of the File and FileArchetype types.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AbstractFileClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1589825445428_505818_673"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1589825445428_505818_673"; + /// Constant value for + public const string SUMMARY = @" abstract {{block(Asset)}} that contains the common properties of the {{block(File)}} and {{block(FileArchetype)}} types. +"; + /// Constant value for + public const string NAME = "AbstractFile"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C7D39183_23CB_416b_A62D_F60815E08B1A + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.AssetClass); + + /// + public new AbstractFileClassProperties Properties { get; } = new AbstractFileClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AbstractFileClassProperties : Mtconnect.AssetInformationModel.AssetClass.AssetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Name, + MediaType, + ApplicationCategory, + ApplicationType, + HasFilePropertyPart, + HasFileCommentPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + /// name of the file.


+ ///
+ public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of the file. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MediaType + ///
+ public new MediaTypeProperty MediaType { get; } = new MediaTypeProperty(); + + /// mime type of the file.



+ ///
+ public new sealed class MediaTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "mediaType"; + /// Constant value for + public const string SUMMARY = @" mime type of the file. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ApplicationCategory + ///
+ public new ApplicationCategoryProperty ApplicationCategory { get; } = new ApplicationCategoryProperty(); + + /// category of application that will use this file.


+ ///
+ public new sealed class ApplicationCategoryProperty : IProperty + { + /// Constant value for + public const string NAME = "applicationCategory"; + /// Constant value for + public const string SUMMARY = @" category of application that will use this file. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ApplicationCategoryEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ApplicationCategoryEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ApplicationType + ///
+ public new ApplicationTypeProperty ApplicationType { get; } = new ApplicationTypeProperty(); + + /// type of application that will use this file.


+ ///
+ public new sealed class ApplicationTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "applicationType"; + /// Constant value for + public const string SUMMARY = @" type of application that will use this file. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ApplicationTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ApplicationTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasFileProperty + ///
+ public new HasFilePropertyPartProperty HasFilePropertyPart { get; } = new HasFilePropertyPartProperty(); + + ///  + /// + public new sealed class HasFilePropertyPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasFileProperty"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "FileProperties"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: FilePropertyClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.Files.FilePropertyClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasFileComment + ///
+ public new HasFileCommentPartProperty HasFileCommentPart { get; } = new HasFileCommentPartProperty(); + + ///  + /// + public new sealed class HasFileCommentPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasFileComment"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "FileComments"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: FileCommentClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.Files.FileCommentClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/DestinationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/DestinationClass.cs new file mode 100644 index 00000000..59df3155 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/DestinationClass.cs @@ -0,0 +1,153 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.Files +{ + /// reference to the target Device for this File.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DestinationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605277188545_673734_476"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605277188545_673734_476"; + /// Constant value for + public const string SUMMARY = @" reference to the target {{block(Device)}} for this {{block(File)}}. +"; + /// Constant value for + public const string NAME = "Destination"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DestinationClassProperties Properties { get; } = new DestinationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DestinationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + DeviceUuid, + }; + /// + ///
+ /// Original Name: DeviceUuid + ///
+ public DeviceUuidProperty DeviceUuid { get; } = new DeviceUuidProperty(); + + /// uuid of the target device or application.


+ ///
+ public sealed class DeviceUuidProperty : IProperty + { + /// Constant value for + public const string NAME = "deviceUuid"; + /// Constant value for + public const string SUMMARY = @" `uuid` of the target device or application. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileArchetypeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileArchetypeClass.cs new file mode 100644 index 00000000..dae8e3bd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileArchetypeClass.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.Files +{ + /// AbstractFile type that provides information common to all versions of a file.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FileArchetypeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1589825369611_93186_622"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1589825369611_93186_622"; + /// Constant value for + public const string SUMMARY = @" {{block(AbstractFile)}} type that provides information common to all versions of a file. +"; + /// Constant value for + public const string NAME = "FileArchetype"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1589825445428_505818_673 + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.Files.AbstractFileClass); + + /// + public new FileArchetypeClassProperties Properties { get; } = new FileArchetypeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FileArchetypeClassProperties : Mtconnect.AssetInformationModel.Files.AbstractFileClass.AbstractFileClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileClass.cs new file mode 100644 index 00000000..d00b92a1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileClass.cs @@ -0,0 +1,724 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.Files +{ + /// AbstractFile type that provides information about the File instance and its URL.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FileClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1589825359572_789274_577"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1589825359572_789274_577"; + /// Constant value for + public const string SUMMARY = @" {{block(AbstractFile)}} type that provides information about the {{block(File)}} instance and its {{term(URL)}}. +"; + /// Constant value for + public const string NAME = "File"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1589825445428_505818_673 + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.Files.AbstractFileClass); + + /// + public new FileClassProperties Properties { get; } = new FileClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FileClassProperties : Mtconnect.AssetInformationModel.Files.AbstractFileClass.AbstractFileClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Size, + VersionId, + State, + Signature, + PublicKey, + CreationTime, + ModificationTime, + HasLocationPart, + HasDestinationPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Size + ///
+ public new SizeProperty Size { get; } = new SizeProperty(); + + /// size of the file in bytes.


+ ///
+ public new sealed class SizeProperty : IProperty + { + /// Constant value for + public const string NAME = "size"; + /// Constant value for + public const string SUMMARY = @" size of the file in bytes. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: VersionId + ///
+ public new VersionIdProperty VersionId { get; } = new VersionIdProperty(); + + /// version identifier of the file.



+ ///
+ public new sealed class VersionIdProperty : IProperty + { + /// Constant value for + public const string NAME = "versionId"; + /// Constant value for + public const string SUMMARY = @" version identifier of the file. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: State + ///
+ public new StateProperty State { get; } = new StateProperty(); + + /// state of the file.


+ ///
+ public new sealed class StateProperty : IProperty + { + /// Constant value for + public const string NAME = "state"; + /// Constant value for + public const string SUMMARY = @" state of the file. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: FileStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.FileStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Signature + ///
+ public new SignatureProperty Signature { get; } = new SignatureProperty(); + + /// secure hash of the file.


+ ///
+ public new sealed class SignatureProperty : IProperty + { + /// Constant value for + public const string NAME = "Signature"; + /// Constant value for + public const string SUMMARY = @" secure hash of the file. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: PublicKey + ///
+ public new PublicKeyProperty PublicKey { get; } = new PublicKeyProperty(); + + /// public key used to verify the signature.


+ ///
+ public new sealed class PublicKeyProperty : IProperty + { + /// Constant value for + public const string NAME = "PublicKey"; + /// Constant value for + public const string SUMMARY = @" public key used to verify the signature. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CreationTime + ///
+ public new CreationTimeProperty CreationTime { get; } = new CreationTimeProperty(); + + /// time the file was created.


+ ///
+ public new sealed class CreationTimeProperty : IProperty + { + /// Constant value for + public const string NAME = "CreationTime"; + /// Constant value for + public const string SUMMARY = @" time the file was created. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ModificationTime + ///
+ public new ModificationTimeProperty ModificationTime { get; } = new ModificationTimeProperty(); + + /// time the file was modified.


+ ///
+ public new sealed class ModificationTimeProperty : IProperty + { + /// Constant value for + public const string NAME = "ModificationTime"; + /// Constant value for + public const string SUMMARY = @" time the file was modified. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasLocation + ///
+ public new HasLocationPartProperty HasLocationPart { get; } = new HasLocationPartProperty(); + + ///  + /// + public new sealed class HasLocationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasLocation"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "FileLocation"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: FileLocationClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.Files.FileLocationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasDestination + ///
+ public new HasDestinationPartProperty HasDestinationPart { get; } = new HasDestinationPartProperty(); + + ///  + /// + public new sealed class HasDestinationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasDestination"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Destinations"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DestinationClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.Files.DestinationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileCommentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileCommentClass.cs new file mode 100644 index 00000000..59b71d56 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileCommentClass.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.Files +{ + /// remark or interpretation for human interpretation associated with a File or FileArchetype.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FileCommentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605276197212_1938_196"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605276197212_1938_196"; + /// Constant value for + public const string SUMMARY = @" remark or interpretation for human interpretation associated with a {{block(File)}} or {{block(FileArchetype)}}. +"; + /// Constant value for + public const string NAME = "FileComment"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new FileCommentClassProperties Properties { get; } = new FileCommentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class FileCommentClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Timestamp, + Value, + }; + /// + ///
+ /// Original Name: Timestamp + ///
+ public TimestampProperty Timestamp { get; } = new TimestampProperty(); + + /// time the comment was made.


+ ///
+ public sealed class TimestampProperty : IProperty + { + /// Constant value for + public const string NAME = "timestamp"; + /// Constant value for + public const string SUMMARY = @" time the comment was made. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// text of the comment about the file.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" text of the comment about the file. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileLocationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileLocationClass.cs new file mode 100644 index 00000000..a8aa322e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FileLocationClass.cs @@ -0,0 +1,228 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.Files +{ + /// URL reference to the file location.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FileLocationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605277122154_664309_406"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605277122154_664309_406"; + /// Constant value for + public const string SUMMARY = @" {{term(URL)}} reference to the file location. +"; + /// Constant value for + public const string NAME = "FileLocation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new FileLocationClassProperties Properties { get; } = new FileLocationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class FileLocationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Href, + Xlink_Type, + }; + /// + ///
+ /// Original Name: Href + ///
+ public HrefProperty Href { get; } = new HrefProperty(); + + /// URL reference to the file.

href is of type xlink:href from the W3C XLink specification.



+ ///
+ public sealed class HrefProperty : IProperty + { + /// Constant value for + public const string NAME = "href"; + /// Constant value for + public const string SUMMARY = @" {{term(URL)}} reference to the file. + +`href` is of type `xlink:href` from the W3C XLink specification. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Xlink:Type + ///
+ public Xlink_TypeProperty Xlink_Type { get; } = new Xlink_TypeProperty(); + + /// type of href for the xlink href type.

MUST be locator referring to a URL
.


+ ///
+ public sealed class Xlink_TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "xlink:type"; + /// Constant value for + public const string SUMMARY = @" type of href for the xlink href type. + +**MUST** be `locator` referring to a {{term(URL)}} . +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FilePropertyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FilePropertyClass.cs new file mode 100644 index 00000000..9dbe259c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Files/FilePropertyClass.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.Files +{ + /// key-value pair providing additional metadata about a File.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FilePropertyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1589825710107_976904_827"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1589825710107_976904_827"; + /// Constant value for + public const string SUMMARY = @" key-value pair providing additional metadata about a {{block(File)}}. +"; + /// Constant value for + public const string NAME = "FileProperty"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new FilePropertyClassProperties Properties { get; } = new FilePropertyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class FilePropertyClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Name, + Value, + }; + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// name of the FileProperty.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of the {{block(FileProperty)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// The value of the FileProperty.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" The value of the {{block(FileProperty)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AdapterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AdapterClass.cs new file mode 100644 index 00000000..eec24019 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AdapterClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary +{ + /// optional piece of hardware or software that transforms information provided by a piece of equipment into a form that can be received by an agent.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AdapterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375138_661037_1946"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375138_661037_1946"; + /// Constant value for + public const string SUMMARY = @" optional piece of hardware or software that transforms information provided by a piece of equipment into a form that can be received by an {{term(agent)}}. +"; + /// Constant value for + public const string NAME = "adapter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375141_18140_1949 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ApplicationClass); + + /// + public new AdapterClassProperties Properties { get; } = new AdapterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AdapterClassProperties : Mtconnect.Glossary.ApplicationClass.ApplicationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AgentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AgentClass.cs new file mode 100644 index 00000000..81d6c7ed --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AgentClass.cs @@ -0,0 +1,83 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary +{ + /// software that collects data published from one or more piece(s) of equipment, organizes that data in a structured manner, and responds to requests for data from client software systems by providing a structured response in the form of a response document that is constructed using the semantic data model of a Standard.



+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AgentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375139_475436_1947"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375139_475436_1947"; + /// Constant value for + public const string SUMMARY = @" software that collects data published from one or more piece(s) of equipment, organizes that data in a structured manner, and responds to requests for data from client software systems by providing a structured response in the form of a {{term(response document)}} that is constructed using the {{term(semantic data model)}} of a Standard. + +"; + /// Constant value for + public const string NAME = "agent"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375141_18140_1949 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ApplicationClass); + + /// + public new AgentClassProperties Properties { get; } = new AgentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AgentClassProperties : Mtconnect.Glossary.ApplicationClass.ApplicationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AlarmLimitClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AlarmLimitClass.cs new file mode 100644 index 00000000..9d0b0ea2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AlarmLimitClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// limit used to trigger warning or alarm indicators.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AlarmLimitClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375140_922873_1948"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375140_922873_1948"; + /// Constant value for + public const string SUMMARY = @" limit used to trigger warning or alarm indicators. +"; + /// Constant value for + public const string NAME = "alarm limit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new AlarmLimitClassProperties Properties { get; } = new AlarmLimitClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class AlarmLimitClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ApplicationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ApplicationClass.cs new file mode 100644 index 00000000..f6ef372d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ApplicationClass.cs @@ -0,0 +1,78 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// software or a program that is specific to the solution of an application problem.
ISO/IEC 20944-1:2013


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ApplicationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375141_18140_1949"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375141_18140_1949"; + /// Constant value for + public const string SUMMARY = @" software or a program that is specific to the solution of an application problem. +{{cite(ISO/IEC 20944-1:2013)}} +"; + /// Constant value for + public const string NAME = "application"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ApplicationClassProperties Properties { get; } = new ApplicationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ApplicationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ArchetypeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ArchetypeClass.cs new file mode 100644 index 00000000..37160944 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ArchetypeClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary +{ + /// archetype provides the requirements, constraints, and common properties for a type of Asset.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ArchetypeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375141_294923_1950"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375141_294923_1950"; + /// Constant value for + public const string SUMMARY = @" {{term(archetype)}} provides the requirements, constraints, and common properties for a type of {{term(Asset)}}. +"; + /// Constant value for + public const string NAME = "archetype"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580561892811_529841_16867 + /// + public Type Generalization => typeof(Mtconnect.Glossary.IndustrialTerms.AssetClass); + + /// + public new ArchetypeClassProperties Properties { get; } = new ArchetypeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ArchetypeClassProperties : Mtconnect.Glossary.IndustrialTerms.AssetClass.AssetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AssetBufferClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AssetBufferClass.cs new file mode 100644 index 00000000..c6dedb4b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AssetBufferClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// buffer for Assets.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetBufferClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375142_880871_1952"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375142_880871_1952"; + /// Constant value for + public const string SUMMARY = @" {{term(buffer)}} for {{termplural(Asset)}}. +"; + /// Constant value for + public const string NAME = "asset buffer"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new AssetBufferClassProperties Properties { get; } = new AssetBufferClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class AssetBufferClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AttachmentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AttachmentClass.cs new file mode 100644 index 00000000..b9b4215d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/AttachmentClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// connection by which one thing is associated with another.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AttachmentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375144_992360_1957"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375144_992360_1957"; + /// Constant value for + public const string SUMMARY = @" connection by which one thing is associated with another. +"; + /// Constant value for + public const string NAME = "attachment"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new AttachmentClassProperties Properties { get; } = new AttachmentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class AttachmentClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/BufferClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/BufferClass.cs new file mode 100644 index 00000000..2a683811 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/BufferClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// section of an agent that provides storage for information published from pieces of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BufferClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375145_552036_1960"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375145_552036_1960"; + /// Constant value for + public const string SUMMARY = @" section of an {{term(agent)}} that provides storage for information published from pieces of equipment. +"; + /// Constant value for + public const string NAME = "buffer"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new BufferClassProperties Properties { get; } = new BufferClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class BufferClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/CartesianCoordinateSystemClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/CartesianCoordinateSystemClass.cs new file mode 100644 index 00000000..5cda4ec5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/CartesianCoordinateSystemClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// 3D orthogonal coordinate system ISO/IEC 19794-5:2011(en).


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CartesianCoordinateSystemClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660363224934_593112_802"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660363224934_593112_802"; + /// Constant value for + public const string SUMMARY = @" 3D orthogonal coordinate system {{cite(ISO/IEC 19794-5:2011(en))}}. +"; + /// Constant value for + public const string NAME = "cartesian coordinate system"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new CartesianCoordinateSystemClassProperties Properties { get; } = new CartesianCoordinateSystemClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class CartesianCoordinateSystemClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/CharacteristicClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/CharacteristicClass.cs new file mode 100644 index 00000000..e30029e6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/CharacteristicClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// control placed on an element of a feature such as its size, location, or form, which may be a specification limit, a nominal with tolerance, or some other numerical or non-numerical control. QIF 3.0 3.4.29. AS9102-B.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CharacteristicClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1677579209252_492424_316"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1677579209252_492424_316"; + /// Constant value for + public const string SUMMARY = @" control placed on an element of a {{term(feature)}} such as its size, location, or form, which may be a specification limit, a nominal with tolerance, or some other numerical or non-numerical control. {{cite(QIF 3.0 3.4.29)}}. {{cite(AS9102-B)}}. +"; + /// Constant value for + public const string NAME = "characteristic"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new CharacteristicClassProperties Properties { get; } = new CharacteristicClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class CharacteristicClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ClientClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ClientClass.cs new file mode 100644 index 00000000..aa5ace6b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ClientClass.cs @@ -0,0 +1,86 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary +{ + /// application that sends request for information to an agent.

> Note: Examples include software applications or a function that implements the request portion of an interface interaction model.




+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ClientClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375146_487077_1962"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375146_487077_1962"; + /// Constant value for + public const string SUMMARY = @" {{term(application)}} that sends {{term(request)}} for information to an {{term(agent)}}. + +> Note: Examples include software applications or a function that implements the {{term(request)}} portion of an {{term(interface)}} {{term(interaction model)}}. + + +"; + /// Constant value for + public const string NAME = "client"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375141_18140_1949 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ApplicationClass); + + /// + public new ClientClassProperties Properties { get; } = new ClientClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ClientClassProperties : Mtconnect.Glossary.ApplicationClass.ApplicationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/CombinedStandardUncertaintyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/CombinedStandardUncertaintyClass.cs new file mode 100644 index 00000000..86505467 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/CombinedStandardUncertaintyClass.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary +{ + /// standard uncertainty of the result of a measurement when that result is obtained from the values of a number of other quantities, equal to the positive square root of a sum of terms, the terms being the variances or covariances of these other quantities weighted according to how the measurement result varies with changes in these quantities. JCGM 100:2008 2.3.4


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CombinedStandardUncertaintyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678196848613_590918_17633"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678196848613_590918_17633"; + /// Constant value for + public const string SUMMARY = @" {{term(standard uncertainty)}} of the result of a measurement when that result is obtained from the values of a number of other quantities, equal to the positive square root of a sum of terms, the terms being the variances or covariances of these other quantities weighted according to how the measurement result varies with changes in these quantities. {{cite(JCGM 100:2008 2.3.4)}} +"; + /// Constant value for + public const string NAME = "combined standard uncertainty"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1678196842084_529316_17608 + /// + public Type Generalization => typeof(Mtconnect.Glossary.StandardUncertaintyGeneralization); + + /// + public new CombinedStandardUncertaintyClassProperties Properties { get; } = new CombinedStandardUncertaintyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CombinedStandardUncertaintyClassProperties : Mtconnect.Glossary.StandardUncertaintyGeneralization.StandardUncertaintyGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ConditionActivationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ConditionActivationClass.cs new file mode 100644 index 00000000..d2bedc54 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ConditionActivationClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// state transition from Normal to either Warning or Fault.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConditionActivationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1696057534085_612559_255"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1696057534085_612559_255"; + /// Constant value for + public const string SUMMARY = @" state transition from `Normal` to either `Warning` or `Fault`. +"; + /// Constant value for + public const string NAME = "condition activation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ConditionActivationClassProperties Properties { get; } = new ConditionActivationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ConditionActivationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ControlledVocabularyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ControlledVocabularyClass.cs new file mode 100644 index 00000000..3d67ff01 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ControlledVocabularyClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// restricted set of values for a given property.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControlledVocabularyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375150_827203_1968"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375150_827203_1968"; + /// Constant value for + public const string SUMMARY = @" restricted set of values for a given property. +"; + /// Constant value for + public const string NAME = "controlled vocabulary"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ControlledVocabularyClassProperties Properties { get; } = new ControlledVocabularyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ControlledVocabularyClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataDictionaryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataDictionaryClass.cs new file mode 100644 index 00000000..63cea020 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataDictionaryClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// listing of standardized terms and definitions used in MTConnect Information Model.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataDictionaryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375151_26455_1971"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375151_26455_1971"; + /// Constant value for + public const string SUMMARY = @" listing of standardized terms and definitions used in {{term(MTConnect Information Model)}}. +"; + /// Constant value for + public const string NAME = "data dictionary"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DataDictionaryClassProperties Properties { get; } = new DataDictionaryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DataDictionaryClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataModelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataModelClass.cs new file mode 100644 index 00000000..78f58323 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataModelClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// organizes elements of data and standardizes how they relate to one another and to the properties of real-world entities.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataModelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375153_511704_1974"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375153_511704_1974"; + /// Constant value for + public const string SUMMARY = @" organizes elements of data and standardizes how they relate to one another and to the properties of real-world entities. +"; + /// Constant value for + public const string NAME = "data model"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DataModelClassProperties Properties { get; } = new DataModelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DataModelClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataSetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataSetClass.cs new file mode 100644 index 00000000..fcaf85b8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataSetClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// key-value pairs where each entry is uniquely identified by the key.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataSetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375153_398391_1975"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375153_398391_1975"; + /// Constant value for + public const string SUMMARY = @" {{termplural(key-value pair)}} where each entry is uniquely identified by the {{term(key)}}. +"; + /// Constant value for + public const string NAME = "data set"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DataSetClassProperties Properties { get; } = new DataSetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DataSetClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataSourceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataSourceClass.cs new file mode 100644 index 00000000..52c82fb4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DataSourceClass.cs @@ -0,0 +1,78 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// piece of equipment that can produce data that is published to an agent.



+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataSourceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375154_273498_1976"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375154_273498_1976"; + /// Constant value for + public const string SUMMARY = @" piece of equipment that can produce data that is published to an {{term(agent)}}. + +"; + /// Constant value for + public const string NAME = "data source"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DataSourceClassProperties Properties { get; } = new DataSourceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DataSourceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DeprecatedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DeprecatedClass.cs new file mode 100644 index 00000000..d0d16412 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DeprecatedClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// indication that specific content in an MTConnect Document is currently usable but is regarded as being obsolete or superseded.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeprecatedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375155_885919_1978"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375155_885919_1978"; + /// Constant value for + public const string SUMMARY = @" indication that specific content in an {{term(MTConnect Document)}} is currently usable but is regarded as being obsolete or superseded. +"; + /// Constant value for + public const string NAME = "deprecated"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DeprecatedClassProperties Properties { get; } = new DeprecatedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DeprecatedClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DeprecationWarningClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DeprecationWarningClass.cs new file mode 100644 index 00000000..cfc4a34a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DeprecationWarningClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// indication that specific content in an MTConnect Document may be changed to deprecated in a future release of the standard.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeprecationWarningClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375155_239668_1979"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375155_239668_1979"; + /// Constant value for + public const string SUMMARY = @" indication that specific content in an {{term(MTConnect Document)}} may be changed to {{term(deprecated)}} in a future release of the standard. +"; + /// Constant value for + public const string NAME = "deprecation warning"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DeprecationWarningClassProperties Properties { get; } = new DeprecationWarningClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DeprecationWarningClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DocumentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DocumentClass.cs new file mode 100644 index 00000000..f255cc6b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/DocumentClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// piece of written, printed, or electronic matter that provides information or evidence that serves as an official record.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DocumentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375156_660396_1982"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375156_660396_1982"; + /// Constant value for + public const string SUMMARY = @" piece of written, printed, or electronic matter that provides information or evidence that serves as an official record. +"; + /// Constant value for + public const string NAME = "document"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DocumentClassProperties Properties { get; } = new DocumentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DocumentClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ElectricCurrentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ElectricCurrentClass.cs new file mode 100644 index 00000000..65c7c254 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ElectricCurrentClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// rate of flow of electric charge.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ElectricCurrentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375158_221113_1985"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375158_221113_1985"; + /// Constant value for + public const string SUMMARY = @" rate of flow of electric charge. +"; + /// Constant value for + public const string NAME = "electric current"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ElectricCurrentClassProperties Properties { get; } = new ElectricCurrentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ElectricCurrentClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ElementClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ElementClass.cs new file mode 100644 index 00000000..14489149 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ElementClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// constituent part or a basic unit of identifiable and definable data.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ElementClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375158_867680_1986"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375158_867680_1986"; + /// Constant value for + public const string SUMMARY = @" constituent part or a basic unit of identifiable and definable data. +"; + /// Constant value for + public const string NAME = "element"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ElementClassProperties Properties { get; } = new ElementClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ElementClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ExtensibleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ExtensibleClass.cs new file mode 100644 index 00000000..1bd2df32 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ExtensibleClass.cs @@ -0,0 +1,78 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// ability for an implementer to extend MTConnect Information Model by adding content not currently addressed in the MTConnect Standard.



+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ExtensibleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375160_631627_1992"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375160_631627_1992"; + /// Constant value for + public const string SUMMARY = @" ability for an implementer to extend {{term(MTConnect Information Model)}} by adding content not currently addressed in the MTConnect Standard. + +"; + /// Constant value for + public const string NAME = "extensible"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ExtensibleClassProperties Properties { get; } = new ExtensibleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ExtensibleClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/FeatureClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/FeatureClass.cs new file mode 100644 index 00000000..5f2c6e00 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/FeatureClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// topological entity(ies) or design requirements related to a geometric model. QIF 3.0-3.4.59


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FeatureClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1677579525403_572309_444"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1677579525403_572309_444"; + /// Constant value for + public const string SUMMARY = @" topological entity(ies) or design requirements related to a geometric model. {{cite(QIF 3.0-3.4.59)}} +"; + /// Constant value for + public const string NAME = "feature"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new FeatureClassProperties Properties { get; } = new FeatureClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class FeatureClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ForceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ForceClass.cs new file mode 100644 index 00000000..bcf25a40 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ForceClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// push or pull on a mass which results in an acceleration.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ForceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375160_295789_1993"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375160_295789_1993"; + /// Constant value for + public const string SUMMARY = @" push or pull on a mass which results in an acceleration. +"; + /// Constant value for + public const string NAME = "force"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ForceClassProperties Properties { get; } = new ForceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ForceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/HeartbeatClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/HeartbeatClass.cs new file mode 100644 index 00000000..75d8bdc0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/HeartbeatClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// function that indicates to a client that the communications connection to an agent is still viable during times when there is no new data available to report often referred to as a "keep alive" message.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HeartbeatClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375160_713692_1995"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375160_713692_1995"; + /// Constant value for + public const string SUMMARY = @" function that indicates to a {{term(client)}} that the communications connection to an {{term(agent)}} is still viable during times when there is no new data available to report often referred to as a ""keep alive"" message. +"; + /// Constant value for + public const string NAME = "heartbeat"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HeartbeatClassProperties Properties { get; } = new HeartbeatClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HeartbeatClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/HigherLevelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/HigherLevelClass.cs new file mode 100644 index 00000000..8e5724bb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/HigherLevelClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary +{ + /// nested element that is above a lower level element.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HigherLevelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375161_354685_1996"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375161_354685_1996"; + /// Constant value for + public const string SUMMARY = @" nested element that is above a lower level element. +"; + /// Constant value for + public const string NAME = "higher level"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375178_894466_2058 + /// + public Type Generalization => typeof(Mtconnect.Glossary.XMLTerms.ParentElementGeneralization); + + /// + public new HigherLevelClassProperties Properties { get; } = new HigherLevelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HigherLevelClassProperties : Mtconnect.Glossary.XMLTerms.ParentElementGeneralization.ParentElementGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ImplementationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ImplementationClass.cs new file mode 100644 index 00000000..16dc39ee --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ImplementationClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// specific instantiation of the MTConnect Standard.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ImplementationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375166_886692_2014"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375166_886692_2014"; + /// Constant value for + public const string SUMMARY = @" specific instantiation of the MTConnect Standard. +"; + /// Constant value for + public const string NAME = "implementation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ImplementationClassProperties Properties { get; } = new ImplementationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ImplementationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InformationModelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InformationModelClass.cs new file mode 100644 index 00000000..58096f83 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InformationModelClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// rules, relationships, and terminology that are used to define how information is structured.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class InformationModelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375166_600079_2015"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375166_600079_2015"; + /// Constant value for + public const string SUMMARY = @" rules, relationships, and terminology that are used to define how information is structured. +"; + /// Constant value for + public const string NAME = "information model"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new InformationModelClassProperties Properties { get; } = new InformationModelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class InformationModelClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InstanceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InstanceClass.cs new file mode 100644 index 00000000..826d7841 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InstanceClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// describes a set of streaming data in an agent. Each time an agent is restarted with an empty buffer, data placed in the buffer represents a new instance of the agent.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class InstanceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375166_228257_2016"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375166_228257_2016"; + /// Constant value for + public const string SUMMARY = @" describes a set of {{term(streaming data)}} in an {{term(agent)}}. Each time an {{term(agent)}} is restarted with an empty {{term(buffer)}}, data placed in the {{term(buffer)}} represents a new {{term(instance)}} of the {{term(agent)}}. +"; + /// Constant value for + public const string NAME = "instance"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new InstanceClassProperties Properties { get; } = new InstanceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class InstanceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InteractionModelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InteractionModelClass.cs new file mode 100644 index 00000000..a7172d52 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InteractionModelClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// model that defines how information is exchanged across an interface to enable interactions between independent systems.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class InteractionModelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375166_552865_2017"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375166_552865_2017"; + /// Constant value for + public const string SUMMARY = @" model that defines how information is exchanged across an {{term(interface)}} to enable interactions between independent systems. +"; + /// Constant value for + public const string NAME = "interaction model"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new InteractionModelClassProperties Properties { get; } = new InteractionModelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class InteractionModelClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InterfaceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InterfaceClass.cs new file mode 100644 index 00000000..b7e6562c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/InterfaceClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// means by which communication is achieved between independent systems.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class InterfaceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375167_231496_2018"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375167_231496_2018"; + /// Constant value for + public const string SUMMARY = @" means by which communication is achieved between independent systems. +"; + /// Constant value for + public const string NAME = "interface"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new InterfaceClassProperties Properties { get; } = new InterfaceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class InterfaceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/KeyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/KeyClass.cs new file mode 100644 index 00000000..ba072175 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/KeyClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// unique identifier in a key-value pair association.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class KeyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375168_377091_2019"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375168_377091_2019"; + /// Constant value for + public const string SUMMARY = @" unique identifier in a {{term(key-value pair)}} association. +"; + /// Constant value for + public const string NAME = "key"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new KeyClassProperties Properties { get; } = new KeyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class KeyClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/KeyValuePairClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/KeyValuePairClass.cs new file mode 100644 index 00000000..751046e2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/KeyValuePairClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// association between an identifier referred to as the key and a value which taken together create a key-value pair.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class KeyValuePairClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375168_30138_2020"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375168_30138_2020"; + /// Constant value for + public const string SUMMARY = @" association between an identifier referred to as the {{term(key)}} and a value which taken together create a {{term(key-value pair)}}. +"; + /// Constant value for + public const string NAME = "key-value pair"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new KeyValuePairClassProperties Properties { get; } = new KeyValuePairClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class KeyValuePairClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LocationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LocationClass.cs new file mode 100644 index 00000000..7ede67ed --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LocationClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// place or named space associated with an object or that can be occupied by an object.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LocationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678088336223_911067_642"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678088336223_911067_642"; + /// Constant value for + public const string SUMMARY = @" place or named space associated with an object or that can be occupied by an object. +"; + /// Constant value for + public const string NAME = "location"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new LocationClassProperties Properties { get; } = new LocationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class LocationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerCamelCaseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerCamelCaseClass.cs new file mode 100644 index 00000000..10dbf47a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerCamelCaseClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// first word is lowercase and the remaining words are capitalized and all spaces between words are removed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LowerCamelCaseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375168_63840_2021"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375168_63840_2021"; + /// Constant value for + public const string SUMMARY = @" first word is lowercase and the remaining words are capitalized and all spaces between words are removed. +"; + /// Constant value for + public const string NAME = "lower camel case"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new LowerCamelCaseClassProperties Properties { get; } = new LowerCamelCaseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class LowerCamelCaseClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerLevelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerLevelClass.cs new file mode 100644 index 00000000..390555bc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerLevelClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary +{ + /// nested element that is below a higher level element.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LowerLevelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375168_248191_2022"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375168_248191_2022"; + /// Constant value for + public const string SUMMARY = @" nested element that is below a higher level element. +"; + /// Constant value for + public const string NAME = "lower level"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375146_261316_1961 + /// + public Type Generalization => typeof(Mtconnect.Glossary.XMLTerms.ChildElementGeneralization); + + /// + public new LowerLevelClassProperties Properties { get; } = new LowerLevelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LowerLevelClassProperties : Mtconnect.Glossary.XMLTerms.ChildElementGeneralization.ChildElementGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerLimitClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerLimitClass.cs new file mode 100644 index 00000000..7b4ef087 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerLimitClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// lower conformance boundary for a variable.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LowerLimitClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375168_738246_2023"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375168_738246_2023"; + /// Constant value for + public const string SUMMARY = @" lower conformance boundary for a variable. +"; + /// Constant value for + public const string NAME = "lower limit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new LowerLimitClassProperties Properties { get; } = new LowerLimitClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class LowerLimitClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerWarningClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerWarningClass.cs new file mode 100644 index 00000000..703b78ca --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/LowerWarningClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// lower boundary indicating increased concern and supervision may be required.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LowerWarningClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375168_117007_2024"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375168_117007_2024"; + /// Constant value for + public const string SUMMARY = @" lower boundary indicating increased concern and supervision may be required. +"; + /// Constant value for + public const string NAME = "lower warning"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new LowerWarningClassProperties Properties { get; } = new LowerWarningClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class LowerWarningClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MajorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MajorClass.cs new file mode 100644 index 00000000..5eb9f5aa --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MajorClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// identifier representing a consistent set of functionalities defined by the MTConnect Standard.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MajorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375169_635903_2025"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375169_635903_2025"; + /// Constant value for + public const string SUMMARY = @" identifier representing a consistent set of functionalities defined by the MTConnect Standard. +"; + /// Constant value for + public const string NAME = "major"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MajorClassProperties Properties { get; } = new MajorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MajorClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MaximumClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MaximumClass.cs new file mode 100644 index 00000000..53b4289a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MaximumClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// numeric upper constraint.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaximumClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375169_239155_2026"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375169_239155_2026"; + /// Constant value for + public const string SUMMARY = @" numeric upper constraint. +"; + /// Constant value for + public const string NAME = "maximum"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MaximumClassProperties Properties { get; } = new MaximumClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MaximumClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MessageClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MessageClass.cs new file mode 100644 index 00000000..5c3a6003 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MessageClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// communication in writing, in speech, or by signals.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MessageClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375169_428859_2027"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375169_428859_2027"; + /// Constant value for + public const string SUMMARY = @" communication in writing, in speech, or by signals. +"; + /// Constant value for + public const string NAME = "message"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MessageClassProperties Properties { get; } = new MessageClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MessageClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MetadataClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MetadataClass.cs new file mode 100644 index 00000000..56890aa8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MetadataClass.cs @@ -0,0 +1,79 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// data that provides information about other data.




+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MetadataClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375169_313254_2028"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375169_313254_2028"; + /// Constant value for + public const string SUMMARY = @" data that provides information about other data. + + +"; + /// Constant value for + public const string NAME = "metadata"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MetadataClassProperties Properties { get; } = new MetadataClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MetadataClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MinimumClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MinimumClass.cs new file mode 100644 index 00000000..c370eb97 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MinimumClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// numeric lower constraint.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MinimumClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375170_606103_2029"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375170_606103_2029"; + /// Constant value for + public const string SUMMARY = @" numeric lower constraint. +"; + /// Constant value for + public const string NAME = "minimum"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MinimumClassProperties Properties { get; } = new MinimumClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MinimumClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MinorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MinorClass.cs new file mode 100644 index 00000000..5dafee92 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/MinorClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// identifier representing a specific set of functionalities defined by the MTConnect Standard.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MinorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375170_931717_2030"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375170_931717_2030"; + /// Constant value for + public const string SUMMARY = @" identifier representing a specific set of functionalities defined by the MTConnect Standard. +"; + /// Constant value for + public const string NAME = "minor"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MinorClassProperties Properties { get; } = new MinorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MinorClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/NominalClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/NominalClass.cs new file mode 100644 index 00000000..17862f0a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/NominalClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// ideal or desired value for a variable.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NominalClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375175_247387_2048"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375175_247387_2048"; + /// Constant value for + public const string SUMMARY = @" ideal or desired value for a variable. +"; + /// Constant value for + public const string NAME = "nominal"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new NominalClassProperties Properties { get; } = new NominalClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class NominalClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/OrganizeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/OrganizeClass.cs new file mode 100644 index 00000000..e7e34a17 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/OrganizeClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// act of containing and owning one or more elements.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OrganizeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375177_136956_2055"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375177_136956_2055"; + /// Constant value for + public const string SUMMARY = @" act of containing and owning one or more elements. +"; + /// Constant value for + public const string NAME = "organize"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new OrganizeClassProperties Properties { get; } = new OrganizeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class OrganizeClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/OrganizerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/OrganizerClass.cs new file mode 100644 index 00000000..8394523a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/OrganizerClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// entity that organizes one or more elements.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OrganizerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375177_942113_2056"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375177_942113_2056"; + /// Constant value for + public const string SUMMARY = @" entity that {{termplural(organize)}} one or more elements. +"; + /// Constant value for + public const string NAME = "organizer"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new OrganizerClassProperties Properties { get; } = new OrganizerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class OrganizerClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ParameterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ParameterClass.cs new file mode 100644 index 00000000..82863584 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ParameterClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// variable that must be given a value during the execution of a program or a communications command.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ParameterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375178_564885_2057"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375178_564885_2057"; + /// Constant value for + public const string SUMMARY = @" variable that must be given a value during the execution of a program or a communications command. +"; + /// Constant value for + public const string NAME = "parameter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ParameterClassProperties Properties { get; } = new ParameterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ParameterClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PartClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PartClass.cs new file mode 100644 index 00000000..1928aac7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PartClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// discrete item that has both defined and measurable physical characteristics including mass, material, and features, and is created by applying one or more manufacturing process steps to a workpiece


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375178_991512_2059"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375178_991512_2059"; + /// Constant value for + public const string SUMMARY = @" discrete item that has both defined and measurable physical characteristics including mass, material, and features, and is created by applying one or more manufacturing process steps to a workpiece +"; + /// Constant value for + public const string NAME = "part"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new PartClassProperties Properties { get; } = new PartClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class PartClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PascalCaseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PascalCaseClass.cs new file mode 100644 index 00000000..352a35e5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PascalCaseClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// first letter of each word is capitalized and the remaining letters are in lowercase. All space is removed between letters


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PascalCaseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375178_26853_2060"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375178_26853_2060"; + /// Constant value for + public const string SUMMARY = @" first letter of each word is capitalized and the remaining letters are in lowercase. All space is removed between letters +"; + /// Constant value for + public const string NAME = "pascal case"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new PascalCaseClassProperties Properties { get; } = new PascalCaseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class PascalCaseClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PatchClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PatchClass.cs new file mode 100644 index 00000000..1667bef4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PatchClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// supplemental identifier representing only organizational or editorial changes to a minor version document with no changes in the functionality described in that document.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PatchClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375183_189211_2078"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375183_189211_2078"; + /// Constant value for + public const string SUMMARY = @" supplemental identifier representing only organizational or editorial changes to a {{term(minor)}} version document with no changes in the functionality described in that document. +"; + /// Constant value for + public const string NAME = "patch"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new PatchClassProperties Properties { get; } = new PatchClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class PatchClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PersistenceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PersistenceClass.cs new file mode 100644 index 00000000..d0b1de39 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PersistenceClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// method for retaining or restoring information.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PersistenceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375179_164662_2061"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375179_164662_2061"; + /// Constant value for + public const string SUMMARY = @" method for retaining or restoring information. +"; + /// Constant value for + public const string NAME = "persistence"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new PersistenceClassProperties Properties { get; } = new PersistenceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class PersistenceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PositionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PositionClass.cs new file mode 100644 index 00000000..6714c007 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/PositionClass.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary +{ + /// location that is represented by a point in space relative to a reference.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PositionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678088345310_788620_700"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678088345310_788620_700"; + /// Constant value for + public const string SUMMARY = @" {{term(location)}} that is represented by a point in space relative to a reference. +"; + /// Constant value for + public const string NAME = "position"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1678088336223_911067_642 + /// + public Type Generalization => typeof(Mtconnect.Glossary.LocationClass); + + /// + public new PositionClassProperties Properties { get; } = new PositionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PositionClassProperties : Mtconnect.Glossary.LocationClass.LocationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ProbeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ProbeClass.cs new file mode 100644 index 00000000..196222a6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ProbeClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// instrument commonly used for measuring the physical geometrical characteristics of an object.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProbeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375179_850650_2063"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375179_850650_2063"; + /// Constant value for + public const string SUMMARY = @" instrument commonly used for measuring the physical geometrical characteristics of an object. +"; + /// Constant value for + public const string NAME = "probe"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ProbeClassProperties Properties { get; } = new ProbeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ProbeClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ProfileClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ProfileClass.cs new file mode 100644 index 00000000..84e45928 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ProfileClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// extends a reference metamodel (such as UML) by allowing to adapt or customize the metamodel with constructs that are specific to a particular domain, platform, or a software development method.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProfileClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1630403640706_509877_41"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1630403640706_509877_41"; + /// Constant value for + public const string SUMMARY = @" extends a reference metamodel (such as {{term(UML)}}) by allowing to adapt or customize the metamodel with constructs that are specific to a particular domain, platform, or a software development method. +"; + /// Constant value for + public const string NAME = "profile"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ProfileClassProperties Properties { get; } = new ProfileClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ProfileClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/RequesterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/RequesterClass.cs new file mode 100644 index 00000000..09a8d18c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/RequesterClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// entity that initiates a request for information in a communications exchange.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RequesterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375182_43412_2073"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375182_43412_2073"; + /// Constant value for + public const string SUMMARY = @" entity that initiates a {{term(request)}} for information in a communications exchange. +"; + /// Constant value for + public const string NAME = "requester"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new RequesterClassProperties Properties { get; } = new RequesterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class RequesterClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ResetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ResetClass.cs new file mode 100644 index 00000000..3522ef9e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ResetClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// act of reverting back the accumulated value or statistic to their initial value.

> Note: An Observation with a data set representation removes all key-value pairs, setting the data set to an empty set.




+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ResetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375182_524550_2074"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375182_524550_2074"; + /// Constant value for + public const string SUMMARY = @" act of reverting back the accumulated value or statistic to their initial value. + +> Note: An {{term(Observation)}} with a {{term(data set)}} representation removes all {{termplural(key-value pair)}}, setting the {{term(data set)}} to an empty set. + + +"; + /// Constant value for + public const string NAME = "reset"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ResetClassProperties Properties { get; } = new ResetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ResetClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ResponderClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ResponderClass.cs new file mode 100644 index 00000000..ab96ce7b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ResponderClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// entity that responds to a request for information in a communications exchange.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ResponderClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375182_318622_2075"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375182_318622_2075"; + /// Constant value for + public const string SUMMARY = @" entity that responds to a {{term(request)}} for information in a communications exchange. +"; + /// Constant value for + public const string NAME = "responder"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ResponderClassProperties Properties { get; } = new ResponderClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ResponderClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ResponseDocumentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ResponseDocumentClass.cs new file mode 100644 index 00000000..2474eb23 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/ResponseDocumentClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary +{ + /// electronic document published by an MTConnect Agent in response to a probe request, current request, sample request or asset request.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ResponseDocumentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375183_185849_2077"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375183_185849_2077"; + /// Constant value for + public const string SUMMARY = @" electronic {{term(document)}} published by an {{term(MTConnect Agent)}} in response to a {{term(probe request)}}, {{term(current request)}}, {{term(sample request)}} or {{term(asset request)}}. +"; + /// Constant value for + public const string NAME = "response document"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375173_527411_2040 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.MTConnectResponseDocumentClass); + + /// + public new ResponseDocumentClassProperties Properties { get; } = new ResponseDocumentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ResponseDocumentClassProperties : Mtconnect.Glossary.ProtocolTerms.MTConnectResponseDocumentClass.MTConnectResponseDocumentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SchemaClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SchemaClass.cs new file mode 100644 index 00000000..dfd4f995 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SchemaClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// definition of the structure, rules, and vocabularies used to define the information published in an electronic document.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SchemaClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375184_91838_2082"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375184_91838_2082"; + /// Constant value for + public const string SUMMARY = @" definition of the structure, rules, and vocabularies used to define the information published in an electronic document. +"; + /// Constant value for + public const string NAME = "schema"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SchemaClassProperties Properties { get; } = new SchemaClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SchemaClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SemanticDataModelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SemanticDataModelClass.cs new file mode 100644 index 00000000..2eb74716 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SemanticDataModelClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// methodology for defining the structure and meaning for data in a specific logical way that can be interpreted by a software system.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SemanticDataModelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375185_374500_2083"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375185_374500_2083"; + /// Constant value for + public const string SUMMARY = @" methodology for defining the structure and meaning for data in a specific logical way that can be interpreted by a software system. +"; + /// Constant value for + public const string NAME = "semantic data model"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SemanticDataModelClassProperties Properties { get; } = new SemanticDataModelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SemanticDataModelClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SensingElementClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SensingElementClass.cs new file mode 100644 index 00000000..48398998 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SensingElementClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// mechanism that provides a signal or measured value.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensingElementClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375185_358246_2084"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375185_358246_2084"; + /// Constant value for + public const string SUMMARY = @" mechanism that provides a signal or measured value. +"; + /// Constant value for + public const string NAME = "sensing element"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SensingElementClassProperties Properties { get; } = new SensingElementClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SensingElementClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SequenceNumberClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SequenceNumberClass.cs new file mode 100644 index 00000000..e1aee295 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SequenceNumberClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// primary key identifier used to manage and locate a specific piece of streaming data in an agent.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SequenceNumberClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375186_193728_2090"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375186_193728_2090"; + /// Constant value for + public const string SUMMARY = @" primary key identifier used to manage and locate a specific piece of {{term(streaming data)}} in an {{term(agent)}}. +"; + /// Constant value for + public const string NAME = "sequence number"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SequenceNumberClassProperties Properties { get; } = new SequenceNumberClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SequenceNumberClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SpecificationLimitClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SpecificationLimitClass.cs new file mode 100644 index 00000000..9b42447d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SpecificationLimitClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// limit defining a range of values designating acceptable performance for a variable.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpecificationLimitClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375186_690520_2091"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375186_690520_2091"; + /// Constant value for + public const string SUMMARY = @" limit defining a range of values designating acceptable performance for a variable. +"; + /// Constant value for + public const string NAME = "specification limit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SpecificationLimitClassProperties Properties { get; } = new SpecificationLimitClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SpecificationLimitClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SpindleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SpindleClass.cs new file mode 100644 index 00000000..bb012514 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SpindleClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// mechanism that provides rotational capabilities to a piece of equipment.

> Note: Typically used for either work holding, materials or cutting tools.




+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpindleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375187_921725_2092"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375187_921725_2092"; + /// Constant value for + public const string SUMMARY = @" mechanism that provides rotational capabilities to a piece of equipment. + +> Note: Typically used for either work holding, materials or cutting tools. + + +"; + /// Constant value for + public const string NAME = "spindle"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SpindleClassProperties Properties { get; } = new SpindleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SpindleClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/StandardClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/StandardClass.cs new file mode 100644 index 00000000..f2a8a299 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/StandardClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// document established by consensus that provides rules, guidelines, or characteristics for activities or their results.. ISO/IEC Guide 2:2004


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StandardClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375187_860452_2093"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375187_860452_2093"; + /// Constant value for + public const string SUMMARY = @" {{term(document)}} established by consensus that provides rules, guidelines, or characteristics for activities or their results.. {{cite(ISO/IEC Guide 2:2004)}} +"; + /// Constant value for + public const string NAME = "standard"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new StandardClassProperties Properties { get; } = new StandardClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class StandardClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/StandardUncertaintyGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/StandardUncertaintyGeneralization.cs new file mode 100644 index 00000000..423739ef --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/StandardUncertaintyGeneralization.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary +{ + /// uncertainty of the result of a measurement expressed as a standard deviation. JCGM 100:2008 2.3.1


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StandardUncertaintyGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678196842084_529316_17608"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678196842084_529316_17608"; + /// Constant value for + public const string SUMMARY = @" {{term(uncertainty)}} of the result of a measurement expressed as a standard deviation. {{cite(JCGM 100:2008 2.3.1)}} +"; + /// Constant value for + public const string NAME = "standard uncertainty"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1678196835831_469201_17550 + /// + public Type Generalization => typeof(Mtconnect.Glossary.UncertaintyClass); + + /// + public new StandardUncertaintyGeneralizationProperties Properties { get; } = new StandardUncertaintyGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class StandardUncertaintyGeneralizationProperties : Mtconnect.Glossary.UncertaintyClass.UncertaintyClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/StereotypeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/StereotypeClass.cs new file mode 100644 index 00000000..79ad51c4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/StereotypeClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// defines how an existing UML metaclass may be extended as part of a profile.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StereotypeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1630404681033_826443_46"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1630404681033_826443_46"; + /// Constant value for + public const string SUMMARY = @" defines how an existing {{term(UML)}} metaclass may be extended as part of a {{term(profile)}}. +"; + /// Constant value for + public const string NAME = "stereotype"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new StereotypeClassProperties Properties { get; } = new StereotypeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class StereotypeClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SubtypeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SubtypeClass.cs new file mode 100644 index 00000000..4004bc23 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/SubtypeClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// secondary or subordinate type of categorization or classification of information.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SubtypeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375188_150085_2097"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375188_150085_2097"; + /// Constant value for + public const string SUMMARY = @" secondary or subordinate type of categorization or classification of information. +"; + /// Constant value for + public const string NAME = "subtype"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SubtypeClassProperties Properties { get; } = new SubtypeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SubtypeClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TableCellClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TableCellClass.cs new file mode 100644 index 00000000..16ff2d4b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TableCellClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// subdivision of a table entry representing a singular value.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TableCellClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375188_335050_2099"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375188_335050_2099"; + /// Constant value for + public const string SUMMARY = @" subdivision of a {{term(table entry)}} representing a singular value. +"; + /// Constant value for + public const string NAME = "table cell"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new TableCellClassProperties Properties { get; } = new TableCellClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class TableCellClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TableClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TableClass.cs new file mode 100644 index 00000000..5e0ef7e3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TableClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// two dimensional set of values given by a set of key-value pairs table entrys.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TableClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375188_845789_2098"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375188_845789_2098"; + /// Constant value for + public const string SUMMARY = @" two dimensional set of values given by a set of {{termplural(key-value pair)}} {{termplural(table entry)}}. +"; + /// Constant value for + public const string NAME = "table"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new TableClassProperties Properties { get; } = new TableClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class TableClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TableEntryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TableEntryClass.cs new file mode 100644 index 00000000..7ada71fe --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TableEntryClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// subdivision of a table containing a set of key-value pairs representing table cells.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TableEntryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375189_248272_2100"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375189_248272_2100"; + /// Constant value for + public const string SUMMARY = @" subdivision of a {{term(table)}} containing a set of {{termplural(key-value pair)}} representing {{termplural(table cell)}}. +"; + /// Constant value for + public const string NAME = "table entry"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new TableEntryClassProperties Properties { get; } = new TableEntryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class TableEntryClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TopLevelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TopLevelClass.cs new file mode 100644 index 00000000..c628c294 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TopLevelClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// element that represents the most significant physical or logical functions of a piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TopLevelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375190_831127_2103"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375190_831127_2103"; + /// Constant value for + public const string SUMMARY = @" element that represents the most significant physical or logical functions of a piece of equipment. +"; + /// Constant value for + public const string NAME = "top level"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new TopLevelClassProperties Properties { get; } = new TopLevelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class TopLevelClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TypeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TypeClass.cs new file mode 100644 index 00000000..3cb680c4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/TypeClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// classification or categorization of information.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TypeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375190_324763_2105"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375190_324763_2105"; + /// Constant value for + public const string SUMMARY = @" classification or categorization of information. +"; + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new TypeClassProperties Properties { get; } = new TypeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class TypeClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/UncertaintyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/UncertaintyClass.cs new file mode 100644 index 00000000..b1d41a78 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/UncertaintyClass.cs @@ -0,0 +1,84 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// uncertainty (of measurement) parameter, associated with the result of a measurement, that characterizes the dispersion of the values that could reasonably be attributed to the measurand. JCGM 100:2008 2.2.3

> Note: Use of the term uncertainty refers to uncertainty of measurement.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UncertaintyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678196835831_469201_17550"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1678196835831_469201_17550"; + /// Constant value for + public const string SUMMARY = @" uncertainty (of measurement) parameter, associated with the result of a measurement, that characterizes the dispersion of the values that could reasonably be attributed to the measurand. {{cite(JCGM 100:2008 2.2.3)}} + +> Note: Use of the term uncertainty refers to uncertainty of measurement. +"; + /// Constant value for + public const string NAME = "uncertainty"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new UncertaintyClassProperties Properties { get; } = new UncertaintyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class UncertaintyClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/UpperLimitClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/UpperLimitClass.cs new file mode 100644 index 00000000..c4e66f00 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/UpperLimitClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// upper conformance boundary for a variable.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UpperLimitClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375190_393247_2106"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375190_393247_2106"; + /// Constant value for + public const string SUMMARY = @" upper conformance boundary for a variable. +"; + /// Constant value for + public const string NAME = "upper limit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new UpperLimitClassProperties Properties { get; } = new UpperLimitClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class UpperLimitClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/UpperWarningClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/UpperWarningClass.cs new file mode 100644 index 00000000..efecb07f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/UpperWarningClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// upper boundary indicating increased concern and supervision may be required.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UpperWarningClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375191_509539_2107"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375191_509539_2107"; + /// Constant value for + public const string SUMMARY = @" upper boundary indicating increased concern and supervision may be required. +"; + /// Constant value for + public const string NAME = "upper warning"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new UpperWarningClassProperties Properties { get; } = new UpperWarningClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class UpperWarningClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/VersionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/VersionClass.cs new file mode 100644 index 00000000..adf2e117 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Glossary/VersionClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary +{ + /// unique identifier of the administered item. ISO/IEC 11179-:2015


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VersionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375191_736215_2108"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375191_736215_2108"; + /// Constant value for + public const string SUMMARY = @" unique identifier of the administered item. {{cite(ISO/IEC 11179-:2015)}} +"; + /// Constant value for + public const string NAME = "version"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new VersionClassProperties Properties { get; } = new VersionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class VersionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPBodyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPBodyClass.cs new file mode 100644 index 00000000..0fe4a120 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPBodyClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// data bytes transmitted in an HTTP transaction message immediately following the headers. IETF:RFC-2616


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPBodyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375161_905436_1997"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375161_905436_1997"; + /// Constant value for + public const string SUMMARY = @" data bytes transmitted in an HTTP transaction message immediately following the headers. {{cite(IETF:RFC-2616)}} +"; + /// Constant value for + public const string NAME = "HTTP Body"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPBodyClassProperties Properties { get; } = new HTTPBodyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPBodyClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPErrorMessageClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPErrorMessageClass.cs new file mode 100644 index 00000000..fe8446bd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPErrorMessageClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// response provided by an agent indicating that an HTTP Request is incorrectly formatted or identifies that the requested data is not available from the agent. IETF:RFC-2616


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPErrorMessageClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375161_349547_1998"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375161_349547_1998"; + /// Constant value for + public const string SUMMARY = @" response provided by an {{term(agent)}} indicating that an {{term(HTTP Request)}} is incorrectly formatted or identifies that the requested data is not available from the {{term(agent)}}. {{cite(IETF:RFC-2616)}} +"; + /// Constant value for + public const string NAME = "HTTP Error Message"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPErrorMessageClassProperties Properties { get; } = new HTTPErrorMessageClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPErrorMessageClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPHeaderClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPHeaderClass.cs new file mode 100644 index 00000000..c3e89d34 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPHeaderClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// header of either an HTTP Request from a client or an HTTP Response from an agent. IETF:RFC-2616


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPHeaderClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375161_66442_1999"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375161_66442_1999"; + /// Constant value for + public const string SUMMARY = @" header of either an {{term(HTTP Request)}} from a {{term(client)}} or an {{term(HTTP Response)}} from an {{term(agent)}}. {{cite(IETF:RFC-2616)}} +"; + /// Constant value for + public const string NAME = "HTTP Header"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPHeaderClassProperties Properties { get; } = new HTTPHeaderClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPHeaderClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPHeaderFieldClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPHeaderFieldClass.cs new file mode 100644 index 00000000..c424c0b6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPHeaderFieldClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// components of the header section of request and response messages in an HTTP transaction. IETF:RFC-2616


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPHeaderFieldClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375162_933814_2000"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375162_933814_2000"; + /// Constant value for + public const string SUMMARY = @" components of the header section of request and response messages in an HTTP transaction. {{cite(IETF:RFC-2616)}} +"; + /// Constant value for + public const string NAME = "HTTP Header Field"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPHeaderFieldClassProperties Properties { get; } = new HTTPHeaderFieldClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPHeaderFieldClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPMessageClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPMessageClass.cs new file mode 100644 index 00000000..f3138475 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPMessageClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// consist of requests from client to server and responses from server to client. IETF:RFC-2616

> Note: In MTConnect Standard, it describes the information that is exchanged between an agent and a client.




+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPMessageClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375162_687247_2001"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375162_687247_2001"; + /// Constant value for + public const string SUMMARY = @" consist of requests from client to server and responses from server to client. {{cite(IETF:RFC-2616)}} + +> Note: In MTConnect Standard, it describes the information that is exchanged between an {{term(agent)}} and a {{term(client)}}. + + +"; + /// Constant value for + public const string NAME = "HTTP Message"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPMessageClassProperties Properties { get; } = new HTTPMessageClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPMessageClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPMessagingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPMessagingClass.cs new file mode 100644 index 00000000..5222beaf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPMessagingClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// interface for information exchange functionality. IETF:RFC-2616


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPMessagingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375162_757679_2002"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375162_757679_2002"; + /// Constant value for + public const string SUMMARY = @" {{term(interface)}} for information exchange functionality. {{cite(IETF:RFC-2616)}} +"; + /// Constant value for + public const string NAME = "HTTP Messaging"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPMessagingClassProperties Properties { get; } = new HTTPMessagingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPMessagingClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPMethodClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPMethodClass.cs new file mode 100644 index 00000000..5ebc27ec --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPMethodClass.cs @@ -0,0 +1,78 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// portion of a command in an HTTP Request that indicates the desired action to be performed on the identified resource; often referred to as verbs. IETF:RFC-2616



+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPMethodClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375162_93724_2003"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375162_93724_2003"; + /// Constant value for + public const string SUMMARY = @" portion of a command in an {{term(HTTP Request)}} that indicates the desired action to be performed on the identified resource; often referred to as verbs. {{cite(IETF:RFC-2616)}} + +"; + /// Constant value for + public const string NAME = "HTTP Method"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPMethodClassProperties Properties { get; } = new HTTPMethodClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPMethodClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPQueryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPQueryClass.cs new file mode 100644 index 00000000..8dc82600 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPQueryClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// portion of a request for information that more precisely defines the specific information to be published in response to the request. IETF:RFC-2616


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPQueryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375163_768611_2004"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375163_768611_2004"; + /// Constant value for + public const string SUMMARY = @" portion of a request for information that more precisely defines the specific information to be published in response to the request. {{cite(IETF:RFC-2616)}} +"; + /// Constant value for + public const string NAME = "HTTP Query"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPQueryClassProperties Properties { get; } = new HTTPQueryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPQueryClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestGeneralization.cs new file mode 100644 index 00000000..94dd2013 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestGeneralization.cs @@ -0,0 +1,86 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use. IETF:RFC-2616

> Note: In MTConnect Standard, a request issued by a client to an agent requesting information defined in the HTTP Request Line.




+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPRequestGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375163_559390_2005"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375163_559390_2005"; + /// Constant value for + public const string SUMMARY = @" request message from a client to a server includes, within the first line of that message, the method to be applied to the resource, the identifier of the resource, and the protocol version in use. {{cite(IETF:RFC-2616)}} + +> Note: In MTConnect Standard, a request issued by a {{term(client)}} to an {{term(agent)}} requesting information defined in the {{term(HTTP Request Line)}}. + + +"; + /// Constant value for + public const string NAME = "HTTP Request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375181_991321_2071 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.RequestClass); + + /// + public new HTTPRequestGeneralizationProperties Properties { get; } = new HTTPRequestGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HTTPRequestGeneralizationProperties : Mtconnect.Glossary.ProtocolTerms.RequestClass.RequestClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestLineClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestLineClass.cs new file mode 100644 index 00000000..a11aabdc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestLineClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// begins with a method token, followed by the Request-URI and the protocol version, and ending with CRLF. A CRLF is allowed in the definition of TEXT only as part of a header field continuation. IETF:RFC-2616

> Note: the first line of an HTTP Request describing a specific response document to be published by an agent.




+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPRequestLineClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375163_189288_2006"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375163_189288_2006"; + /// Constant value for + public const string SUMMARY = @" begins with a method token, followed by the Request-URI and the protocol version, and ending with CRLF. A CRLF is allowed in the definition of TEXT only as part of a header field continuation. {{cite(IETF:RFC-2616)}} + +> Note: the first line of an {{term(HTTP Request)}} describing a specific {{term(response document)}} to be published by an {{term(agent)}}. + + +"; + /// Constant value for + public const string NAME = "HTTP Request Line"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPRequestLineClassProperties Properties { get; } = new HTTPRequestLineClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPRequestLineClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestMethodClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestMethodClass.cs new file mode 100644 index 00000000..a9f34cdf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestMethodClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// indicates the method to be performed on the resource identified by the Request-URI. IETF:RFC-2616


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPRequestMethodClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375164_649601_2007"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375164_649601_2007"; + /// Constant value for + public const string SUMMARY = @" indicates the method to be performed on the resource identified by the Request-URI. {{cite(IETF:RFC-2616)}} +"; + /// Constant value for + public const string NAME = "HTTP Request Method"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPRequestMethodClassProperties Properties { get; } = new HTTPRequestMethodClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPRequestMethodClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestURIClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestURIClass.cs new file mode 100644 index 00000000..945f0d74 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPRequestURIClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// Uniform Resource Identifier that identifies the resource upon which to apply the request. IETF:RFC-2616


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPRequestURIClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375164_823840_2008"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375164_823840_2008"; + /// Constant value for + public const string SUMMARY = @" Uniform Resource Identifier that identifies the resource upon which to apply the request. {{cite(IETF:RFC-2616)}} +"; + /// Constant value for + public const string NAME = "HTTP Request URI"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPRequestURIClassProperties Properties { get; } = new HTTPRequestURIClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPRequestURIClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPResponseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPResponseClass.cs new file mode 100644 index 00000000..e4621a49 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPResponseClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// after receiving and interpreting a request message, a server responds with an HTTP response message. IETF:RFC-2616

> Note: In MTConnect Standard, the information published from an agent in reply to an HTTP Request.




+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPResponseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375164_626060_2009"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375164_626060_2009"; + /// Constant value for + public const string SUMMARY = @" after receiving and interpreting a request message, a server responds with an HTTP response message. {{cite(IETF:RFC-2616)}} + +> Note: In MTConnect Standard, the information published from an {{term(agent)}} in reply to an {{term(HTTP Request)}}. + + +"; + /// Constant value for + public const string NAME = "HTTP Response"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPResponseClassProperties Properties { get; } = new HTTPResponseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPResponseClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPServerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPServerClass.cs new file mode 100644 index 00000000..fd657af2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPServerClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// server that accepts HTTP Request from client and publishes HTTP Response as a reply to those HTTP Request. IETF:RFC-2616


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPServerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375164_923890_2010"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375164_923890_2010"; + /// Constant value for + public const string SUMMARY = @" server that accepts {{term(HTTP Request)}} from {{term(client)}} and publishes {{term(HTTP Response)}} as a reply to those {{term(HTTP Request)}}. {{cite(IETF:RFC-2616)}} +"; + /// Constant value for + public const string NAME = "HTTP Server"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPServerClassProperties Properties { get; } = new HTTPServerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPServerClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPStatusCodeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPStatusCodeClass.cs new file mode 100644 index 00000000..eb67facb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPStatusCodeClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// 3-digit integer result code of the attempt to understand and satisfy the request. IETF:RFC-2616


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPStatusCodeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375165_285177_2011"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375165_285177_2011"; + /// Constant value for + public const string SUMMARY = @" 3-digit integer result code of the attempt to understand and satisfy the request. {{cite(IETF:RFC-2616)}} +"; + /// Constant value for + public const string NAME = "HTTP Status Code"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPStatusCodeClassProperties Properties { get; } = new HTTPStatusCodeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPStatusCodeClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPVersionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPVersionClass.cs new file mode 100644 index 00000000..478ed5ae --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/HTTPTerms/HTTPVersionClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.HTTPTerms +{ + /// version of the HTTP protocol. IETF:RFC-2616


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HTTPVersionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375165_642119_2012"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375165_642119_2012"; + /// Constant value for + public const string SUMMARY = @" version of the HTTP protocol. {{cite(IETF:RFC-2616)}} +"; + /// Constant value for + public const string NAME = "HTTP Version"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HTTPVersionClassProperties Properties { get; } = new HTTPVersionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HTTPVersionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ImageFiles/ImageFileClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ImageFiles/ImageFileClass.cs new file mode 100644 index 00000000..d4c7d21b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ImageFiles/ImageFileClass.cs @@ -0,0 +1,366 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.ImageFiles +{ + /// reference to a file containing an image of the Component.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ImageFileClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1677585025728_765757_660"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1677585025728_765757_660"; + /// Constant value for + public const string SUMMARY = @" reference to a file containing an image of the {{block(Component)}}. +"; + /// Constant value for + public const string NAME = "ImageFile"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ImageFileClassProperties Properties { get; } = new ImageFileClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ImageFileClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Id, + Href, + MediaType, + Name, + }; + /// + ///
+ /// Original Name: Id + ///
+ public IdProperty Id { get; } = new IdProperty(); + + /// unique identifier of the image file.


+ ///
+ public sealed class IdProperty : IProperty + { + /// Constant value for + public const string NAME = "id"; + /// Constant value for + public const string SUMMARY = @" unique identifier of the image file. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Href + ///
+ public HrefProperty Href { get; } = new HrefProperty(); + + /// URL giving the location of the image file.


+ ///
+ public sealed class HrefProperty : IProperty + { + /// Constant value for + public const string NAME = "href"; + /// Constant value for + public const string SUMMARY = @" {{term(URL)}} giving the location of the image file. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MediaType + ///
+ public MediaTypeProperty MediaType { get; } = new MediaTypeProperty(); + + /// mime type of the image file.



+ ///
+ public sealed class MediaTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "mediaType"; + /// Constant value for + public const string SUMMARY = @" mime type of the image file. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// description of the image file.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" description of the image file. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/AssetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/AssetClass.cs new file mode 100644 index 00000000..ce451424 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/AssetClass.cs @@ -0,0 +1,90 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// item, thing or entity that has potential or actual value to an organization. ISO 55000:2014

> Note 1 to entry: Value can be tangible or intangible, financial or non-financial, and includes consideration of risks and liabilities. It can be positive or negative at different stages of the asset life.

> Note 2 to entry: Physical assets usually refer to equipment, inventory and properties owned by the organization. Physical assets are the opposite of intangible assets, which are non-physical assets such as leases, brands, digital assets, use rights, licences, intellectual property rights, reputation or agreements.

> Note 3 to entry: A grouping of assets referred to as an asset system could also be considered as an asset.




+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580561892811_529841_16867"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580561892811_529841_16867"; + /// Constant value for + public const string SUMMARY = @" item, thing or entity that has potential or actual value to an organization. {{cite(ISO 55000:2014)}} + +> Note 1 to entry: Value can be tangible or intangible, financial or non-financial, and includes consideration of risks and liabilities. It can be positive or negative at different stages of the asset life. + +> Note 2 to entry: Physical assets usually refer to equipment, inventory and properties owned by the organization. Physical assets are the opposite of intangible assets, which are non-physical assets such as leases, brands, digital assets, use rights, licences, intellectual property rights, reputation or agreements. + +> Note 3 to entry: A grouping of assets referred to as an asset system could also be considered as an asset. + + +"; + /// Constant value for + public const string NAME = "asset"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581733974550_623533_615 + /// + public Type Generalization => typeof(Mtconnect.Glossary.IndustrialTerms.ThingClass); + + /// + public new AssetClassProperties Properties { get; } = new AssetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AssetClassProperties : Mtconnect.Glossary.IndustrialTerms.ThingClass.ThingClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ConditionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ConditionClass.cs new file mode 100644 index 00000000..63b10f5c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ConditionClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// ability of a piece of equipment or Component to function to specification.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConditionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1635254073046_33009_1308"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1635254073046_33009_1308"; + /// Constant value for + public const string SUMMARY = @" ability of a piece of equipment or {{term(Component)}} to function to specification. +"; + /// Constant value for + public const string NAME = "condition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ConditionClassProperties Properties { get; } = new ConditionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ConditionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ConditionStateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ConditionStateClass.cs new file mode 100644 index 00000000..0f3e5cf4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ConditionStateClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// indicator of the condition.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConditionStateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1629890116098_235774_26"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1629890116098_235774_26"; + /// Constant value for + public const string SUMMARY = @" indicator of the {{term(condition)}}. +"; + /// Constant value for + public const string NAME = "condition state"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ConditionStateClassProperties Properties { get; } = new ConditionStateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ConditionStateClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ConfigurationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ConfigurationClass.cs new file mode 100644 index 00000000..bdf21b5f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ConfigurationClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// information about an engineered system describing its physical layout, functional characteristics, and relationships with other engineered systems


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConfigurationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581970391175_482710_6078"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581970391175_482710_6078"; + /// Constant value for + public const string SUMMARY = @" information about an {{term(engineered system)}} describing its physical layout, functional characteristics, and relationships with other {{termplural(engineered system)}} +"; + /// Constant value for + public const string NAME = "configuration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581733974550_623533_615 + /// + public Type Generalization => typeof(Mtconnect.Glossary.IndustrialTerms.ThingClass); + + /// + public new ConfigurationClassProperties Properties { get; } = new ConfigurationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ConfigurationClassProperties : Mtconnect.Glossary.IndustrialTerms.ThingClass.ThingClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ControlLimitClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ControlLimitClass.cs new file mode 100644 index 00000000..f215868d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ControlLimitClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// limit used to indicate whether a process variable is stable and in control.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControlLimitClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375149_263613_1967"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375149_263613_1967"; + /// Constant value for + public const string SUMMARY = @" limit used to indicate whether a process variable is stable and in control. +"; + /// Constant value for + public const string NAME = "control limit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ControlLimitClassProperties Properties { get; } = new ControlLimitClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ControlLimitClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EngineeredSystemClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EngineeredSystemClass.cs new file mode 100644 index 00000000..532c17a7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EngineeredSystemClass.cs @@ -0,0 +1,432 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// logical or physical entity that may produce observations about itself.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EngineeredSystemClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1635250812908_628647_270"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1635250812908_628647_270"; + /// Constant value for + public const string SUMMARY = @" logical or physical entity that may produce {{termplural(observation)}} about itself. +"; + /// Constant value for + public const string NAME = "engineered system"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581733974550_623533_615 + /// + public Type Generalization => typeof(Mtconnect.Glossary.IndustrialTerms.ThingClass); + + /// + public new EngineeredSystemClassProperties Properties { get; } = new EngineeredSystemClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EngineeredSystemClassProperties : Mtconnect.Glossary.IndustrialTerms.ThingClass.ThingClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + PartOf, + HasPart, + MakesObservation, + Observes, + MadeObservation, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: PartOf + ///
+ public new PartOfProperty PartOf { get; } = new PartOfProperty(); + + ///  + /// + public new sealed class PartOfProperty : IProperty + { + /// Constant value for + public const string NAME = "part of"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EngineeredSystemClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.IndustrialTerms.EngineeredSystemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasPart + ///
+ public new HasPartProperty HasPart { get; } = new HasPartProperty(); + + ///  + /// + public new sealed class HasPartProperty : IProperty + { + /// Constant value for + public const string NAME = "has part"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EngineeredSystemClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.IndustrialTerms.EngineeredSystemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MakesObservation + ///
+ public new MakesObservationProperty MakesObservation { get; } = new MakesObservationProperty(); + + ///  + /// + public new sealed class MakesObservationProperty : IProperty + { + /// Constant value for + public const string NAME = "makes observation"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ObservationClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.IndustrialTerms.ObservationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Observes + ///
+ public new ObservesProperty Observes { get; } = new ObservesProperty(); + + ///  + /// + public new sealed class ObservesProperty : IProperty + { + /// Constant value for + public const string NAME = "observes"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ObservableClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.IndustrialTerms.ObservableClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MadeObservation + ///
+ public new MadeObservationProperty MadeObservation { get; } = new MadeObservationProperty(); + + ///  + /// + public new sealed class MadeObservationProperty : IProperty + { + /// Constant value for + public const string NAME = "made observation"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ObservationClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.MTConnectTerms.ObservationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EngineeringUnitsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EngineeringUnitsClass.cs new file mode 100644 index 00000000..cacfdb7a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EngineeringUnitsClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// quantity, dimension, or magnitude used in engineering adopted as a standard in terms of which the magnitude of other quantities of the same kind can be expressed or calculated.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EngineeringUnitsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375158_68411_1987"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375158_68411_1987"; + /// Constant value for + public const string SUMMARY = @" quantity, dimension, or magnitude used in engineering adopted as a standard in terms of which the magnitude of other quantities of the same kind can be expressed or calculated. +"; + /// Constant value for + public const string NAME = "engineering units"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new EngineeringUnitsClassProperties Properties { get; } = new EngineeringUnitsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class EngineeringUnitsClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EquipmentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EquipmentClass.cs new file mode 100644 index 00000000..594f7041 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EquipmentClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// represents anything that can publish information and is used in the operations of a manufacturing facility shop floor.

> Note: Examples include machine tools, ovens, sensor units, workstations, software applications, and bar feeders.




+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375158_659038_1988"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375158_659038_1988"; + /// Constant value for + public const string SUMMARY = @" represents anything that can publish information and is used in the operations of a manufacturing facility shop floor. + +> Note: Examples include machine tools, ovens, sensor units, workstations, software applications, and bar feeders. + + +"; + /// Constant value for + public const string NAME = "equipment"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new EquipmentClassProperties Properties { get; } = new EquipmentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class EquipmentClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EquipmentMetadataClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EquipmentMetadataClass.cs new file mode 100644 index 00000000..cb3d7e91 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/EquipmentMetadataClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// metadata that defines both the entities that represent the physical and logical parts and sub-parts of each piece of equipment, the relationships between those parts and sub-parts, and the definitions of the DataItems associated with that piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentMetadataClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375159_746661_1989"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375159_746661_1989"; + /// Constant value for + public const string SUMMARY = @" {{term(metadata)}} that defines both the entities that represent the physical and logical parts and sub-parts of each piece of equipment, the relationships between those parts and sub-parts, and the definitions of the {{termplural(DataItem)}} associated with that piece of equipment. +"; + /// Constant value for + public const string NAME = "equipment metadata"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new EquipmentMetadataClassProperties Properties { get; } = new EquipmentMetadataClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class EquipmentMetadataClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ObservableClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ObservableClass.cs new file mode 100644 index 00000000..b185856a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ObservableClass.cs @@ -0,0 +1,217 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// quality, property, or characteristic that can be observed.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservableClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1629291153288_544363_79"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1629291153288_544363_79"; + /// Constant value for + public const string SUMMARY = @" quality, property, or characteristic that can be observed. +"; + /// Constant value for + public const string NAME = "observable"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ObservableClassProperties Properties { get; } = new ObservableClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ObservableClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + ObservedBy, + HasObservation, + }; + /// + ///
+ /// Original Name: ObservedBy + ///
+ public ObservedByProperty ObservedBy { get; } = new ObservedByProperty(); + + ///  + /// + public sealed class ObservedByProperty : IProperty + { + /// Constant value for + public const string NAME = "observed by"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EngineeredSystemClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.IndustrialTerms.EngineeredSystemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasObservation + ///
+ public HasObservationProperty HasObservation { get; } = new HasObservationProperty(); + + ///  + /// + public sealed class HasObservationProperty : IProperty + { + /// Constant value for + public const string NAME = "has observation"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ObservationClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.IndustrialTerms.ObservationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ObservationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ObservationClass.cs new file mode 100644 index 00000000..f67362b3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ObservationClass.cs @@ -0,0 +1,217 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// observed value of a property at a point in time.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1629291060726_222338_26"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1629291060726_222338_26"; + /// Constant value for + public const string SUMMARY = @" observed value of a property at a point in time. +"; + /// Constant value for + public const string NAME = "observation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ObservationClassProperties Properties { get; } = new ObservationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ObservationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + MadeBy, + MadeFor, + }; + /// + ///
+ /// Original Name: MadeBy + ///
+ public MadeByProperty MadeBy { get; } = new MadeByProperty(); + + ///  + /// + public sealed class MadeByProperty : IProperty + { + /// Constant value for + public const string NAME = "made by"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EngineeredSystemClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.IndustrialTerms.EngineeredSystemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MadeFor + ///
+ public MadeForProperty MadeFor { get; } = new MadeForProperty(); + + ///  + /// + public sealed class MadeForProperty : IProperty + { + /// Constant value for + public const string NAME = "made for"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ObservableClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.IndustrialTerms.ObservableClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ObserveClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ObserveClass.cs new file mode 100644 index 00000000..7bf7a7c0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ObserveClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// act of measuring or determining the value of a property at a point in time.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObserveClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375176_568179_2052"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375176_568179_2052"; + /// Constant value for + public const string SUMMARY = @" act of measuring or determining the value of a property at a point in time. +"; + /// Constant value for + public const string NAME = "observe"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ObserveClassProperties Properties { get; } = new ObserveClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ObserveClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/PhysicalConnectionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/PhysicalConnectionClass.cs new file mode 100644 index 00000000..87ef9e82 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/PhysicalConnectionClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// network transmission technologies that physically interconnect an agent.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PhysicalConnectionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375179_395356_2062"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375179_395356_2062"; + /// Constant value for + public const string SUMMARY = @" network transmission technologies that physically interconnect an {{term(agent)}}. +"; + /// Constant value for + public const string NAME = "physical connection"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new PhysicalConnectionClassProperties Properties { get; } = new PhysicalConnectionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class PhysicalConnectionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/RawMaterialClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/RawMaterialClass.cs new file mode 100644 index 00000000..7593963d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/RawMaterialClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// crude or processed material that can be converted by manufacture, processing, or combination into a new and useful product.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RawMaterialClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375181_709089_2068"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375181_709089_2068"; + /// Constant value for + public const string SUMMARY = @" crude or processed material that can be converted by manufacture, processing, or combination into a new and useful product. +"; + /// Constant value for + public const string NAME = "raw material"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new RawMaterialClassProperties Properties { get; } = new RawMaterialClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class RawMaterialClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ResourceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ResourceClass.cs new file mode 100644 index 00000000..05885419 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ResourceClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// physical or logical entity used by an organization


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ResourceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1637112275744_245123_3488"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1637112275744_245123_3488"; + /// Constant value for + public const string SUMMARY = @" physical or logical entity used by an organization +"; + /// Constant value for + public const string NAME = "resource"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ResourceClassProperties Properties { get; } = new ResourceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ResourceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorClass.cs new file mode 100644 index 00000000..60dbbbbb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// sensing element that responds to a physical stimulus and transmits a resulting signal.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375185_836938_2085"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375185_836938_2085"; + /// Constant value for + public const string SUMMARY = @" {{term(sensing element)}} that responds to a physical stimulus and transmits a resulting signal. +"; + /// Constant value for + public const string NAME = "sensor"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SensorClassProperties Properties { get; } = new SensorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SensorClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorConfigurationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorConfigurationClass.cs new file mode 100644 index 00000000..cce39e94 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorConfigurationClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// data in the MTConnectDevices Response Document that provides the information required for maintenance and support of the sensor unit.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorConfigurationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375185_148978_2086"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375185_148978_2086"; + /// Constant value for + public const string SUMMARY = @" data in the {{term(MTConnectDevices Response Document)}} that provides the information required for maintenance and support of the {{term(sensor unit)}}. +"; + /// Constant value for + public const string NAME = "sensor configuration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SensorConfigurationClassProperties Properties { get; } = new SensorConfigurationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SensorConfigurationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorDataClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorDataClass.cs new file mode 100644 index 00000000..a9dffa2a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorDataClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// value of a physical quantity reported by a measuring instrument or controller as an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorDataClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375185_14541_2087"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375185_14541_2087"; + /// Constant value for + public const string SUMMARY = @" value of a physical quantity reported by a measuring instrument or controller as an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "sensor data"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SensorDataClassProperties Properties { get; } = new SensorDataClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SensorDataClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorElementClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorElementClass.cs new file mode 100644 index 00000000..8ab8c016 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorElementClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// provides a signal or measured value.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorElementClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375186_504629_2088"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375186_504629_2088"; + /// Constant value for + public const string SUMMARY = @" provides a signal or measured value. +"; + /// Constant value for + public const string NAME = "sensor element"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SensorElementClassProperties Properties { get; } = new SensorElementClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SensorElementClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorUnitClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorUnitClass.cs new file mode 100644 index 00000000..429a4c71 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/SensorUnitClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// intelligent piece of equipment that manages the signals of one or more sensing elements and provides the measured values.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorUnitClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375186_256870_2089"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375186_256870_2089"; + /// Constant value for + public const string SUMMARY = @" intelligent piece of equipment that manages the signals of one or more {{termplural(sensing element)}} and provides the measured values. +"; + /// Constant value for + public const string NAME = "sensor unit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SensorUnitClassProperties Properties { get; } = new SensorUnitClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SensorUnitClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ThingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ThingClass.cs new file mode 100644 index 00000000..25785ce6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/IndustrialTerms/ThingClass.cs @@ -0,0 +1,83 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.IndustrialTerms +{ + /// property holder.

> Note 1 to entry: Property holders are used to define properties that have no specific owner, or “top level” properties. These properties are generally referenced by other properties. https://www.omg.org/spec/NIEM-UML/1.0

> Note 2 to entry: Property holder is equivalent to one topmost class of which all other classes are subclasses.

!MTConnect Terms.png!


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ThingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581733974550_623533_615"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581733974550_623533_615"; + /// Constant value for + public const string SUMMARY = @" property holder. + +> Note 1 to entry: Property holders are used to define properties that have no specific owner, or “top level” properties. These properties are generally referenced by other properties. {{cite(https://www.omg.org/spec/NIEM-UML/1.0)}} + +> Note 2 to entry: Property holder is equivalent to one topmost class of which all other classes are subclasses. + +!MTConnect Terms.png! +"; + /// Constant value for + public const string NAME = "Thing"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ThingClassProperties Properties { get; } = new ThingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ThingClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ComponentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ComponentClass.cs new file mode 100644 index 00000000..9906327c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ComponentClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ComponentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585538356205_946899_4347"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585538356205_946899_4347"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Component"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ComponentClassProperties Properties { get; } = new ComponentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ComponentClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ConditionValueClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ConditionValueClass.cs new file mode 100644 index 00000000..18820b94 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ConditionValueClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConditionValueClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585537640204_557429_3724"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585537640204_557429_3724"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "ConditionValue"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1585537591558_380255_3580 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.InformationModel.ObservationValueClass); + + /// + public new ConditionValueClassProperties Properties { get; } = new ConditionValueClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ConditionValueClassProperties : Mtconnect.ReferenceAgentArchitecture.InformationModel.ObservationValueClass.ObservationValueClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ConfigurationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ConfigurationClass.cs new file mode 100644 index 00000000..2274063c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ConfigurationClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConfigurationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585538415614_710797_4498"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585538415614_710797_4498"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Configuration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ConfigurationClassProperties Properties { get; } = new ConfigurationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ConfigurationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ContitionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ContitionClass.cs new file mode 100644 index 00000000..e8eee559 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ContitionClass.cs @@ -0,0 +1,151 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ContitionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585536734789_253067_2898"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585536734789_253067_2898"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Contition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1585536700946_684682_2787 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.InformationModel.ObservationClass); + + /// + public new ContitionClassProperties Properties { get; } = new ContitionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ContitionClassProperties : Mtconnect.ReferenceAgentArchitecture.InformationModel.ObservationClass.ObservationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasValue, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasValue + ///
+ public new HasValueProperty HasValue { get; } = new HasValueProperty(); + + ///  + /// + public new sealed class HasValueProperty : IProperty + { + /// Constant value for + public const string NAME = "hasValue"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ConditionValueClass + /// + public System.Type Type => typeof(Mtconnect.ReferenceAgentArchitecture.InformationModel.ConditionValueClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ControlledVocabularyValueClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ControlledVocabularyValueClass.cs new file mode 100644 index 00000000..4726ab48 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ControlledVocabularyValueClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControlledVocabularyValueClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585537614918_989804_3681"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585537614918_989804_3681"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "ControlledVocabularyValue"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1585537599100_825067_3613 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.InformationModel.TextValueClass); + + /// + public new ControlledVocabularyValueClassProperties Properties { get; } = new ControlledVocabularyValueClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ControlledVocabularyValueClassProperties : Mtconnect.ReferenceAgentArchitecture.InformationModel.TextValueClass.TextValueClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/DataItemClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/DataItemClass.cs new file mode 100644 index 00000000..f209f35b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/DataItemClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataItemClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585538363939_178655_4380"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585538363939_178655_4380"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "DataItem"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DataItemClassProperties Properties { get; } = new DataItemClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DataItemClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/DataSetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/DataSetClass.cs new file mode 100644 index 00000000..6ce71fa8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/DataSetClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataSetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585537129913_814690_3218"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585537129913_814690_3218"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "DataSet"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DataSetClassProperties Properties { get; } = new DataSetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DataSetClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/DeviceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/DeviceClass.cs new file mode 100644 index 00000000..5e596411 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/DeviceClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeviceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585538379379_351959_4415"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585538379379_351959_4415"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Device"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1585538356205_946899_4347 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.InformationModel.ComponentClass); + + /// + public new DeviceClassProperties Properties { get; } = new DeviceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeviceClassProperties : Mtconnect.ReferenceAgentArchitecture.InformationModel.ComponentClass.ComponentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/EventClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/EventClass.cs new file mode 100644 index 00000000..4592d5b5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/EventClass.cs @@ -0,0 +1,151 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EventClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585536721919_58626_2853"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585536721919_58626_2853"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Event"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1585536700946_684682_2787 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.InformationModel.ObservationClass); + + /// + public new EventClassProperties Properties { get; } = new EventClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EventClassProperties : Mtconnect.ReferenceAgentArchitecture.InformationModel.ObservationClass.ObservationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasValue, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasValue + ///
+ public new HasValueProperty HasValue { get; } = new HasValueProperty(); + + ///  + /// + public new sealed class HasValueProperty : IProperty + { + /// Constant value for + public const string NAME = "hasValue"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TextValueClass + /// + public System.Type Type => typeof(Mtconnect.ReferenceAgentArchitecture.InformationModel.TextValueClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/NumericValueClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/NumericValueClass.cs new file mode 100644 index 00000000..8510dcf4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/NumericValueClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NumericValueClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585537604855_334365_3646"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585537604855_334365_3646"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "NumericValue"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1585537599100_825067_3613 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.InformationModel.TextValueClass); + + /// + public new NumericValueClassProperties Properties { get; } = new NumericValueClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class NumericValueClassProperties : Mtconnect.ReferenceAgentArchitecture.InformationModel.TextValueClass.TextValueClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ObservationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ObservationClass.cs new file mode 100644 index 00000000..7e6dc32e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ObservationClass.cs @@ -0,0 +1,146 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585536700946_684682_2787"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585536700946_684682_2787"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ObservationClassProperties Properties { get; } = new ObservationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ObservationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + HasValue, + }; + /// + ///
+ /// Original Name: HasValue + ///
+ public HasValueProperty HasValue { get; } = new HasValueProperty(); + + ///  + /// + public sealed class HasValueProperty : IProperty + { + /// Constant value for + public const string NAME = "hasValue"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ObservationValueClass + /// + public System.Type Type => typeof(Mtconnect.ReferenceAgentArchitecture.InformationModel.ObservationValueClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ObservationValueClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ObservationValueClass.cs new file mode 100644 index 00000000..6a2e53f4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ObservationValueClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservationValueClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585537591558_380255_3580"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585537591558_380255_3580"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "ObservationValue"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ObservationValueClassProperties Properties { get; } = new ObservationValueClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ObservationValueClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ReferenceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ReferenceClass.cs new file mode 100644 index 00000000..7ba22fb0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/ReferenceClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ReferenceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585538426333_936393_4537"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585538426333_936393_4537"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Reference"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ReferenceClassProperties Properties { get; } = new ReferenceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ReferenceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/SampleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/SampleClass.cs new file mode 100644 index 00000000..9e5cb5ff --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/SampleClass.cs @@ -0,0 +1,151 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SampleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585536710703_127812_2820"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585536710703_127812_2820"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Sample"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1585536700946_684682_2787 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.InformationModel.ObservationClass); + + /// + public new SampleClassProperties Properties { get; } = new SampleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SampleClassProperties : Mtconnect.ReferenceAgentArchitecture.InformationModel.ObservationClass.ObservationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasValue, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasValue + ///
+ public new HasValueProperty HasValue { get; } = new HasValueProperty(); + + ///  + /// + public new sealed class HasValueProperty : IProperty + { + /// Constant value for + public const string NAME = "hasValue"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: NumericValueClass + /// + public System.Type Type => typeof(Mtconnect.ReferenceAgentArchitecture.InformationModel.NumericValueClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/TableClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/TableClass.cs new file mode 100644 index 00000000..e984e07c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/TableClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TableClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585537769281_171822_3833"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585537769281_171822_3833"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Table"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1585537129913_814690_3218 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.InformationModel.DataSetClass); + + /// + public new TableClassProperties Properties { get; } = new TableClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TableClassProperties : Mtconnect.ReferenceAgentArchitecture.InformationModel.DataSetClass.DataSetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/TextValueClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/TextValueClass.cs new file mode 100644 index 00000000..960e6d3c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/TextValueClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TextValueClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585537599100_825067_3613"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585537599100_825067_3613"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "TextValue"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1585537591558_380255_3580 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.InformationModel.ObservationValueClass); + + /// + public new TextValueClassProperties Properties { get; } = new TextValueClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TextValueClassProperties : Mtconnect.ReferenceAgentArchitecture.InformationModel.ObservationValueClass.ObservationValueClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/TimeSeriesClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/TimeSeriesClass.cs new file mode 100644 index 00000000..e79561f9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModel/TimeSeriesClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.InformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TimeSeriesClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585537822355_792831_3893"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1585537822355_792831_3893"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "TimeSeries"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new TimeSeriesClassProperties Properties { get; } = new TimeSeriesClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class TimeSeriesClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/AssetInformationModelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/AssetInformationModelClass.cs new file mode 100644 index 00000000..ab2f1819 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/AssetInformationModelClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.InformationModelTerms +{ + /// information model that provides semantic models for Assets.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetInformationModelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375143_753891_1954"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375143_753891_1954"; + /// Constant value for + public const string SUMMARY = @" {{term(information model)}} that provides semantic models for {{termplural(Asset)}}. +"; + /// Constant value for + public const string NAME = "Asset Information Model"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375172_792733_2037 + /// + public Type Generalization => typeof(Mtconnect.Glossary.InformationModelTerms.MTConnectInformationModelGeneralization); + + /// + public new AssetInformationModelClassProperties Properties { get; } = new AssetInformationModelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AssetInformationModelClassProperties : Mtconnect.Glossary.InformationModelTerms.MTConnectInformationModelGeneralization.MTConnectInformationModelGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/DeviceInformationModelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/DeviceInformationModelClass.cs new file mode 100644 index 00000000..deab69e9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/DeviceInformationModelClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.InformationModelTerms +{ + /// information model that describes the physical and logical configuration for a piece of equipment and the data that may be reported by that equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeviceInformationModelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375156_601971_1981"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375156_601971_1981"; + /// Constant value for + public const string SUMMARY = @" {{term(information model)}} that describes the physical and logical configuration for a piece of equipment and the data that may be reported by that equipment. +"; + /// Constant value for + public const string NAME = "Device Information Model"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375172_792733_2037 + /// + public Type Generalization => typeof(Mtconnect.Glossary.InformationModelTerms.MTConnectInformationModelGeneralization); + + /// + public new DeviceInformationModelClassProperties Properties { get; } = new DeviceInformationModelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeviceInformationModelClassProperties : Mtconnect.Glossary.InformationModelTerms.MTConnectInformationModelGeneralization.MTConnectInformationModelGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/ErrorInformationModelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/ErrorInformationModelClass.cs new file mode 100644 index 00000000..59727f7a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/ErrorInformationModelClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.InformationModelTerms +{ + /// information model that describes the response document returned by an agent when it encounters an error while interpreting a request for information from a client or when an agent experiences an error while publishing the response to a request for information.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ErrorInformationModelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375159_827377_1990"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375159_827377_1990"; + /// Constant value for + public const string SUMMARY = @" {{term(information model)}} that describes the {{term(response document)}} returned by an {{term(agent)}} when it encounters an error while interpreting a {{term(request)}} for information from a {{term(client)}} or when an {{term(agent)}} experiences an error while publishing the {{term(response)}} to a {{term(request)}} for information. +"; + /// Constant value for + public const string NAME = "Error Information Model"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375172_792733_2037 + /// + public Type Generalization => typeof(Mtconnect.Glossary.InformationModelTerms.MTConnectInformationModelGeneralization); + + /// + public new ErrorInformationModelClassProperties Properties { get; } = new ErrorInformationModelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ErrorInformationModelClassProperties : Mtconnect.Glossary.InformationModelTerms.MTConnectInformationModelGeneralization.MTConnectInformationModelGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/MTConnectInformationModelGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/MTConnectInformationModelGeneralization.cs new file mode 100644 index 00000000..47681ebf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/MTConnectInformationModelGeneralization.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.InformationModelTerms +{ + /// information model that defines the semantics of the MTConnect Standard.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectInformationModelGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375172_792733_2037"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375172_792733_2037"; + /// Constant value for + public const string SUMMARY = @" {{term(information model)}} that defines the semantics of the MTConnect Standard. +"; + /// Constant value for + public const string NAME = "MTConnect Information Model"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375166_600079_2015 + /// + public Type Generalization => typeof(Mtconnect.Glossary.InformationModelClass); + + /// + public new MTConnectInformationModelGeneralizationProperties Properties { get; } = new MTConnectInformationModelGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MTConnectInformationModelGeneralizationProperties : Mtconnect.Glossary.InformationModelClass.InformationModelClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/ObservationInformationModelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/ObservationInformationModelClass.cs new file mode 100644 index 00000000..d73452d0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InformationModelTerms/ObservationInformationModelClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.InformationModelTerms +{ + /// information model that describes the streaming data reported by a piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservationInformationModelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375176_664425_2051"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375176_664425_2051"; + /// Constant value for + public const string SUMMARY = @" {{term(information model)}} that describes the {{term(streaming data)}} reported by a piece of equipment. +"; + /// Constant value for + public const string NAME = "Observation Information Model"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375172_792733_2037 + /// + public Type Generalization => typeof(Mtconnect.Glossary.InformationModelTerms.MTConnectInformationModelGeneralization); + + /// + public new ObservationInformationModelClassProperties Properties { get; } = new ObservationInformationModelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservationInformationModelClassProperties : Mtconnect.Glossary.InformationModelTerms.MTConnectInformationModelGeneralization.MTConnectInformationModelGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceInteractionModel/InterfaceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceInteractionModel/InterfaceClass.cs new file mode 100644 index 00000000..580d5b06 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceInteractionModel/InterfaceClass.cs @@ -0,0 +1,228 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel +{ + /// abstract Component that coordinates actions and activities between pieces of equipment.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class InterfaceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579572381996_964170_42252"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579572381996_964170_42252"; + /// Constant value for + public const string SUMMARY = @" abstract {{block(Component)}} that coordinates actions and activities between pieces of equipment. + +"; + /// Constant value for + public const string NAME = "Interface"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8548C620_467A_4f50_9A22_58D84B7E8779 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public new InterfaceClassProperties Properties { get; } = new InterfaceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class InterfaceClassProperties : Mtconnect.DeviceInformationModel.Components.ComponentGeneralization.ComponentGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + IsInterfaceOfPart, + ObservesInterfaceState, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: IsInterfaceOf + ///
+ public new IsInterfaceOfPartProperty IsInterfaceOfPart { get; } = new IsInterfaceOfPartProperty(); + + ///  + /// + public new sealed class IsInterfaceOfPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isInterfaceOf"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "InterfacesClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ObservesInterfaceState + ///
+ public new ObservesInterfaceStateProperty ObservesInterfaceState { get; } = new ObservesInterfaceStateProperty(); + + ///  + /// + public new sealed class ObservesInterfaceStateProperty : IProperty + { + /// Constant value for + public const string NAME = "observesInterfaceState"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: InterfaceStateClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface.InterfaceStateClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceInteractionModel/RequesterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceInteractionModel/RequesterClass.cs new file mode 100644 index 00000000..c85c60e9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceInteractionModel/RequesterClass.cs @@ -0,0 +1,86 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RequesterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622805783807_480004_607"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622805783807_480004_607"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Requester"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381996_964170_42252 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.InterfaceClass); + + /// + public new RequesterClassProperties Properties { get; } = new RequesterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RequesterClassProperties : Mtconnect.InterfaceInteractionModel.InterfaceClass.InterfaceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceInteractionModel/ResponderClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceInteractionModel/ResponderClass.cs new file mode 100644 index 00000000..ae090fcd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceInteractionModel/ResponderClass.cs @@ -0,0 +1,86 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ResponderClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622805797294_995075_652"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622805797294_995075_652"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Responder"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381996_964170_42252 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.InterfaceClass); + + /// + public new ResponderClassProperties Properties { get; } = new ResponderClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ResponderClassProperties : Mtconnect.InterfaceInteractionModel.InterfaceClass.InterfaceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/BarFeederInterfaceGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/BarFeederInterfaceGeneralization.cs new file mode 100644 index 00000000..eaf5a00a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/BarFeederInterfaceGeneralization.cs @@ -0,0 +1,89 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.InterfaceTypes +{ + /// Interface that coordinates the operations between a bar feeder and another piece of equipment.

Bar feeder is a piece of equipment that pushes bar stock (i.e., long pieces of material of various shapes) into an associated piece of equipment – most typically a lathe or turning center.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BarFeederInterfaceGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622717386025_755435_931"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622717386025_755435_931"; + /// Constant value for + public const string SUMMARY = @" {{block(Interface)}} that coordinates the operations between a bar feeder and another piece of equipment. + +Bar feeder is a piece of equipment that pushes bar stock (i.e., long pieces of material of various shapes) into an associated piece of equipment – most typically a lathe or turning center. +"; + /// Constant value for + public const string NAME = "BarFeederInterface"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381996_964170_42252 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.InterfaceClass); + + /// + public new BarFeederInterfaceGeneralizationProperties Properties { get; } = new BarFeederInterfaceGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BarFeederInterfaceGeneralizationProperties : Mtconnect.InterfaceInteractionModel.InterfaceClass.InterfaceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/ChuckInterfaceGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/ChuckInterfaceGeneralization.cs new file mode 100644 index 00000000..419bb3c7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/ChuckInterfaceGeneralization.cs @@ -0,0 +1,89 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.InterfaceTypes +{ + /// Interface that coordinates the operations between two pieces of equipment, one of which controls the operation of a chuck.

The piece of equipment that is controlling the chuck MUST provide the data item ChuckState as part of the set of information provided.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChuckInterfaceGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622717445425_648389_1075"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622717445425_648389_1075"; + /// Constant value for + public const string SUMMARY = @" {{block(Interface)}} that coordinates the operations between two pieces of equipment, one of which controls the operation of a chuck. + +The piece of equipment that is controlling the chuck **MUST** provide the data item {{block(ChuckState)}} as part of the set of information provided. +"; + /// Constant value for + public const string NAME = "ChuckInterface"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381996_964170_42252 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.InterfaceClass); + + /// + public new ChuckInterfaceGeneralizationProperties Properties { get; } = new ChuckInterfaceGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChuckInterfaceGeneralizationProperties : Mtconnect.InterfaceInteractionModel.InterfaceClass.InterfaceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/DoorInterfaceGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/DoorInterfaceGeneralization.cs new file mode 100644 index 00000000..9638d505 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/DoorInterfaceGeneralization.cs @@ -0,0 +1,89 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.InterfaceTypes +{ + /// Interface that coordinates the operations between two pieces of equipment, one of which controls the operation of a door.

The piece of equipment that is controlling the door MUST provide data item DoorState as part of the set of information provided.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DoorInterfaceGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622717425705_537671_1027"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622717425705_537671_1027"; + /// Constant value for + public const string SUMMARY = @" {{block(Interface)}} that coordinates the operations between two pieces of equipment, one of which controls the operation of a door. + +The piece of equipment that is controlling the door **MUST** provide data item {{block(DoorState)}} as part of the set of information provided. +"; + /// Constant value for + public const string NAME = "DoorInterface"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381996_964170_42252 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.InterfaceClass); + + /// + public new DoorInterfaceGeneralizationProperties Properties { get; } = new DoorInterfaceGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DoorInterfaceGeneralizationProperties : Mtconnect.InterfaceInteractionModel.InterfaceClass.InterfaceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/MaterialHandlerInterfaceGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/MaterialHandlerInterfaceGeneralization.cs new file mode 100644 index 00000000..ce72e159 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/InterfaceTypes/MaterialHandlerInterfaceGeneralization.cs @@ -0,0 +1,96 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.InterfaceTypes +{ + /// Interface that coordinates the operations between a piece of equipment and another associated piece of equipment used to automatically handle various types of materials or services associated with the original piece of equipment.

A material handler is a piece of equipment capable of providing any one, or more, of a variety of support services for another piece of equipment or a process like:

* Loading/unloading material or tooling
* Part inspection
* Testing
* Cleaning

A robot is a common example of a material handler.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialHandlerInterfaceGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622717400199_925921_979"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622717400199_925921_979"; + /// Constant value for + public const string SUMMARY = @" {{block(Interface)}} that coordinates the operations between a piece of equipment and another associated piece of equipment used to automatically handle various types of materials or services associated with the original piece of equipment. + +A material handler is a piece of equipment capable of providing any one, or more, of a variety of support services for another piece of equipment or a process like: + +* Loading/unloading material or tooling +* Part inspection +* Testing +* Cleaning + +A robot is a common example of a material handler. +"; + /// Constant value for + public const string NAME = "MaterialHandlerInterface"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579572381996_964170_42252 + /// + public Type Generalization => typeof(Mtconnect.InterfaceInteractionModel.InterfaceClass); + + /// + public new MaterialHandlerInterfaceGeneralizationProperties Properties { get; } = new MaterialHandlerInterfaceGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MaterialHandlerInterfaceGeneralizationProperties : Mtconnect.InterfaceInteractionModel.InterfaceClass.InterfaceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/KinematicsSimulation/Robot7axesClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/KinematicsSimulation/Robot7axesClass.cs new file mode 100644 index 00000000..2011f323 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/KinematicsSimulation/Robot7axesClass.cs @@ -0,0 +1,1126 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class Robot7axesClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582231560100_542213_121"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1582231560100_542213_121"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "robot7axes"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new Robot7axesClassProperties Properties { get; } = new Robot7axesClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class Robot7axesClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Joint1, + Joint2, + Joint3, + Joint4, + Joint5, + Joint6, + Joint7, + Position, + Angle1, + Angle2, + Angle3, + Angle4, + Angle5, + Angle6, + Angle7, + }; + /// + ///
+ /// Original Name: Joint1 + ///
+ public Joint1Property Joint1 { get; } = new Joint1Property(); + + ///  + /// + public sealed class Joint1Property : IProperty + { + /// Constant value for + public const string NAME = "joint1"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: OriginPropertyClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.OriginPropertyClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Joint2 + ///
+ public Joint2Property Joint2 { get; } = new Joint2Property(); + + ///  + /// + public sealed class Joint2Property : IProperty + { + /// Constant value for + public const string NAME = "joint2"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: OriginPropertyClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.OriginPropertyClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Joint3 + ///
+ public Joint3Property Joint3 { get; } = new Joint3Property(); + + ///  + /// + public sealed class Joint3Property : IProperty + { + /// Constant value for + public const string NAME = "joint3"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: OriginPropertyClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.OriginPropertyClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Joint4 + ///
+ public Joint4Property Joint4 { get; } = new Joint4Property(); + + ///  + /// + public sealed class Joint4Property : IProperty + { + /// Constant value for + public const string NAME = "joint4"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: OriginPropertyClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.OriginPropertyClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Joint5 + ///
+ public Joint5Property Joint5 { get; } = new Joint5Property(); + + ///  + /// + public sealed class Joint5Property : IProperty + { + /// Constant value for + public const string NAME = "joint5"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: OriginPropertyClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.OriginPropertyClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Joint6 + ///
+ public Joint6Property Joint6 { get; } = new Joint6Property(); + + ///  + /// + public sealed class Joint6Property : IProperty + { + /// Constant value for + public const string NAME = "joint6"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: OriginPropertyClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.OriginPropertyClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Joint7 + ///
+ public Joint7Property Joint7 { get; } = new Joint7Property(); + + ///  + /// + public sealed class Joint7Property : IProperty + { + /// Constant value for + public const string NAME = "joint7"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: OriginPropertyClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.OriginPropertyClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Position + ///
+ public PositionProperty Position { get; } = new PositionProperty(); + + ///  + /// + public sealed class PositionProperty : IProperty + { + /// Constant value for + public const string NAME = "Position"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PositionClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.PositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Angle1 + ///
+ public Angle1Property Angle1 { get; } = new Angle1Property(); + + ///  + /// + public sealed class Angle1Property : IProperty + { + /// Constant value for + public const string NAME = "angle1"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AngleClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.AngleClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Angle2 + ///
+ public Angle2Property Angle2 { get; } = new Angle2Property(); + + ///  + /// + public sealed class Angle2Property : IProperty + { + /// Constant value for + public const string NAME = "angle2"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AngleClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.AngleClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Angle3 + ///
+ public Angle3Property Angle3 { get; } = new Angle3Property(); + + ///  + /// + public sealed class Angle3Property : IProperty + { + /// Constant value for + public const string NAME = "angle3"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AngleClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.AngleClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Angle4 + ///
+ public Angle4Property Angle4 { get; } = new Angle4Property(); + + ///  + /// + public sealed class Angle4Property : IProperty + { + /// Constant value for + public const string NAME = "angle4"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AngleClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.AngleClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Angle5 + ///
+ public Angle5Property Angle5 { get; } = new Angle5Property(); + + ///  + /// + public sealed class Angle5Property : IProperty + { + /// Constant value for + public const string NAME = "angle5"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AngleClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.AngleClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Angle6 + ///
+ public Angle6Property Angle6 { get; } = new Angle6Property(); + + ///  + /// + public sealed class Angle6Property : IProperty + { + /// Constant value for + public const string NAME = "angle6"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AngleClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.AngleClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Angle7 + ///
+ public Angle7Property Angle7 { get; } = new Angle7Property(); + + ///  + /// + public sealed class Angle7Property : IProperty + { + /// Constant value for + public const string NAME = "angle7"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AngleClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.AngleClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectAssetsResponseDocument/HeaderClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectAssetsResponseDocument/HeaderClass.cs new file mode 100644 index 00000000..a7fdf738 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectAssetsResponseDocument/HeaderClass.cs @@ -0,0 +1,666 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Fundamentals.MTConnectProtocol.MTConnectAssetsResponseDocument +{ + /// provides information from an agent defining version information, storage capacity, and parameters associated with the data management within the agent.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HeaderClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_B6A102D0_7CF7_495e_816A_17AC11572B70"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_B6A102D0_7CF7_495e_816A_17AC11572B70"; + /// Constant value for + public const string SUMMARY = @" provides information from an {{term(agent)}} defining version information, storage capacity, and parameters associated with the data management within the {{term(agent)}}. +"; + /// Constant value for + public const string NAME = "Header"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HeaderClassProperties Properties { get; } = new HeaderClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HeaderClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + DeviceModelChangeTime, + AssetBufferSize, + AssetCount, + CreationTime, + InstanceId, + Sender, + TestIndicator, + Version, + }; + /// + ///
+ /// Original Name: DeviceModelChangeTime + ///
+ public DeviceModelChangeTimeProperty DeviceModelChangeTime { get; } = new DeviceModelChangeTimeProperty(); + + /// timestamp of the last update of the Device information for any device.


+ ///
+ public sealed class DeviceModelChangeTimeProperty : IProperty + { + /// Constant value for + public const string NAME = "deviceModelChangeTime"; + /// Constant value for + public const string SUMMARY = @" timestamp of the last update of the {{block(Device)}} information for any device. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: AssetBufferSize + ///
+ public AssetBufferSizeProperty AssetBufferSize { get; } = new AssetBufferSizeProperty(); + + /// maximum number of Asset types that can be stored in the agent that published the response document.

> Note: The implementer is responsible for allocating the appropriate amount of storage capacity required to accommodate the assetBufferSize in Header.



+ ///
+ public sealed class AssetBufferSizeProperty : IProperty + { + /// Constant value for + public const string NAME = "assetBufferSize"; + /// Constant value for + public const string SUMMARY = @" maximum number of {{block(Asset)}} types that can be stored in the {{term(agent)}} that published the {{term(response document)}}. + +> Note: The implementer is responsible for allocating the appropriate amount of storage capacity required to accommodate the {{property(Header::assetBufferSize)}}. + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt32 + /// + public System.Type Type => typeof(UInt32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: AssetCount + ///
+ public AssetCountProperty AssetCount { get; } = new AssetCountProperty(); + + /// current number of Asset that are currently stored in the agent as of the creationTime in Header that the agent published the response document.

assetCount in Header MUST NOT be larger than the value reported for assetBufferSize in Header.



+ ///
+ public sealed class AssetCountProperty : IProperty + { + /// Constant value for + public const string NAME = "assetCount"; + /// Constant value for + public const string SUMMARY = @" current number of {{block(Asset)}} that are currently stored in the {{term(agent)}} as of the {{property(Header::creationTime)}} that the {{term(agent)}} published the {{term(response document)}}. + +{{property(Header::assetCount)}} **MUST NOT** be larger than the value reported for {{property(Header::assetBufferSize)}}. + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt32 + /// + public System.Type Type => typeof(UInt32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CreationTime + ///
+ public CreationTimeProperty CreationTime { get; } = new CreationTimeProperty(); + + /// timestamp that an agent published the response document.


+ ///
+ public sealed class CreationTimeProperty : IProperty + { + /// Constant value for + public const string NAME = "creationTime"; + /// Constant value for + public const string SUMMARY = @" timestamp that an {{term(agent)}} published the {{term(response document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: InstanceId + ///
+ public InstanceIdProperty InstanceId { get; } = new InstanceIdProperty(); + + /// identifier for a specific instantiation of the buffer associated with the agent that published the response document.

instanceId in Header MUST be changed to a different unique number each time the buffer is cleared and a new set of data begins to be collected.


+ ///
+ public sealed class InstanceIdProperty : IProperty + { + /// Constant value for + public const string NAME = "instanceId"; + /// Constant value for + public const string SUMMARY = @" identifier for a specific instantiation of the {{term(buffer)}} associated with the {{term(agent)}} that published the {{term(response document)}}. + +{{property(Header::instanceId)}} **MUST** be changed to a different unique number each time the {{term(buffer)}} is cleared and a new set of data begins to be collected. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Sender + ///
+ public SenderProperty Sender { get; } = new SenderProperty(); + + /// identification defining where the agent that published the response document is installed or hosted.

sender in Header MUST be either an IP Address or Hostname describing where the agent is installed or the URL of the agent; e.g., http://<address>[:port]/.

> Note: The port number need not be specified if it is the default HTTP port 80.


+ ///
+ public sealed class SenderProperty : IProperty + { + /// Constant value for + public const string NAME = "sender"; + /// Constant value for + public const string SUMMARY = @" identification defining where the {{term(agent)}} that published the {{term(response document)}} is installed or hosted. + +{{property(Header::sender)}} **MUST** be either an IP Address or Hostname describing where the {{term(agent)}} is installed or the URL of the {{term(agent)}}; e.g., `http://
[:port]/`. + +> Note: The port number need not be specified if it is the default HTTP port 80. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: TestIndicator + ///
+ public TestIndicatorProperty TestIndicator { get; } = new TestIndicatorProperty(); + + /// indicates whether the agent that published the response document is operating in a test mode.

If testIndicator in Header is not specified, the value for testIndicator in Header MUST be interpreted to be false.


+ ///
+ public sealed class TestIndicatorProperty : IProperty + { + /// Constant value for + public const string NAME = "testIndicator"; + /// Constant value for + public const string SUMMARY = @" indicates whether the {{term(agent)}} that published the {{term(response document)}} is operating in a test mode. + +If {{property(Header::testIndicator)}} is not specified, the value for {{property(Header::testIndicator)}} **MUST** be interpreted to be `false`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Boolean + /// + public System.Type Type => typeof(Boolean); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Version + ///
+ public VersionProperty Version { get; } = new VersionProperty(); + + /// major, minor, and revision number of the MTConnect Standard that defines the semantic data model that represents the content of the response document. It also includes the revision number of the schema associated with that specific semantic data model.

As an example, the value reported for version in Header for a response document that was structured based on schema revision 10 associated with Version 1.4.0 of the MTConnect Standard would be: 1.4.0.10


+ ///
+ public sealed class VersionProperty : IProperty + { + /// Constant value for + public const string NAME = "version"; + /// Constant value for + public const string SUMMARY = @" {{term(major)}}, {{term(minor)}}, and {{term(revision)}} number of the MTConnect Standard that defines the {{term(semantic data model)}} that represents the content of the {{term(response document)}}. It also includes the revision number of the {{term(schema)}} associated with that specific {{term(semantic data model)}}. + +As an example, the value reported for {{property(Header::version)}} for a {{term(response document)}} that was structured based on {{term(schema)}} revision 10 associated with Version 1.4.0 of the MTConnect Standard would be: 1.4.0.10 +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectAssetsResponseDocument/MTConnectAssetsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectAssetsResponseDocument/MTConnectAssetsClass.cs new file mode 100644 index 00000000..3107a5b7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectAssetsResponseDocument/MTConnectAssetsClass.cs @@ -0,0 +1,226 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Fundamentals.MTConnectProtocol.MTConnectAssetsResponseDocument +{ + /// root entity of an MTConnectAssets Response Document that contains the Asset Information Model of Asset types.

![MTConnectAssets](figures/MTConnectAssets.png "MTConnectAssets"){: width="0.8"}

> Note: Additional properties of MTConnectAssets MAY be defined for schema and namespace declaration. See Schema and Namespace Declaration Information for an XML example.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectAssetsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_AD98C122_E276_4506_AD69_B82107CB3802"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_AD98C122_E276_4506_AD69_B82107CB3802"; + /// Constant value for + public const string SUMMARY = @" root entity of an {{term(MTConnectAssets Response Document)}} that contains the {{term(Asset Information Model)}} of {{block(Asset)}} types. + +![MTConnectAssets](figures/MTConnectAssets.png ""MTConnectAssets""){: width=""0.8""} + +> Note: Additional properties of {{block(MTConnectAssets)}} **MAY** be defined for schema and namespace declaration. See {{sect(Schema and Namespace Declaration Information)}} for an {{term(XML)}} example. +"; + /// Constant value for + public const string NAME = "MTConnectAssets"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MTConnectAssetsClassProperties Properties { get; } = new MTConnectAssetsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MTConnectAssetsClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + HasHeaderPart, + HasAssetPart, + }; + /// + ///
+ /// Original Name: HasHeader + ///
+ public HasHeaderPartProperty HasHeaderPart { get; } = new HasHeaderPartProperty(); + + ///  + /// + public sealed class HasHeaderPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasHeader"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Header"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: HeaderClass + /// + public System.Type Type => typeof(Mtconnect.Fundamentals.MTConnectProtocol.MTConnectAssetsResponseDocument.HeaderClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasAsset + ///
+ public HasAssetPartProperty HasAssetPart { get; } = new HasAssetPartProperty(); + + ///  + /// + public sealed class HasAssetPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasAsset"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Assets"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AssetClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.AssetClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectDevicesResponseDocument/AssetCountClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectDevicesResponseDocument/AssetCountClass.cs new file mode 100644 index 00000000..4a002be4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectDevicesResponseDocument/AssetCountClass.cs @@ -0,0 +1,155 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Fundamentals.MTConnectProtocol.MTConnectDevicesResponseDocument +{ + /// count of each asset type currently in the agent.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v1.4 + /// + /// + [Obsolete("Deprecated in v1.4 according to https://model.mtconnect.org/#_Version_1.4")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetCountClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643803275261_762583_709"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1643803275261_762583_709"; + /// Constant value for + public const string SUMMARY = @" count of each asset type currently in the {{term(agent)}}. +"; + /// Constant value for + public const string NAME = "AssetCount"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new AssetCountClassProperties Properties { get; } = new AssetCountClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class AssetCountClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + AssetType, + }; + /// + ///
+ /// Original Name: AssetType + ///
+ public AssetTypeProperty AssetType { get; } = new AssetTypeProperty(); + + /// type of Asset.


+ ///
+ public sealed class AssetTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "assetType"; + /// Constant value for + public const string SUMMARY = @" type of {{term(Asset)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectDevicesResponseDocument/HeaderClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectDevicesResponseDocument/HeaderClass.cs new file mode 100644 index 00000000..f72188a2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectDevicesResponseDocument/HeaderClass.cs @@ -0,0 +1,1053 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Fundamentals.MTConnectProtocol.MTConnectDevicesResponseDocument +{ + /// provides information from an agent defining version information, storage capacity, and parameters associated with the data management within the agent.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HeaderClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_08B1605D_39B4_4475_A436_A457B1D646A2"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_08B1605D_39B4_4475_A436_A457B1D646A2"; + /// Constant value for + public const string SUMMARY = @" provides information from an {{term(agent)}} defining version information, storage capacity, and parameters associated with the data management within the {{term(agent)}}. +"; + /// Constant value for + public const string NAME = "Header"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HeaderClassProperties Properties { get; } = new HeaderClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HeaderClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + AssetBufferSize, + AssetCount, + BufferSize, + CreationTime, + InstanceId, + Sender, + TestIndicator, + Version, + FirstSequence, + LastSequence, + NextSequence, + DeviceModelChangeTime, + HasAssetCountPart, + }; + /// + ///
+ /// Original Name: AssetBufferSize + ///
+ public AssetBufferSizeProperty AssetBufferSize { get; } = new AssetBufferSizeProperty(); + + /// maximum number of Asset types that can be stored in the agent that published the response document.

> Note: The implementer is responsible for allocating the appropriate amount of storage capacity required to accommodate the assetBufferSize in Header.



+ ///
+ public sealed class AssetBufferSizeProperty : IProperty + { + /// Constant value for + public const string NAME = "assetBufferSize"; + /// Constant value for + public const string SUMMARY = @" maximum number of {{block(Asset)}} types that can be stored in the {{term(agent)}} that published the {{term(response document)}}. + +> Note: The implementer is responsible for allocating the appropriate amount of storage capacity required to accommodate the {{property(Header::assetBufferSize)}}. + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt32 + /// + public System.Type Type => typeof(UInt32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: AssetCount + ///
+ public AssetCountProperty AssetCount { get; } = new AssetCountProperty(); + + /// current number of Asset that are currently stored in the agent as of the creationTime in Header that the agent published the response document.

assetCount in Header MUST NOT be larger than the value reported for assetBufferSize in Header.



+ ///
+ public sealed class AssetCountProperty : IProperty + { + /// Constant value for + public const string NAME = "assetCount"; + /// Constant value for + public const string SUMMARY = @" current number of {{block(Asset)}} that are currently stored in the {{term(agent)}} as of the {{property(Header::creationTime)}} that the {{term(agent)}} published the {{term(response document)}}. + +{{property(Header::assetCount)}} **MUST NOT** be larger than the value reported for {{property(Header::assetBufferSize)}}. + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt32 + /// + public System.Type Type => typeof(UInt32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: BufferSize + ///
+ public BufferSizeProperty BufferSize { get; } = new BufferSizeProperty(); + + /// maximum number of DataItems that MAY be retained in the agent that published the response document at any point in time.

> Note 1 to entry: bufferSize in Header represents the maximum number of sequence numbers that MAY be stored in the agent.

> Note 2 to entry: The implementer is responsible for allocating the appropriate amount of storage capacity required to accommodate the bufferSize in Header.



+ ///
+ public sealed class BufferSizeProperty : IProperty + { + /// Constant value for + public const string NAME = "bufferSize"; + /// Constant value for + public const string SUMMARY = @" maximum number of {{termplural(DataItem)}} that **MAY** be retained in the {{term(agent)}} that published the {{term(response document)}} at any point in time. + +> Note 1 to entry: {{property(Header::bufferSize)}} represents the maximum number of sequence numbers that **MAY** be stored in the {{term(agent)}}. + +> Note 2 to entry: The implementer is responsible for allocating the appropriate amount of storage capacity required to accommodate the {{property(Header::bufferSize)}}. + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt32 + /// + public System.Type Type => typeof(UInt32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CreationTime + ///
+ public CreationTimeProperty CreationTime { get; } = new CreationTimeProperty(); + + /// timestamp that an agent published the response document.


+ ///
+ public sealed class CreationTimeProperty : IProperty + { + /// Constant value for + public const string NAME = "creationTime"; + /// Constant value for + public const string SUMMARY = @" timestamp that an {{term(agent)}} published the {{term(response document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: InstanceId + ///
+ public InstanceIdProperty InstanceId { get; } = new InstanceIdProperty(); + + /// identifier for a specific instantiation of the buffer associated with the agent that published the response document.

instanceId in Header MUST be changed to a different unique number each time the buffer is cleared and a new set of data begins to be collected.


+ ///
+ public sealed class InstanceIdProperty : IProperty + { + /// Constant value for + public const string NAME = "instanceId"; + /// Constant value for + public const string SUMMARY = @" identifier for a specific instantiation of the {{term(buffer)}} associated with the {{term(agent)}} that published the {{term(response document)}}. + +{{property(Header::instanceId)}} **MUST** be changed to a different unique number each time the {{term(buffer)}} is cleared and a new set of data begins to be collected. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Sender + ///
+ public SenderProperty Sender { get; } = new SenderProperty(); + + /// identification defining where the agent that published the response document is installed or hosted.

sender in Header MUST be either an IP Address or Hostname describing where the agent is installed or the URL of the agent; e.g., http://<address>[:port]/.

> Note: The port number need not be specified if it is the default HTTP port 80.


+ ///
+ public sealed class SenderProperty : IProperty + { + /// Constant value for + public const string NAME = "sender"; + /// Constant value for + public const string SUMMARY = @" identification defining where the {{term(agent)}} that published the {{term(response document)}} is installed or hosted. + +{{property(Header::sender)}} **MUST** be either an IP Address or Hostname describing where the {{term(agent)}} is installed or the URL of the {{term(agent)}}; e.g., `http://
[:port]/`. + +> Note: The port number need not be specified if it is the default HTTP port 80. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: TestIndicator + ///
+ public TestIndicatorProperty TestIndicator { get; } = new TestIndicatorProperty(); + + /// indicates whether the agent that published the response document is operating in a test mode.

If testIndicator in Header is not specified, the value for testIndicator in Header MUST be interpreted to be false.


+ ///
+ public sealed class TestIndicatorProperty : IProperty + { + /// Constant value for + public const string NAME = "testIndicator"; + /// Constant value for + public const string SUMMARY = @" indicates whether the {{term(agent)}} that published the {{term(response document)}} is operating in a test mode. + +If {{property(Header::testIndicator)}} is not specified, the value for {{property(Header::testIndicator)}} **MUST** be interpreted to be `false`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Boolean + /// + public System.Type Type => typeof(Boolean); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Version + ///
+ public VersionProperty Version { get; } = new VersionProperty(); + + /// major, minor, and revision number of the MTConnect Standard that defines the semantic data model that represents the content of the response document. It also includes the revision number of the schema associated with that specific semantic data model.

As an example, the value reported for version in Header for a response document that was structured based on schema revision 10 associated with Version 1.4.0 of the MTConnect Standard would be: 1.4.0.10


+ ///
+ public sealed class VersionProperty : IProperty + { + /// Constant value for + public const string NAME = "version"; + /// Constant value for + public const string SUMMARY = @" {{term(major)}}, {{term(minor)}}, and {{term(revision)}} number of the MTConnect Standard that defines the {{term(semantic data model)}} that represents the content of the {{term(response document)}}. It also includes the revision number of the {{term(schema)}} associated with that specific {{term(semantic data model)}}. + +As an example, the value reported for {{property(Header::version)}} for a {{term(response document)}} that was structured based on {{term(schema)}} revision 10 associated with Version 1.4.0 of the MTConnect Standard would be: 1.4.0.10 +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: FirstSequence + ///
+ public FirstSequenceProperty FirstSequence { get; } = new FirstSequenceProperty(); + + /// sequence number assigned to the oldest piece of streaming data stored in the buffer of the agent immediately prior to the time that the agent published the response document.


+ ///
+ public sealed class FirstSequenceProperty : IProperty + { + /// Constant value for + public const string NAME = "firstSequence"; + /// Constant value for + public const string SUMMARY = @" {{term(sequence number)}} assigned to the oldest piece of {{term(streaming data)}} stored in the {{term(buffer)}} of the {{term(agent)}} immediately prior to the time that the {{term(agent)}} published the {{term(response document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LastSequence + ///
+ public LastSequenceProperty LastSequence { get; } = new LastSequenceProperty(); + + /// sequence number assigned to the last piece of streaming data that was added to the buffer of the agent immediately prior to the time that the agent published the response document.




+ ///
+ public sealed class LastSequenceProperty : IProperty + { + /// Constant value for + public const string NAME = "lastSequence"; + /// Constant value for + public const string SUMMARY = @" {{term(sequence number)}} assigned to the last piece of {{term(streaming data)}} that was added to the {{term(buffer)}} of the {{term(agent)}} immediately prior to the time that the {{term(agent)}} published the {{term(response document)}}. + + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NextSequence + ///
+ public NextSequenceProperty NextSequence { get; } = new NextSequenceProperty(); + + /// sequence number of the piece of streaming data that is the next piece of data to be retrieved from the buffer of the agent that was not included in the response document published by the agent.

If the streaming data included in the response document includes the last piece of data stored in the buffer of the agent at the time that the document was published, then the value reported for nextSequence in Header MUST be equal to lastSequence in Header + 1.


+ ///
+ public sealed class NextSequenceProperty : IProperty + { + /// Constant value for + public const string NAME = "nextSequence"; + /// Constant value for + public const string SUMMARY = @" {{term(sequence number)}} of the piece of {{term(streaming data)}} that is the next piece of data to be retrieved from the {{term(buffer)}} of the {{term(agent)}} that was not included in the {{term(response document)}} published by the {{term(agent)}}. + +If the {{term(streaming data)}} included in the {{term(response document)}} includes the last piece of data stored in the {{term(buffer)}} of the {{term(agent)}} at the time that the document was published, then the value reported for {{property(Header::nextSequence)}} **MUST** be equal to {{property(Header::lastSequence)}} + 1. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: DeviceModelChangeTime + ///
+ public DeviceModelChangeTimeProperty DeviceModelChangeTime { get; } = new DeviceModelChangeTimeProperty(); + + /// timestamp of the last update of the Device information for any device.


+ ///
+ public sealed class DeviceModelChangeTimeProperty : IProperty + { + /// Constant value for + public const string NAME = "deviceModelChangeTime"; + /// Constant value for + public const string SUMMARY = @" timestamp of the last update of the {{block(Device)}} information for any device. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasAssetCount + ///
+ public HasAssetCountPartProperty HasAssetCountPart { get; } = new HasAssetCountPartProperty(); + + ///  + /// + public sealed class HasAssetCountPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasAssetCount"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "AssetCounts"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AssetCountClass + /// + public System.Type Type => typeof(Mtconnect.Fundamentals.MTConnectProtocol.MTConnectDevicesResponseDocument.AssetCountClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + # region Rules + /// + /// Header + /// + /// Specification Language: Unspecified + public string Header => @"assetCount <= assetBufferSize"; + /* + assetCount <= assetBufferSize + */ + /// + /// Header2 + /// + /// Specification Language: Unspecified + public string Header2 => @"creationTime->size() = 1 and +creationTime.oclAsType(String).matches('([0-9]+)-([0-9]+)-([0-9]+)T([0-9]+):([0-9]+):([0-9.]+)Z|([0-9]+)-([0-9]+)-([0-9]+)T([0-9]+):([0-9]+):([0-9.]+)') and +deviceModelChangeTime->size() = 1 and +deviceModelChangeTime.oclAsType(String).matches('([0-9]+)-([0-9]+)-([0-9]+)T([0-9]+):([0-9]+):([0-9.]+)Z|([0-9]+)-([0-9]+)-([0-9]+)T([0-9]+):([0-9]+):([0-9.]+)') "; + /* + creationTime->size() = 1 and + creationTime.oclAsType(String).matches('([0-9]+)-([0-9]+)-([0-9]+)T([0-9]+):([0-9]+):([0-9.]+)Z|([0-9]+)-([0-9]+)-([0-9]+)T([0-9]+):([0-9]+):([0-9.]+)') and + deviceModelChangeTime->size() = 1 and + deviceModelChangeTime.oclAsType(String).matches('([0-9]+)-([0-9]+)-([0-9]+)T([0-9]+):([0-9]+):([0-9.]+)Z|([0-9]+)-([0-9]+)-([0-9]+)T([0-9]+):([0-9]+):([0-9.]+)') + */ + # endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectDevicesResponseDocument/MTConnectDevicesClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectDevicesResponseDocument/MTConnectDevicesClass.cs new file mode 100644 index 00000000..502a2d75 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectDevicesResponseDocument/MTConnectDevicesClass.cs @@ -0,0 +1,244 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Fundamentals.MTConnectProtocol.MTConnectDevicesResponseDocument +{ + /// root entity of an MTConnectDevices Response Document that contains the Device Information Model of one or more Device entities.

![MTConnectDevices](figures/MTConnectDevices.png "MTConnectDevices"){: width="0.8"}

> Note: Additional properties of MTConnectDevices MAY be defined for schema and namespace declaration. See Schema and Namespace Declaration Information for an XML example.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectDevicesClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_76BFE349_267B_45b3_B5FF_3C89D29AE715"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_76BFE349_267B_45b3_B5FF_3C89D29AE715"; + /// Constant value for + public const string SUMMARY = @" root entity of an {{term(MTConnectDevices Response Document)}} that contains the {{term(Device Information Model)}} of one or more {{block(Device)}} entities. + +![MTConnectDevices](figures/MTConnectDevices.png ""MTConnectDevices""){: width=""0.8""} + +> Note: Additional properties of {{block(MTConnectDevices)}} **MAY** be defined for schema and namespace declaration. See {{sect(Schema and Namespace Declaration Information)}} for an {{term(XML)}} example. +"; + /// Constant value for + public const string NAME = "MTConnectDevices"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MTConnectDevicesClassProperties Properties { get; } = new MTConnectDevicesClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MTConnectDevicesClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + HasHeaderPart, + HasDevicePart, + }; + /// + ///
+ /// Original Name: HasHeader + ///
+ public HasHeaderPartProperty HasHeaderPart { get; } = new HasHeaderPartProperty(); + + ///  + /// + public sealed class HasHeaderPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasHeader"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Header"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: HeaderClass + /// + public System.Type Type => typeof(Mtconnect.Fundamentals.MTConnectProtocol.MTConnectDevicesResponseDocument.HeaderClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasDevice + ///
+ public HasDevicePartProperty HasDevicePart { get; } = new HasDevicePartProperty(); + + ///  + /// + public sealed class HasDevicePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasDevice"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Devices"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + # region Rules + /// + /// MtconnectDevices1 + /// + /// Specification Language: Unspecified + public string MtconnectDevices1 => @"Components::Component::allInstances()->forAll(comp1, comp2 | comp1 <> comp2 implies comp1.id <> comp2.id and comp1.name <> comp2.name) and +DataItems::DataItem::allInstances()->forAll(di1, di2 | di1 <> di2 implies di1.id <> di2.id and di1.name <> di2.name) and +Components::Devices::Device::allInstances()->forAll(d1, d2 | d1 <> d2 implies d1.id <> d2.id and d1.name <> d2.name) and +Compositions::Composition::allInstances()->forAll(compn1, compn2 | compn1 <> compn2 implies compn1.id <> compn2.id and compn1.name <> compn2.name) + "; + /* + Components::Component::allInstances()->forAll(comp1, comp2 | comp1 <> comp2 implies comp1.id <> comp2.id and comp1.name <> comp2.name) and + DataItems::DataItem::allInstances()->forAll(di1, di2 | di1 <> di2 implies di1.id <> di2.id and di1.name <> di2.name) and + Components::Devices::Device::allInstances()->forAll(d1, d2 | d1 <> d2 implies d1.id <> d2.id and d1.name <> d2.name) and + Compositions::Composition::allInstances()->forAll(compn1, compn2 | compn1 <> compn2 implies compn1.id <> compn2.id and compn1.name <> compn2.name) + + */ + # endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectErrorsResponseDocument/ErrorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectErrorsResponseDocument/ErrorClass.cs new file mode 100644 index 00000000..58e529c4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectErrorsResponseDocument/ErrorClass.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Fundamentals.MTConnectProtocol.MTConnectErrorsResponseDocument +{ + /// error encountered by an agent when responding to a request.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ErrorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1579560710732_245440_6708"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1579560710732_245440_6708"; + /// Constant value for + public const string SUMMARY = @" error encountered by an {{term(agent)}} when responding to a {{term(request)}}. +"; + /// Constant value for + public const string NAME = "Error"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ErrorClassProperties Properties { get; } = new ErrorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ErrorClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + ErrorCode, + Value, + }; + /// + ///
+ /// Original Name: ErrorCode + ///
+ public ErrorCodeProperty ErrorCode { get; } = new ErrorCodeProperty(); + + /// descriptive code that indicates the type of error that was encountered by an agent.


+ ///
+ public sealed class ErrorCodeProperty : IProperty + { + /// Constant value for + public const string NAME = "errorCode"; + /// Constant value for + public const string SUMMARY = @" descriptive code that indicates the type of error that was encountered by an {{term(agent)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ErrorCodeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ErrorCodeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// textual description of the error and any additional information an agent is capable of providing regarding a specific error.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" textual description of the error and any additional information an {{term(agent)}} is capable of providing regarding a specific error. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectErrorsResponseDocument/HeaderClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectErrorsResponseDocument/HeaderClass.cs new file mode 100644 index 00000000..cb061e8b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectErrorsResponseDocument/HeaderClass.cs @@ -0,0 +1,811 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Fundamentals.MTConnectProtocol.MTConnectErrorsResponseDocument +{ + /// provides information from an agent defining version information, storage capacity, and parameters associated with the data management within the agent.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HeaderClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1579560593039_375117_6558"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1579560593039_375117_6558"; + /// Constant value for + public const string SUMMARY = @" provides information from an {{term(agent)}} defining version information, storage capacity, and parameters associated with the data management within the {{term(agent)}}. +"; + /// Constant value for + public const string NAME = "Header"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HeaderClassProperties Properties { get; } = new HeaderClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HeaderClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + BufferSize, + CreationTime, + InstanceId, + Sender, + TestIndicator, + Version, + FirstSequence, + LastSequence, + NextSequence, + DeviceModelChangeTime, + }; + /// + ///
+ /// Original Name: BufferSize + ///
+ public BufferSizeProperty BufferSize { get; } = new BufferSizeProperty(); + + /// maximum number of DataItems that MAY be retained in the agent that published the response document at any point in time.

> Note 1 to entry: bufferSize in Header represents the maximum number of sequence numbers that MAY be stored in the agent.

> Note 2 to entry: The implementer is responsible for allocating the appropriate amount of storage capacity required to accommodate the bufferSize in Header.



+ ///
+ public sealed class BufferSizeProperty : IProperty + { + /// Constant value for + public const string NAME = "bufferSize"; + /// Constant value for + public const string SUMMARY = @" maximum number of {{termplural(DataItem)}} that **MAY** be retained in the {{term(agent)}} that published the {{term(response document)}} at any point in time. + +> Note 1 to entry: {{property(Header::bufferSize)}} represents the maximum number of sequence numbers that **MAY** be stored in the {{term(agent)}}. + +> Note 2 to entry: The implementer is responsible for allocating the appropriate amount of storage capacity required to accommodate the {{property(Header::bufferSize)}}. + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt32 + /// + public System.Type Type => typeof(UInt32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CreationTime + ///
+ public CreationTimeProperty CreationTime { get; } = new CreationTimeProperty(); + + /// timestamp that an agent published the response document.


+ ///
+ public sealed class CreationTimeProperty : IProperty + { + /// Constant value for + public const string NAME = "creationTime"; + /// Constant value for + public const string SUMMARY = @" timestamp that an {{term(agent)}} published the {{term(response document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: InstanceId + ///
+ public InstanceIdProperty InstanceId { get; } = new InstanceIdProperty(); + + /// identifier for a specific instantiation of the buffer associated with the agent that published the response document.

instanceId in Header MUST be changed to a different unique number each time the buffer is cleared and a new set of data begins to be collected.


+ ///
+ public sealed class InstanceIdProperty : IProperty + { + /// Constant value for + public const string NAME = "instanceId"; + /// Constant value for + public const string SUMMARY = @" identifier for a specific instantiation of the {{term(buffer)}} associated with the {{term(agent)}} that published the {{term(response document)}}. + +{{property(Header::instanceId)}} **MUST** be changed to a different unique number each time the {{term(buffer)}} is cleared and a new set of data begins to be collected. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Sender + ///
+ public SenderProperty Sender { get; } = new SenderProperty(); + + /// identification defining where the agent that published the response document is installed or hosted.

sender in Header MUST be either an IP Address or Hostname describing where the agent is installed or the URL of the agent; e.g., http://<address>[:port]/.

> Note: The port number need not be specified if it is the default HTTP port 80.


+ ///
+ public sealed class SenderProperty : IProperty + { + /// Constant value for + public const string NAME = "sender"; + /// Constant value for + public const string SUMMARY = @" identification defining where the {{term(agent)}} that published the {{term(response document)}} is installed or hosted. + +{{property(Header::sender)}} **MUST** be either an IP Address or Hostname describing where the {{term(agent)}} is installed or the URL of the {{term(agent)}}; e.g., `http://
[:port]/`. + +> Note: The port number need not be specified if it is the default HTTP port 80. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: TestIndicator + ///
+ public TestIndicatorProperty TestIndicator { get; } = new TestIndicatorProperty(); + + /// indicates whether the agent that published the response document is operating in a test mode.

If testIndicator in Header is not specified, the value for testIndicator in Header MUST be interpreted to be false.


+ ///
+ public sealed class TestIndicatorProperty : IProperty + { + /// Constant value for + public const string NAME = "testIndicator"; + /// Constant value for + public const string SUMMARY = @" indicates whether the {{term(agent)}} that published the {{term(response document)}} is operating in a test mode. + +If {{property(Header::testIndicator)}} is not specified, the value for {{property(Header::testIndicator)}} **MUST** be interpreted to be `false`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Boolean + /// + public System.Type Type => typeof(Boolean); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Version + ///
+ public VersionProperty Version { get; } = new VersionProperty(); + + /// major, minor, and revision number of the MTConnect Standard that defines the semantic data model that represents the content of the response document. It also includes the revision number of the schema associated with that specific semantic data model.

As an example, the value reported for version in Header for a response document that was structured based on schema revision 10 associated with Version 1.4.0 of the MTConnect Standard would be: 1.4.0.10


+ ///
+ public sealed class VersionProperty : IProperty + { + /// Constant value for + public const string NAME = "version"; + /// Constant value for + public const string SUMMARY = @" {{term(major)}}, {{term(minor)}}, and {{term(revision)}} number of the MTConnect Standard that defines the {{term(semantic data model)}} that represents the content of the {{term(response document)}}. It also includes the revision number of the {{term(schema)}} associated with that specific {{term(semantic data model)}}. + +As an example, the value reported for {{property(Header::version)}} for a {{term(response document)}} that was structured based on {{term(schema)}} revision 10 associated with Version 1.4.0 of the MTConnect Standard would be: 1.4.0.10 +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: FirstSequence + ///
+ public FirstSequenceProperty FirstSequence { get; } = new FirstSequenceProperty(); + + /// sequence number assigned to the oldest piece of streaming data stored in the buffer of the agent immediately prior to the time that the agent published the response document.


+ ///
+ public sealed class FirstSequenceProperty : IProperty + { + /// Constant value for + public const string NAME = "firstSequence"; + /// Constant value for + public const string SUMMARY = @" {{term(sequence number)}} assigned to the oldest piece of {{term(streaming data)}} stored in the {{term(buffer)}} of the {{term(agent)}} immediately prior to the time that the {{term(agent)}} published the {{term(response document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LastSequence + ///
+ public LastSequenceProperty LastSequence { get; } = new LastSequenceProperty(); + + /// sequence number assigned to the last piece of streaming data that was added to the buffer of the agent immediately prior to the time that the agent published the response document.




+ ///
+ public sealed class LastSequenceProperty : IProperty + { + /// Constant value for + public const string NAME = "lastSequence"; + /// Constant value for + public const string SUMMARY = @" {{term(sequence number)}} assigned to the last piece of {{term(streaming data)}} that was added to the {{term(buffer)}} of the {{term(agent)}} immediately prior to the time that the {{term(agent)}} published the {{term(response document)}}. + + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NextSequence + ///
+ public NextSequenceProperty NextSequence { get; } = new NextSequenceProperty(); + + /// sequence number of the piece of streaming data that is the next piece of data to be retrieved from the buffer of the agent that was not included in the response document published by the agent.

If the streaming data included in the response document includes the last piece of data stored in the buffer of the agent at the time that the document was published, then the value reported for nextSequence in Header MUST be equal to lastSequence in Header + 1.


+ ///
+ public sealed class NextSequenceProperty : IProperty + { + /// Constant value for + public const string NAME = "nextSequence"; + /// Constant value for + public const string SUMMARY = @" {{term(sequence number)}} of the piece of {{term(streaming data)}} that is the next piece of data to be retrieved from the {{term(buffer)}} of the {{term(agent)}} that was not included in the {{term(response document)}} published by the {{term(agent)}}. + +If the {{term(streaming data)}} included in the {{term(response document)}} includes the last piece of data stored in the {{term(buffer)}} of the {{term(agent)}} at the time that the document was published, then the value reported for {{property(Header::nextSequence)}} **MUST** be equal to {{property(Header::lastSequence)}} + 1. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: DeviceModelChangeTime + ///
+ public DeviceModelChangeTimeProperty DeviceModelChangeTime { get; } = new DeviceModelChangeTimeProperty(); + + /// timestamp of the last update of the Device information for any device.


+ ///
+ public sealed class DeviceModelChangeTimeProperty : IProperty + { + /// Constant value for + public const string NAME = "deviceModelChangeTime"; + /// Constant value for + public const string SUMMARY = @" timestamp of the last update of the {{block(Device)}} information for any device. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectErrorsResponseDocument/MTConnectErrorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectErrorsResponseDocument/MTConnectErrorClass.cs new file mode 100644 index 00000000..0dbe73ba --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectErrorsResponseDocument/MTConnectErrorClass.cs @@ -0,0 +1,296 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Fundamentals.MTConnectProtocol.MTConnectErrorsResponseDocument +{ + /// root entity of an MTConnectErrors Response Document that contains the Error Information Model.

![MTConnectError](figures/MTConnectErrors.png "MTConnectError"){: width="0.8"}

> Note: Additional properties of MTConnectError MAY be defined for schema and namespace declaration. See Schema and Namespace Declaration Information for an XML example.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectErrorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1579560579030_994981_6548"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1579560579030_994981_6548"; + /// Constant value for + public const string SUMMARY = @" root entity of an {{term(MTConnectErrors Response Document)}} that contains the {{term(Error Information Model)}}. + +![MTConnectError](figures/MTConnectErrors.png ""MTConnectError""){: width=""0.8""} + +> Note: Additional properties of {{block(MTConnectError)}} **MAY** be defined for schema and namespace declaration. See {{sect(Schema and Namespace Declaration Information)}} for an {{term(XML)}} example. +"; + /// Constant value for + public const string NAME = "MTConnectError"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MTConnectErrorClassProperties Properties { get; } = new MTConnectErrorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MTConnectErrorClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + HasHeaderPart, + HasErrorPart, + ErrorPart, + }; + /// + ///
+ /// Original Name: HasHeader + ///
+ public HasHeaderPartProperty HasHeaderPart { get; } = new HasHeaderPartProperty(); + + ///  + /// + public sealed class HasHeaderPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasHeader"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Header"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: HeaderClass + /// + public System.Type Type => typeof(Mtconnect.Fundamentals.MTConnectProtocol.MTConnectErrorsResponseDocument.HeaderClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasError + ///
+ public HasErrorPartProperty HasErrorPart { get; } = new HasErrorPartProperty(); + + ///  + /// + public sealed class HasErrorPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasError"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Errors"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ErrorClass + /// + public System.Type Type => typeof(Mtconnect.Fundamentals.MTConnectProtocol.MTConnectErrorsResponseDocument.ErrorClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Error + ///
+ public ErrorPartProperty ErrorPart { get; } = new ErrorPartProperty(); + + ///  + /// + public sealed class ErrorPartProperty : IProperty + { + /// Constant value for + public const string NAME = "error"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Error"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ErrorClass + /// + public System.Type Type => typeof(Mtconnect.Fundamentals.MTConnectProtocol.MTConnectErrorsResponseDocument.ErrorClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectStreamsResponseDocument/HeaderClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectStreamsResponseDocument/HeaderClass.cs new file mode 100644 index 00000000..51254031 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectStreamsResponseDocument/HeaderClass.cs @@ -0,0 +1,811 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Fundamentals.MTConnectProtocol.MTConnectStreamsResponseDocument +{ + /// provides information from an agent defining version information, storage capacity, and parameters associated with the data management within the agent.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HeaderClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_2299B0B3_B209_47ae_B93A_BA694AD50051"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_2299B0B3_B209_47ae_B93A_BA694AD50051"; + /// Constant value for + public const string SUMMARY = @" provides information from an {{term(agent)}} defining version information, storage capacity, and parameters associated with the data management within the {{term(agent)}}. +"; + /// Constant value for + public const string NAME = "Header"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new HeaderClassProperties Properties { get; } = new HeaderClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class HeaderClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + FirstSequence, + LastSequence, + NextSequence, + Version, + TestIndicator, + Sender, + InstanceId, + CreationTime, + BufferSize, + DeviceModelChangeTime, + }; + /// + ///
+ /// Original Name: FirstSequence + ///
+ public FirstSequenceProperty FirstSequence { get; } = new FirstSequenceProperty(); + + /// sequence number assigned to the oldest piece of streaming data stored in the buffer of the agent immediately prior to the time that the agent published the response document.


+ ///
+ public sealed class FirstSequenceProperty : IProperty + { + /// Constant value for + public const string NAME = "firstSequence"; + /// Constant value for + public const string SUMMARY = @" {{term(sequence number)}} assigned to the oldest piece of {{term(streaming data)}} stored in the {{term(buffer)}} of the {{term(agent)}} immediately prior to the time that the {{term(agent)}} published the {{term(response document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LastSequence + ///
+ public LastSequenceProperty LastSequence { get; } = new LastSequenceProperty(); + + /// sequence number assigned to the last piece of streaming data that was added to the buffer of the agent immediately prior to the time that the agent published the response document.




+ ///
+ public sealed class LastSequenceProperty : IProperty + { + /// Constant value for + public const string NAME = "lastSequence"; + /// Constant value for + public const string SUMMARY = @" {{term(sequence number)}} assigned to the last piece of {{term(streaming data)}} that was added to the {{term(buffer)}} of the {{term(agent)}} immediately prior to the time that the {{term(agent)}} published the {{term(response document)}}. + + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NextSequence + ///
+ public NextSequenceProperty NextSequence { get; } = new NextSequenceProperty(); + + /// sequence number of the piece of streaming data that is the next piece of data to be retrieved from the buffer of the agent that was not included in the response document published by the agent.

If the streaming data included in the response document includes the last piece of data stored in the buffer of the agent at the time that the document was published, then the value reported for nextSequence in Header MUST be equal to lastSequence in Header + 1.


+ ///
+ public sealed class NextSequenceProperty : IProperty + { + /// Constant value for + public const string NAME = "nextSequence"; + /// Constant value for + public const string SUMMARY = @" {{term(sequence number)}} of the piece of {{term(streaming data)}} that is the next piece of data to be retrieved from the {{term(buffer)}} of the {{term(agent)}} that was not included in the {{term(response document)}} published by the {{term(agent)}}. + +If the {{term(streaming data)}} included in the {{term(response document)}} includes the last piece of data stored in the {{term(buffer)}} of the {{term(agent)}} at the time that the document was published, then the value reported for {{property(Header::nextSequence)}} **MUST** be equal to {{property(Header::lastSequence)}} + 1. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Version + ///
+ public VersionProperty Version { get; } = new VersionProperty(); + + /// major, minor, and revision number of the MTConnect Standard that defines the semantic data model that represents the content of the response document. It also includes the revision number of the schema associated with that specific semantic data model.

As an example, the value reported for version in Header for a response document that was structured based on schema revision 10 associated with Version 1.4.0 of the MTConnect Standard would be: 1.4.0.10


+ ///
+ public sealed class VersionProperty : IProperty + { + /// Constant value for + public const string NAME = "version"; + /// Constant value for + public const string SUMMARY = @" {{term(major)}}, {{term(minor)}}, and {{term(revision)}} number of the MTConnect Standard that defines the {{term(semantic data model)}} that represents the content of the {{term(response document)}}. It also includes the revision number of the {{term(schema)}} associated with that specific {{term(semantic data model)}}. + +As an example, the value reported for {{property(Header::version)}} for a {{term(response document)}} that was structured based on {{term(schema)}} revision 10 associated with Version 1.4.0 of the MTConnect Standard would be: 1.4.0.10 +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: TestIndicator + ///
+ public TestIndicatorProperty TestIndicator { get; } = new TestIndicatorProperty(); + + /// indicates whether the agent that published the response document is operating in a test mode.

If testIndicator in Header is not specified, the value for testIndicator in Header MUST be interpreted to be false.


+ ///
+ public sealed class TestIndicatorProperty : IProperty + { + /// Constant value for + public const string NAME = "testIndicator"; + /// Constant value for + public const string SUMMARY = @" indicates whether the {{term(agent)}} that published the {{term(response document)}} is operating in a test mode. + +If {{property(Header::testIndicator)}} is not specified, the value for {{property(Header::testIndicator)}} **MUST** be interpreted to be `false`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Boolean + /// + public System.Type Type => typeof(Boolean); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Sender + ///
+ public SenderProperty Sender { get; } = new SenderProperty(); + + /// identification defining where the agent that published the response document is installed or hosted.

sender in Header MUST be either an IP Address or Hostname describing where the agent is installed or the URL of the agent; e.g., http://<address>[:port]/.

> Note: The port number need not be specified if it is the default HTTP port 80.


+ ///
+ public sealed class SenderProperty : IProperty + { + /// Constant value for + public const string NAME = "sender"; + /// Constant value for + public const string SUMMARY = @" identification defining where the {{term(agent)}} that published the {{term(response document)}} is installed or hosted. + +{{property(Header::sender)}} **MUST** be either an IP Address or Hostname describing where the {{term(agent)}} is installed or the URL of the {{term(agent)}}; e.g., `http://
[:port]/`. + +> Note: The port number need not be specified if it is the default HTTP port 80. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: InstanceId + ///
+ public InstanceIdProperty InstanceId { get; } = new InstanceIdProperty(); + + /// identifier for a specific instantiation of the buffer associated with the agent that published the response document.

instanceId in Header MUST be changed to a different unique number each time the buffer is cleared and a new set of data begins to be collected.


+ ///
+ public sealed class InstanceIdProperty : IProperty + { + /// Constant value for + public const string NAME = "instanceId"; + /// Constant value for + public const string SUMMARY = @" identifier for a specific instantiation of the {{term(buffer)}} associated with the {{term(agent)}} that published the {{term(response document)}}. + +{{property(Header::instanceId)}} **MUST** be changed to a different unique number each time the {{term(buffer)}} is cleared and a new set of data begins to be collected. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CreationTime + ///
+ public CreationTimeProperty CreationTime { get; } = new CreationTimeProperty(); + + /// timestamp that an agent published the response document.


+ ///
+ public sealed class CreationTimeProperty : IProperty + { + /// Constant value for + public const string NAME = "creationTime"; + /// Constant value for + public const string SUMMARY = @" timestamp that an {{term(agent)}} published the {{term(response document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: BufferSize + ///
+ public BufferSizeProperty BufferSize { get; } = new BufferSizeProperty(); + + /// maximum number of DataItems that MAY be retained in the agent that published the response document at any point in time.

> Note 1 to entry: bufferSize in Header represents the maximum number of sequence numbers that MAY be stored in the agent.

> Note 2 to entry: The implementer is responsible for allocating the appropriate amount of storage capacity required to accommodate the bufferSize in Header.



+ ///
+ public sealed class BufferSizeProperty : IProperty + { + /// Constant value for + public const string NAME = "bufferSize"; + /// Constant value for + public const string SUMMARY = @" maximum number of {{termplural(DataItem)}} that **MAY** be retained in the {{term(agent)}} that published the {{term(response document)}} at any point in time. + +> Note 1 to entry: {{property(Header::bufferSize)}} represents the maximum number of sequence numbers that **MAY** be stored in the {{term(agent)}}. + +> Note 2 to entry: The implementer is responsible for allocating the appropriate amount of storage capacity required to accommodate the {{property(Header::bufferSize)}}. + +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt32 + /// + public System.Type Type => typeof(UInt32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: DeviceModelChangeTime + ///
+ public DeviceModelChangeTimeProperty DeviceModelChangeTime { get; } = new DeviceModelChangeTimeProperty(); + + /// timestamp of the last update of the Device information for any device.


+ ///
+ public sealed class DeviceModelChangeTimeProperty : IProperty + { + /// Constant value for + public const string NAME = "deviceModelChangeTime"; + /// Constant value for + public const string SUMMARY = @" timestamp of the last update of the {{block(Device)}} information for any device. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectStreamsResponseDocument/MTConnectStreamsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectStreamsResponseDocument/MTConnectStreamsClass.cs new file mode 100644 index 00000000..3b9a3511 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectStreamsResponseDocument/MTConnectStreamsClass.cs @@ -0,0 +1,226 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Fundamentals.MTConnectProtocol.MTConnectStreamsResponseDocument +{ + /// root entity of an MTConnectStreams Response Document that contains the Observation Information Model of one or more Device entities.

![MTConnectStreams](figures/MTConnectStreams.png "MTConnectStreams"){: width="0.8"}

> Note: Additional properties of MTConnectStreams MAY be defined for schema and namespace declaration. See Schema and Namespace Declaration Information for an XML example.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectStreamsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_156BB3E5_EB08_4e64_A874_6DDFC07D68CC"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_156BB3E5_EB08_4e64_A874_6DDFC07D68CC"; + /// Constant value for + public const string SUMMARY = @" root entity of an {{term(MTConnectStreams Response Document)}} that contains the {{term(Observation Information Model)}} of one or more {{block(Device)}} entities. + +![MTConnectStreams](figures/MTConnectStreams.png ""MTConnectStreams""){: width=""0.8""} + +> Note: Additional properties of {{block(MTConnectStreams)}} **MAY** be defined for schema and namespace declaration. See {{sect(Schema and Namespace Declaration Information)}} for an {{term(XML)}} example. +"; + /// Constant value for + public const string NAME = "MTConnectStreams"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MTConnectStreamsClassProperties Properties { get; } = new MTConnectStreamsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MTConnectStreamsClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + HasHeaderPart, + HasDeviceStreamPart, + }; + /// + ///
+ /// Original Name: HasHeader + ///
+ public HasHeaderPartProperty HasHeaderPart { get; } = new HasHeaderPartProperty(); + + ///  + /// + public sealed class HasHeaderPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasHeader"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Header"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: HeaderClass + /// + public System.Type Type => typeof(Mtconnect.Fundamentals.MTConnectProtocol.MTConnectStreamsResponseDocument.HeaderClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasDeviceStream + ///
+ public HasDeviceStreamPartProperty HasDeviceStreamPart { get; } = new HasDeviceStreamPartProperty(); + + ///  + /// + public sealed class HasDeviceStreamPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasDeviceStream"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Streams"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceStreamClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.DeviceStreamClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/AssetGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/AssetGeneralization.cs new file mode 100644 index 00000000..7a521734 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/AssetGeneralization.cs @@ -0,0 +1,160 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms +{ + /// asset that is used by the manufacturing process to perform tasks.

> Note 1 to entry: An Asset relies upon an Device to provide observations and information about itself and the Device revises the information to reflect changes to the Asset during their interaction. Examples of Assets are cutting tools, Part Information, Manufacturing Processes, Fixtures, and Files.

> Note 2 to entry: A singular assetId in Asset uniquely identifies an Asset throughout its lifecycle and is used to track and relate the Asset to other Devices and entities.

> Note 3 to entry: Assets are temporally associated with a device and can be removed from the device without damage or alteration to its primary functions.




+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581734255313_425984_984"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581734255313_425984_984"; + /// Constant value for + public const string SUMMARY = @" {{term(asset)}} that is used by the manufacturing process to perform tasks. + +> Note 1 to entry: An {{term(Asset)}} relies upon an {{term(Device)}} to provide {{termplural(observation)}} and information about itself and the {{term(Device)}} revises the information to reflect changes to the {{term(Asset)}} during their interaction. Examples of {{termplural(Asset)}} are cutting tools, Part Information, Manufacturing Processes, Fixtures, and Files. + +> Note 2 to entry: A singular {{property(Asset::assetId)}} uniquely identifies an {{term(Asset)}} throughout its lifecycle and is used to track and relate the {{term(Asset)}} to other {{termplural(Device)}} and entities. + +> Note 3 to entry: {{termplural(Asset)}} are temporally associated with a device and can be removed from the device without damage or alteration to its primary functions. + + +"; + /// Constant value for + public const string NAME = "Asset"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580561892811_529841_16867 + /// + public Type Generalization => typeof(Mtconnect.Glossary.IndustrialTerms.AssetClass); + + /// + public new AssetGeneralizationProperties Properties { get; } = new AssetGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AssetGeneralizationProperties : Mtconnect.Glossary.IndustrialTerms.AssetClass.AssetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + BelongsTo, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: BelongsTo + ///
+ public new BelongsToProperty BelongsTo { get; } = new BelongsToProperty(); + + ///  + /// + public new sealed class BelongsToProperty : IProperty + { + /// Constant value for + public const string NAME = "belongs to"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.MTConnectTerms.DeviceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/ComponentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/ComponentClass.cs new file mode 100644 index 00000000..2a54ba50 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/ComponentClass.cs @@ -0,0 +1,434 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms +{ + /// engineered system part of a Device composed of zero or more Components


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ComponentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581734537697_742151_1119"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581734537697_742151_1119"; + /// Constant value for + public const string SUMMARY = @" {{term(engineered system)}} part of a {{term(Device)}} composed of zero or more {{termplural(Component)}} +"; + /// Constant value for + public const string NAME = "Component"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581733974550_623533_615 + /// + public Type Generalization => typeof(Mtconnect.Glossary.IndustrialTerms.ThingClass); + + /// + public new ComponentClassProperties Properties { get; } = new ComponentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ComponentClassProperties : Mtconnect.Glossary.IndustrialTerms.ThingClass.ThingClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasComponent, + BelongsTo, + Observes, + HasConfiguration, + HasComposition, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasComponent + ///
+ public new HasComponentProperty HasComponent { get; } = new HasComponentProperty(); + + /// a component relationship that inheres other components.


+ ///
+ public new sealed class HasComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "has component"; + /// Constant value for + public const string SUMMARY = @" a component relationship that inheres other components. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.MTConnectTerms.ComponentClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: BelongsTo + ///
+ public new BelongsToProperty BelongsTo { get; } = new BelongsToProperty(); + + /// the owner of a component. a device may not belong to any other component.


+ ///
+ public new sealed class BelongsToProperty : IProperty + { + /// Constant value for + public const string NAME = "belongs to"; + /// Constant value for + public const string SUMMARY = @" the owner of a component. a device may not belong to any other component. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.MTConnectTerms.ComponentClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Observes + ///
+ public new ObservesProperty Observes { get; } = new ObservesProperty(); + + ///  + /// + public new sealed class ObservesProperty : IProperty + { + /// Constant value for + public const string NAME = "observes"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.MTConnectTerms.DataItemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasConfiguration + ///
+ public new HasConfigurationProperty HasConfiguration { get; } = new HasConfigurationProperty(); + + ///  + /// + public new sealed class HasConfigurationProperty : IProperty + { + /// Constant value for + public const string NAME = "has configuration"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ConfigurationGeneralization + /// + public System.Type Type => typeof(Mtconnect.Glossary.MTConnectTerms.ConfigurationGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComposition + ///
+ public new HasCompositionProperty HasComposition { get; } = new HasCompositionProperty(); + + ///  + /// + public new sealed class HasCompositionProperty : IProperty + { + /// Constant value for + public const string NAME = "has composition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CompositionClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.MTConnectTerms.CompositionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/CompositionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/CompositionClass.cs new file mode 100644 index 00000000..f05ee0cd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/CompositionClass.cs @@ -0,0 +1,152 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms +{ + /// Component belonging to a Component and not composed of any Components.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375147_715142_1964"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375147_715142_1964"; + /// Constant value for + public const string SUMMARY = @" {{term(Component)}} belonging to a {{term(Component)}} and not composed of any {{termplural(Component)}}. +"; + /// Constant value for + public const string NAME = "Composition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581734537697_742151_1119 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.ComponentClass); + + /// + public new CompositionClassProperties Properties { get; } = new CompositionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CompositionClassProperties : Mtconnect.Glossary.MTConnectTerms.ComponentClass.ComponentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + BelongsTo, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: BelongsTo + ///
+ public new BelongsToProperty BelongsTo { get; } = new BelongsToProperty(); + + ///  + /// + public new sealed class BelongsToProperty : IProperty + { + /// Constant value for + public const string NAME = "belongs to"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.MTConnectTerms.ComponentClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/ConfigurationGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/ConfigurationGeneralization.cs new file mode 100644 index 00000000..dc86ebf0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/ConfigurationGeneralization.cs @@ -0,0 +1,152 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms +{ + /// configuration for a Component


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConfigurationGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1635251403887_914466_345"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1635251403887_914466_345"; + /// Constant value for + public const string SUMMARY = @" {{term(configuration)}} for a {{term(Component)}} +"; + /// Constant value for + public const string NAME = "Configuration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581970391175_482710_6078 + /// + public Type Generalization => typeof(Mtconnect.Glossary.IndustrialTerms.ConfigurationClass); + + /// + public new ConfigurationGeneralizationProperties Properties { get; } = new ConfigurationGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ConfigurationGeneralizationProperties : Mtconnect.Glossary.IndustrialTerms.ConfigurationClass.ConfigurationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ConfigurationFor, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ConfigurationFor + ///
+ public new ConfigurationForProperty ConfigurationFor { get; } = new ConfigurationForProperty(); + + ///  + /// + public new sealed class ConfigurationForProperty : IProperty + { + /// Constant value for + public const string NAME = "configuration for"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.MTConnectTerms.ComponentClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/DataItemClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/DataItemClass.cs new file mode 100644 index 00000000..cf90716b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/DataItemClass.cs @@ -0,0 +1,152 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms +{ + /// observable observed by a Component that may make Observations


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataItemClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1635251889215_363828_393"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1635251889215_363828_393"; + /// Constant value for + public const string SUMMARY = @" {{term(observable)}} observed by a {{term(Component)}} that may make {{termplural(Observation)}} +"; + /// Constant value for + public const string NAME = "DataItem"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1629291153288_544363_79 + /// + public Type Generalization => typeof(Mtconnect.Glossary.IndustrialTerms.ObservableClass); + + /// + public new DataItemClassProperties Properties { get; } = new DataItemClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DataItemClassProperties : Mtconnect.Glossary.IndustrialTerms.ObservableClass.ObservableClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ObservedBy, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ObservedBy + ///
+ public new ObservedByProperty ObservedBy { get; } = new ObservedByProperty(); + + ///  + /// + public new sealed class ObservedByProperty : IProperty + { + /// Constant value for + public const string NAME = "observed by"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.MTConnectTerms.ComponentClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/DeviceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/DeviceClass.cs new file mode 100644 index 00000000..dfe51a57 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/DeviceClass.cs @@ -0,0 +1,152 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms +{ + /// Component not belonging to any Component that may have assets


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeviceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375171_197977_2034"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375171_197977_2034"; + /// Constant value for + public const string SUMMARY = @" {{term(Component)}} not belonging to any {{term(Component)}} that may have {{termplural(asset)}} +"; + /// Constant value for + public const string NAME = "Device"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581734537697_742151_1119 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.ComponentClass); + + /// + public new DeviceClassProperties Properties { get; } = new DeviceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeviceClassProperties : Mtconnect.Glossary.MTConnectTerms.ComponentClass.ComponentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasAsset, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasAsset + ///
+ public new HasAssetProperty HasAsset { get; } = new HasAssetProperty(); + + ///  + /// + public new sealed class HasAssetProperty : IProperty + { + /// Constant value for + public const string NAME = "has asset"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AssetGeneralization + /// + public System.Type Type => typeof(Mtconnect.Glossary.MTConnectTerms.AssetGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectAgentGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectAgentGeneralization.cs new file mode 100644 index 00000000..56dcc408 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectAgentGeneralization.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms +{ + /// agent for the MTConnect Information Model.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectAgentGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375170_484237_2032"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375170_484237_2032"; + /// Constant value for + public const string SUMMARY = @" {{term(agent)}} for the {{term(MTConnect Information Model)}}. +"; + /// Constant value for + public const string NAME = "MTConnect Agent"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375139_475436_1947 + /// + public Type Generalization => typeof(Mtconnect.Glossary.AgentClass); + + /// + public new MTConnectAgentGeneralizationProperties Properties { get; } = new MTConnectAgentGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MTConnectAgentGeneralizationProperties : Mtconnect.Glossary.AgentClass.AgentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectDocumentGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectDocumentGeneralization.cs new file mode 100644 index 00000000..700efe64 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectDocumentGeneralization.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms +{ + /// document that represents a Part(s) of the MTConnect Standard.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectDocumentGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375171_473670_2035"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375171_473670_2035"; + /// Constant value for + public const string SUMMARY = @" {{term(document)}} that represents a Part(s) of the MTConnect Standard. +"; + /// Constant value for + public const string NAME = "MTConnect Document"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375156_660396_1982 + /// + public Type Generalization => typeof(Mtconnect.Glossary.DocumentClass); + + /// + public new MTConnectDocumentGeneralizationProperties Properties { get; } = new MTConnectDocumentGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MTConnectDocumentGeneralizationProperties : Mtconnect.Glossary.DocumentClass.DocumentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectEventGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectEventGeneralization.cs new file mode 100644 index 00000000..ace469d4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectEventGeneralization.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms +{ + /// observation of either a state or discrete value of the Component.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectEventGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375172_390471_2036"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375172_390471_2036"; + /// Constant value for + public const string SUMMARY = @" {{term(observation)}} of either a state or discrete value of the {{term(Component)}}. +"; + /// Constant value for + public const string NAME = "MTConnect Event"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375159_408729_1991 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.EventClass); + + /// + public new MTConnectEventGeneralizationProperties Properties { get; } = new MTConnectEventGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MTConnectEventGeneralizationProperties : Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectInterfaceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectInterfaceClass.cs new file mode 100644 index 00000000..dbcaaf21 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/MTConnectInterfaceClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.MTConnectTerms +{ + /// interaction model for interoperability between pieces of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectInterfaceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375172_338577_2038"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375172_338577_2038"; + /// Constant value for + public const string SUMMARY = @" {{term(interaction model)}} for interoperability between pieces of equipment. +"; + /// Constant value for + public const string NAME = "MTConnect Interface"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MTConnectInterfaceClassProperties Properties { get; } = new MTConnectInterfaceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MTConnectInterfaceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/ObservationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/ObservationClass.cs new file mode 100644 index 00000000..cb484a9b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MTConnectTerms/ObservationClass.cs @@ -0,0 +1,152 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.MTConnectTerms +{ + /// observation that provides telemetry data for a DataItem.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581812901326_593856_4168"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581812901326_593856_4168"; + /// Constant value for + public const string SUMMARY = @" {{term(observation)}} that provides telemetry data for a {{term(DataItem)}}. +"; + /// Constant value for + public const string NAME = "Observation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581733974550_623533_615 + /// + public Type Generalization => typeof(Mtconnect.Glossary.IndustrialTerms.ThingClass); + + /// + public new ObservationClassProperties Properties { get; } = new ObservationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservationClassProperties : Mtconnect.Glossary.IndustrialTerms.ThingClass.ThingClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + MadeBy, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: MadeBy + ///
+ public new MadeByProperty MadeBy { get; } = new MadeByProperty(); + + ///  + /// + public new sealed class MadeByProperty : IProperty + { + /// Constant value for + public const string NAME = "made by"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EngineeredSystemClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.IndustrialTerms.EngineeredSystemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MachineMonitoring/MTConnectDeviceWithOperationalStatesClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MachineMonitoring/MTConnectDeviceWithOperationalStatesClass.cs new file mode 100644 index 00000000..942b7aac --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MachineMonitoring/MTConnectDeviceWithOperationalStatesClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.WIP_UseCases.MachineMonitoring +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectDeviceWithOperationalStatesClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1702401170734_512816_247"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1702401170734_512816_247"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "MTConnect Device with Operational States"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1620240839406_285612_1596 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public new MTConnectDeviceWithOperationalStatesClassProperties Properties { get; } = new MTConnectDeviceWithOperationalStatesClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MTConnectDeviceWithOperationalStatesClassProperties : Mtconnect.DeviceInformationModel.DeviceClass.DeviceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MachineMonitoring/ManufacturingEquipmentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MachineMonitoring/ManufacturingEquipmentClass.cs new file mode 100644 index 00000000..49f13d65 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/MachineMonitoring/ManufacturingEquipmentClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_UseCases.MachineMonitoring +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ManufacturingEquipmentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1701432130672_535436_68"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1701432130672_535436_68"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Manufacturing Equipment"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ManufacturingEquipmentClassProperties Properties { get; } = new ManufacturingEquipmentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ManufacturingEquipmentClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Motion/AxisClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Motion/AxisClass.cs new file mode 100644 index 00000000..ef23930a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Motion/AxisClass.cs @@ -0,0 +1,163 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Motion +{ + /// axis along or around which the Component moves relative to a coordinate system.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_7D0C7298_9CC4_4c45_A016_310B9A55DD7F"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_7D0C7298_9CC4_4c45_A016_310B9A55DD7F"; + /// Constant value for + public const string SUMMARY = @" axis along or around which the {{block(Component)}} moves relative to a coordinate system. +"; + /// Constant value for + public const string NAME = "Axis"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new AxisClassProperties Properties { get; } = new AxisClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class AxisClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// unit vector defining the axis of motion.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" unit vector defining the axis of motion. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + # region Rules + /// + /// Axis + /// + /// Specification Language: Unspecified + public string Axis => @"value->iterate(e:Real;sum:Real=0|sum+e*e) >= 0.9 and value->iterate(e:Real;sum:Real=0|sum+e*e) <= 1.1"; + /* + value->iterate(e:Real;sum:Real=0|sum+e*e) >= 0.9 and value->iterate(e:Real;sum:Real=0|sum+e*e) <= 1.1 + */ + # endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Motion/MotionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Motion/MotionClass.cs new file mode 100644 index 00000000..a2276792 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Motion/MotionClass.cs @@ -0,0 +1,722 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Motion +{ + /// movement of the component relative to a coordinate system.


Description

Motion specifies the kinematic chain of the component entities.

At most only one of Origin or Transformation MUST be defined for a Motion.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MotionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_1F084FBF_2AC7_41f6_8485_C356E6D7A9C1"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_1F084FBF_2AC7_41f6_8485_C356E6D7A9C1"; + /// Constant value for + public const string SUMMARY = @" movement of the component relative to a coordinate system. + Description {{block(Motion)}} specifies the kinematic chain of the {{block(component)}} entities. + +At most only one of {{block(Origin)}} or {{block(Transformation)}} **MUST** be defined for a {{block(Motion)}}. +"; + /// Constant value for + public const string NAME = "Motion"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MotionClassProperties Properties { get; } = new MotionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MotionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Actuation, + CoordinateSystemIdRef, + Id, + ParentIdRef, + Type, + HasAxisPart, + HasOriginPart, + HasTransformationPart, + HasDescriptionPart, + }; + /// + ///
+ /// Original Name: Actuation + ///
+ public ActuationProperty Actuation { get; } = new ActuationProperty(); + + /// describes if this component is actuated directly or indirectly as a result of other motion.


+ ///
+ public sealed class ActuationProperty : IProperty + { + /// Constant value for + public const string NAME = "actuation"; + /// Constant value for + public const string SUMMARY = @" describes if this component is actuated directly or indirectly as a result of other motion. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MotionActuationTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.MotionActuationTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CoordinateSystemIdRef + ///
+ public CoordinateSystemIdRefProperty CoordinateSystemIdRef { get; } = new CoordinateSystemIdRefProperty(); + + /// coordinate system within which the kinematic motion occurs.


+ ///
+ public sealed class CoordinateSystemIdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "coordinateSystemIdRef"; + /// Constant value for + public const string SUMMARY = @" coordinate system within which the kinematic motion occurs. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Id + ///
+ public IdProperty Id { get; } = new IdProperty(); + + /// unique identifier for this element.


+ ///
+ public sealed class IdProperty : IProperty + { + /// Constant value for + public const string NAME = "id"; + /// Constant value for + public const string SUMMARY = @" unique identifier for this element. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ParentIdRef + ///
+ public ParentIdRefProperty ParentIdRef { get; } = new ParentIdRefProperty(); + + /// pointer to the id in Motion.

The kinematic chain connects all components using the parent relations. All motion is connected to the motion of the parent. The first node in the chain will not have a parent.


+ ///
+ public sealed class ParentIdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "parentIdRef"; + /// Constant value for + public const string SUMMARY = @" pointer to the {{property(Motion::id)}}. + +The kinematic chain connects all components using the parent relations. All motion is connected to the motion of the parent. The first node in the chain will not have a parent. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// type of motion.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" type of motion. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MotionTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.MotionTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasAxis + ///
+ public HasAxisPartProperty HasAxisPart { get; } = new HasAxisPartProperty(); + + ///  + /// + public sealed class HasAxisPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasAxis"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Axis"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AxisClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Motion.AxisClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasOrigin + ///
+ public HasOriginPartProperty HasOriginPart { get; } = new HasOriginPartProperty(); + + ///  + /// + public sealed class HasOriginPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasOrigin"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Origin"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: OriginClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems.OriginClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasTransformation + ///
+ public HasTransformationPartProperty HasTransformationPart { get; } = new HasTransformationPartProperty(); + + ///  + /// + public sealed class HasTransformationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasTransformation"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Transformation"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TransformationClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems.TransformationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasDescription + ///
+ public HasDescriptionPartProperty HasDescriptionPart { get; } = new HasDescriptionPartProperty(); + + ///  + /// + public sealed class HasDescriptionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasDescription"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Description"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DescriptionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.DescriptionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/ComponentStreamClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/ComponentStreamClass.cs new file mode 100644 index 00000000..b0b3047c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/ComponentStreamClass.cs @@ -0,0 +1,730 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ObservationInformationModel +{ + /// organizes the data associated with each Component entity defined for a Device in the associated MTConnectDevices Response Document.


Description

At least one of Sample, Event, or Condition MUST be organized by a ComponentStream entity.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ComponentStreamClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_9057AAF9_4687_42be_BD2B_E2F18DF049DC"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_9057AAF9_4687_42be_BD2B_E2F18DF049DC"; + /// Constant value for + public const string SUMMARY = @" organizes the data associated with each {{block(Component)}} entity defined for a {{block(Device)}} in the associated {{term(MTConnectDevices Response Document)}}. + Description At least one of {{block(Sample)}}, {{block(Event)}}, or {{block(Condition)}} **MUST** be organized by a {{block(ComponentStream)}} entity. +"; + /// Constant value for + public const string NAME = "ComponentStream"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ComponentStreamClassProperties Properties { get; } = new ComponentStreamClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ComponentStreamClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Component, + ComponentId, + Name, + NativeName, + Uuid, + OrganizesEventPart, + OrganizesSamplePart, + OrganizesConditionPart, + IsOrganizerForPart, + }; + /// + ///
+ /// Original Name: Component + ///
+ public ComponentProperty Component { get; } = new ComponentProperty(); + + /// identifies the Component type associated with the ComponentStream.

Examples of component in ComponentStream are Device, Controller, Linear and Loader.


+ ///
+ public sealed class ComponentProperty : IProperty + { + /// Constant value for + public const string NAME = "component"; + /// Constant value for + public const string SUMMARY = @" identifies the {{block(Component)}} type associated with the {{block(ComponentStream)}}. + +Examples of {{property(ComponentStream::component)}} are {{block(Device)}}, {{block(Controller)}}, {{block(Linear)}} and {{block(Loader)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ComponentId + ///
+ public ComponentIdProperty ComponentId { get; } = new ComponentIdProperty(); + + /// identifier of the Component as defined by the id in Component in the MTConnectDevices Response Document.


+ ///
+ public sealed class ComponentIdProperty : IProperty + { + /// Constant value for + public const string NAME = "componentId"; + /// Constant value for + public const string SUMMARY = @" identifier of the {{block(Component)}} as defined by the {{property(Component::id)}} in the {{term(MTConnectDevices Response Document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// name of the Component associated with the ComponentStream.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of the {{block(Component)}} associated with the {{block(ComponentStream)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NativeName + ///
+ public NativeNameProperty NativeName { get; } = new NativeNameProperty(); + + /// common name of the Component associated with the ComponentStream.


+ ///
+ public sealed class NativeNameProperty : IProperty + { + /// Constant value for + public const string NAME = "nativeName"; + /// Constant value for + public const string SUMMARY = @" common name of the {{block(Component)}} associated with the {{block(ComponentStream)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Uuid + ///
+ public UuidProperty Uuid { get; } = new UuidProperty(); + + /// uuid of the Component associated with the ComponentStream.


+ ///
+ public sealed class UuidProperty : IProperty + { + /// Constant value for + public const string NAME = "uuid"; + /// Constant value for + public const string SUMMARY = @" uuid of the {{block(Component)}} associated with the {{block(ComponentStream)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: OrganizesEvent + ///
+ public OrganizesEventPartProperty OrganizesEventPart { get; } = new OrganizesEventPartProperty(); + + ///  + /// + public sealed class OrganizesEventPartProperty : IProperty + { + /// Constant value for + public const string NAME = "organizesEvent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "shared"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Events"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EventClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: OrganizesSample + ///
+ public OrganizesSamplePartProperty OrganizesSamplePart { get; } = new OrganizesSamplePartProperty(); + + ///  + /// + public sealed class OrganizesSamplePartProperty : IProperty + { + /// Constant value for + public const string NAME = "organizesSample"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "shared"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Samples"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SampleClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: OrganizesCondition + ///
+ public OrganizesConditionPartProperty OrganizesConditionPart { get; } = new OrganizesConditionPartProperty(); + + ///  + /// + public sealed class OrganizesConditionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "organizesCondition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "shared"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Conditions"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ConditionClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ConditionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: IsOrganizerFor + ///
+ public IsOrganizerForPartProperty IsOrganizerForPart { get; } = new IsOrganizerForPartProperty(); + + ///  + /// + public sealed class IsOrganizerForPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isOrganizerFor"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "ComponentStream"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + # region Rules + /// + /// ComponentStream1 + /// + /// Specification Language: Unspecified + public string ComponentStream1 => @"self.organizesEvent->size() <> 0 or self.organizesSample->size() <> 0 or self.organizesCondition->size() <> 0"; + /* + self.organizesEvent->size() <> 0 or self.organizesSample->size() <> 0 or self.organizesCondition->size() <> 0 + */ + # endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/ConditionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/ConditionClass.cs new file mode 100644 index 00000000..875a3a69 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/ConditionClass.cs @@ -0,0 +1,749 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel +{ + /// Observation that provides the condition of a piece of equipment or a Component.




Description

It provides the information and data reported from a piece of equipment with category in DataItem as CONDITION in the MTConnectDevices Response Document.

{{figure(Condition Example)}} shows Condition type examples for various state in Condition: Normal (dataItemId = path_system) and Warning (dataItemId = logic_cond). It also shows an example for when the state in Condition is not available (dataItemId = cont_system).

![Condition Example](figures/Condition%20Example.png "Condition Example"){: width="0.8"}

> Note: See {{lst(condition-example)}} for the XML representation of the same example.

The following Value Properties of Condition lists the additional and/or updated attributes for Condition.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConditionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579566531113_85883_25726"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579566531113_85883_25726"; + /// Constant value for + public const string SUMMARY = @" {{block(Observation)}} that provides the {{term(condition)}} of a piece of equipment or a {{term(Component)}}. + + + Description It provides the information and data reported from a piece of equipment with {{property(DataItem::category)}} as `CONDITION` in the {{term(MTConnectDevices Response Document)}}. + +{{figure(Condition Example)}} shows {{block(Condition)}} type examples for various {{property(Condition::state)}}: `Normal` (`dataItemId` = `path_system`) and `Warning` (`dataItemId` = `logic_cond`). It also shows an example for when the {{property(Condition::state)}} is not available (`dataItemId` = `cont_system`). + +![Condition Example](figures/Condition%20Example.png ""Condition Example""){: width=""0.8""} + +> Note: See {{lst(condition-example)}} for the {{term(XML)}} representation of the same example. + +The following {{sect(Value Properties of Condition)}} lists the additional and/or updated attributes for {{block(Condition)}}. +"; + /// Constant value for + public const string NAME = "Condition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47734_25731 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationGeneralization); + + /// + public new ConditionClassProperties Properties { get; } = new ConditionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ConditionClassProperties : Mtconnect.ObservationInformationModel.ObservationGeneralization.ObservationGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + NativeCode, + NativeSeverity, + Qualifier, + Statistic, + Xs_Lang, + OrganizedByComponentStreamPart, + State, + Type, + ConditionId, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: NativeCode + ///
+ public new NativeCodeProperty NativeCode { get; } = new NativeCodeProperty(); + + /// native code is the proprietary identifier designating a specific alarm, fault or warning code provided by the piece of equipment.


+ ///
+ public new sealed class NativeCodeProperty : IProperty + { + /// Constant value for + public const string NAME = "nativeCode"; + /// Constant value for + public const string SUMMARY = @" native code is the proprietary identifier designating a specific alarm, fault or warning code provided by the piece of equipment. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NativeSeverity + ///
+ public new NativeSeverityProperty NativeSeverity { get; } = new NativeSeverityProperty(); + + /// severity information to a client software application if the piece of equipment designates a severity level to a fault.


+ ///
+ public new sealed class NativeSeverityProperty : IProperty + { + /// Constant value for + public const string NAME = "nativeSeverity"; + /// Constant value for + public const string SUMMARY = @" severity information to a client software application if the piece of equipment designates a severity level to a fault. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Qualifier + ///
+ public new QualifierProperty Qualifier { get; } = new QualifierProperty(); + + /// additional information regarding a condition state associated with the measured value of a process variable.

qualifier in Condition defines whether the condition state represented indicates a measured value that is above or below an expected value of a process variable.


+ ///
+ public new sealed class QualifierProperty : IProperty + { + /// Constant value for + public const string NAME = "qualifier"; + /// Constant value for + public const string SUMMARY = @" additional information regarding a {{term(condition state)}} associated with the measured value of a process variable. + +{{property(Condition::qualifier)}} defines whether the {{term(condition state)}} represented indicates a measured value that is above or below an expected value of a process variable. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: QualifierEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.QualifierEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Statistic + ///
+ public new StatisticProperty Statistic { get; } = new StatisticProperty(); + + /// statistic in Condition provides additional information describing the meaning of the Condition entity.

statistic in Condition MUST match the statistic in DataItem defined in the MTConnectDevices Response Document.


+ ///
+ public new sealed class StatisticProperty : IProperty + { + /// Constant value for + public const string NAME = "statistic"; + /// Constant value for + public const string SUMMARY = @" {{property(Condition::statistic)}} provides additional information describing the meaning of the {{block(Condition)}} entity. + +{{property(Condition::statistic)}} **MUST** match the {{property(DataItem::statistic)}} defined in the {{term(MTConnectDevices Response Document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: StatisticEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.StatisticEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Xs:Lang + ///
+ public new Xs_LangProperty Xs_Lang { get; } = new Xs_LangProperty(); + + /// specifies the language of the result in Observation returned for the Condition.

See IETF RFC 4646 (http://www.ietf.org/rfc/rfc4646.txt).


+ ///
+ public new sealed class Xs_LangProperty : IProperty + { + /// Constant value for + public const string NAME = "xs:lang"; + /// Constant value for + public const string SUMMARY = @" specifies the language of the {{property(Observation::result)}} returned for the {{block(Condition)}}. + +See {{cite(IETF RFC 4646)}} (http://www.ietf.org/rfc/rfc4646.txt). +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: OrganizedByComponentStream + ///
+ public new OrganizedByComponentStreamPartProperty OrganizedByComponentStreamPart { get; } = new OrganizedByComponentStreamPartProperty(); + + ///  + /// + public new sealed class OrganizedByComponentStreamPartProperty : IProperty + { + /// Constant value for + public const string NAME = "organizedByComponentStream"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Conditions"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentStreamClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ComponentStreamClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: State + ///
+ public new StateProperty State { get; } = new StateProperty(); + + /// condition state of the piece of equipment or Component.


+ ///
+ public new sealed class StateProperty : IProperty + { + /// Constant value for + public const string NAME = "state"; + /// Constant value for + public const string SUMMARY = @" {{term(condition state)}} of the piece of equipment or {{block(Component)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ConditionStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ConditionStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ConditionEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ConditionEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ConditionId + ///
+ public new ConditionIdProperty ConditionId { get; } = new ConditionIdProperty(); + + /// identifier of an individual condition activation provided by a piece of equipment.

conditionId in Condition MUST be unique for all concurrent {{termpl(condition activation)}}.

conditionId in Condition MUST be maintained for all state transitions related to the same condition activation.

Multiple conditionId in Conditions MAY exist for the same {{property(nativeCode)}}.

If conditionId in Condition is not given, the value is the nativeCode in Condition. If nativeCode in Condition and conditionId in Condition are not given, conditionId in Condition MUST be generated.


+ ///
+ public new sealed class ConditionIdProperty : IProperty + { + /// Constant value for + public const string NAME = "conditionId"; + /// Constant value for + public const string SUMMARY = @" identifier of an individual {{term(condition activation)}} provided by a piece of equipment. + +{{property(Condition::conditionId)}} **MUST** be unique for all concurrent {{termpl(condition activation)}}. + +{{property(Condition::conditionId)}} **MUST** be maintained for all state transitions related to the same {{term(condition activation)}}. + +Multiple {{property(Condition::conditionId)}}s **MAY** exist for the same {{property(nativeCode)}}. + +If {{property(Condition::conditionId)}} is not given, the value is the {{property(Condition::nativeCode)}}. If {{property(Condition::nativeCode)}} and {{property(Condition::conditionId)}} are not given, {{property(Condition::conditionId)}} **MUST** be generated. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/DeviceStreamClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/DeviceStreamClass.cs new file mode 100644 index 00000000..f43a40af --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/DeviceStreamClass.cs @@ -0,0 +1,299 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ObservationInformationModel +{ + /// organizes data reported from a Device.


Description

DeviceStream MUST be provided for each Device reporting data in an MTConnectStreams Response Document.

If the response to the request for data from an agent does not contain any data for a specific Device, an empty DeviceStream entity MAY be created to indicate that the Device exists, but there was no data available.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeviceStreamClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_02192189_58E6_456c_A679_CDDFF559DA00"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_02192189_58E6_456c_A679_CDDFF559DA00"; + /// Constant value for + public const string SUMMARY = @" {{termplural(organize)}} data reported from a {{block(Device)}}. + Description {{block(DeviceStream)}} **MUST** be provided for each {{block(Device)}} reporting data in an {{term(MTConnectStreams Response Document)}}. + +If the response to the request for data from an {{term(agent)}} does not contain any data for a specific {{block(Device)}}, an empty {{block(DeviceStream)}} entity **MAY** be created to indicate that the {{block(Device)}} exists, but there was no data available. +"; + /// Constant value for + public const string NAME = "DeviceStream"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DeviceStreamClassProperties Properties { get; } = new DeviceStreamClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DeviceStreamClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Name, + Uuid, + HasComponentStreamPart, + }; + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// name of the Device.

The value reported for name in DeviceStream MUST be the same as the value defined for the name in Device in the MTConnectDevices Response Document.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of the {{block(Device)}}. + +The value reported for {{property(DeviceStream::name)}} **MUST** be the same as the value defined for the {{property(Device::name)}} in the {{term(MTConnectDevices Response Document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Uuid + ///
+ public UuidProperty Uuid { get; } = new UuidProperty(); + + /// uuid of the Device. The value reported for uuid in DeviceStream MUST be the same as the value defined for the uuid in Device of the same Device in the MTConnectDevices Response Document.


+ ///
+ public sealed class UuidProperty : IProperty + { + /// Constant value for + public const string NAME = "uuid"; + /// Constant value for + public const string SUMMARY = @" uuid of the {{block(Device)}}. The value reported for {{property(DeviceStream::uuid)}} **MUST** be the same as the value defined for the {{property(Device::uuid)}} of the same {{block(Device)}} in the {{term(MTConnectDevices Response Document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasComponentStream + ///
+ public HasComponentStreamPartProperty HasComponentStreamPart { get; } = new HasComponentStreamPartProperty(); + + ///  + /// + public sealed class HasComponentStreamPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasComponentStream"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "ComponentStream"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentStreamClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ComponentStreamClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/EventClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/EventClass.cs new file mode 100644 index 00000000..54624f8f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/EventClass.cs @@ -0,0 +1,311 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel +{ + /// Observation that is a discrete piece of information from a piece of equipment.



Description


It provides the information and data reported from a piece of equipment for those DataItem entities defined with category in DataItem as EVENT in the MTConnectDevices Response Document.

{{figure(Event Example)}} shows Event type examples. It also shows an example for when the result in Observation is not available (dataItemId=d1_asset_rem).

![Event Example](figures/Event%20Example.png "Event Example"){: width="0.8"}

> Note: See {{lst(event-example)}} for the XML representation of the same example.

The following Value Properties of Event lists the additional and/or updated attributes for Event.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EventClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579566531115_47447_25730"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579566531115_47447_25730"; + /// Constant value for + public const string SUMMARY = @" {{block(Observation)}} that is a discrete piece of information from a piece of equipment. + + Description +It provides the information and data reported from a piece of equipment for those {{block(DataItem)}} entities defined with {{property(DataItem::category)}} as `EVENT` in the {{term(MTConnectDevices Response Document)}}. + +{{figure(Event Example)}} shows {{block(Event)}} type examples. It also shows an example for when the {{property(Observation::result)}} is not available (`dataItemId`=`d1_asset_rem`). + +![Event Example](figures/Event%20Example.png ""Event Example""){: width=""0.8""} + +> Note: See {{lst(event-example)}} for the {{term(XML)}} representation of the same example. + +The following {{sect(Value Properties of Event)}} lists the additional and/or updated attributes for {{block(Event)}}. +"; + /// Constant value for + public const string NAME = "Event"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47734_25731 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationGeneralization); + + /// + public new EventClassProperties Properties { get; } = new EventClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EventClassProperties : Mtconnect.ObservationInformationModel.ObservationGeneralization.ObservationGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ResetTriggered, + OrganizedByComponentStreamPart, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: ResetTriggered + ///
+ public new ResetTriggeredProperty ResetTriggered { get; } = new ResetTriggeredProperty(); + + /// identifies when a reported value has been reset and what has caused that reset to occur for those DataItem entities that may be periodically reset to an initial value.

resetTriggered MUST only be provided for the specific occurrence of a DataItem reported in the MTConnectStreams Response Document when the reset occurred.


+ ///
+ public new sealed class ResetTriggeredProperty : IProperty + { + /// Constant value for + public const string NAME = "resetTriggered"; + /// Constant value for + public const string SUMMARY = @" identifies when a reported value has been reset and what has caused that reset to occur for those {{block(DataItem)}} entities that may be periodically reset to an initial value. + +`resetTriggered` **MUST** only be provided for the specific occurrence of a {{block(DataItem)}} reported in the {{term(MTConnectStreams Response Document)}} when the reset occurred. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResetTriggeredEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ResetTriggeredEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: OrganizedByComponentStream + ///
+ public new OrganizedByComponentStreamPartProperty OrganizedByComponentStreamPart { get; } = new OrganizedByComponentStreamPartProperty(); + + ///  + /// + public new sealed class OrganizedByComponentStreamPartProperty : IProperty + { + /// Constant value for + public const string NAME = "organizedByComponentStream"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Events"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentStreamClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ComponentStreamClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EventEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.EventEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/ObservationGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/ObservationGeneralization.cs new file mode 100644 index 00000000..2ec58d85 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/ObservationGeneralization.cs @@ -0,0 +1,1007 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel +{ + /// abstract entity that provides telemetry data for a DataItem at a point in time.


Description

![Observations](figures/Observations.png "Observations"){: width="0.8"}

> Note: See Observations Schema Diagrams for XML schema. The XML schema also shows differences in XML representation of certain MTConnect entities.

{{figure(DeviceStream Example)}} shows a complete example of DeviceStream for the Device shown in Device Information Model.

![DeviceStream Example](figures/DeviceStream%20Example.png "DeviceStream Example"){: width="0.8"}

> Note: See {{lst(devicestream-example)}} for the XML representation of the same example.


This section provides semantic information for the Observation model.

> Note: See Observations Schema Diagrams for XML schema of Observation types.

#### Observations made for DataItem

Component observes DataItem entities and creates Observation entities for the DataItem entities. See {{figure(Observations)}}.

Observation entities made by a Component are organized by a ComponentStream which is specifically created for that Component.

![Observations made for DataItem Example](figures/Observations%20made%20for%20DataItem%20Example.png "Observations made for DataItem Example"){: width="0.8"}

> Note: See Observations made for DataItem Example for how XML representation of the same example is separated into MTConnectDevices Response Document and MTConnectStreams Response Document.

{{figure(Observations made for DataItem Example)}} is a subset of {{figure(DeviceStream Example)}}. It shows an example of the association between a DataItem Event type (EMERGENCY_STOP) and an Observation Event type (EmergencyStop). See Naming Convention for Observation types.

{{figure(Observations made for DataItem Example)}} also shows example of the association between a Component type (Controller) and related ComponentStream.

#### Naming Convention for Observation types

The name of an Observation type MUST derive from the associated type in DataItem converted to Pascal-Case by removing underscores (_ ) and capitalizing each word. The conversion MUST NOT apply to the following abbreviated words: PH, AC, DC and URI. MTCONNECT MUST be converted to MTConnect. See {{figure(Observations made for DataItem Example)}} for an example.

The name of an Observation type reported in the MTConnectStreams Response Document is extended when the representation in DataItem is used to further describe that DataItem in the MTConnectDevices Response Document. See Representations for more details.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservationGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579566531115_47734_25731"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579566531115_47734_25731"; + /// Constant value for + public const string SUMMARY = @" abstract entity that provides telemetry data for a {{block(DataItem)}} at a point in time. + Description ![Observations](figures/Observations.png ""Observations""){: width=""0.8""} + +> Note: See {{sect(Observations Schema Diagrams)}} for XML schema. The XML schema also shows differences in XML representation of certain MTConnect entities. + +{{figure(DeviceStream Example)}} shows a complete example of {{block(DeviceStream)}} for the {{block(Device)}} shown in {{package(Device Information Model)}}. + +![DeviceStream Example](figures/DeviceStream%20Example.png ""DeviceStream Example""){: width=""0.8""} + +> Note: See {{lst(devicestream-example)}} for the {{term(XML)}} representation of the same example. + + +This section provides semantic information for the {{block(Observation)}} model. + +> Note: See {{sect(Observations Schema Diagrams)}} for XML schema of {{block(Observation)}} types. + +#### Observations made for DataItem + +{{block(Component)}} {{termplural(observe)}} {{block(DataItem)}} entities and creates {{block(Observation)}} entities for the {{block(DataItem)}} entities. See {{figure(Observations)}}. + +{{block(Observation)}} entities made by a {{block(Component)}} are organized by a {{block(ComponentStream)}} which is specifically created for that {{block(Component)}}. + +![Observations made for DataItem Example](figures/Observations%20made%20for%20DataItem%20Example.png ""Observations made for DataItem Example""){: width=""0.8""} + +> Note: See {{sect(Observations made for DataItem Example)}} for how XML representation of the same example is separated into {{term(MTConnectDevices Response Document)}} and {{term(MTConnectStreams Response Document)}}. + +{{figure(Observations made for DataItem Example)}} is a subset of {{figure(DeviceStream Example)}}. It shows an example of the association between a {{block(DataItem)}} {{block(Event)}} type (`EMERGENCY_STOP`) and an {{block(Observation)}} {{block(Event)}} type (`EmergencyStop`). See {{sect(Naming Convention for Observation types)}}. + +{{figure(Observations made for DataItem Example)}} also shows example of the association between a {{block(Component)}} type (`Controller`) and related {{block(ComponentStream)}}. + +#### Naming Convention for Observation types + +The name of an {{block(Observation)}} type **MUST** derive from the associated {{property(DataItem::type)}} converted to Pascal-Case by removing underscores (_ ) and capitalizing each word. The conversion **MUST NOT** apply to the following abbreviated words: `PH`, `AC`, `DC` and `URI`. `MTCONNECT` **MUST** be converted to `MTConnect`. See {{figure(Observations made for DataItem Example)}} for an example. + +The name of an {{block(Observation)}} type reported in the {{term(MTConnectStreams Response Document)}} is extended when the {{property(DataItem::representation)}} is used to further describe that {{block(DataItem)}} in the {{term(MTConnectDevices Response Document)}}. See {{package(Representations)}} for more details. +"; + /// Constant value for + public const string NAME = "Observation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1581812901326_593856_4168 + /// + public Type Generalization => typeof(Mtconnect.Glossary.MTConnectTerms.ObservationClass); + + /// + public new ObservationGeneralizationProperties Properties { get; } = new ObservationGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservationGeneralizationProperties : Mtconnect.Glossary.MTConnectTerms.ObservationClass.ObservationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + CompositionId, + DataItemId, + Name, + Sequence, + SubType, + Timestamp, + MadeByComponentPart, + Type, + Units, + IsUnavailable, + Result, + MadeForDataItemPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: CompositionId + ///
+ public new CompositionIdProperty CompositionId { get; } = new CompositionIdProperty(); + + /// identifier of the Composition entity defined in the MTConnectDevices Response Document associated with the data reported for the Observation.


+ ///
+ public new sealed class CompositionIdProperty : IProperty + { + /// Constant value for + public const string NAME = "compositionId"; + /// Constant value for + public const string SUMMARY = @" identifier of the {{block(Composition)}} entity defined in the {{term(MTConnectDevices Response Document)}} associated with the data reported for the {{block(Observation)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: DataItemId + ///
+ public new DataItemIdProperty DataItemId { get; } = new DataItemIdProperty(); + + /// unique identifier of the DataItem associated with this Observation.

dataItemId in Observation MUST match the associated id in DataItem defined in the MTConnectDevices Response Document.


+ ///
+ public new sealed class DataItemIdProperty : IProperty + { + /// Constant value for + public const string NAME = "dataItemId"; + /// Constant value for + public const string SUMMARY = @" unique identifier of the {{block(DataItem)}} associated with this {{block(Observation)}}. + +{{property(Observation::dataItemId)}} **MUST** match the associated {{property(DataItem::id)}} defined in the {{term(MTConnectDevices Response Document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + /// name of the DataItem associated with this Observation.

name in Observation MUST match the associated name in DataItem defined in the MTConnectDevices Response Document.


+ ///
+ public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of the {{block(DataItem)}} associated with this {{block(Observation)}}. + +{{property(Observation::name)}} **MUST** match the associated {{property(DataItem::name)}} defined in the {{term(MTConnectDevices Response Document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Sequence + ///
+ public new SequenceProperty Sequence { get; } = new SequenceProperty(); + + /// number representing the sequential position of an occurrence of an observation in the data buffer of an agent.

sequence in Observation MUST have a value represented as an unsigned 64-bit value from 1 to 2^{64}-1 .


+ ///
+ public new sealed class SequenceProperty : IProperty + { + /// Constant value for + public const string NAME = "sequence"; + /// Constant value for + public const string SUMMARY = @" number representing the sequential position of an occurrence of an {{term(observation)}} in the data buffer of an {{term(agent)}}. + +{{property(Observation::sequence)}} **MUST** have a value represented as an unsigned 64-bit value from 1 to $$ 2^{64}-1 $$. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + /// subtype of the DataItem associated with this Observation.

subType in Observation MUST match the associated subType in DataItem defined in the MTConnectDevices Response Document.


+ ///
+ public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @" subtype of the {{block(DataItem)}} associated with this {{block(Observation)}}. + +{{property(Observation::subType)}} **MUST** match the associated {{property(DataItem::subType)}} defined in the {{term(MTConnectDevices Response Document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Timestamp + ///
+ public new TimestampProperty Timestamp { get; } = new TimestampProperty(); + + /// most accurate time available to a piece of equipment that represents the point in time that the data reported was measured.


+ ///
+ public new sealed class TimestampProperty : IProperty + { + /// Constant value for + public const string NAME = "timestamp"; + /// Constant value for + public const string SUMMARY = @" most accurate time available to a piece of equipment that represents the point in time that the data reported was measured. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MadeByComponent + ///
+ public new MadeByComponentPartProperty MadeByComponentPart { get; } = new MadeByComponentPartProperty(); + + ///  + /// + public new sealed class MadeByComponentPartProperty : IProperty + { + /// Constant value for + public const string NAME = "madeByComponent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Observations"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + /// type of the DataItem associated with this Observation.

type in Observation MUST match the associated type in DataItem defined in the MTConnectDevices Response Document.


+ ///
+ public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" type of the {{block(DataItem)}} associated with this {{block(Observation)}}. + +{{property(Observation::type)}} **MUST** match the associated {{property(DataItem::type)}} defined in the {{term(MTConnectDevices Response Document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + /// units of the DataItem associated with this Observation.

units in Observation MUST match the associated units in DataItem defined in the MTConnectDevices Response Document.


+ ///
+ public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @" units of the {{block(DataItem)}} associated with this {{block(Observation)}}. + +{{property(Observation::units)}} **MUST** match the associated {{property(DataItem::units)}} defined in the {{term(MTConnectDevices Response Document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: IsUnavailable + ///
+ public new IsUnavailableProperty IsUnavailable { get; } = new IsUnavailableProperty(); + + /// when true, result in Observation is indeterminate.

> Note 1 to entry: In XML, when isUnavailable is true, the XML CDATA of the Observation MUST be UNAVAILABLE.
`xml
<Execution dataItemId="..." ...>UNAVAILABLE</Execution>
`

> Note 2 to entry: In JSON, when isUnavailable is true, the JSON value of the Observation MUST be UNAVAILABLE.
`json
"Execution" : [ { "dataItemId": "..." ..., "value": "UNAVAILABLE" } ]
`


+ ///
+ public new sealed class IsUnavailableProperty : IProperty + { + /// Constant value for + public const string NAME = "isUnavailable"; + /// Constant value for + public const string SUMMARY = @" when `true`, {{property(Observation::result)}} is indeterminate. + +> Note 1 to entry: In {{term(XML)}}, when `isUnavailable` is `true`, the {{term(XML)}} `CDATA` of the `Observation` **MUST** be `UNAVAILABLE`. + ```xml +UNAVAILABLE +``` + +> Note 2 to entry: In {{term(JSON)}}, when `isUnavailable` is `true`, the {{term(JSON)}} `value` of the `Observation` **MUST** be `UNAVAILABLE`. +```json + ""Execution"" : [ { ""dataItemId"": ""..."" ..., ""value"": ""UNAVAILABLE"" } ] +``` +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Boolean + /// + public System.Type Type => typeof(Boolean); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + /// observation of the Observation entity.

The default value type for result in Observation is string.

> Note 1 to entry: in XML the result in Observation is the CDATA of the Observation element.

~~~~xml
<Execution dataItemId="..." ...>READY</Execution>
~~~~

> Note 2 to entry: in JSON the result in Observation is the member value of the Observation object.

~~~~json
"Execution" : [ { "dataItemId": "..." ..., "value": "READY" } ]
~~~~


+ ///
+ public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @" {{term(observation)}} of the {{block(Observation)}} entity. + +The default value type for {{property(Observation::result)}} is `string`. + +> Note 1 to entry: in {{term(XML)}} the {{property(Observation::result)}} is the `CDATA` of the Observation {{term(element)}}. + +~~~~xml +READY +~~~~ + +> Note 2 to entry: in {{term(JSON)}} the {{property(Observation::result)}} is the member `value` of the Observation object. + +~~~~json +""Execution"" : [ { ""dataItemId"": ""..."" ..., ""value"": ""READY"" } ] +~~~~ +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MadeForDataItem + ///
+ public new MadeForDataItemPartProperty MadeForDataItemPart { get; } = new MadeForDataItemPartProperty(); + + ///  + /// + public new sealed class MadeForDataItemPartProperty : IProperty + { + /// Constant value for + public const string NAME = "madeForDataItem"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Observations"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.DataItemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/SampleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/SampleClass.cs new file mode 100644 index 00000000..d02813a3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ObservationInformationModel/SampleClass.cs @@ -0,0 +1,674 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel +{ + /// Observation that is continuously changing or analog data value.



Description


It provides the information and data reported from a piece of equipment for those DataItem entities defined with category in DataItem as SAMPLE in the MTConnectDevices Response Document.

Sample MUST always be reported in float.

{{figure(Sample Example)}} shows Sample type examples. It also shows an example for when the result in Observation is not available (dataItemId=cspeed).

![Sample Example](figures/Sample%20Example.png "Sample Example"){: width="0.8"}

> Note: See {{lst(sample-example)}} for the XML representation of the same example.

The following Value Properties of Sample lists the additional and/or updated attributes for Sample.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SampleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579566531116_175117_25733"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579566531116_175117_25733"; + /// Constant value for + public const string SUMMARY = @" {{block(Observation)}} that is continuously changing or analog data value. + + Description +It provides the information and data reported from a piece of equipment for those {{block(DataItem)}} entities defined with {{property(DataItem::category)}} as `SAMPLE` in the {{term(MTConnectDevices Response Document)}}. + +{{block(Sample)}} **MUST** always be reported in `float`. + +{{figure(Sample Example)}} shows {{block(Sample)}} type examples. It also shows an example for when the {{property(Observation::result)}} is not available (`dataItemId`=`cspeed`). + +![Sample Example](figures/Sample%20Example.png ""Sample Example""){: width=""0.8""} + +> Note: See {{lst(sample-example)}} for the {{term(XML)}} representation of the same example. + +The following {{sect(Value Properties of Sample)}} lists the additional and/or updated attributes for {{block(Sample)}}. +"; + /// Constant value for + public const string NAME = "Sample"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47734_25731 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationGeneralization); + + /// + public new SampleClassProperties Properties { get; } = new SampleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SampleClassProperties : Mtconnect.ObservationInformationModel.ObservationGeneralization.ObservationGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Duration, + ResetTriggered, + SampleRate, + Statistic, + OrganizedByComponentStreamPart, + Result, + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Duration + ///
+ public new DurationProperty Duration { get; } = new DurationProperty(); + + /// time-period over which the data was collected.

duration in Sample MUST be provided when the statistic in DataItem is defined in the MTConnectDevices Response Document.


+ ///
+ public new sealed class DurationProperty : IProperty + { + /// Constant value for + public const string NAME = "duration"; + /// Constant value for + public const string SUMMARY = @" time-period over which the data was collected. + +{{property(Sample::duration)}} **MUST** be provided when the {{property(DataItem::statistic)}} is defined in the {{term(MTConnectDevices Response Document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ResetTriggered + ///
+ public new ResetTriggeredProperty ResetTriggered { get; } = new ResetTriggeredProperty(); + + /// identifies when a reported value has been reset and what has caused that reset to occur for those DataItem entities that may be periodically reset to an initial value.

resetTriggered MUST only be provided for the specific occurrence of a DataItem reported in the MTConnectStreams Response Document when the reset occurred.


+ ///
+ public new sealed class ResetTriggeredProperty : IProperty + { + /// Constant value for + public const string NAME = "resetTriggered"; + /// Constant value for + public const string SUMMARY = @" identifies when a reported value has been reset and what has caused that reset to occur for those {{block(DataItem)}} entities that may be periodically reset to an initial value. + +`resetTriggered` **MUST** only be provided for the specific occurrence of a {{block(DataItem)}} reported in the {{term(MTConnectStreams Response Document)}} when the reset occurred. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResetTriggeredEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ResetTriggeredEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SampleRate + ///
+ public new SampleRateProperty SampleRate { get; } = new SampleRateProperty(); + + /// rate at which successive samples of the value are recorded.



Description

sampleRate in Sample is expressed in terms of samples per second.

If sampleRate in Sample is smaller than one, the number can be represented as a decimal type floating-point number. For example, a rate of 1 per 10 seconds would be 0.1 sampleRate in Sample MUST be provided when representation in DataItem defined in the MTConnectDevices Response Document is TIME_SERIES.

When representation in DataItem is not TIME_SERIES, it MUST be assumed that the data reported is represented by a single value and sampleRate in Sample MUST NOT be reported in the MTConnectStreams Response Document.




+ ///
+ public new sealed class SampleRateProperty : IProperty + { + /// Constant value for + public const string NAME = "sampleRate"; + /// Constant value for + public const string SUMMARY = @" rate at which successive samples of the value are recorded. + + Description {{property(Sample::sampleRate)}} is expressed in terms of samples per second. + +If {{property(Sample::sampleRate)}} is smaller than one, the number can be represented as a decimal type floating-point number. For example, a rate of 1 per 10 seconds would be 0.1 {{property(Sample::sampleRate)}} **MUST** be provided when {{property(DataItem::representation)}} defined in the {{term(MTConnectDevices Response Document)}} is `TIME_SERIES`. + +When {{property(DataItem::representation)}} is not `TIME_SERIES`, it **MUST** be assumed that the data reported is represented by a single value and {{property(Sample::sampleRate)}} **MUST NOT** be reported in the {{term(MTConnectStreams Response Document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Statistic + ///
+ public new StatisticProperty Statistic { get; } = new StatisticProperty(); + + /// type of statistical calculation defined by the statistic in DataItem defined in the MTConnectDevices Response Document.


+ ///
+ public new sealed class StatisticProperty : IProperty + { + /// Constant value for + public const string NAME = "statistic"; + /// Constant value for + public const string SUMMARY = @" type of statistical calculation defined by the {{property(DataItem::statistic)}} defined in the {{term(MTConnectDevices Response Document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: StatisticEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.StatisticEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: OrganizedByComponentStream + ///
+ public new OrganizedByComponentStreamPartProperty OrganizedByComponentStreamPart { get; } = new OrganizedByComponentStreamPartProperty(); + + ///  + /// + public new sealed class OrganizedByComponentStreamPartProperty : IProperty + { + /// Constant value for + public const string NAME = "organizedByComponentStream"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Samples"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentStreamClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ComponentStreamClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Parser/JsonParserClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Parser/JsonParserClass.cs new file mode 100644 index 00000000..632a796e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Parser/JsonParserClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.Parser +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class JsonParserClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1584929731081_108125_19274"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1584929731081_108125_19274"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "JsonParser"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new JsonParserClassProperties Properties { get; } = new JsonParserClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class JsonParserClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Parser/XmlParserClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Parser/XmlParserClass.cs new file mode 100644 index 00000000..82e251f6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Parser/XmlParserClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.Parser +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class XmlParserClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1584929719698_801680_19241"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1584929719698_801680_19241"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "XmlParser"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new XmlParserClassProperties Properties { get; } = new XmlParserClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class XmlParserClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/AssetCommandClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/AssetCommandClass.cs new file mode 100644 index 00000000..f1f66af5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/AssetCommandClass.cs @@ -0,0 +1,431 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetCommandClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674407471082_127917_768"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674407471082_127917_768"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "AssetCommand"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1674406425739_249387_380 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.TimestampedClass); + + /// + public new AssetCommandClassProperties Properties { get; } = new AssetCommandClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AssetCommandClassProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.TimestampedClass.TimestampedClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Name, + Source, + AssetId, + Type, + Device, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + ///  + /// + public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Source + ///
+ public new SourceProperty Source { get; } = new SourceProperty(); + + ///  + /// + public new sealed class SourceProperty : IProperty + { + /// Constant value for + public const string NAME = "source"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: AssetId + ///
+ public new AssetIdProperty AssetId { get; } = new AssetIdProperty(); + + ///  + /// + public new sealed class AssetIdProperty : IProperty + { + /// Constant value for + public const string NAME = "assetId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Device + ///
+ public new DeviceProperty Device { get; } = new DeviceProperty(); + + ///  + /// + public new sealed class DeviceProperty : IProperty + { + /// Constant value for + public const string NAME = "device"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/ConvertSampleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/ConvertSampleClass.cs new file mode 100644 index 00000000..7c2383ce --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/ConvertSampleClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConvertSampleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674414640162_550569_3845"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674414640162_550569_3845"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "ConvertSample"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1674413898061_196217_3470 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.TransformClass); + + /// + public new ConvertSampleClassProperties Properties { get; } = new ConvertSampleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ConvertSampleClassProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.TransformClass.TransformClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/DataMessageClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/DataMessageClass.cs new file mode 100644 index 00000000..17c5cfd9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/DataMessageClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataMessageClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674411368052_853509_3280"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674411368052_853509_3280"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "DataMessage"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1674410939127_88235_2773 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.PipelineMessageClass); + + /// + public new DataMessageClassProperties Properties { get; } = new DataMessageClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DataMessageClassProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.PipelineMessageClass.PipelineMessageClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/EntityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/EntityClass.cs new file mode 100644 index 00000000..42b85847 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/EntityClass.cs @@ -0,0 +1,216 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EntityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1673982182900_756304_302"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1673982182900_756304_302"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Entity"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new EntityClassProperties Properties { get; } = new EntityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class EntityClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Name, + Value, + }; + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + ///  + /// + public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/EntityNameGuardGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/EntityNameGuardGeneralization.cs new file mode 100644 index 00000000..f83e4e3e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/EntityNameGuardGeneralization.cs @@ -0,0 +1,151 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EntityNameGuardGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674414438419_20936_3728"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674414438419_20936_3728"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "EntityNameGuard"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1674414211400_186233_3570 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.GuardClass); + + /// + public new EntityNameGuardGeneralizationProperties Properties { get; } = new EntityNameGuardGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EntityNameGuardGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.GuardClass.GuardClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Name, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + ///  + /// + public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{Command}Class.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{Command}Class.cs new file mode 100644 index 00000000..05c44c9f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{Command}Class.cs @@ -0,0 +1,221 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class Entity_Command_Class : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1673981950631_889815_238"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1673981950631_889815_238"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Entity{Command}"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1673982182900_756304_302 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.EntityClass); + + /// + public new Entity_Command_ClassProperties Properties { get; } = new Entity_Command_ClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class Entity_Command_ClassProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.EntityClass.EntityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Name, + Source, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + ///  + /// + public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Source + ///
+ public new SourceProperty Source { get; } = new SourceProperty(); + + ///  + /// + public new sealed class SourceProperty : IProperty + { + /// Constant value for + public const string NAME = "source"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{ConnectionStatus}Class.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{ConnectionStatus}Class.cs new file mode 100644 index 00000000..3c977afd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{ConnectionStatus}Class.cs @@ -0,0 +1,221 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class Entity_ConnectionStatus_Class : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1673982843542_426445_629"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1673982843542_426445_629"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Entity{ConnectionStatus}"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1673982182900_756304_302 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.EntityClass); + + /// + public new Entity_ConnectionStatus_ClassProperties Properties { get; } = new Entity_ConnectionStatus_ClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class Entity_ConnectionStatus_ClassProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.EntityClass.EntityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Name, + Source, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + ///  + /// + public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Source + ///
+ public new SourceProperty Source { get; } = new SourceProperty(); + + ///  + /// + public new sealed class SourceProperty : IProperty + { + /// Constant value for + public const string NAME = "source"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{Data}Class.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{Data}Class.cs new file mode 100644 index 00000000..bfc3bd54 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{Data}Class.cs @@ -0,0 +1,221 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class Entity_Data_Class : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1673982139230_860585_299"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1673982139230_860585_299"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Entity{Data}"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1673982182900_756304_302 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.EntityClass); + + /// + public new Entity_Data_ClassProperties Properties { get; } = new Entity_Data_ClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class Entity_Data_ClassProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.EntityClass.EntityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Name, + Source, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + ///  + /// + public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Source + ///
+ public new SourceProperty Source { get; } = new SourceProperty(); + + ///  + /// + public new sealed class SourceProperty : IProperty + { + /// Constant value for + public const string NAME = "source"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{MClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{MClass.cs new file mode 100644 index 00000000..d60fb2b4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{MClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class Entity_MClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674410846099_700791_2747"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674410846099_700791_2747"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Entity{M"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new Entity_MClassProperties Properties { get; } = new Entity_MClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class Entity_MClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{Message}Class.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{Message}Class.cs new file mode 100644 index 00000000..2d51f5ab --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/Entity{Message}Class.cs @@ -0,0 +1,291 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class Entity_Message_Class : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1673982051125_363498_261"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1673982051125_363498_261"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Entity{Message}"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1673982182900_756304_302 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.EntityClass); + + /// + public new Entity_Message_ClassProperties Properties { get; } = new Entity_Message_ClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class Entity_Message_ClassProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.EntityClass.EntityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Name, + Sorce, + Topic, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + ///  + /// + public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Sorce + ///
+ public new SorceProperty Sorce { get; } = new SorceProperty(); + + ///  + /// + public new sealed class SorceProperty : IProperty + { + /// Constant value for + public const string NAME = "sorce"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Topic + ///
+ public new TopicProperty Topic { get; } = new TopicProperty(); + + ///  + /// + public new sealed class TopicProperty : IProperty + { + /// Constant value for + public const string NAME = "topic"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/ExactTypeGuardGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/ExactTypeGuardGeneralization.cs new file mode 100644 index 00000000..8cf0ae50 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/ExactTypeGuardGeneralization.cs @@ -0,0 +1,151 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ExactTypeGuardGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674414425870_899745_3683"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674414425870_899745_3683"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "ExactTypeGuard"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1674414211400_186233_3570 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.GuardClass); + + /// + public new ExactTypeGuardGeneralizationProperties Properties { get; } = new ExactTypeGuardGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ExactTypeGuardGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.GuardClass.GuardClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/GuardClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/GuardClass.cs new file mode 100644 index 00000000..d72f9efa --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/GuardClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class GuardClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674414211400_186233_3570"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674414211400_186233_3570"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Guard"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new GuardClassProperties Properties { get; } = new GuardClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class GuardClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/JsonMessageClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/JsonMessageClass.cs new file mode 100644 index 00000000..d0f49335 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/JsonMessageClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class JsonMessageClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674411346874_94899_3274"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674411346874_94899_3274"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "JsonMessage"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1674410939127_88235_2773 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.PipelineMessageClass); + + /// + public new JsonMessageClassProperties Properties { get; } = new JsonMessageClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class JsonMessageClassProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.PipelineMessageClass.PipelineMessageClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/LambdaGuardGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/LambdaGuardGeneralization.cs new file mode 100644 index 00000000..1cbb538b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/LambdaGuardGeneralization.cs @@ -0,0 +1,151 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LambdaGuardGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674414517415_840067_3791"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674414517415_840067_3791"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "LambdaGuard"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1674414211400_186233_3570 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.GuardClass); + + /// + public new LambdaGuardGeneralizationProperties Properties { get; } = new LambdaGuardGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LambdaGuardGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.GuardClass.GuardClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Lambda, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Lambda + ///
+ public new LambdaProperty Lambda { get; } = new LambdaProperty(); + + ///  + /// + public new sealed class LambdaProperty : IProperty + { + /// Constant value for + public const string NAME = "lambda"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/ObservationsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/ObservationsClass.cs new file mode 100644 index 00000000..2a6b5adc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/ObservationsClass.cs @@ -0,0 +1,151 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservationsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674406832907_5231_497"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674406832907_5231_497"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Observations"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1674406425739_249387_380 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.TimestampedClass); + + /// + public new ObservationsClassProperties Properties { get; } = new ObservationsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservationsClassProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.TimestampedClass.TimestampedClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Value, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Value + ///
+ public new ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public new sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "shared"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ObservationGeneralization + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/PipelineMessageClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/PipelineMessageClass.cs new file mode 100644 index 00000000..44d41568 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/PipelineMessageClass.cs @@ -0,0 +1,291 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PipelineMessageClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674410939127_88235_2773"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674410939127_88235_2773"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "PipelineMessage"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1673982182900_756304_302 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.EntityClass); + + /// + public new PipelineMessageClassProperties Properties { get; } = new PipelineMessageClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PipelineMessageClassProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.EntityClass.EntityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + DataItem, + Device, + Name, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: DataItem + ///
+ public new DataItemProperty DataItem { get; } = new DataItemProperty(); + + ///  + /// + public new sealed class DataItemProperty : IProperty + { + /// Constant value for + public const string NAME = "dataItem"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "shared"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.DataItemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Device + ///
+ public new DeviceProperty Device { get; } = new DeviceProperty(); + + ///  + /// + public new sealed class DeviceProperty : IProperty + { + /// Constant value for + public const string NAME = "device"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "shared"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DeviceClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + ///  + /// + public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TimestampedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TimestampedClass.cs new file mode 100644 index 00000000..2e9eabca --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TimestampedClass.cs @@ -0,0 +1,151 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TimestampedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674406425739_249387_380"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674406425739_249387_380"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Timestamped"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1674406002024_615828_206 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.TokensClass); + + /// + public new TimestampedClassProperties Properties { get; } = new TimestampedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TimestampedClassProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.TokensClass.TokensClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Timestamp, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Timestamp + ///
+ public new TimestampProperty Timestamp { get; } = new TimestampProperty(); + + ///  + /// + public new sealed class TimestampProperty : IProperty + { + /// Constant value for + public const string NAME = "timestamp"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TokensClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TokensClass.cs new file mode 100644 index 00000000..1824be87 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TokensClass.cs @@ -0,0 +1,291 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TokensClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674406002024_615828_206"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674406002024_615828_206"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Tokens"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1673982182900_756304_302 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.EntityClass); + + /// + public new TokensClassProperties Properties { get; } = new TokensClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TokensClassProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.EntityClass.EntityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Name, + Source, + Tokens, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + ///  + /// + public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Source + ///
+ public new SourceProperty Source { get; } = new SourceProperty(); + + ///  + /// + public new sealed class SourceProperty : IProperty + { + /// Constant value for + public const string NAME = "source"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Tokens + ///
+ public new TokensProperty Tokens { get; } = new TokensProperty(); + + ///  + /// + public new sealed class TokensProperty : IProperty + { + /// Constant value for + public const string NAME = "tokens"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TransformClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TransformClass.cs new file mode 100644 index 00000000..ba0bf482 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TransformClass.cs @@ -0,0 +1,216 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransformClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674413898061_196217_3470"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674413898061_196217_3470"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Transform"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new TransformClassProperties Properties { get; } = new TransformClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class TransformClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Guard, + Next, + }; + /// + ///
+ /// Original Name: Guard + ///
+ public GuardProperty Guard { get; } = new GuardProperty(); + + ///  + /// + public sealed class GuardProperty : IProperty + { + /// Constant value for + public const string NAME = "guard"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: GuardClass + /// + public System.Type Type => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.GuardClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Next + ///
+ public NextProperty Next { get; } = new NextProperty(); + + ///  + /// + public sealed class NextProperty : IProperty + { + /// Constant value for + public const string NAME = "next"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TransformClass + /// + public System.Type Type => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.TransformClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TypeGuardGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TypeGuardGeneralization.cs new file mode 100644 index 00000000..3def2b8b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Pipelines/TypeGuardGeneralization.cs @@ -0,0 +1,151 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TypeGuardGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674414404246_737265_3635"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1674414404246_737265_3635"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "TypeGuard"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1674414211400_186233_3570 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.Pipelines.GuardClass); + + /// + public new TypeGuardGeneralizationProperties Properties { get; } = new TypeGuardGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TypeGuardGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.Pipelines.GuardClass.GuardClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PowerSource/MTConnectDeviceWithPowerSourceConfigClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PowerSource/MTConnectDeviceWithPowerSourceConfigClass.cs new file mode 100644 index 00000000..bf14bb4f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PowerSource/MTConnectDeviceWithPowerSourceConfigClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.WIP_UseCases.PowerSource +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectDeviceWithPowerSourceConfigClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1702476998744_640693_407"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1702476998744_640693_407"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "MTConnect Device with Power Source Config"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1620240839406_285612_1596 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.DeviceClass); + + /// + public new MTConnectDeviceWithPowerSourceConfigClassProperties Properties { get; } = new MTConnectDeviceWithPowerSourceConfigClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MTConnectDeviceWithPowerSourceConfigClassProperties : Mtconnect.DeviceInformationModel.DeviceClass.DeviceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PowerSource/ManufacturingEquipmentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PowerSource/ManufacturingEquipmentClass.cs new file mode 100644 index 00000000..329c0747 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PowerSource/ManufacturingEquipmentClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_UseCases.PowerSource +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ManufacturingEquipmentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1702476411508_18625_155"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1702476411508_18625_155"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Manufacturing Equipment"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ManufacturingEquipmentClassProperties Properties { get; } = new ManufacturingEquipmentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ManufacturingEquipmentClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PowerSources/PowerSourceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PowerSources/PowerSourceClass.cs new file mode 100644 index 00000000..d527f242 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PowerSources/PowerSourceClass.cs @@ -0,0 +1,437 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.PowerSources +{ + /// potential energy sources for the Component.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PowerSourceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1696870815347_556704_3251"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1696870815347_556704_3251"; + /// Constant value for + public const string SUMMARY = @" potential energy sources for the {{block(Component)}}. +"; + /// Constant value for + public const string NAME = "PowerSource"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new PowerSourceClassProperties Properties { get; } = new PowerSourceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class PowerSourceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Type, + Id, + ComponentIdRef, + Order, + Value, + }; + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// type of the power source.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" type of the power source. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PowerSourceTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.PowerSourceTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Id + ///
+ public IdProperty Id { get; } = new IdProperty(); + + /// unique identifier for the power source.


+ ///
+ public sealed class IdProperty : IProperty + { + /// Constant value for + public const string NAME = "id"; + /// Constant value for + public const string SUMMARY = @" unique identifier for the power source. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ComponentIdRef + ///
+ public ComponentIdRefProperty ComponentIdRef { get; } = new ComponentIdRefProperty(); + + /// reference to the Component providing observations about the power source.


+ ///
+ public sealed class ComponentIdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "componentIdRef"; + /// Constant value for + public const string SUMMARY = @" reference to the {{block(Component)}} providing observations about the power source. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Order + ///
+ public OrderProperty Order { get; } = new OrderProperty(); + + /// optional precedence for a given power source.


+ ///
+ public sealed class OrderProperty : IProperty + { + /// Constant value for + public const string NAME = "order"; + /// Constant value for + public const string SUMMARY = @" optional precedence for a given power source. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// name of the power source.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" name of the power source. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Printer/JsonPrinterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Printer/JsonPrinterClass.cs new file mode 100644 index 00000000..afa05068 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Printer/JsonPrinterClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.Printer +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class JsonPrinterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1584929176756_384747_18559"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1584929176756_384747_18559"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "JsonPrinter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new JsonPrinterClassProperties Properties { get; } = new JsonPrinterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class JsonPrinterClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Printer/XmlPrinterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Printer/XmlPrinterClass.cs new file mode 100644 index 00000000..6d6b9f5c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Printer/XmlPrinterClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.Printer +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class XmlPrinterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1584929161140_966607_18514"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1584929161140_966607_18514"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "XmlPrinter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new XmlPrinterClassProperties Properties { get; } = new XmlPrinterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class XmlPrinterClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/ConstraintsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/ConstraintsClass.cs new file mode 100644 index 00000000..f6caa80e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/ConstraintsClass.cs @@ -0,0 +1,442 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem +{ + /// organizes a set of expected values that can be reported for a DataItem.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConstraintsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_E6F955EB_46CA_4c72_B547_8F4465A9620A"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_E6F955EB_46CA_4c72_B547_8F4465A9620A"; + /// Constant value for + public const string SUMMARY = @" {{termplural(organize)}} a set of expected values that can be reported for a {{block(DataItem)}}. +"; + /// Constant value for + public const string NAME = "Constraints"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ConstraintsClassProperties Properties { get; } = new ConstraintsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ConstraintsClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Maximum, + Minimum, + Nominal, + Value, + HasFilterPart, + }; + /// + ///
+ /// Original Name: Maximum + ///
+ public MaximumProperty Maximum { get; } = new MaximumProperty(); + + /// numeric upper constraint.


If the data reported for a data item is a range of numeric values, the expected value reported MAY be described with an upper limit defined by this constraint.


+ ///
+ public sealed class MaximumProperty : IProperty + { + /// Constant value for + public const string NAME = "Maximum"; + /// Constant value for + public const string SUMMARY = @" numeric upper constraint. + +If the data reported for a data item is a range of numeric values, the expected value reported **MAY** be described with an upper limit defined by this constraint. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Minimum + ///
+ public MinimumProperty Minimum { get; } = new MinimumProperty(); + + /// numeric lower constraint.

If the data reported for a data item is a range of numeric values, the expected value reported MAY be described with a lower limit defined by this constraint.


+ ///
+ public sealed class MinimumProperty : IProperty + { + /// Constant value for + public const string NAME = "Minimum"; + /// Constant value for + public const string SUMMARY = @" numeric lower constraint. + +If the data reported for a data item is a range of numeric values, the expected value reported **MAY** be described with a lower limit defined by this constraint. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Nominal + ///
+ public NominalProperty Nominal { get; } = new NominalProperty(); + + /// numeric target or expected value.


+ ///
+ public sealed class NominalProperty : IProperty + { + /// Constant value for + public const string NAME = "Nominal"; + /// Constant value for + public const string SUMMARY = @" numeric target or expected value. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// single data value that is expected to be reported for a DataItem.

Value in Constraints MUST NOT be used in conjunction with any other Constraint elements.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "Value"; + /// Constant value for + public const string SUMMARY = @" single data value that is expected to be reported for a {{block(DataItem)}}. + +{{property(Constraints::Value)}} **MUST NOT** be used in conjunction with any other {{block(Constraint)}} elements. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasFilter + ///
+ public HasFilterPartProperty HasFilterPart { get; } = new HasFilterPartProperty(); + + ///  + /// + public sealed class HasFilterPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasFilter"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Filter"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: FilterClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.FilterClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/DefinitionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/DefinitionClass.cs new file mode 100644 index 00000000..6fccd1e8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/DefinitionClass.cs @@ -0,0 +1,292 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem +{ + /// defines the meaning of Entry and Cell entities when the associated representation in DataItem is either DATA_SET or TABLE.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DefinitionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581433165009_756087_158"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581433165009_756087_158"; + /// Constant value for + public const string SUMMARY = @" defines the meaning of {{block(Entry)}} and {{block(Cell)}} entities when the associated {{property(DataItem::representation)}} is either `DATA_SET` or `TABLE`. +"; + /// Constant value for + public const string NAME = "Definition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DefinitionClassProperties Properties { get; } = new DefinitionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DefinitionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + HasCellDefinitionPart, + HasDescriptionPart, + HasEntryDefinitionPart, + }; + /// + ///
+ /// Original Name: HasCellDefinition + ///
+ public HasCellDefinitionPartProperty HasCellDefinitionPart { get; } = new HasCellDefinitionPartProperty(); + + ///  + /// + public sealed class HasCellDefinitionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCellDefinition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "CellDefinitions"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CellDefinitionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.PropertiesOfDefinition.CellDefinitionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasDescription + ///
+ public HasDescriptionPartProperty HasDescriptionPart { get; } = new HasDescriptionPartProperty(); + + ///  + /// + public sealed class HasDescriptionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasDescription"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Description"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DescriptionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.DescriptionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasEntryDefinition + ///
+ public HasEntryDefinitionPartProperty HasEntryDefinitionPart { get; } = new HasEntryDefinitionPartProperty(); + + ///  + /// + public sealed class HasEntryDefinitionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasEntryDefinition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "EntryDefinitions"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EntryDefinitionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.PropertiesOfDefinition.EntryDefinitionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/FilterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/FilterClass.cs new file mode 100644 index 00000000..f49d024d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/FilterClass.cs @@ -0,0 +1,223 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem +{ + /// provides a means to control when an agent records updated information for a DataItem.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FilterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_8A5219C3_747D_4904_A58A_A312D13DAEE9"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_8A5219C3_747D_4904_A58A_A312D13DAEE9"; + /// Constant value for + public const string SUMMARY = @" provides a means to control when an {{term(agent)}} records updated information for a {{block(DataItem)}}. +"; + /// Constant value for + public const string NAME = "Filter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new FilterClassProperties Properties { get; } = new FilterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class FilterClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Type, + Value, + }; + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// type of Filter.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" type of {{block(Filter)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: FilterEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.FilterEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/InitialValueClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/InitialValueClass.cs new file mode 100644 index 00000000..4ff12ae2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/InitialValueClass.cs @@ -0,0 +1,152 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem +{ + /// starting value for a DataItem as well as the value to be set for the DataItem after a reset event.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class InitialValueClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_3F705CFA_0BDC_4dc1_91C8_0A38B91DD3E6"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_3F705CFA_0BDC_4dc1_91C8_0A38B91DD3E6"; + /// Constant value for + public const string SUMMARY = @" starting value for a {{block(DataItem)}} as well as the value to be set for the {{block(DataItem)}} after a reset event. +"; + /// Constant value for + public const string NAME = "InitialValue"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new InitialValueClassProperties Properties { get; } = new InitialValueClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class InitialValueClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/MinimumDeltaFilterGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/MinimumDeltaFilterGeneralization.cs new file mode 100644 index 00000000..cca41b0f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/MinimumDeltaFilterGeneralization.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem +{ + /// FilterEnum.MINIMUM_DELTA


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MinimumDeltaFilterGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1644604760483_617184_91"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1644604760483_617184_91"; + /// Constant value for + public const string SUMMARY = @" {{def(FilterEnum::MINIMUM_DELTA)}} +"; + /// Constant value for + public const string NAME = "MinimumDeltaFilter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8A5219C3_747D_4904_A58A_A312D13DAEE9 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.FilterClass); + + /// + public new MinimumDeltaFilterGeneralizationProperties Properties { get; } = new MinimumDeltaFilterGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MinimumDeltaFilterGeneralizationProperties : Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.FilterClass.FilterClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MINIMUM_DELTA"; + + /// + /// + /// Type: FilterEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.FilterEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/PeriodFilterGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/PeriodFilterGeneralization.cs new file mode 100644 index 00000000..d53f36c7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/PeriodFilterGeneralization.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem +{ + /// FilterEnum.PERIOD


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PeriodFilterGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1644604750458_164137_46"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1644604750458_164137_46"; + /// Constant value for + public const string SUMMARY = @" {{def(FilterEnum::PERIOD)}} +"; + /// Constant value for + public const string NAME = "PeriodFilter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_8A5219C3_747D_4904_A58A_A312D13DAEE9 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.FilterClass); + + /// + public new PeriodFilterGeneralizationProperties Properties { get; } = new PeriodFilterGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PeriodFilterGeneralizationProperties : Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.FilterClass.FilterClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Value, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PERIOD"; + + /// + /// + /// Type: FilterEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.FilterEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public new ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public new sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/ResetTriggerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/ResetTriggerClass.cs new file mode 100644 index 00000000..5417bc6d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/ResetTriggerClass.cs @@ -0,0 +1,153 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem +{ + /// type of event that may cause a reset to occur.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ResetTriggerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_3F56D161_E1BD_4fa1_8D7A_1C9C2E15D303"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_3F56D161_E1BD_4fa1_8D7A_1C9C2E15D303"; + /// Constant value for + public const string SUMMARY = @" type of event that may cause a reset to occur. +"; + /// Constant value for + public const string NAME = "ResetTrigger"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ResetTriggerClassProperties Properties { get; } = new ResetTriggerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ResetTriggerClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// type of ResetTrigger.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" type of {{block(ResetTrigger)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ResetTriggerEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.ResetTriggerEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/SourceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/SourceClass.cs new file mode 100644 index 00000000..ed34dbb3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDataItem/SourceClass.cs @@ -0,0 +1,366 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem +{ + /// identifies the Component, DataItem, or Composition from which a measured value originates.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SourceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_A2837EAA_7D27_45c0_B365_BC308844F978"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_A2837EAA_7D27_45c0_B365_BC308844F978"; + /// Constant value for + public const string SUMMARY = @" identifies the {{block(Component)}}, {{block(DataItem)}}, or {{block(Composition)}} from which a measured value originates. +"; + /// Constant value for + public const string NAME = "Source"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SourceClassProperties Properties { get; } = new SourceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SourceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + ComponentId, + CompositionId, + DataItemId, + Value, + }; + /// + ///
+ /// Original Name: ComponentId + ///
+ public ComponentIdProperty ComponentId { get; } = new ComponentIdProperty(); + + /// identifier of the Component that represents the physical part of a piece of equipment where the data represented by the DataItem originated.


+ ///
+ public sealed class ComponentIdProperty : IProperty + { + /// Constant value for + public const string NAME = "componentId"; + /// Constant value for + public const string SUMMARY = @" identifier of the {{block(Component)}} that represents the physical part of a piece of equipment where the data represented by the {{block(DataItem)}} originated. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CompositionId + ///
+ public CompositionIdProperty CompositionId { get; } = new CompositionIdProperty(); + + /// identifier of the Composition that represents the physical part of a piece of equipment where the data represented by the DataItem originated.


+ ///
+ public sealed class CompositionIdProperty : IProperty + { + /// Constant value for + public const string NAME = "compositionId"; + /// Constant value for + public const string SUMMARY = @" identifier of the {{block(Composition)}} that represents the physical part of a piece of equipment where the data represented by the {{block(DataItem)}} originated. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: DataItemId + ///
+ public DataItemIdProperty DataItemId { get; } = new DataItemIdProperty(); + + /// identifier of the DataItem that represents the originally measured value of the data referenced by this DataItem.


+ ///
+ public sealed class DataItemIdProperty : IProperty + { + /// Constant value for + public const string NAME = "dataItemId"; + /// Constant value for + public const string SUMMARY = @" identifier of the {{block(DataItem)}} that represents the originally measured value of the data referenced by this {{block(DataItem)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// identifier of the source entity.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" identifier of the source entity. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDefinition/CellDefinitionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDefinition/CellDefinitionClass.cs new file mode 100644 index 00000000..c8044490 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDefinition/CellDefinitionClass.cs @@ -0,0 +1,509 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.PropertiesOfDefinition +{ + /// semantic definition of a Cell.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CellDefinitionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581433195808_917937_222"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581433195808_917937_222"; + /// Constant value for + public const string SUMMARY = @" semantic definition of a {{block(Cell)}}. +"; + /// Constant value for + public const string NAME = "CellDefinition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new CellDefinitionClassProperties Properties { get; } = new CellDefinitionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class CellDefinitionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Units, + Key, + HasDescriptionPart, + Type, + SubType, + KeyType, + }; + /// + ///
+ /// Original Name: Units + ///
+ public UnitsProperty Units { get; } = new UnitsProperty(); + + /// same as units in DataItem. See Value Properties of DataItem.


+ ///
+ public sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @" same as {{property(DataItem::units)}}. See {{sect(Value Properties of DataItem)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Key + ///
+ public KeyProperty Key { get; } = new KeyProperty(); + + /// unique identification of the Cell in the Definition.

The description applies to all Cell observations having this key in CellDefinition.


+ ///
+ public sealed class KeyProperty : IProperty + { + /// Constant value for + public const string NAME = "key"; + /// Constant value for + public const string SUMMARY = @" unique identification of the {{block(Cell)}} in the {{block(Definition)}}. + +The description applies to all {{block(Cell)}} {{termplural(observation)}} having this {{property(CellDefinition::key)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasDescription + ///
+ public HasDescriptionPartProperty HasDescriptionPart { get; } = new HasDescriptionPartProperty(); + + ///  + /// + public sealed class HasDescriptionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasDescription"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Description"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DescriptionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.DescriptionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// same as type in DataItem. See DataItem Types.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" same as {{property(DataItem::type)}}. See {{package(DataItem Types)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public SubTypeProperty SubType { get; } = new SubTypeProperty(); + + /// same as subType in DataItem. See DataItem.


+ ///
+ public sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @" same as {{property(DataItem::subType)}}. See {{sect(DataItem)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: KeyType + ///
+ public KeyTypeProperty KeyType { get; } = new KeyTypeProperty(); + + /// type in DataItem that defines the meaning of key in CellDefinition.


+ ///
+ public sealed class KeyTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "keyType"; + /// Constant value for + public const string SUMMARY = @" {{property(DataItem::type)}} that defines the meaning of {{property(CellDefinition::key)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDefinition/EntryDefinitionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDefinition/EntryDefinitionClass.cs new file mode 100644 index 00000000..f3f35f21 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/PropertiesOfDefinition/EntryDefinitionClass.cs @@ -0,0 +1,579 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.PropertiesOfDefinition +{ + /// semantic definition of an Entry.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EntryDefinitionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582939685398_830533_4339"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582939685398_830533_4339"; + /// Constant value for + public const string SUMMARY = @" semantic definition of an {{block(Entry)}}. +"; + /// Constant value for + public const string NAME = "EntryDefinition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new EntryDefinitionClassProperties Properties { get; } = new EntryDefinitionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class EntryDefinitionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Key, + Units, + HasDescriptionPart, + HasCellDefinitionPart, + Type, + SubType, + KeyType, + }; + /// + ///
+ /// Original Name: Key + ///
+ public KeyProperty Key { get; } = new KeyProperty(); + + /// unique identification of the Entry in the Definition.

The description applies to all Entry observations having this key in EntryDefinition.


+ ///
+ public sealed class KeyProperty : IProperty + { + /// Constant value for + public const string NAME = "key"; + /// Constant value for + public const string SUMMARY = @" unique identification of the {{block(Entry)}} in the {{block(Definition)}}. + +The description applies to all {{block(Entry)}} {{termplural(observation)}} having this {{property(EntryDefinition::key)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public UnitsProperty Units { get; } = new UnitsProperty(); + + /// same as units in DataItem. See Value Properties of DataItem.


+ ///
+ public sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @" same as {{property(DataItem::units)}}. See {{sect(Value Properties of DataItem)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasDescription + ///
+ public HasDescriptionPartProperty HasDescriptionPart { get; } = new HasDescriptionPartProperty(); + + ///  + /// + public sealed class HasDescriptionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasDescription"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Description"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DescriptionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.DescriptionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCellDefinition + ///
+ public HasCellDefinitionPartProperty HasCellDefinitionPart { get; } = new HasCellDefinitionPartProperty(); + + ///  + /// + public sealed class HasCellDefinitionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCellDefinition"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "CellDefinitions"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CellDefinitionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.PropertiesOfDefinition.CellDefinitionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// same as type in DataItem. See DataItem Types.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" same as {{property(DataItem::type)}}. See {{package(DataItem Types)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public SubTypeProperty SubType { get; } = new SubTypeProperty(); + + /// same as subType in DataItem. See DataItem.


+ ///
+ public sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @" same as {{property(DataItem::subType)}}. See {{sect(DataItem)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: KeyType + ///
+ public KeyTypeProperty KeyType { get; } = new KeyTypeProperty(); + + /// type in DataItem that defines the meaning of key in EntryDefinition.


+ ///
+ public sealed class KeyTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "keyType"; + /// Constant value for + public const string SUMMARY = @" {{property(DataItem::type)}} that defines the meaning of {{property(EntryDefinition::key)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/AssetRequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/AssetRequestClass.cs new file mode 100644 index 00000000..5740ddcb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/AssetRequestClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// HTTP Request to the agent regarding Assets.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375143_188436_1955"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375143_188436_1955"; + /// Constant value for + public const string SUMMARY = @" {{term(HTTP Request)}} to the {{term(agent)}} regarding {{termplural(Asset)}}. +"; + /// Constant value for + public const string NAME = "asset request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375172_946031_2039 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.MTConnectRequestGeneralization); + + /// + public new AssetRequestClassProperties Properties { get; } = new AssetRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AssetRequestClassProperties : Mtconnect.Glossary.ProtocolTerms.MTConnectRequestGeneralization.MTConnectRequestGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/CurrentRequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/CurrentRequestClass.cs new file mode 100644 index 00000000..ea41bb76 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/CurrentRequestClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// request to an agent to produce an MTConnectStreams Response Document containing the Observation Information Model for a snapshot of the latest observations at the moment of the request or at a given sequence number.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CurrentRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375151_897599_1970"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375151_897599_1970"; + /// Constant value for + public const string SUMMARY = @" {{term(request)}} to an {{term(agent)}} to produce an {{term(MTConnectStreams Response Document)}} containing the {{term(Observation Information Model)}} for a snapshot of the latest {{termplural(observation)}} at the moment of the {{term(request)}} or at a given {{term(sequence number)}}. +"; + /// Constant value for + public const string NAME = "current request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375172_946031_2039 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.MTConnectRequestGeneralization); + + /// + public new CurrentRequestClassProperties Properties { get; } = new CurrentRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CurrentRequestClassProperties : Mtconnect.Glossary.ProtocolTerms.MTConnectRequestGeneralization.MTConnectRequestGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/DataStreamingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/DataStreamingClass.cs new file mode 100644 index 00000000..54ed0687 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/DataStreamingClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// method for an agent to provide a continuous stream of information in response to a single request from a client.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataStreamingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375154_395455_1977"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375154_395455_1977"; + /// Constant value for + public const string SUMMARY = @" method for an {{term(agent)}} to provide a continuous stream of information in response to a single {{term(request)}} from a {{term(client)}}. +"; + /// Constant value for + public const string NAME = "data streaming"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375187_272252_2094 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.StreamingDataClass); + + /// + public new DataStreamingClassProperties Properties { get; } = new DataStreamingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DataStreamingClassProperties : Mtconnect.Glossary.ProtocolTerms.StreamingDataClass.StreamingDataClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectAssetsResponseDocumentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectAssetsResponseDocumentClass.cs new file mode 100644 index 00000000..1006f09c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectAssetsResponseDocumentClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// response document published by an MTConnect Agent in response to an asset request.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectAssetsResponseDocumentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375173_758841_2043"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375173_758841_2043"; + /// Constant value for + public const string SUMMARY = @" {{term(response document)}} published by an {{term(MTConnect Agent)}} in response to an {{term(asset request)}}. +"; + /// Constant value for + public const string NAME = "MTConnectAssets Response Document"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375173_527411_2040 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.MTConnectResponseDocumentClass); + + /// + public new MTConnectAssetsResponseDocumentClassProperties Properties { get; } = new MTConnectAssetsResponseDocumentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MTConnectAssetsResponseDocumentClassProperties : Mtconnect.Glossary.ProtocolTerms.MTConnectResponseDocumentClass.MTConnectResponseDocumentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectDevicesResponseDocumentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectDevicesResponseDocumentClass.cs new file mode 100644 index 00000000..01e2b960 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectDevicesResponseDocumentClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// response document published by an MTConnect Agent in response to a probe request.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectDevicesResponseDocumentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375174_150349_2044"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375174_150349_2044"; + /// Constant value for + public const string SUMMARY = @" {{term(response document)}} published by an {{term(MTConnect Agent)}} in response to a {{term(probe request)}}. +"; + /// Constant value for + public const string NAME = "MTConnectDevices Response Document"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375173_527411_2040 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.MTConnectResponseDocumentClass); + + /// + public new MTConnectDevicesResponseDocumentClassProperties Properties { get; } = new MTConnectDevicesResponseDocumentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MTConnectDevicesResponseDocumentClassProperties : Mtconnect.Glossary.ProtocolTerms.MTConnectResponseDocumentClass.MTConnectResponseDocumentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectErrorsResponseDocumentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectErrorsResponseDocumentClass.cs new file mode 100644 index 00000000..5ed73323 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectErrorsResponseDocumentClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// response document published by an MTConnect Agent whenever it encounters an error while interpreting an MTConnect Request.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectErrorsResponseDocumentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375174_389187_2045"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375174_389187_2045"; + /// Constant value for + public const string SUMMARY = @" {{term(response document)}} published by an {{term(MTConnect Agent)}} whenever it encounters an error while interpreting an {{term(MTConnect Request)}}. +"; + /// Constant value for + public const string NAME = "MTConnectErrors Response Document"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375173_527411_2040 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.MTConnectResponseDocumentClass); + + /// + public new MTConnectErrorsResponseDocumentClassProperties Properties { get; } = new MTConnectErrorsResponseDocumentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MTConnectErrorsResponseDocumentClassProperties : Mtconnect.Glossary.ProtocolTerms.MTConnectResponseDocumentClass.MTConnectResponseDocumentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectRequestGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectRequestGeneralization.cs new file mode 100644 index 00000000..f3236cd9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectRequestGeneralization.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// request for information issued from a client to an MTConnect Agent.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectRequestGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375172_946031_2039"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375172_946031_2039"; + /// Constant value for + public const string SUMMARY = @" {{term(request)}} for information issued from a {{term(client)}} to an {{term(MTConnect Agent)}}. +"; + /// Constant value for + public const string NAME = "MTConnect Request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375181_991321_2071 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.RequestClass); + + /// + public new MTConnectRequestGeneralizationProperties Properties { get; } = new MTConnectRequestGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MTConnectRequestGeneralizationProperties : Mtconnect.Glossary.ProtocolTerms.RequestClass.RequestClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectResponseDocumentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectResponseDocumentClass.cs new file mode 100644 index 00000000..f123d336 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectResponseDocumentClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// response document published by an MTConnect Agent.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectResponseDocumentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375173_527411_2040"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375173_527411_2040"; + /// Constant value for + public const string SUMMARY = @" {{term(response document)}} published by an {{term(MTConnect Agent)}}. +"; + /// Constant value for + public const string NAME = "MTConnect Response Document"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MTConnectResponseDocumentClassProperties Properties { get; } = new MTConnectResponseDocumentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MTConnectResponseDocumentClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectStreamsResponseDocumentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectStreamsResponseDocumentClass.cs new file mode 100644 index 00000000..fdfbb413 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/MTConnectStreamsResponseDocumentClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// response document published by an MTConnect Agent in response to a current request or a sample request.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MTConnectStreamsResponseDocumentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375174_472178_2046"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375174_472178_2046"; + /// Constant value for + public const string SUMMARY = @" {{term(response document)}} published by an {{term(MTConnect Agent)}} in response to a {{term(current request)}} or a {{term(sample request)}}. +"; + /// Constant value for + public const string NAME = "MTConnectStreams Response Document"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375173_527411_2040 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.MTConnectResponseDocumentClass); + + /// + public new MTConnectStreamsResponseDocumentClassProperties Properties { get; } = new MTConnectStreamsResponseDocumentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MTConnectStreamsResponseDocumentClassProperties : Mtconnect.Glossary.ProtocolTerms.MTConnectResponseDocumentClass.MTConnectResponseDocumentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/ProbeRequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/ProbeRequestClass.cs new file mode 100644 index 00000000..544a3099 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/ProbeRequestClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// request to an agent to produce an MTConnectDevices Response Document containing the Device Information Model.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProbeRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375179_316583_2064"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375179_316583_2064"; + /// Constant value for + public const string SUMMARY = @" {{term(request)}} to an {{term(agent)}} to produce an {{term(MTConnectDevices Response Document)}} containing the {{term(Device Information Model)}}. +"; + /// Constant value for + public const string NAME = "probe request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375172_946031_2039 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.MTConnectRequestGeneralization); + + /// + public new ProbeRequestClassProperties Properties { get; } = new ProbeRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProbeRequestClassProperties : Mtconnect.Glossary.ProtocolTerms.MTConnectRequestGeneralization.MTConnectRequestGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/ProtocolClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/ProtocolClass.cs new file mode 100644 index 00000000..22536acf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/ProtocolClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// set of rules that allow two or more entities to transmit information from one to the other.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProtocolClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375180_471026_2065"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375180_471026_2065"; + /// Constant value for + public const string SUMMARY = @" set of rules that allow two or more entities to transmit information from one to the other. +"; + /// Constant value for + public const string NAME = "protocol"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ProtocolClassProperties Properties { get; } = new ProtocolClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ProtocolClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/PublishAndSubscribeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/PublishAndSubscribeClass.cs new file mode 100644 index 00000000..64bbd273 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/PublishAndSubscribeClass.cs @@ -0,0 +1,86 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// asynchronous communication method in which messages are exchanged between applications without knowing the identity of the sender or recipient.

> Note: In the MTConnect Standard, a communications messaging pattern that may be used to publish streaming data from an agent.




+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PublishAndSubscribeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375180_561625_2067"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375180_561625_2067"; + /// Constant value for + public const string SUMMARY = @" asynchronous communication method in which messages are exchanged between applications without knowing the identity of the sender or recipient. + +> Note: In the MTConnect Standard, a communications messaging pattern that may be used to publish {{term(streaming data)}} from an {{term(agent)}}. + + +"; + /// Constant value for + public const string NAME = "publish and subscribe"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375180_471026_2065 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.ProtocolClass); + + /// + public new PublishAndSubscribeClassProperties Properties { get; } = new PublishAndSubscribeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PublishAndSubscribeClassProperties : Mtconnect.Glossary.ProtocolTerms.ProtocolClass.ProtocolClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/PublishClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/PublishClass.cs new file mode 100644 index 00000000..33ccfa2f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/PublishClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// sending of messages in a publish and subscribe pattern.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PublishClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375180_793934_2066"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375180_793934_2066"; + /// Constant value for + public const string SUMMARY = @" sending of messages in a {{term(publish and subscribe)}} pattern. +"; + /// Constant value for + public const string NAME = "publish"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375180_561625_2067 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.PublishAndSubscribeClass); + + /// + public new PublishClassProperties Properties { get; } = new PublishClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PublishClassProperties : Mtconnect.Glossary.ProtocolTerms.PublishAndSubscribeClass.PublishAndSubscribeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/RequestAndResponseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/RequestAndResponseClass.cs new file mode 100644 index 00000000..c75c5513 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/RequestAndResponseClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// communications pattern that supports the transfer of information between an agent and a client.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RequestAndResponseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375182_181734_2072"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375182_181734_2072"; + /// Constant value for + public const string SUMMARY = @" communications pattern that supports the transfer of information between an {{term(agent)}} and a {{term(client)}}. +"; + /// Constant value for + public const string NAME = "request and response"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375180_471026_2065 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.ProtocolClass); + + /// + public new RequestAndResponseClassProperties Properties { get; } = new RequestAndResponseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RequestAndResponseClassProperties : Mtconnect.Glossary.ProtocolTerms.ProtocolClass.ProtocolClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/RequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/RequestClass.cs new file mode 100644 index 00000000..137448b8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/RequestClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// communications method where a client transmits a message to an agent. That message instructs the agent to respond with specific information.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375181_991321_2071"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375181_991321_2071"; + /// Constant value for + public const string SUMMARY = @" communications method where a {{term(client)}} transmits a message to an {{term(agent)}}. That message instructs the {{term(agent)}} to respond with specific information. +"; + /// Constant value for + public const string NAME = "request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375180_471026_2065 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.ProtocolClass); + + /// + public new RequestClassProperties Properties { get; } = new RequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RequestClassProperties : Mtconnect.Glossary.ProtocolTerms.ProtocolClass.ProtocolClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/ResponseClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/ResponseClass.cs new file mode 100644 index 00000000..c1f41fc7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/ResponseClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// response interface which responds to a request.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ResponseClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375183_158651_2076"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375183_158651_2076"; + /// Constant value for + public const string SUMMARY = @" response {{term(interface)}} which responds to a {{term(request)}}. +"; + /// Constant value for + public const string NAME = "response"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375180_471026_2065 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.ProtocolClass); + + /// + public new ResponseClassProperties Properties { get; } = new ResponseClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ResponseClassProperties : Mtconnect.Glossary.ProtocolTerms.ProtocolClass.ProtocolClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/SampleRequestClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/SampleRequestClass.cs new file mode 100644 index 00000000..e2eaae09 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/SampleRequestClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// request to an agent to produce an MTConnectStreams Response Document containing the Observation Information Model for a set of timestamped observations made by Components.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SampleRequestClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375184_107893_2081"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375184_107893_2081"; + /// Constant value for + public const string SUMMARY = @" {{term(request)}} to an {{term(agent)}} to produce an {{term(MTConnectStreams Response Document)}} containing the {{term(Observation Information Model)}} for a set of timestamped {{termplural(observation)}} made by {{termplural(Component)}}. +"; + /// Constant value for + public const string NAME = "sample request"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375172_946031_2039 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.MTConnectRequestGeneralization); + + /// + public new SampleRequestClassProperties Properties { get; } = new SampleRequestClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SampleRequestClassProperties : Mtconnect.Glossary.ProtocolTerms.MTConnectRequestGeneralization.MTConnectRequestGeneralizationProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/StreamingDataClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/StreamingDataClass.cs new file mode 100644 index 00000000..fb2f3e05 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/StreamingDataClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// observations published by a piece of equipment defined by the equipment metadata.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StreamingDataClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375187_272252_2094"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375187_272252_2094"; + /// Constant value for + public const string SUMMARY = @" {{termplural(observation)}} published by a piece of equipment defined by the {{term(equipment metadata)}}. +"; + /// Constant value for + public const string NAME = "streaming data"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375180_561625_2067 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.PublishAndSubscribeClass); + + /// + public new StreamingDataClassProperties Properties { get; } = new StreamingDataClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class StreamingDataClassProperties : Mtconnect.Glossary.ProtocolTerms.PublishAndSubscribeClass.PublishAndSubscribeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/SubscribeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/SubscribeClass.cs new file mode 100644 index 00000000..d1df6ecd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/SubscribeClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// receiving messages in a publish and subscribe pattern.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SubscribeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375188_852098_2096"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375188_852098_2096"; + /// Constant value for + public const string SUMMARY = @" receiving messages in a {{term(publish and subscribe)}} pattern. +"; + /// Constant value for + public const string NAME = "subscribe"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375180_561625_2067 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.PublishAndSubscribeClass); + + /// + public new SubscribeClassProperties Properties { get; } = new SubscribeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SubscribeClassProperties : Mtconnect.Glossary.ProtocolTerms.PublishAndSubscribeClass.PublishAndSubscribeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/TransportProtocolGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/TransportProtocolGeneralization.cs new file mode 100644 index 00000000..ed6b316d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ProtocolTerms/TransportProtocolGeneralization.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.ProtocolTerms +{ + /// set of capabilities that provide the rules and procedures used to transport information between an agent and a client software application through a physical connection.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransportProtocolGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375190_52478_2104"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375190_52478_2104"; + /// Constant value for + public const string SUMMARY = @" set of capabilities that provide the rules and procedures used to transport information between an {{term(agent)}} and a client software application through a {{term(physical connection)}}. +"; + /// Constant value for + public const string NAME = "transport protocol"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375180_471026_2065 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ProtocolTerms.ProtocolClass); + + /// + public new TransportProtocolGeneralizationProperties Properties { get; } = new TransportProtocolGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransportProtocolGeneralizationProperties : Mtconnect.Glossary.ProtocolTerms.ProtocolClass.ProtocolClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/QIF/QIFDocumentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/QIF/QIFDocumentClass.cs new file mode 100644 index 00000000..e0b3e9f9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/QIF/QIFDocumentClass.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.QIF +{ + /// QIF Document as given by the QIF standard.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class QIFDocumentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622119794339_346750_1858"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622119794339_346750_1858"; + /// Constant value for + public const string SUMMARY = @" QIF Document as given by the {{term(QIF)}} standard. +"; + /// Constant value for + public const string NAME = "QIFDocument"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new QIFDocumentClassProperties Properties { get; } = new QIFDocumentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class QIFDocumentClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/QIF/QIFDocumentWrapperClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/QIF/QIFDocumentWrapperClass.cs new file mode 100644 index 00000000..0d442e53 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/QIF/QIFDocumentWrapperClass.cs @@ -0,0 +1,228 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.QIF +{ + /// Asset that carries the QIF Document.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class QIFDocumentWrapperClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622119541205_751450_1761"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622119541205_751450_1761"; + /// Constant value for + public const string SUMMARY = @" {{block(Asset)}} that carries the QIF Document. +"; + /// Constant value for + public const string NAME = "QIFDocumentWrapper"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C7D39183_23CB_416b_A62D_F60815E08B1A + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.AssetClass); + + /// + public new QIFDocumentWrapperClassProperties Properties { get; } = new QIFDocumentWrapperClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class QIFDocumentWrapperClassProperties : Mtconnect.AssetInformationModel.AssetClass.AssetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + QifDocumentType, + HasQIFDocumentPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: QifDocumentType + ///
+ public new QifDocumentTypeProperty QifDocumentType { get; } = new QifDocumentTypeProperty(); + + /// contained QIF Document type as defined in the QIF Standard.


+ ///
+ public new sealed class QifDocumentTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "qifDocumentType"; + /// Constant value for + public const string SUMMARY = @" contained QIF Document type as defined in the {{term(QIF)}} Standard. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: QIFDocumentTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.QIFDocumentTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasQIFDocument + ///
+ public new HasQIFDocumentPartProperty HasQIFDocumentPart { get; } = new HasQIFDocumentPartProperty(); + + ///  + /// + public new sealed class HasQIFDocumentPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasQIFDocument"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "QIFDocument"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: QIFDocumentClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.QIF.QIFDocumentClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RESTProtocol/AgentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RESTProtocol/AgentClass.cs new file mode 100644 index 00000000..bc2995b3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RESTProtocol/AgentClass.cs @@ -0,0 +1,605 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Fundamentals.MTConnectProtocol.RESTProtocol +{ + /// agent.

An agent MUST perform the following tasks:

* Collect data from manufacturing equipment.
* Generate response documents.
* Provide a REST interface using HTTP.

In addition to XML and HTTP, An agent MAY provide additional protocols and representations. Some representations MAY have companion specifications.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AgentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1637708823096_359717_5786"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1637708823096_359717_5786"; + /// Constant value for + public const string SUMMARY = @" {{term(agent)}}. + +An {{term(agent)}} **MUST** perform the following tasks: + +* Collect data from manufacturing equipment. +* Generate {{termplural(response document)}}. +* Provide a REST interface using {{term(HTTP)}}. + +In addition to {{term(XML)}} and {{term(HTTP)}}, An {{term(agent)}} **MAY** provide additional protocols and representations. Some representations **MAY** have companion specifications. +"; + /// Constant value for + public const string NAME = "Agent"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new AgentClassProperties Properties { get; } = new AgentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class AgentClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + InstanceId, + SequenceNumber, + BufferSize, + MaxAssets, + AssetCount, + HasObservationPart, + HasAssetPart, + }; + /// + ///
+ /// Original Name: InstanceId + ///
+ public InstanceIdProperty InstanceId { get; } = new InstanceIdProperty(); + + /// identifier for an instance of the agent.

instanceId in Header MUST be changed to a different unique number each time the buffer is cleared and a new set of data begins to be collected.


+ ///
+ public sealed class InstanceIdProperty : IProperty + { + /// Constant value for + public const string NAME = "instanceId"; + /// Constant value for + public const string SUMMARY = @" identifier for an {{term(instance)}} of the {{term(agent)}}. + +{{property(Header::instanceId)}} **MUST** be changed to a different unique number each time the {{term(buffer)}} is cleared and a new set of data begins to be collected. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt32 + /// + public System.Type Type => typeof(UInt32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SequenceNumber + ///
+ public SequenceNumberProperty SequenceNumber { get; } = new SequenceNumberProperty(); + + /// sequence number.


+ ///
+ public sealed class SequenceNumberProperty : IProperty + { + /// Constant value for + public const string NAME = "sequenceNumber"; + /// Constant value for + public const string SUMMARY = @" {{term(sequence number)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt64 + /// + public System.Type Type => typeof(UInt64); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: BufferSize + ///
+ public BufferSizeProperty BufferSize { get; } = new BufferSizeProperty(); + + /// maximum number of Observations that MAY be retained in the agent that published the response document at any point in time.


+ ///
+ public sealed class BufferSizeProperty : IProperty + { + /// Constant value for + public const string NAME = "bufferSize"; + /// Constant value for + public const string SUMMARY = @" maximum number of {{termplural(Observation)}} that **MAY** be retained in the {{term(agent)}} that published the {{term(response document)}} at any point in time. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt32 + /// + public System.Type Type => typeof(UInt32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MaxAssets + ///
+ public MaxAssetsProperty MaxAssets { get; } = new MaxAssetsProperty(); + + /// maximum number of Assets that MAY be retained in the agent that published the response document at any point in time.


+ ///
+ public sealed class MaxAssetsProperty : IProperty + { + /// Constant value for + public const string NAME = "maxAssets"; + /// Constant value for + public const string SUMMARY = @" maximum number of {{termplural(Asset)}} that **MAY** be retained in the {{term(agent)}} that published the {{term(response document)}} at any point in time. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt32 + /// + public System.Type Type => typeof(UInt32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: AssetCount + ///
+ public AssetCountProperty AssetCount { get; } = new AssetCountProperty(); + + /// current number of Assets that are currently stored in the agent as of the creationTime in Header that the agent published the response document.


+ ///
+ public sealed class AssetCountProperty : IProperty + { + /// Constant value for + public const string NAME = "assetCount"; + /// Constant value for + public const string SUMMARY = @" current number of {{termplural(Asset)}} that are currently stored in the {{term(agent)}} as of the {{property(Header::creationTime)}} that the {{term(agent)}} published the {{term(response document)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UInt32 + /// + public System.Type Type => typeof(UInt32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasObservation + ///
+ public HasObservationPartProperty HasObservationPart { get; } = new HasObservationPartProperty(); + + ///  + /// + public sealed class HasObservationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasObservation"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "buffer"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ObservationGeneralization + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.ObservationGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasAsset + ///
+ public HasAssetPartProperty HasAssetPart { get; } = new HasAssetPartProperty(); + + ///  + /// + public sealed class HasAssetPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasAsset"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "assetBuffer"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AssetClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.AssetClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + # region Rules + /// + /// SufficientObservationSpace + /// + /// Specification Language: Unspecified + public string SufficientObservationSpace => @"buffer.length < agent.bufferSize"; + /* + buffer.length < agent.bufferSize + */ + /// + /// SufficientAssetSpace + /// + /// Specification Language: Unspecified + public string SufficientAssetSpace => @"assetBuffer.length < agent.maxAssets"; + /* + assetBuffer.length < agent.maxAssets + */ + # endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RawMaterial/MaterialClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RawMaterial/MaterialClass.cs new file mode 100644 index 00000000..b7fef0c7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RawMaterial/MaterialClass.cs @@ -0,0 +1,654 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.AssetInformationModel.RawMaterial +{ + /// material used as the RawMaterial.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaterialClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1618831557881_852871_420"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1618831557881_852871_420"; + /// Constant value for + public const string SUMMARY = @" material used as the {{block(RawMaterial)}}. +"; + /// Constant value for + public const string NAME = "Material"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MaterialClassProperties Properties { get; } = new MaterialClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MaterialClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Id, + Name, + Type, + Lot, + Manufacturer, + ManufacturingDate, + ManufacturingCode, + MaterialCode, + }; + /// + ///
+ /// Original Name: Id + ///
+ public IdProperty Id { get; } = new IdProperty(); + + /// unique identifier for the material.


+ ///
+ public sealed class IdProperty : IProperty + { + /// Constant value for + public const string NAME = "id"; + /// Constant value for + public const string SUMMARY = @" unique identifier for the material. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// name of the material.

Examples: ULTM9085, ABS, 4140.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of the material. + +Examples: `ULTM9085`, `ABS`, `4140`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// type of material.

Examples: Metal, Polymer, Wood, 4140, Recycled, Prestine and Used.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" type of material. + +Examples: `Metal`, `Polymer`, `Wood`, `4140`, `Recycled`, `Prestine` and `Used`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Lot + ///
+ public LotProperty Lot { get; } = new LotProperty(); + + /// manufacturer's lot code of the material.


+ ///
+ public sealed class LotProperty : IProperty + { + /// Constant value for + public const string NAME = "Lot"; + /// Constant value for + public const string SUMMARY = @" manufacturer's lot code of the material. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Manufacturer + ///
+ public ManufacturerProperty Manufacturer { get; } = new ManufacturerProperty(); + + /// name of the material manufacturer.


+ ///
+ public sealed class ManufacturerProperty : IProperty + { + /// Constant value for + public const string NAME = "Manufacturer"; + /// Constant value for + public const string SUMMARY = @" name of the material manufacturer. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ManufacturingDate + ///
+ public ManufacturingDateProperty ManufacturingDate { get; } = new ManufacturingDateProperty(); + + /// manufacturing date of the material from the material manufacturer.


+ ///
+ public sealed class ManufacturingDateProperty : IProperty + { + /// Constant value for + public const string NAME = "ManufacturingDate"; + /// Constant value for + public const string SUMMARY = @" manufacturing date of the material from the material manufacturer. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ManufacturingCode + ///
+ public ManufacturingCodeProperty ManufacturingCode { get; } = new ManufacturingCodeProperty(); + + /// lot code of the raw feed stock for the material, from the feed stock manufacturer.


+ ///
+ public sealed class ManufacturingCodeProperty : IProperty + { + /// Constant value for + public const string NAME = "ManufacturingCode"; + /// Constant value for + public const string SUMMARY = @" lot code of the raw feed stock for the material, from the feed stock manufacturer. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MaterialCode + ///
+ public MaterialCodeProperty MaterialCode { get; } = new MaterialCodeProperty(); + + /// ASTM standard code that the material complies with.


+ ///
+ public sealed class MaterialCodeProperty : IProperty + { + /// Constant value for + public const string NAME = "MaterialCode"; + /// Constant value for + public const string SUMMARY = @" {{term(ASTM)}} standard code that the material complies with. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RawMaterial/RawMaterialClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RawMaterial/RawMaterialClass.cs new file mode 100644 index 00000000..34779ca5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RawMaterial/RawMaterialClass.cs @@ -0,0 +1,1228 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.AssetInformationModel.RawMaterial +{ + /// Asset that represents raw material.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RawMaterialClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1618829902716_470188_214"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1618829902716_470188_214"; + /// Constant value for + public const string SUMMARY = @" {{block(Asset)}} that represents {{term(raw material)}}. +"; + /// Constant value for + public const string NAME = "RawMaterial"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C7D39183_23CB_416b_A62D_F60815E08B1A + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.AssetClass); + + /// + public new RawMaterialClassProperties Properties { get; } = new RawMaterialClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RawMaterialClassProperties : Mtconnect.AssetInformationModel.AssetClass.AssetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Name, + ContainerType, + ProcessKind, + SerialNumber, + HasMaterial, + HasMaterialPart, + Form, + ManufacturingDate, + FirstUseDate, + LastUseDate, + InitialVolume, + InitialDimension, + InitialQuantity, + CurrentVolume, + CurrentDimension, + CurrentQuantity, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Name + ///
+ public new NameProperty Name { get; } = new NameProperty(); + + /// name of the raw material.

Examples: Container1 and AcrylicContainer.


+ ///
+ public new sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of the {{term(raw material)}}. + +Examples: `Container1` and `AcrylicContainer`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ContainerType + ///
+ public new ContainerTypeProperty ContainerType { get; } = new ContainerTypeProperty(); + + /// type of container holding the raw material.

Examples: Pallet, Canister, Cartridge, Tank, Bin, Roll, and Spool.


+ ///
+ public new sealed class ContainerTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "containerType"; + /// Constant value for + public const string SUMMARY = @" type of container holding the {{term(raw material)}}. + +Examples: `Pallet`, `Canister`, `Cartridge`, `Tank`, `Bin`, `Roll`, and `Spool`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ProcessKind + ///
+ public new ProcessKindProperty ProcessKind { get; } = new ProcessKindProperty(); + + /// ISO process type supported by this raw material.

Examples include: VAT_POLYMERIZATION, BINDER_JETTING, MATERIAL_EXTRUSION, MATERIAL_JETTING, SHEET_LAMINATION, POWDER_BED_FUSION and DIRECTED_ENERGY_DEPOSITION.


+ ///
+ public new sealed class ProcessKindProperty : IProperty + { + /// Constant value for + public const string NAME = "processKind"; + /// Constant value for + public const string SUMMARY = @" ISO process type supported by this {{term(raw material)}}. + +Examples include: `VAT_POLYMERIZATION`, `BINDER_JETTING`, `MATERIAL_EXTRUSION`, `MATERIAL_JETTING`, `SHEET_LAMINATION`, `POWDER_BED_FUSION` and `DIRECTED_ENERGY_DEPOSITION`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SerialNumber + ///
+ public new SerialNumberProperty SerialNumber { get; } = new SerialNumberProperty(); + + /// serial number of the raw material.


+ ///
+ public new sealed class SerialNumberProperty : IProperty + { + /// Constant value for + public const string NAME = "serialNumber"; + /// Constant value for + public const string SUMMARY = @" serial number of the {{term(raw material)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasMaterial + ///
+ public new HasMaterialProperty HasMaterial { get; } = new HasMaterialProperty(); + + /// Material has existing usable volume.


+ ///
+ public new sealed class HasMaterialProperty : IProperty + { + /// Constant value for + public const string NAME = "HasMaterial"; + /// Constant value for + public const string SUMMARY = @" {{block(Material)}} has existing usable volume. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Boolean + /// + public System.Type Type => typeof(Boolean); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasMaterial + ///
+ public new HasMaterialPartProperty HasMaterialPart { get; } = new HasMaterialPartProperty(); + + ///  + /// + public new sealed class HasMaterialPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasMaterial"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Material"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MaterialClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.RawMaterial.MaterialClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Form + ///
+ public new FormProperty Form { get; } = new FormProperty(); + + /// form of the raw material.


+ ///
+ public new sealed class FormProperty : IProperty + { + /// Constant value for + public const string NAME = "Form"; + /// Constant value for + public const string SUMMARY = @" form of the {{term(raw material)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: FormEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.FormEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ManufacturingDate + ///
+ public new ManufacturingDateProperty ManufacturingDate { get; } = new ManufacturingDateProperty(); + + /// date the raw material was created.


+ ///
+ public new sealed class ManufacturingDateProperty : IProperty + { + /// Constant value for + public const string NAME = "ManufacturingDate"; + /// Constant value for + public const string SUMMARY = @" date the {{term(raw material)}} was created. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: FirstUseDate + ///
+ public new FirstUseDateProperty FirstUseDate { get; } = new FirstUseDateProperty(); + + /// date raw material was first used.


+ ///
+ public new sealed class FirstUseDateProperty : IProperty + { + /// Constant value for + public const string NAME = "FirstUseDate"; + /// Constant value for + public const string SUMMARY = @" date {{term(raw material)}} was first used. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LastUseDate + ///
+ public new LastUseDateProperty LastUseDate { get; } = new LastUseDateProperty(); + + /// date raw material was last used.


+ ///
+ public new sealed class LastUseDateProperty : IProperty + { + /// Constant value for + public const string NAME = "LastUseDate"; + /// Constant value for + public const string SUMMARY = @" date {{term(raw material)}} was last used. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: InitialVolume + ///
+ public new InitialVolumeProperty InitialVolume { get; } = new InitialVolumeProperty(); + + /// amount of material initially placed in raw material when manufactured.


+ ///
+ public new sealed class InitialVolumeProperty : IProperty + { + /// Constant value for + public const string NAME = "InitialVolume"; + /// Constant value for + public const string SUMMARY = @" amount of material initially placed in {{term(raw material)}} when manufactured. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: InitialDimension + ///
+ public new InitialDimensionProperty InitialDimension { get; } = new InitialDimensionProperty(); + + /// dimension of material initially placed in raw material when manufactured.


+ ///
+ public new sealed class InitialDimensionProperty : IProperty + { + /// Constant value for + public const string NAME = "InitialDimension"; + /// Constant value for + public const string SUMMARY = @" dimension of material initially placed in {{term(raw material)}} when manufactured. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: InitialQuantity + ///
+ public new InitialQuantityProperty InitialQuantity { get; } = new InitialQuantityProperty(); + + /// quantity of material initially placed in raw material when manufactured.


+ ///
+ public new sealed class InitialQuantityProperty : IProperty + { + /// Constant value for + public const string NAME = "InitialQuantity"; + /// Constant value for + public const string SUMMARY = @" quantity of material initially placed in {{term(raw material)}} when manufactured. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CurrentVolume + ///
+ public new CurrentVolumeProperty CurrentVolume { get; } = new CurrentVolumeProperty(); + + /// amount of material currently in raw material.


+ ///
+ public new sealed class CurrentVolumeProperty : IProperty + { + /// Constant value for + public const string NAME = "CurrentVolume"; + /// Constant value for + public const string SUMMARY = @" amount of material currently in {{term(raw material)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CurrentDimension + ///
+ public new CurrentDimensionProperty CurrentDimension { get; } = new CurrentDimensionProperty(); + + /// dimension of material currently in raw material.


+ ///
+ public new sealed class CurrentDimensionProperty : IProperty + { + /// Constant value for + public const string NAME = "CurrentDimension"; + /// Constant value for + public const string SUMMARY = @" dimension of material currently in {{term(raw material)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CurrentQuantity + ///
+ public new CurrentQuantityProperty CurrentQuantity { get; } = new CurrentQuantityProperty(); + + /// quantity of material currently in raw material.


+ ///
+ public new sealed class CurrentQuantityProperty : IProperty + { + /// Constant value for + public const string NAME = "CurrentQuantity"; + /// Constant value for + public const string SUMMARY = @" quantity of material currently in {{term(raw material)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/AgentClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/AgentClass.cs new file mode 100644 index 00000000..8b8f65bd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/AgentClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AgentClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1584927636920_876314_15203"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1584927636920_876314_15203"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Agent"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new AgentClassProperties Properties { get; } = new AgentClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class AgentClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/AssetStroageClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/AssetStroageClass.cs new file mode 100644 index 00000000..260958d8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/AssetStroageClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetStroageClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1645214003134_54412_617"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1645214003134_54412_617"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "AssetStroage"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new AssetStroageClassProperties Properties { get; } = new AssetStroageClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class AssetStroageClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/DataSinkServiceGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/DataSinkServiceGeneralization.cs new file mode 100644 index 00000000..1d179fb8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/DataSinkServiceGeneralization.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataSinkServiceGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587353359832_445435_917"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587353359832_445435_917"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "DataSinkService"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1587352697171_916488_715 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.ServiceClass); + + /// + public new DataSinkServiceGeneralizationProperties Properties { get; } = new DataSinkServiceGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DataSinkServiceGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.ServiceClass.ServiceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/DataSourceServiceGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/DataSourceServiceGeneralization.cs new file mode 100644 index 00000000..38478fc7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/DataSourceServiceGeneralization.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataSourceServiceGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587353600211_165608_1139"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587353600211_165608_1139"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "DataSourceService"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1587352697171_916488_715 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.ServiceClass); + + /// + public new DataSourceServiceGeneralizationProperties Properties { get; } = new DataSourceServiceGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DataSourceServiceGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.ServiceClass.ServiceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/MQTTSinkClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/MQTTSinkClass.cs new file mode 100644 index 00000000..37a2f413 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/MQTTSinkClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MQTTSinkClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587353433047_202973_991"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587353433047_202973_991"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "MQTTSink"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MQTTSinkClassProperties Properties { get; } = new MQTTSinkClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MQTTSinkClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/MQTTSinkGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/MQTTSinkGeneralization.cs new file mode 100644 index 00000000..3ea0b641 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/MQTTSinkGeneralization.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MQTTSinkGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1645219442464_751110_1192"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1645219442464_751110_1192"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "MQTT Sink"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1645213825022_980161_355 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.SinkClass); + + /// + public new MQTTSinkGeneralizationProperties Properties { get; } = new MQTTSinkGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MQTTSinkGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.SinkClass.SinkClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/MQTTSourceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/MQTTSourceClass.cs new file mode 100644 index 00000000..3adf005c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/MQTTSourceClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MQTTSourceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587355953516_870476_2368"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587355953516_870476_2368"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "MQTTSource"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MQTTSourceClassProperties Properties { get; } = new MQTTSourceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MQTTSourceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/NCLinkClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/NCLinkClass.cs new file mode 100644 index 00000000..193db1af --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/NCLinkClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NCLinkClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1645214759718_162618_989"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1645214759718_162618_989"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "NC Link"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1645213825022_980161_355 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.SinkClass); + + /// + public new NCLinkClassProperties Properties { get; } = new NCLinkClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class NCLinkClassProperties : Mtconnect.ReferenceAgentArchitecture.SinkClass.SinkClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/OPCUASinkGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/OPCUASinkGeneralization.cs new file mode 100644 index 00000000..f45c8b8f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/OPCUASinkGeneralization.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OPCUASinkGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1645214716551_214286_922"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1645214716551_214286_922"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "OPC UA Sink"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1645213825022_980161_355 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.SinkClass); + + /// + public new OPCUASinkGeneralizationProperties Properties { get; } = new OPCUASinkGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OPCUASinkGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.SinkClass.SinkClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/PipelineClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/PipelineClass.cs new file mode 100644 index 00000000..870aa2ca --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/PipelineClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PipelineClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1645213804401_416500_316"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1645213804401_416500_316"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Pipeline"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new PipelineClassProperties Properties { get; } = new PipelineClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class PipelineClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/RestServiceGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/RestServiceGeneralization.cs new file mode 100644 index 00000000..e4441012 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/RestServiceGeneralization.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RestServiceGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587354040514_18828_1559"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587354040514_18828_1559"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "RestService"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1587352697171_916488_715 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.ServiceClass); + + /// + public new RestServiceGeneralizationProperties Properties { get; } = new RestServiceGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RestServiceGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.ServiceClass.ServiceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/RestSinkClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/RestSinkClass.cs new file mode 100644 index 00000000..87875276 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/RestSinkClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RestSinkClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587353301308_976249_857"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587353301308_976249_857"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "RestSink"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new RestSinkClassProperties Properties { get; } = new RestSinkClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class RestSinkClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/RestSourceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/RestSourceClass.cs new file mode 100644 index 00000000..01517051 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/RestSourceClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RestSourceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587355932955_42035_2314"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587355932955_42035_2314"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "RestSource"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new RestSourceClassProperties Properties { get; } = new RestSourceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class RestSourceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/ServiceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/ServiceClass.cs new file mode 100644 index 00000000..f0d796c8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/ServiceClass.cs @@ -0,0 +1,216 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ServiceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587352697171_916488_715"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587352697171_916488_715"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Service"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ServiceClassProperties Properties { get; } = new ServiceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ServiceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Services, + Name, + }; + /// + ///
+ /// Original Name: Services + ///
+ public ServicesProperty Services { get; } = new ServicesProperty(); + + ///  + /// + public sealed class ServicesProperty : IProperty + { + /// Constant value for + public const string NAME = "services"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + ///  + /// + public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/SinkClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/SinkClass.cs new file mode 100644 index 00000000..ac4d88be --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/SinkClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SinkClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1645213825022_980161_355"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1645213825022_980161_355"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Sink"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SinkClassProperties Properties { get; } = new SinkClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SinkClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/SourceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/SourceClass.cs new file mode 100644 index 00000000..367a5aab --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/SourceClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SourceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1645213778421_161707_289"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1645213778421_161707_289"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Source"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SourceClassProperties Properties { get; } = new SourceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SourceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/StorageServiceGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/StorageServiceGeneralization.cs new file mode 100644 index 00000000..bfec1cae --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/StorageServiceGeneralization.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StorageServiceGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587355456959_219426_1981"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587355456959_219426_1981"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "StorageService"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1587352697171_916488_715 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.ServiceClass); + + /// + public new StorageServiceGeneralizationProperties Properties { get; } = new StorageServiceGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class StorageServiceGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.ServiceClass.ServiceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/TransformationServiceGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/TransformationServiceGeneralization.cs new file mode 100644 index 00000000..b58dd8bf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/TransformationServiceGeneralization.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransformationServiceGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587354467231_863431_1827"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587354467231_863431_1827"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "TransformationService"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1587352697171_916488_715 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.ServiceClass); + + /// + public new TransformationServiceGeneralizationProperties Properties { get; } = new TransformationServiceGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TransformationServiceGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.ServiceClass.ServiceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/TransformtionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/TransformtionClass.cs new file mode 100644 index 00000000..129ebd26 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/ReferenceAgentArchitecture/TransformtionClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransformtionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1645213844361_245532_396"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_4_45f01b9_1645213844361_245532_396"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Transformtion"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new TransformtionClassProperties Properties { get; } = new TransformtionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class TransformtionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/References/ComponentRefClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/References/ComponentRefClass.cs new file mode 100644 index 00000000..b2ba58c8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/References/ComponentRefClass.cs @@ -0,0 +1,160 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.References +{ + /// Reference that is a pointer to all of the information associated with another entity defined for a piece of equipment.



Description

ComponentRef allows all of the information of (lower level Component entities that is associated with the other entity to be directly associated with this entity.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ComponentRefClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581212139957_418083_223"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581212139957_418083_223"; + /// Constant value for + public const string SUMMARY = @" {{block(Reference)}} that is a pointer to all of the information associated with another entity defined for a piece of equipment. + + Description {{block(ComponentRef)}} allows all of the information of ({{term(lower level)}} {{block(Component)}} entities that is associated with the other entity to be directly associated with this entity. +"; + /// Constant value for + public const string NAME = "ComponentRef"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_25A13743_B12C_4c6c_B1DA_8E2EFDD156EF + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.References.ReferenceClass); + + /// + public new ComponentRefClassProperties Properties { get; } = new ComponentRefClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ComponentRefClassProperties : Mtconnect.DeviceInformationModel.References.ReferenceClass.ReferenceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + IdRef, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: IdRef + ///
+ public new IdRefProperty IdRef { get; } = new IdRefProperty(); + + /// pointer to the id in Component that contains the information to be associated with this entity.


+ ///
+ public new sealed class IdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "idRef"; + /// Constant value for + public const string SUMMARY = @" pointer to the {{property(Component::id)}} that contains the information to be associated with this entity. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ComponentGeneralization + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.ComponentGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/References/DataItemRefClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/References/DataItemRefClass.cs new file mode 100644 index 00000000..d2611375 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/References/DataItemRefClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.References +{ + /// Reference that is a pointer to a DataItem associated with another entity defined for a piece of equipment.


Description

DataItemRef allows the data associated with a DataItem defined in another entity to be directly associated with this entity.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataItemRefClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581212127193_199949_213"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1581212127193_199949_213"; + /// Constant value for + public const string SUMMARY = @" {{block(Reference)}} that is a pointer to a {{block(DataItem)}} associated with another entity defined for a piece of equipment. + Description {{block(DataItemRef)}} allows the data associated with a {{block(DataItem)}} defined in another entity to be directly associated with this entity. +"; + /// Constant value for + public const string NAME = "DataItemRef"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_25A13743_B12C_4c6c_B1DA_8E2EFDD156EF + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.References.ReferenceClass); + + /// + public new DataItemRefClassProperties Properties { get; } = new DataItemRefClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DataItemRefClassProperties : Mtconnect.DeviceInformationModel.References.ReferenceClass.ReferenceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + IdRef, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: IdRef + ///
+ public new IdRefProperty IdRef { get; } = new IdRefProperty(); + + /// pointer to the id in DataItem that contains the information to be associated with this entity.


+ ///
+ public new sealed class IdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "idRef"; + /// Constant value for + public const string SUMMARY = @" pointer to the {{property(DataItem::id)}} that contains the information to be associated with this entity. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.DataItems.DataItemClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/References/ReferenceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/References/ReferenceClass.cs new file mode 100644 index 00000000..dc32f9c4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/References/ReferenceClass.cs @@ -0,0 +1,367 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.References +{ + /// pointer to information that is associated with another entity defined elsewhere in the MTConnectDevices entity for a piece of equipment.


Description

Reference is an abstract entity and will be realized by a specific Reference type for an MTConnectDevices entity. See ComponentRef and DataItemRef.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ReferenceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_25A13743_B12C_4c6c_B1DA_8E2EFDD156EF"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_25A13743_B12C_4c6c_B1DA_8E2EFDD156EF"; + /// Constant value for + public const string SUMMARY = @" pointer to information that is associated with another entity defined elsewhere in the {{block(MTConnectDevices)}} entity for a piece of equipment. + Description {{block(Reference)}} is an abstract entity and will be realized by a specific {{block(Reference)}} type for an {{block(MTConnectDevices)}} entity. See {{sect(ComponentRef)}} and {{sect(DataItemRef)}}. +"; + /// Constant value for + public const string NAME = "Reference"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ReferenceClassProperties Properties { get; } = new ReferenceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ReferenceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + IdRef, + Name, + DataItemId, + RefDataItemId, + }; + /// + ///
+ /// Original Name: IdRef + ///
+ public IdRefProperty IdRef { get; } = new IdRefProperty(); + + /// pointer to the id of an entity that contains the information to be associated with this entity.


+ ///
+ public sealed class IdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "idRef"; + /// Constant value for + public const string SUMMARY = @" pointer to the `id` of an entity that contains the information to be associated with this entity. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + ///  name of an element or a piece of equipment.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of an element or a piece of equipment. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: DataItemId + ///
+ public DataItemIdProperty DataItemId { get; } = new DataItemIdProperty(); + + /// pointer to the id in DataItem that contains the information to be associated with this entity.


+ ///
+ public sealed class DataItemIdProperty : IProperty + { + /// Constant value for + public const string NAME = "dataItemId"; + /// Constant value for + public const string SUMMARY = @" pointer to the {{property(DataItem::id)}} that contains the information to be associated with this entity. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: RefDataItemId + ///
+ public RefDataItemIdProperty RefDataItemId { get; } = new RefDataItemIdProperty(); + + /// pointer to the id in DataItem that contains the information to be associated with this entity.


+ ///
+ public sealed class RefDataItemIdProperty : IProperty + { + /// Constant value for + public const string NAME = "refDataItemId"; + /// Constant value for + public const string SUMMARY = @" pointer to the {{property(DataItem::id)}} that contains the information to be associated with this entity. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RelationshipTypesForDataItem/AbstractDataItemRelationshipClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RelationshipTypesForDataItem/AbstractDataItemRelationshipClass.cs new file mode 100644 index 00000000..f279cc95 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RelationshipTypesForDataItem/AbstractDataItemRelationshipClass.cs @@ -0,0 +1,225 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.RelationshipTypesForDataItem +{ + /// association between a DataItem and another entity.


Description

AbstractDataItemRelationship is an abstract entity and hence will be realized by specific AbstractDataItemRelationship types in an MTConnectDevices entity. See Relationship Types for DataItem.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AbstractDataItemRelationshipClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1658942187874_859516_1061"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1658942187874_859516_1061"; + /// Constant value for + public const string SUMMARY = @" association between a {{block(DataItem)}} and another entity. + Description {{block(AbstractDataItemRelationship)}} is an abstract entity and hence will be realized by specific {{block(AbstractDataItemRelationship)}} types in an {{block(MTConnectDevices)}} entity. See {{package(Relationship Types for DataItem)}}. +"; + /// Constant value for + public const string NAME = "AbstractDataItemRelationship"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new AbstractDataItemRelationshipClassProperties Properties { get; } = new AbstractDataItemRelationshipClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class AbstractDataItemRelationshipClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + IdRef, + Name, + }; + /// + ///
+ /// Original Name: IdRef + ///
+ public IdRefProperty IdRef { get; } = new IdRefProperty(); + + /// reference to the related entity's id.



+ ///
+ public sealed class IdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "idRef"; + /// Constant value for + public const string SUMMARY = @" reference to the related entity's `id`. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// descriptive name associated with this AbstractDataItemRelationship.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" descriptive name associated with this {{block(AbstractDataItemRelationship)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RelationshipTypesForDataItem/DataItemRelationshipClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RelationshipTypesForDataItem/DataItemRelationshipClass.cs new file mode 100644 index 00000000..835d8e7a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RelationshipTypesForDataItem/DataItemRelationshipClass.cs @@ -0,0 +1,158 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.RelationshipTypesForDataItem +{ + /// AbstractDataItemRelationship that provides a semantic reference to another DataItem described by type in DataItemRelationship.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataItemRelationshipClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605645474430_802116_2875"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605645474430_802116_2875"; + /// Constant value for + public const string SUMMARY = @" {{block(AbstractDataItemRelationship)}} that provides a semantic reference to another {{block(DataItem)}} described by {{property(DataItemRelationship::type)}}. +"; + /// Constant value for + public const string NAME = "DataItemRelationship"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1658942187874_859516_1061 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.RelationshipTypesForDataItem.AbstractDataItemRelationshipClass); + + /// + public new DataItemRelationshipClassProperties Properties { get; } = new DataItemRelationshipClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DataItemRelationshipClassProperties : Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.RelationshipTypesForDataItem.AbstractDataItemRelationshipClass.AbstractDataItemRelationshipClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + /// specifies how the DataItem is related.


+ ///
+ public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" specifies how the {{block(DataItem)}} is related. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemRelationshipTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemRelationshipTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RelationshipTypesForDataItem/SpecificationRelationshipClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RelationshipTypesForDataItem/SpecificationRelationshipClass.cs new file mode 100644 index 00000000..735cb844 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/RelationshipTypesForDataItem/SpecificationRelationshipClass.cs @@ -0,0 +1,158 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.RelationshipTypesForDataItem +{ + /// AbstractDataItemRelationship that provides a semantic reference to another Specification described by type in SpecificationRelationship and idRef in SpecificationRelationship.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpecificationRelationshipClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605645496116_206752_2923"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605645496116_206752_2923"; + /// Constant value for + public const string SUMMARY = @" {{block(AbstractDataItemRelationship)}} that provides a semantic reference to another {{block(Specification)}} described by {{property(SpecificationRelationship::type)}} and {{property(SpecificationRelationship::idRef)}}. +"; + /// Constant value for + public const string NAME = "SpecificationRelationship"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1658942187874_859516_1061 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.RelationshipTypesForDataItem.AbstractDataItemRelationshipClass); + + /// + public new SpecificationRelationshipClassProperties Properties { get; } = new SpecificationRelationshipClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SpecificationRelationshipClassProperties : Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.RelationshipTypesForDataItem.AbstractDataItemRelationshipClass.AbstractDataItemRelationshipClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + /// specifies how the Specification is related.


+ ///
+ public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" specifies how the {{block(Specification)}} is related. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SpecificationRelationshipTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SpecificationRelationshipTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/AssetRelationshipClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/AssetRelationshipClass.cs new file mode 100644 index 00000000..a069aade --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/AssetRelationshipClass.cs @@ -0,0 +1,303 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Configurations.Relationships +{ + /// ConfigurationRelationship that describes the association between a Component and an Asset.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetRelationshipClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1658942745281_216676_1135"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1658942745281_216676_1135"; + /// Constant value for + public const string SUMMARY = @" {{block(ConfigurationRelationship)}} that describes the association between a {{block(Component)}} and an {{block(Asset)}}. +"; + /// Constant value for + public const string NAME = "AssetRelationship"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_28132294_DF39_4e8e_8AE5_B79565F991A2 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Configurations.Relationships.ConfigurationRelationshipClass); + + /// + public new AssetRelationshipClassProperties Properties { get; } = new AssetRelationshipClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AssetRelationshipClassProperties : Mtconnect.DeviceInformationModel.Configurations.Relationships.ConfigurationRelationshipClass.ConfigurationRelationshipClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + AssetIdRef, + AssetType, + Href, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: AssetIdRef + ///
+ public new AssetIdRefProperty AssetIdRef { get; } = new AssetIdRefProperty(); + + /// uuid of the related Asset.


+ ///
+ public new sealed class AssetIdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "assetIdRef"; + /// Constant value for + public const string SUMMARY = @" uuid of the related {{block(Asset)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: AssetType + ///
+ public new AssetTypeProperty AssetType { get; } = new AssetTypeProperty(); + + /// type of Asset being referenced.


+ ///
+ public new sealed class AssetTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "assetType"; + /// Constant value for + public const string SUMMARY = @" type of {{block(Asset)}} being referenced. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Href + ///
+ public new HrefProperty Href { get; } = new HrefProperty(); + + /// URI reference to the associated Asset.


Description

href in AssetRelationship MUST also include the uuid in Device for that specific piece of equipment.

href in AssetRelationship is of type xlink:href from the W3C XLink specification: https://www.w3.org/TR/xlink11/.




+ ///
+ public new sealed class HrefProperty : IProperty + { + /// Constant value for + public const string NAME = "href"; + /// Constant value for + public const string SUMMARY = @" {{term(URI)}} reference to the associated {{block(Asset)}}. + Description {{property(AssetRelationship::href)}} **MUST** also include the {{property(Device::uuid)}} for that specific piece of equipment. + +{{property(AssetRelationship::href)}} is of type `xlink:href` from the W3C XLink specification: {{cite(https://www.w3.org/TR/xlink11/)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/ComponentRelationshipClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/ComponentRelationshipClass.cs new file mode 100644 index 00000000..d2585dc0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/ComponentRelationshipClass.cs @@ -0,0 +1,158 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Configurations.Relationships +{ + /// ConfigurationRelationship that describes the association between two components within a piece of equipment that function independently but together perform a capability or service within a piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ComponentRelationshipClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_2D0A9D8F_2538_4f46_8B83_6B1988818511"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_2D0A9D8F_2538_4f46_8B83_6B1988818511"; + /// Constant value for + public const string SUMMARY = @" {{block(ConfigurationRelationship)}} that describes the association between two components within a piece of equipment that function independently but together perform a capability or service within a piece of equipment. +"; + /// Constant value for + public const string NAME = "ComponentRelationship"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_28132294_DF39_4e8e_8AE5_B79565F991A2 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Configurations.Relationships.ConfigurationRelationshipClass); + + /// + public new ComponentRelationshipClassProperties Properties { get; } = new ComponentRelationshipClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ComponentRelationshipClassProperties : Mtconnect.DeviceInformationModel.Configurations.Relationships.ConfigurationRelationshipClass.ConfigurationRelationshipClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + IdRef, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: IdRef + ///
+ public new IdRefProperty IdRef { get; } = new IdRefProperty(); + + /// reference to the associated Component.


+ ///
+ public new sealed class IdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "idRef"; + /// Constant value for + public const string SUMMARY = @" reference to the associated {{block(Component)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/ConfigurationRelationshipClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/ConfigurationRelationshipClass.cs new file mode 100644 index 00000000..64a1b7c5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/ConfigurationRelationshipClass.cs @@ -0,0 +1,367 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Relationships +{ + /// association between two pieces of equipment that function independently but together perform a manufacturing operation.


Description

ConfigurationRelationship is an abstract entity and hence will be realized by specific ConfigurationRelationship types in an MTConnectDevices entity. See ComponentRelationship and DeviceRelationship.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConfigurationRelationshipClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_28132294_DF39_4e8e_8AE5_B79565F991A2"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_28132294_DF39_4e8e_8AE5_B79565F991A2"; + /// Constant value for + public const string SUMMARY = @" association between two pieces of equipment that function independently but together perform a manufacturing operation. + Description {{block(ConfigurationRelationship)}} is an abstract entity and hence will be realized by specific {{block(ConfigurationRelationship)}} types in an {{block(MTConnectDevices)}} entity. See {{sect(ComponentRelationship)}} and {{sect(DeviceRelationship)}}. +"; + /// Constant value for + public const string NAME = "ConfigurationRelationship"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ConfigurationRelationshipClassProperties Properties { get; } = new ConfigurationRelationshipClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ConfigurationRelationshipClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Name, + Id, + Type, + Criticality, + }; + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// name associated with this ConfigurationRelationship.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name associated with this {{block(ConfigurationRelationship)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Id + ///
+ public IdProperty Id { get; } = new IdProperty(); + + /// unique identifier for this ConfigurationRelationship.


+ ///
+ public sealed class IdProperty : IProperty + { + /// Constant value for + public const string NAME = "id"; + /// Constant value for + public const string SUMMARY = @" unique identifier for this {{block(ConfigurationRelationship)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// defines the authority that this piece of equipment has relative to the associated piece of equipment.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" defines the authority that this piece of equipment has relative to the associated piece of equipment. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RelationshipTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RelationshipTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Criticality + ///
+ public CriticalityProperty Criticality { get; } = new CriticalityProperty(); + + /// defines whether the services or functions provided by the associated piece of equipment is required for the operation of this piece of equipment.


+ ///
+ public sealed class CriticalityProperty : IProperty + { + /// Constant value for + public const string NAME = "criticality"; + /// Constant value for + public const string SUMMARY = @" defines whether the services or functions provided by the associated piece of equipment is required for the operation of this piece of equipment. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CriticalityTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.CriticalityTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/DeviceRelationshipClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/DeviceRelationshipClass.cs new file mode 100644 index 00000000..fb5d7aa5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Relationships/DeviceRelationshipClass.cs @@ -0,0 +1,375 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Configurations.Relationships +{ + /// ConfigurationRelationship that describes the association between two pieces of equipment that function independently but together perform a manufacturing operation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeviceRelationshipClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_E20AAF35_BE17_40e8_8701_D2D7676EDC69"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_E20AAF35_BE17_40e8_8701_D2D7676EDC69"; + /// Constant value for + public const string SUMMARY = @" {{block(ConfigurationRelationship)}} that describes the association between two pieces of equipment that function independently but together perform a manufacturing operation. +"; + /// Constant value for + public const string NAME = "DeviceRelationship"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_28132294_DF39_4e8e_8AE5_B79565F991A2 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Configurations.Relationships.ConfigurationRelationshipClass); + + /// + public new DeviceRelationshipClassProperties Properties { get; } = new DeviceRelationshipClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DeviceRelationshipClassProperties : Mtconnect.DeviceInformationModel.Configurations.Relationships.ConfigurationRelationshipClass.ConfigurationRelationshipClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + DeviceUuidRef, + Href, + Role, + Xlink_Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: DeviceUuidRef + ///
+ public new DeviceUuidRefProperty DeviceUuidRef { get; } = new DeviceUuidRefProperty(); + + /// reference to the uuid in Device of the associated piece of equipment.


+ ///
+ public new sealed class DeviceUuidRefProperty : IProperty + { + /// Constant value for + public const string NAME = "deviceUuidRef"; + /// Constant value for + public const string SUMMARY = @" reference to the {{property(Device::uuid)}} of the associated piece of equipment. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Href + ///
+ public new HrefProperty Href { get; } = new HrefProperty(); + + /// URI identifying the agent that is publishing information for the associated piece of equipment.


Description

href in DeviceRelationship MUST also include the uuid in Device for that specific piece of equipment.

{{property(href)}} is of type xlink:href from the W3C XLink specification: https://www.w3.org/TR/xlink11/.




+ ///
+ public new sealed class HrefProperty : IProperty + { + /// Constant value for + public const string NAME = "href"; + /// Constant value for + public const string SUMMARY = @" {{term(URI)}} identifying the {{term(agent)}} that is publishing information for the associated piece of equipment. + Description {{property(DeviceRelationship::href)}} **MUST** also include the {{property(Device::uuid)}} for that specific piece of equipment. + +{{property(href)}} is of type `xlink:href` from the W3C XLink specification: {{cite(https://www.w3.org/TR/xlink11/)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Role + ///
+ public new RoleProperty Role { get; } = new RoleProperty(); + + /// defines the services or capabilities that the referenced piece of equipment provides relative to this piece of equipment.


+ ///
+ public new sealed class RoleProperty : IProperty + { + /// Constant value for + public const string NAME = "role"; + /// Constant value for + public const string SUMMARY = @" defines the services or capabilities that the referenced piece of equipment provides relative to this piece of equipment. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RoleTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.RoleTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Xlink:Type + ///
+ public new Xlink_TypeProperty Xlink_Type { get; } = new Xlink_TypeProperty(); + + /// xlink:typeMUST have a fixed value of locator as defined in W3C XLink 1.1 https://www.w3.org/TR/xlink11/.


Description

If the href in DeviceRelationship is provided, it MUST conform to the URI syntactic rules as defined in IETF RFC 3986 for Uniform Resource Identifiers. https://www.ietf.org/rfc/rfc3986.txt




+ ///
+ public new sealed class Xlink_TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "xlink:type"; + /// Constant value for + public const string SUMMARY = @" `xlink:type`**MUST** have a fixed value of `locator` as defined in W3C XLink 1.1 {{cite(https://www.w3.org/TR/xlink11/)}}. + Description If the {{property(DeviceRelationship::href)}} is provided, it **MUST** conform to the {{term(URI)}} syntactic rules as defined in IETF RFC 3986 for Uniform Resource Identifiers. {{cite(https://www.ietf.org/rfc/rfc3986.txt)}} +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representation/TemperatureClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representation/TemperatureClass.cs new file mode 100644 index 00000000..10ba3210 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representation/TemperatureClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.WIP_DeviceExamples.MillW_PER_SmoothG.Representation +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TemperatureClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1634218310724_873316_896"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1634218310724_873316_896"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Temperature"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new TemperatureClassProperties Properties { get; } = new TemperatureClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TemperatureClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representation/VariableClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representation/VariableClass.cs new file mode 100644 index 00000000..b3f0478f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representation/VariableClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.WIP_DeviceExamples.MillW_PER_SmoothG.Representation +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VariableClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1634043463233_893872_100"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1634043463233_893872_100"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Variable"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new VariableClassProperties Properties { get; } = new VariableClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VariableClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representation/WorkOffsetsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representation/WorkOffsetsClass.cs new file mode 100644 index 00000000..7e8de32b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representation/WorkOffsetsClass.cs @@ -0,0 +1,152 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.WIP_DeviceExamples.MillW_PER_SmoothG.Representation +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WorkOffsetsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1634045367649_547336_746"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1634045367649_547336_746"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "WorkOffsets"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531115_47447_25730 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.EventClass); + + /// + public new WorkOffsetsClassProperties Properties { get; } = new WorkOffsetsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WorkOffsetsClassProperties : Mtconnect.ObservationInformationModel.EventClass.EventClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Count, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Count + ///
+ public new CountProperty Count { get; } = new CountProperty(); + + /// number of Entry elements for the Observation.


+ ///
+ public new sealed class CountProperty : IProperty + { + /// Constant value for + public const string NAME = "count"; + /// Constant value for + public const string SUMMARY = @" number of {{block(Entry)}} elements for the {{block(Observation)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/CellClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/CellClass.cs new file mode 100644 index 00000000..b65f079d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/CellClass.cs @@ -0,0 +1,231 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ObservationInformationModel.Representations +{ + /// key-value pair published as part of a TableEntry.


Constraints for Cell Values

#### Constraints for Cell Values

The value of each Cell MUST have the same restrictions as the value of an observation with representation in DataItem as VALUE.

An Cell MAY be further constrained by the DataItem definition (see Device Information Model), for example a VariableDataSet having a string value MAY have a floating-point Temperature value. A restriction MUST NOT be broadened or removed, for example, the value READY MUST NOT occur with a TemperatureDataSet constrained limited to floating-point numbers.

CellDefinition MAY provide type and units of a key in Cell.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CellClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582847071494_298325_2235"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582847071494_298325_2235"; + /// Constant value for + public const string SUMMARY = @" {{term(key-value pair)}} published as part of a {{block(TableEntry)}}. + Constraints for Cell Values #### Constraints for Cell Values + +The value of each {{block(Cell)}} **MUST** have the same restrictions as the value of an {{term(observation)}} with {{property(DataItem::representation)}} as `VALUE`. + +An {{block(Cell)}} **MAY** be further constrained by the {{block(DataItem)}} definition (see {{package(Device Information Model)}}), for example a `VariableDataSet` having a string value **MAY** have a floating-point {{block(Temperature)}} value. A restriction **MUST NOT** be broadened or removed, for example, the value `READY` **MUST NOT** occur with a `TemperatureDataSet` constrained limited to floating-point numbers. + +{{block(CellDefinition)}} **MAY** provide type and units of a {{property(Cell::key)}}. +"; + /// Constant value for + public const string NAME = "Cell"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new CellClassProperties Properties { get; } = new CellClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class CellClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Key, + Result, + }; + /// + ///
+ /// Original Name: Key + ///
+ public KeyProperty Key { get; } = new KeyProperty(); + + /// unique identifier for each key-value pair.


+ ///
+ public sealed class KeyProperty : IProperty + { + /// Constant value for + public const string NAME = "key"; + /// Constant value for + public const string SUMMARY = @" unique identifier for each {{term(key-value pair)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public ResultProperty Result { get; } = new ResultProperty(); + + /// value of the Cell.


+ ///
+ public sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @" value of the {{block(Cell)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/DataSetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/DataSetClass.cs new file mode 100644 index 00000000..2b76e12a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/DataSetClass.cs @@ -0,0 +1,265 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.Representations +{ + /// Representation for an Observation composed of value(s) represented as a set of key-value pairs.



Description


DataSet for an Observation is defined by the associated representation in DataItem as DATA_SET.

representation in DataItem as DATA_SET MUST have category in DataItem as SAMPLE or EVENT.

{{figure(VariableDataSet)}} shows the model for Variable (Event type) with a Representation type of DataSet.

![VariableDataSet](figures/VariableDataSet.png "VariableDataSet"){: width="0.8"}

> Note: See {{figure(DataSet Schema)}} for XML schema.

DataSet reports multiple values as a set of key-value pair where each key MUST be unique. The representation of the key-value pair is an Entry. The value of each Entry MUST have the same constraints and format as the Observation defined for representation in DataItem as VALUE for the DataItem type. (See Value).

The meaning of each Entry MAY be provided as the DataItem EntryDefinition.

{{figure(DataSet Example)}} shows Event Observation type Variable with a Representation type of DataSet.

![DataSet Example](figures/DataSet%20Example.png "DataSet Example"){: width="0.8"}

> Note: See {{lst(dataset-example)}} for the XML representation of the same example.

#### Management of Data Set Observations

An agent MUST maintain the current state of the DataSet as described in Fundamentals.

One or more key-value pairs MAY be added, removed, or changed in an Observation. An agent MUST publish the changes to one or more key-value pairs as a single Observation. An agent MUST indicate the removal of a key-value pair from a DataSet using the removed in Entry as true.

When the discrete in DataItem is false or is not present, an agent in response to a sample request MUST only publish the changed key-value pair since the previous state of the DataSet.

When the discrete in DataItem attribute is true, an agent, in response to a sample request, MUST report all key-value pairs ignoring the state of the DataSet.

When an agent responds to a current request, the response document MUST include the full set of key-value pairs. If the current request includes an at query parameter, the agent MUST provide the set of key-value pairs at the sequence number.

When an Observation reset occurs, the DataSet MUST remove all key-value pairs making the set empty. The Observation MAY simultaneously populate the DataSet with new key-value pairs. The previous entries MUST NOT be included and MUST NOT have removed in Entry as true.

When the Observation is UNAVAILABLE the DataSet MUST remove all key-value pairs making the set empty.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataSetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579566531114_503405_25727"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579566531114_503405_25727"; + /// Constant value for + public const string SUMMARY = @" {{block(Representation)}} for an {{block(Observation)}} composed of value(s) represented as a set of {{termplural(key-value pair)}}. + + Description +{{block(DataSet)}} for an {{block(Observation)}} is defined by the associated {{property(DataItem::representation)}} as `DATA_SET`. + +{{property(DataItem::representation)}} as `DATA_SET` **MUST** have {{property(DataItem::category)}} as `SAMPLE` or `EVENT`. + +{{figure(VariableDataSet)}} shows the model for {{block(Variable)}} ({{block(Event)}} type) with a {{block(Representation)}} type of {{block(DataSet)}}. + +![VariableDataSet](figures/VariableDataSet.png ""VariableDataSet""){: width=""0.8""} + +> Note: See {{figure(DataSet Schema)}} for XML schema. + +{{block(DataSet)}} reports multiple values as a set of {{term(key-value pair)}} where each {{term(key)}} **MUST** be unique. The representation of the {{term(key-value pair)}} is an {{block(Entry)}}. The value of each {{block(Entry)}} **MUST** have the same constraints and format as the {{block(Observation)}} defined for {{property(DataItem::representation)}} as `VALUE` for the {{block(DataItem)}} type. (See {{block(Value)}}). + +The meaning of each {{block(Entry)}} **MAY** be provided as the {{block(DataItem)}} {{block(EntryDefinition)}}. + +{{figure(DataSet Example)}} shows {{block(Event)}} {{block(Observation)}} type {{block(Variable)}} with a {{block(Representation)}} type of `DataSet`. + +![DataSet Example](figures/DataSet%20Example.png ""DataSet Example""){: width=""0.8""} + +> Note: See {{lst(dataset-example)}} for the {{term(XML)}} representation of the same example. + +#### Management of Data Set Observations + +An {{term(agent)}} **MUST** maintain the current state of the {{block(DataSet)}} as described in {{package(Fundamentals)}}. + +One or more {{termplural(key-value pair)}} **MAY** be added, removed, or changed in an {{block(Observation)}}. An {{term(agent)}} **MUST** publish the changes to one or more {{termplural(key-value pair)}} as a single {{block(Observation)}}. An {{term(agent)}} **MUST** indicate the removal of a {{term(key-value pair)}} from a {{block(DataSet)}} using the {{property(Entry::removed)}} as `true`. + +When the {{property(DataItem::discrete)}} is `false` or is not present, an {{term(agent)}} in response to a {{term(sample request)}} **MUST** only publish the changed {{term(key-value pair)}} since the previous state of the {{block(DataSet)}}. + +When the {{property(DataItem::discrete)}} attribute is `true`, an {{term(agent)}}, in response to a {{term(sample request)}}, **MUST** report all {{termplural(key-value pair)}} ignoring the state of the {{block(DataSet)}}. + +When an {{term(agent)}} responds to a {{term(current request)}}, the {{term(response document)}} **MUST** include the full set of {{termplural(key-value pair)}}. If the {{term(current request)}} includes an `at` query parameter, the {{term(agent)}} **MUST** provide the set of {{termplural(key-value pair)}} at the {{term(sequence number)}}. + +When an {{block(Observation)}} {{term(reset)}} occurs, the {{block(DataSet)}} **MUST** remove all {{termplural(key-value pair)}} making the set empty. The {{block(Observation)}} **MAY** simultaneously populate the {{block(DataSet)}} with new {{termplural(key-value pair)}}. The previous entries **MUST NOT** be included and **MUST NOT** have {{property(Entry::removed)}} as `true`. + +When the {{block(Observation)}} is `UNAVAILABLE` the {{block(DataSet)}} **MUST** remove all {{termplural(key-value pair)}} making the set empty. +"; + /// Constant value for + public const string NAME = "DataSet"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1633615188301_96457_1251 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.Representations.RepresentationClass); + + /// + public new DataSetClassProperties Properties { get; } = new DataSetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DataSetClassProperties : Mtconnect.ObservationInformationModel.Representations.RepresentationClass.RepresentationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Count, + ResultPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Count + ///
+ public new CountProperty Count { get; } = new CountProperty(); + + /// number of Entry elements for the Observation.


+ ///
+ public new sealed class CountProperty : IProperty + { + /// Constant value for + public const string NAME = "count"; + /// Constant value for + public const string SUMMARY = @" number of {{block(Entry)}} elements for the {{block(Observation)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultPartProperty ResultPart { get; } = new ResultPartProperty(); + + ///  + /// + public new sealed class ResultPartProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Entry"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: EntryClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.Representations.EntryClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/DiscreteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/DiscreteClass.cs new file mode 100644 index 00000000..f9de52e0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/DiscreteClass.cs @@ -0,0 +1,170 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.Representations +{ + /// DEPRECATED Representation for an Observation where each discrete occurrence of the data may have the same value as the previous occurrence of the data.



Description


Discrete for an Observation is defined by the associated representation in DataItem as DISCRETE.

representation in DataItem as DISCRETE MUST have category in DataItem as EVENT.

MTConnect Version 1.5 replaced representation in DataItem as DISCRETE with discrete in DataItem.

Each occurrence of the Observation MAY have the same value as the previous occurrence, and MUST NOT suppress duplicates.

Examples of Discrete: A PartCount reporting the completion of each part using a 1 to indicate completion of a single part, a Message that occurs each time a door opens.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// Deprecated: v1.5 + /// + /// + [Obsolete("Deprecated in v1.5 according to https://model.mtconnect.org/#_Version_1.5")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DiscreteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579566531114_595827_25728"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579566531114_595827_25728"; + /// Constant value for + public const string SUMMARY = @" **DEPRECATED** {{block(Representation)}} for an {{block(Observation)}} where each discrete occurrence of the data may have the same value as the previous occurrence of the data. + + Description +{{block(Discrete)}} for an {{block(Observation)}} is defined by the associated {{property(DataItem::representation)}} as `DISCRETE`. + +{{property(DataItem::representation)}} as `DISCRETE` **MUST** have {{property(DataItem::category)}} as `EVENT`. + +*MTConnect Version 1.5* replaced {{property(DataItem::representation)}} as `DISCRETE` with {{property(DataItem::discrete)}}. + +Each occurrence of the {{block(Observation)}} **MAY** have the same value as the previous occurrence, and **MUST NOT** suppress duplicates. + +Examples of {{block(Discrete)}}: A `PartCount` reporting the completion of each part using a 1 to indicate completion of a single part, a `Message` that occurs each time a door opens. +"; + /// Constant value for + public const string NAME = "Discrete"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.5"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1633615188301_96457_1251 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.Representations.RepresentationClass); + + /// + public new DiscreteClassProperties Properties { get; } = new DiscreteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DiscreteClassProperties : Mtconnect.ObservationInformationModel.Representations.RepresentationClass.RepresentationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.5"; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/EntryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/EntryClass.cs new file mode 100644 index 00000000..d33f7b2a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/EntryClass.cs @@ -0,0 +1,372 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ObservationInformationModel.Representations +{ + /// key-value pair published as part of a DataSet.


Constraints for Entry Values


The value of each Entry MUST have the same restrictions as the value of an observation with representation in DataItem as VALUE.

An Entry MAY be further constrained by the DataItem definition (see Device Information Model), for example a VariableDataSet having a string value MAY have a floating-point Temperature value. A restriction MUST NOT be broadened or removed, for example, the value "READY" MUST NOT occur with a TemperatureDataSet constrained to floating-point numbers.

EntryDefinition MAY provide the type and units of an key in Entry.





+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EntryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579566531114_364030_25729"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579566531114_364030_25729"; + /// Constant value for + public const string SUMMARY = @" {{term(key-value pair)}} published as part of a {{block(DataSet)}}. + Constraints for Entry Values +The value of each {{block(Entry)}} **MUST** have the same restrictions as the value of an {{term(observation)}} with {{property(DataItem::representation)}} as `VALUE`. + +An {{block(Entry)}} **MAY** be further constrained by the {{block(DataItem)}} definition (see {{package(Device Information Model)}}), for example a `VariableDataSet` having a string value **MAY** have a floating-point {{block(Temperature)}} value. A restriction **MUST NOT** be broadened or removed, for example, the value ""READY"" **MUST NOT** occur with a `TemperatureDataSet` constrained to floating-point numbers. + +{{block(EntryDefinition)}} **MAY** provide the type and units of an {{property(Entry::key)}}. + +"; + /// Constant value for + public const string NAME = "Entry"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new EntryClassProperties Properties { get; } = new EntryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class EntryClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Key, + Removed, + IsEntryForPart, + Result, + }; + /// + ///
+ /// Original Name: Key + ///
+ public KeyProperty Key { get; } = new KeyProperty(); + + /// unique identifier for each key-value pair.


+ ///
+ public sealed class KeyProperty : IProperty + { + /// Constant value for + public const string NAME = "key"; + /// Constant value for + public const string SUMMARY = @" unique identifier for each {{term(key-value pair)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Removed + ///
+ public RemovedProperty Removed { get; } = new RemovedProperty(); + + /// removal indicator of a key-value pair.


+ ///
+ public sealed class RemovedProperty : IProperty + { + /// Constant value for + public const string NAME = "removed"; + /// Constant value for + public const string SUMMARY = @" removal indicator of a {{term(key-value pair)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Boolean + /// + public System.Type Type => typeof(Boolean); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: IsEntryFor + ///
+ public IsEntryForPartProperty IsEntryForPart { get; } = new IsEntryForPartProperty(); + + ///  + /// + public sealed class IsEntryForPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isEntryFor"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Entry"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataSetClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.Representations.DataSetClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public ResultProperty Result { get; } = new ResultProperty(); + + /// value of the Entry.


+ ///
+ public sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @" value of the {{block(Entry)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/RepresentationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/RepresentationClass.cs new file mode 100644 index 00000000..d0dfe317 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/RepresentationClass.cs @@ -0,0 +1,89 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ObservationInformationModel.Representations +{ + /// specifies the format and structure of result in Observation.


Description

The Representation type for an Observation is defined by the associated representation in DataItem in the MTConnectDevices Response Document.

Value is the default Representation type for all Observation types.

The name of the Observation type is modified for all Representation types other than Value by appending the pascal case of the Representation type.

Example: The name for Sample Observation type Temperaturewith Representation type of TimeSeries becomes TemperatureTimeSeries.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RepresentationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1633615188301_96457_1251"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1633615188301_96457_1251"; + /// Constant value for + public const string SUMMARY = @" specifies the format and structure of {{property(Observation::result)}}. + Description The {{block(Representation)}} type for an {{block(Observation)}} is defined by the associated {{property(DataItem::representation)}} in the {{term(MTConnectDevices Response Document)}}. + +{{block(Value)}} is the default {{block(Representation)}} type for all {{block(Observation)}} types. + +The name of the {{block(Observation)}} type is modified for all {{block(Representation)}} types other than {{block(Value)}} by appending the pascal case of the {{block(Representation)}} type. + +Example: The name for {{block(Sample)}} {{block(Observation)}} type `Temperature`with `Representation` type of `TimeSeries` becomes `TemperatureTimeSeries`. +"; + /// Constant value for + public const string NAME = "Representation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "abstract"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new RepresentationClassProperties Properties { get; } = new RepresentationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class RepresentationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/TableClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/TableClass.cs new file mode 100644 index 00000000..b7f432fb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/TableClass.cs @@ -0,0 +1,252 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.Representations +{ + /// Representation for an Observation composed of two-dimensional sets of key-value pairs where the Entry represents rows containing sets of key-value pairs given by Cell entities.



Description

Table for an Observation is defined by the associated representation in DataItem as TABLE.

representation in DataItem as TABLE MUST have category in DataItem as SAMPLE or EVENT.

{{figure(WorkOffsetTable)}} shows the model for WorkOffset (Event type) with a Representation type of Table.

![WorkOffsetTable](figures/WorkOffsetTable.png "WorkOffsetTable"){: width="0.8"}

> Note: See Representation Schema Diagrams for XML schema.

Table has the same behavior as the DataSet for change tracking, clearing, and history. When an Entry changes, all Cell entities update at the same time; they are not tracked separately like Entry.

The meaning of each Entry and Cell MAY be provided as the DataItem EntryDefinition and CellDefinition.

key in Entry MUST be the unique identity of the Entry within an Observation. key in Cell MUST be the unique identity of the Cell within an Entry.

{{figure(Table Example)}} shows Event Observation type WorkOffset with a Representation type of Table.

![Table Example](figures/Table%20Example.png "Table Example"){: width="0.8"}

> Note: See {{lst(table-example)}} for the XML representation of the same example.






+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TableClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582846972437_483160_2181"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1582846972437_483160_2181"; + /// Constant value for + public const string SUMMARY = @" {{block(Representation)}} for an {{block(Observation)}} composed of two-dimensional sets of {{termplural(key-value pair)}} where the {{block(Entry)}} represents rows containing sets of {{termplural(key-value pair)}} given by {{block(Cell)}} entities. + + Description {{block(Table)}} for an {{block(Observation)}} is defined by the associated {{property(DataItem::representation)}} as `TABLE`. + +{{property(DataItem::representation)}} as `TABLE` **MUST** have {{property(DataItem::category)}} as `SAMPLE` or `EVENT`. + +{{figure(WorkOffsetTable)}} shows the model for {{block(WorkOffset)}} ({{block(Event)}} type) with a {{block(Representation)}} type of {{block(Table)}}. + +![WorkOffsetTable](figures/WorkOffsetTable.png ""WorkOffsetTable""){: width=""0.8""} + +> Note: See {{sect(Representation Schema Diagrams)}} for XML schema. + +{{block(Table)}} has the same behavior as the {{block(DataSet)}} for change tracking, clearing, and history. When an {{block(Entry)}} changes, all {{block(Cell)}} entities update at the same time; they are not tracked separately like {{block(Entry)}}. + +The meaning of each {{block(Entry)}} and {{block(Cell)}} **MAY** be provided as the {{block(DataItem)}} {{block(EntryDefinition)}} and {{block(CellDefinition)}}. + +{{property(Entry::key)}} **MUST** be the unique identity of the {{block(Entry)}} within an {{block(Observation)}}. {{property(Cell::key)}} **MUST** be the unique identity of the {{block(Cell)}} within an {{block(Entry)}}. + +{{figure(Table Example)}} shows {{block(Event)}} {{block(Observation)}} type {{block(WorkOffset)}} with a {{block(Representation)}} type of `Table`. + +![Table Example](figures/Table%20Example.png ""Table Example""){: width=""0.8""} + +> Note: See {{lst(table-example)}} for the {{term(XML)}} representation of the same example. + + +"; + /// Constant value for + public const string NAME = "Table"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1633615188301_96457_1251 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.Representations.RepresentationClass); + + /// + public new TableClassProperties Properties { get; } = new TableClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TableClassProperties : Mtconnect.ObservationInformationModel.Representations.RepresentationClass.RepresentationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + ResultPart, + Count, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultPartProperty ResultPart { get; } = new ResultPartProperty(); + + ///  + /// + public new sealed class ResultPartProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "TableEntry"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TableEntryClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.Representations.TableEntryClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Count + ///
+ public new CountProperty Count { get; } = new CountProperty(); + + /// number of key-value pairs represented as Entry entities.


+ ///
+ public new sealed class CountProperty : IProperty + { + /// Constant value for + public const string NAME = "count"; + /// Constant value for + public const string SUMMARY = @" number of {{termplural(key-value pair)}} represented as {{block(Entry)}} entities. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/TableEntryClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/TableEntryClass.cs new file mode 100644 index 00000000..ce25ec5a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/TableEntryClass.cs @@ -0,0 +1,368 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ObservationInformationModel.Representations +{ + /// key-value pair published as part of a Table.

> Note: In the XML representation, TableEntry MUST appear as Entry.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TableEntryClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1600164112807_45306_44"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1600164112807_45306_44"; + /// Constant value for + public const string SUMMARY = @" {{term(key-value pair)}} published as part of a {{block(Table)}}. + +> Note: In the {{term(XML)}} representation, {{block(TableEntry)}} **MUST** appear as {{block(Entry)}}. + + +"; + /// Constant value for + public const string NAME = "TableEntry"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new TableEntryClassProperties Properties { get; } = new TableEntryClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class TableEntryClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Key, + Removed, + ResultPart, + IsEntryForPart, + }; + /// + ///
+ /// Original Name: Key + ///
+ public KeyProperty Key { get; } = new KeyProperty(); + + /// unique identifier for each key-value pair.


+ ///
+ public sealed class KeyProperty : IProperty + { + /// Constant value for + public const string NAME = "key"; + /// Constant value for + public const string SUMMARY = @" unique identifier for each {{term(key-value pair)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Removed + ///
+ public RemovedProperty Removed { get; } = new RemovedProperty(); + + /// removal indicator of a key-value pair.


+ ///
+ public sealed class RemovedProperty : IProperty + { + /// Constant value for + public const string NAME = "removed"; + /// Constant value for + public const string SUMMARY = @" removal indicator of a {{term(key-value pair)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Boolean + /// + public System.Type Type => typeof(Boolean); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public ResultPartProperty ResultPart { get; } = new ResultPartProperty(); + + ///  + /// + public sealed class ResultPartProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Cell"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CellClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.Representations.CellClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: IsEntryFor + ///
+ public IsEntryForPartProperty IsEntryForPart { get; } = new IsEntryForPartProperty(); + + ///  + /// + public sealed class IsEntryForPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isEntryFor"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "TableEntry"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TableClass + /// + public System.Type Type => typeof(Mtconnect.ObservationInformationModel.Representations.TableClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/TimeSeriesClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/TimeSeriesClass.cs new file mode 100644 index 00000000..cb881e25 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/TimeSeriesClass.cs @@ -0,0 +1,245 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.Representations +{ + /// Representation for an Observation composed of a series of sampled data.



Description


TimeSeries for an Observation is defined by the associated representation in DataItem as TIME_SERIES.

representation in DataItem as TIME_SERIES MUST have category in DataItem of SAMPLE.

{{figure(TemperatureTimeSeries)}} shows the model for Temperature (Sample type) with a Representation type of TimeSeries.

![TemperatureTimeSeries](figures/TemperatureTimeSeries.png "TemperatureTimeSeries"){: width="0.8"}

> Note: See Representation Schema Diagrams for XML schema.

TimeSeries MUST report multiple values at fixed intervals in a single Observation. At minimum, one of sampleRate in DataItem or sampleRate in Sample MUST be specified. When both are specified, the sampleRate in Sample supersedes the sampleRate in DataItem.

timestamp in Observation MUST be set to the time the last value was observed. The duration in Sample MAY indicate the time interval from the first to the last value in the series.

Value Properties of TimeSeries defines additional attributes for an Observation with TimeSeries Representation type.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TimeSeriesClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579566531117_257703_25734"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1579566531117_257703_25734"; + /// Constant value for + public const string SUMMARY = @" {{block(Representation)}} for an {{block(Observation)}} composed of a series of sampled data. + + Description +{{block(TimeSeries)}} for an {{block(Observation)}} is defined by the associated {{property(DataItem::representation)}} as `TIME_SERIES`. + +{{property(DataItem::representation)}} as `TIME_SERIES` **MUST** have {{property(DataItem::category)}} of `SAMPLE`. + +{{figure(TemperatureTimeSeries)}} shows the model for {{block(Temperature)}} ({{block(Sample)}} type) with a {{block(Representation)}} type of {{block(TimeSeries)}}. + +![TemperatureTimeSeries](figures/TemperatureTimeSeries.png ""TemperatureTimeSeries""){: width=""0.8""} + +> Note: See {{sect(Representation Schema Diagrams)}} for XML schema. + +{{block(TimeSeries)}} **MUST** report multiple values at fixed intervals in a single {{block(Observation)}}. At minimum, one of {{property(DataItem::sampleRate)}} or {{property(Sample::sampleRate)}} **MUST** be specified. When both are specified, the {{property(Sample::sampleRate)}} supersedes the {{property(DataItem::sampleRate)}}. + +{{property(Observation::timestamp)}} **MUST** be set to the time the last value was observed. The {{property(Sample::duration)}} **MAY** indicate the time interval from the first to the last value in the series. + +{{sect(Value Properties of TimeSeries)}} defines additional attributes for an {{block(Observation)}} with {{block(TimeSeries)}} {{block(Representation)}} type. +"; + /// Constant value for + public const string NAME = "TimeSeries"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1633615188301_96457_1251 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.Representations.RepresentationClass); + + /// + public new TimeSeriesClassProperties Properties { get; } = new TimeSeriesClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TimeSeriesClassProperties : Mtconnect.ObservationInformationModel.Representations.RepresentationClass.RepresentationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SampleCount, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SampleCount + ///
+ public new SampleCountProperty SampleCount { get; } = new SampleCountProperty(); + + /// number of values given for the Observation.


+ ///
+ public new sealed class SampleCountProperty : IProperty + { + /// Constant value for + public const string NAME = "sampleCount"; + /// Constant value for + public const string SUMMARY = @" number of values given for the {{block(Observation)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/ValueClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/ValueClass.cs new file mode 100644 index 00000000..5a49a9e4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Representations/ValueClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.Representations +{ + /// default Representation type for all Observation types where result in Observation type is an MTConnect data type. See DataTypes.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ValueClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1633690320192_358108_736"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1633690320192_358108_736"; + /// Constant value for + public const string SUMMARY = @" default {{block(Representation)}} type for all {{block(Observation)}} types where {{property(Observation::result)}} type is an MTConnect data type. See {{package(DataTypes)}}. +"; + /// Constant value for + public const string NAME = "Value"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1633615188301_96457_1251 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.Representations.RepresentationClass); + + /// + public new ValueClassProperties Properties { get; } = new ValueClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ValueClassProperties : Mtconnect.ObservationInformationModel.Representations.RepresentationClass.RepresentationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Requirements/DeviceConfigurationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Requirements/DeviceConfigurationClass.cs new file mode 100644 index 00000000..b599e500 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Requirements/DeviceConfigurationClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_UseCases.PowerSource.Requirements +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeviceConfigurationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1702476591286_700868_275"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1702476591286_700868_275"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Device Configuration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DeviceConfigurationClassProperties Properties { get; } = new DeviceConfigurationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DeviceConfigurationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Requirements/DeviceUtilizationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Requirements/DeviceUtilizationClass.cs new file mode 100644 index 00000000..1ca1d057 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Requirements/DeviceUtilizationClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_UseCases.MachineMonitoring.Requirements +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DeviceUtilizationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1702400138977_832485_107"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1702400138977_832485_107"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Device Utilization"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DeviceUtilizationClassProperties Properties { get; } = new DeviceUtilizationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DeviceUtilizationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Requirements/OperationalStatesClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Requirements/OperationalStatesClass.cs new file mode 100644 index 00000000..130ee516 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Requirements/OperationalStatesClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_UseCases.MachineMonitoring.Requirements +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OperationalStatesClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1702297248783_308240_84"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1702297248783_308240_84"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Operational States"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new OperationalStatesClassProperties Properties { get; } = new OperationalStatesClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class OperationalStatesClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Acceleration.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Acceleration.ActualClass.cs new file mode 100644 index 00000000..d9f36637 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Acceleration.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AccelerationActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622458635338_596356_1041"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622458635338_596356_1041"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "Acceleration.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218114_556156_1503 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AccelerationClass); + + /// + public new AccelerationActualClassProperties Properties { get; } = new AccelerationActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AccelerationActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AccelerationClass.AccelerationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Acceleration.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Acceleration.CommandedClass.cs new file mode 100644 index 00000000..080bb6e1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Acceleration.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AccelerationCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622458635339_216033_1042"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622458635339_216033_1042"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "Acceleration.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218114_556156_1503 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AccelerationClass); + + /// + public new AccelerationCommandedClassProperties Properties { get; } = new AccelerationCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AccelerationCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AccelerationClass.AccelerationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Acceleration.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Acceleration.ProgrammedClass.cs new file mode 100644 index 00000000..014c37d6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Acceleration.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AccelerationProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622458635340_86592_1043"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622458635340_86592_1043"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "Acceleration.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218114_556156_1503 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AccelerationClass); + + /// + public new AccelerationProgrammedClassProperties Properties { get; } = new AccelerationProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AccelerationProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AccelerationClass.AccelerationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAMMED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AccelerationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AccelerationClass.cs new file mode 100644 index 00000000..efe3f8ef --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AccelerationClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.ACCELERATION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AccelerationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218114_556156_1503"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218114_556156_1503"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::ACCELERATION)}} +"; + /// Constant value for + public const string NAME = "Acceleration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new AccelerationClassProperties Properties { get; } = new AccelerationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AccelerationClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER/SECOND^2"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACCELERATION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AccumulatedTimeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AccumulatedTimeClass.cs new file mode 100644 index 00000000..7f6372ed --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AccumulatedTimeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.ACCUMULATED_TIME


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AccumulatedTimeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218136_356953_1506"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218136_356953_1506"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::ACCUMULATED_TIME)}} +"; + /// Constant value for + public const string NAME = "AccumulatedTime"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new AccumulatedTimeClassProperties Properties { get; } = new AccumulatedTimeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AccumulatedTimeClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACCUMULATED_TIME"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.ActualClass.cs new file mode 100644 index 00000000..59f6e152 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.ActualClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.

DEPRECATED in Version 1.6.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// Deprecated: v1.6 + /// + /// + [Obsolete("Deprecated in v1.6 according to https://model.mtconnect.org/#_Version_1.6")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmperageActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218158_314755_1527"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218158_314755_1527"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. + +**DEPRECATED** in *Version 1.6*. +"; + /// Constant value for + public const string NAME = "Amperage.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218148_357939_1518 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageClass); + + /// + public new AmperageActualClassProperties Properties { get; } = new AmperageActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmperageActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageClass.AmperageClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.AlternatingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.AlternatingClass.cs new file mode 100644 index 00000000..802d437f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.AlternatingClass.cs @@ -0,0 +1,163 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measurement of alternating voltage or current.

If not specified further in statistic, defaults to RMS voltage.

DEPRECATED in Version 1.6.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v1.6 + /// + /// + [Obsolete("Deprecated in v1.6 according to https://model.mtconnect.org/#_Version_1.6")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmperageAlternatingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218151_983235_1521"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218151_983235_1521"; + /// Constant value for + public const string SUMMARY = @" measurement of alternating voltage or current. + +If not specified further in statistic, defaults to RMS voltage. + +**DEPRECATED** in *Version 1.6*. +"; + /// Constant value for + public const string NAME = "Amperage.Alternating"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218148_357939_1518 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageClass); + + /// + public new AmperageAlternatingClassProperties Properties { get; } = new AmperageAlternatingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmperageAlternatingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageClass.AmperageClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.DirectClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.DirectClass.cs new file mode 100644 index 00000000..8e0f84e2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.DirectClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measurement of DC current or voltage.

DEPRECATED in Version 1.6.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v1.6 + /// + /// + [Obsolete("Deprecated in v1.6 according to https://model.mtconnect.org/#_Version_1.6")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmperageDirectClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218154_24803_1524"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218154_24803_1524"; + /// Constant value for + public const string SUMMARY = @" measurement of DC current or voltage. + +**DEPRECATED** in *Version 1.6*. +"; + /// Constant value for + public const string NAME = "Amperage.Direct"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218148_357939_1518 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageClass); + + /// + public new AmperageDirectClassProperties Properties { get; } = new AmperageDirectClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmperageDirectClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageClass.AmperageClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.TargetClass.cs new file mode 100644 index 00000000..20de49e5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Amperage.TargetClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// goal of the operation or process.

DEPRECATED in Version 1.6.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// Deprecated: v1.6 + /// + /// + [Obsolete("Deprecated in v1.6 according to https://model.mtconnect.org/#_Version_1.6")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmperageTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218162_48762_1530"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218162_48762_1530"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. + +**DEPRECATED** in *Version 1.6*. +"; + /// Constant value for + public const string NAME = "Amperage.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218148_357939_1518 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageClass); + + /// + public new AmperageTargetClassProperties Properties { get; } = new AmperageTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmperageTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageClass.AmperageClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageAC.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageAC.ActualClass.cs new file mode 100644 index 00000000..1142f170 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageAC.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmperageACActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587734555060_467200_301"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587734555060_467200_301"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "AmperageAC.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587734470067_838040_247 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageACClass); + + /// + public new AmperageACActualClassProperties Properties { get; } = new AmperageACActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmperageACActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageACClass.AmperageACClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageAC.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageAC.CommandedClass.cs new file mode 100644 index 00000000..55483a37 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageAC.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmperageACCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587734555062_579568_302"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587734555062_579568_302"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "AmperageAC.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587734470067_838040_247 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageACClass); + + /// + public new AmperageACCommandedClassProperties Properties { get; } = new AmperageACCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmperageACCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageACClass.AmperageACClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageAC.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageAC.ProgrammedClass.cs new file mode 100644 index 00000000..62182784 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageAC.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmperageACProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587734555062_178750_303"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587734555062_178750_303"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "AmperageAC.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587734470067_838040_247 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageACClass); + + /// + public new AmperageACProgrammedClassProperties Properties { get; } = new AmperageACProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmperageACProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageACClass.AmperageACClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAMMED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageACClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageACClass.cs new file mode 100644 index 00000000..49570d5a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageACClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.AMPERAGE_AC


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmperageACClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587734470067_838040_247"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587734470067_838040_247"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::AMPERAGE_AC)}} +"; + /// Constant value for + public const string NAME = "AmperageAC"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new AmperageACClassProperties Properties { get; } = new AmperageACClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmperageACClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "AMPERE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "AMPERAGE_AC"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageClass.cs new file mode 100644 index 00000000..aaa58658 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.AMPERAGE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.6 + /// + /// + [Obsolete("Deprecated in v1.6 according to https://model.mtconnect.org/#_Version_1.6")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmperageClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218148_357939_1518"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218148_357939_1518"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::AMPERAGE)}} +"; + /// Constant value for + public const string NAME = "Amperage"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new AmperageClassProperties Properties { get; } = new AmperageClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmperageClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "AMPERAGE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDC.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDC.ActualClass.cs new file mode 100644 index 00000000..43d20a4d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDC.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmperageDCActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587733997682_495154_85"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587733997682_495154_85"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "AmperageDC.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587732508736_614537_16 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageDCClass); + + /// + public new AmperageDCActualClassProperties Properties { get; } = new AmperageDCActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmperageDCActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageDCClass.AmperageDCClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDC.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDC.CommandedClass.cs new file mode 100644 index 00000000..0fcc37a6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDC.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmperageDCCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587734000698_725418_130"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587734000698_725418_130"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "AmperageDC.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587732508736_614537_16 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageDCClass); + + /// + public new AmperageDCCommandedClassProperties Properties { get; } = new AmperageDCCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmperageDCCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageDCClass.AmperageDCClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDC.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDC.ProgrammedClass.cs new file mode 100644 index 00000000..7aa30618 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDC.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmperageDCProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587734003858_957140_175"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587734003858_957140_175"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "AmperageDC.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587732508736_614537_16 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageDCClass); + + /// + public new AmperageDCProgrammedClassProperties Properties { get; } = new AmperageDCProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmperageDCProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AmperageDCClass.AmperageDCClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAMMED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDCClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDCClass.cs new file mode 100644 index 00000000..05e16ca8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AmperageDCClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.AMPERAGE_DC


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AmperageDCClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587732508736_614537_16"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587732508736_614537_16"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::AMPERAGE_DC)}} +"; + /// Constant value for + public const string NAME = "AmperageDC"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new AmperageDCClassProperties Properties { get; } = new AmperageDCClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AmperageDCClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "AMPERE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "AMPERAGE_DC"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Angle.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Angle.ActualClass.cs new file mode 100644 index 00000000..baad5b0c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Angle.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AngleActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218169_237948_1539"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218169_237948_1539"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "Angle.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218165_258018_1533 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngleClass); + + /// + public new AngleActualClassProperties Properties { get; } = new AngleActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AngleActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngleClass.AngleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Angle.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Angle.CommandedClass.cs new file mode 100644 index 00000000..1895d350 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Angle.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AngleCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218167_355892_1536"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218167_355892_1536"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "Angle.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218165_258018_1533 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngleClass); + + /// + public new AngleCommandedClassProperties Properties { get; } = new AngleCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AngleCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngleClass.AngleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngleClass.cs new file mode 100644 index 00000000..d582b711 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngleClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.ANGLE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AngleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218165_258018_1533"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218165_258018_1533"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::ANGLE)}} +"; + /// Constant value for + public const string NAME = "Angle"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new AngleClassProperties Properties { get; } = new AngleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AngleClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ANGLE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAcceleration.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAcceleration.ActualClass.cs new file mode 100644 index 00000000..a6ce1f99 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAcceleration.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AngularAccelerationActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622458715148_402911_1068"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622458715148_402911_1068"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "AngularAcceleration.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218171_690924_1542 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngularAccelerationClass); + + /// + public new AngularAccelerationActualClassProperties Properties { get; } = new AngularAccelerationActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AngularAccelerationActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngularAccelerationClass.AngularAccelerationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAcceleration.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAcceleration.CommandedClass.cs new file mode 100644 index 00000000..89832f67 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAcceleration.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AngularAccelerationCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622458715149_155134_1069"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622458715149_155134_1069"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "AngularAcceleration.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218171_690924_1542 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngularAccelerationClass); + + /// + public new AngularAccelerationCommandedClassProperties Properties { get; } = new AngularAccelerationCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AngularAccelerationCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngularAccelerationClass.AngularAccelerationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAcceleration.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAcceleration.ProgrammedClass.cs new file mode 100644 index 00000000..8d11395e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAcceleration.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AngularAccelerationProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622458715150_358860_1070"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622458715150_358860_1070"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "AngularAcceleration.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218171_690924_1542 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngularAccelerationClass); + + /// + public new AngularAccelerationProgrammedClassProperties Properties { get; } = new AngularAccelerationProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AngularAccelerationProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngularAccelerationClass.AngularAccelerationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAMMED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAccelerationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAccelerationClass.cs new file mode 100644 index 00000000..68a00e7e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularAccelerationClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.ANGULAR_ACCELERATION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AngularAccelerationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218171_690924_1542"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218171_690924_1542"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::ANGULAR_ACCELERATION)}} +"; + /// Constant value for + public const string NAME = "AngularAcceleration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new AngularAccelerationClassProperties Properties { get; } = new AngularAccelerationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AngularAccelerationClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE/SECOND^2"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ANGULAR_ACCELERATION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDeceleration.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDeceleration.ActualClass.cs new file mode 100644 index 00000000..8eb183b9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDeceleration.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AngularDecelerationActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605642922697_698628_314"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605642922697_698628_314"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "AngularDeceleration.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605642749479_983550_196 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngularDecelerationClass); + + /// + public new AngularDecelerationActualClassProperties Properties { get; } = new AngularDecelerationActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AngularDecelerationActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngularDecelerationClass.AngularDecelerationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDeceleration.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDeceleration.CommandedClass.cs new file mode 100644 index 00000000..2df37e94 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDeceleration.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AngularDecelerationCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605643005191_882594_449"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605643005191_882594_449"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "AngularDeceleration.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605642749479_983550_196 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngularDecelerationClass); + + /// + public new AngularDecelerationCommandedClassProperties Properties { get; } = new AngularDecelerationCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AngularDecelerationCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngularDecelerationClass.AngularDecelerationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDeceleration.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDeceleration.ProgrammedClass.cs new file mode 100644 index 00000000..e10fc01d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDeceleration.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AngularDecelerationProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605643005385_554961_455"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605643005385_554961_455"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "AngularDeceleration.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605642749479_983550_196 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngularDecelerationClass); + + /// + public new AngularDecelerationProgrammedClassProperties Properties { get; } = new AngularDecelerationProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AngularDecelerationProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AngularDecelerationClass.AngularDecelerationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAMMED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDecelerationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDecelerationClass.cs new file mode 100644 index 00000000..55b4253b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularDecelerationClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.ANGULAR_DECELERATION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AngularDecelerationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605642749479_983550_196"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605642749479_983550_196"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::ANGULAR_DECELERATION)}} +"; + /// Constant value for + public const string NAME = "AngularDeceleration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new AngularDecelerationClassProperties Properties { get; } = new AngularDecelerationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AngularDecelerationClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE/SECOND^2"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ANGULAR_DECELERATION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularVelocityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularVelocityClass.cs new file mode 100644 index 00000000..903f7b3f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AngularVelocityClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.ANGULAR_VELOCITY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AngularVelocityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218174_350188_1545"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218174_350188_1545"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::ANGULAR_VELOCITY)}} +"; + /// Constant value for + public const string NAME = "AngularVelocity"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new AngularVelocityClassProperties Properties { get; } = new AngularVelocityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AngularVelocityClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE/SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ANGULAR_VELOCITY"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AssetUpdateRateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AssetUpdateRateClass.cs new file mode 100644 index 00000000..440d5415 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AssetUpdateRateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.ASSET_UPDATE_RATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetUpdateRateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605104928558_860757_1123"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605104928558_860757_1123"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::ASSET_UPDATE_RATE)}} +"; + /// Constant value for + public const string NAME = "AssetUpdateRate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new AssetUpdateRateClassProperties Properties { get; } = new AssetUpdateRateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AssetUpdateRateClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COUNT/SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ASSET_UPDATE_RATE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.ActualClass.cs new file mode 100644 index 00000000..f7f5abe4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisFeedrateActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218188_610493_1563"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218188_610493_1563"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "AxisFeedrate.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218186_884374_1560 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateClass); + + /// + public new AxisFeedrateActualClassProperties Properties { get; } = new AxisFeedrateActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisFeedrateActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateClass.AxisFeedrateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.CommandedClass.cs new file mode 100644 index 00000000..5f548d57 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisFeedrateCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218190_814951_1566"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218190_814951_1566"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "AxisFeedrate.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218186_884374_1560 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateClass); + + /// + public new AxisFeedrateCommandedClassProperties Properties { get; } = new AxisFeedrateCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisFeedrateCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateClass.AxisFeedrateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.JogClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.JogClass.cs new file mode 100644 index 00000000..06e8129e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.JogClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// relating to momentary activation of a function or a movement.

DEPRECATION WARNING: May be deprecated in the future.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisFeedrateJogClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218192_623901_1569"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218192_623901_1569"; + /// Constant value for + public const string SUMMARY = @" relating to momentary activation of a function or a movement. + +**DEPRECATION WARNING**: May be deprecated in the future. +"; + /// Constant value for + public const string NAME = "AxisFeedrate.Jog"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218186_884374_1560 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateClass); + + /// + public new AxisFeedrateJogClassProperties Properties { get; } = new AxisFeedrateJogClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisFeedrateJogClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateClass.AxisFeedrateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.OverrideClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.OverrideClass.cs new file mode 100644 index 00000000..0c66ff08 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.OverrideClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// operator's overridden value.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.3 + /// + /// + [Obsolete("Deprecated in v1.3 according to https://model.mtconnect.org/#_Version_1.3")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisFeedrateOverrideClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218197_586088_1578"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218197_586088_1578"; + /// Constant value for + public const string SUMMARY = @" operator's overridden value. +"; + /// Constant value for + public const string NAME = "AxisFeedrate.Override"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.3"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218186_884374_1560 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateClass); + + /// + public new AxisFeedrateOverrideClassProperties Properties { get; } = new AxisFeedrateOverrideClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisFeedrateOverrideClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateClass.AxisFeedrateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.ProgrammedClass.cs new file mode 100644 index 00000000..b2ec78bc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisFeedrateProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218194_770741_1572"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218194_770741_1572"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "AxisFeedrate.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218186_884374_1560 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateClass); + + /// + public new AxisFeedrateProgrammedClassProperties Properties { get; } = new AxisFeedrateProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisFeedrateProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateClass.AxisFeedrateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.RapidClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.RapidClass.cs new file mode 100644 index 00000000..0709e77b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrate.RapidClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// performing an operation faster or in less time than nominal rate.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisFeedrateRapidClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218195_274658_1575"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218195_274658_1575"; + /// Constant value for + public const string SUMMARY = @" performing an operation faster or in less time than nominal rate. +"; + /// Constant value for + public const string NAME = "AxisFeedrate.Rapid"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218186_884374_1560 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateClass); + + /// + public new AxisFeedrateRapidClassProperties Properties { get; } = new AxisFeedrateRapidClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisFeedrateRapidClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.AxisFeedrateClass.AxisFeedrateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrateClass.cs new file mode 100644 index 00000000..d30c7039 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/AxisFeedrateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.AXIS_FEEDRATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisFeedrateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218186_884374_1560"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218186_884374_1560"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::AXIS_FEEDRATE)}} +"; + /// Constant value for + public const string NAME = "AxisFeedrate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new AxisFeedrateClassProperties Properties { get; } = new AxisFeedrateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisFeedrateClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER/SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "AXIS_FEEDRATE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCapacity.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCapacity.ActualClass.cs new file mode 100644 index 00000000..b2a77883 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCapacity.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BatteryCapacityActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660319150238_44281_296"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660319150238_44281_296"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "BatteryCapacity.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660319150238_731788_295 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.BatteryCapacityClass); + + /// + public new BatteryCapacityActualClassProperties Properties { get; } = new BatteryCapacityActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BatteryCapacityActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.BatteryCapacityClass.BatteryCapacityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCapacity.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCapacity.TargetClass.cs new file mode 100644 index 00000000..40fe2699 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCapacity.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BatteryCapacityTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660319150240_511437_297"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660319150240_511437_297"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "BatteryCapacity.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660319150238_731788_295 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.BatteryCapacityClass); + + /// + public new BatteryCapacityTargetClassProperties Properties { get; } = new BatteryCapacityTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BatteryCapacityTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.BatteryCapacityClass.BatteryCapacityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TARGET"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCapacityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCapacityClass.cs new file mode 100644 index 00000000..3294df72 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCapacityClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.BATTERY_CAPACITY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BatteryCapacityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660319150238_731788_295"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660319150238_731788_295"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::BATTERY_CAPACITY)}} +"; + /// Constant value for + public const string NAME = "BatteryCapacity"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new BatteryCapacityClassProperties Properties { get; } = new BatteryCapacityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BatteryCapacityClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COULOMB"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BATTERY_CAPACITY"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCharge.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCharge.ActualClass.cs new file mode 100644 index 00000000..eb890ee4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCharge.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BatteryChargeActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660319546823_368391_410"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660319546823_368391_410"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "BatteryCharge.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660319546823_134814_409 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.BatteryChargeClass); + + /// + public new BatteryChargeActualClassProperties Properties { get; } = new BatteryChargeActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BatteryChargeActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.BatteryChargeClass.BatteryChargeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCharge.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCharge.TargetClass.cs new file mode 100644 index 00000000..9dbbb9be --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryCharge.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BatteryChargeTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660319546823_103000_411"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660319546823_103000_411"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "BatteryCharge.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660319546823_134814_409 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.BatteryChargeClass); + + /// + public new BatteryChargeTargetClassProperties Properties { get; } = new BatteryChargeTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BatteryChargeTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.BatteryChargeClass.BatteryChargeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TARGET"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryChargeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryChargeClass.cs new file mode 100644 index 00000000..9616a900 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/BatteryChargeClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.BATTERY_CHARGE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BatteryChargeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660319546823_134814_409"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660319546823_134814_409"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::BATTERY_CHARGE)}} +"; + /// Constant value for + public const string NAME = "BatteryCharge"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new BatteryChargeClassProperties Properties { get; } = new BatteryChargeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class BatteryChargeClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PERCENT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "BATTERY_CHARGE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CapacityFluidClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CapacityFluidClass.cs new file mode 100644 index 00000000..3ae12eea --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CapacityFluidClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.CAPACITY_FLUID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CapacityFluidClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218209_919961_1605"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218209_919961_1605"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::CAPACITY_FLUID)}} +"; + /// Constant value for + public const string NAME = "CapacityFluid"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new CapacityFluidClassProperties Properties { get; } = new CapacityFluidClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CapacityFluidClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLILITER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CAPACITY_FLUID"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CapacitySpatialClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CapacitySpatialClass.cs new file mode 100644 index 00000000..8f752c96 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CapacitySpatialClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.CAPACITY_SPATIAL


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CapacitySpatialClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218211_523723_1608"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218211_523723_1608"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::CAPACITY_SPATIAL)}} +"; + /// Constant value for + public const string NAME = "CapacitySpatial"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new CapacitySpatialClassProperties Properties { get; } = new CapacitySpatialClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CapacitySpatialClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CUBIC_MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CAPACITY_SPATIAL"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ChargeRate.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ChargeRate.ActualClass.cs new file mode 100644 index 00000000..34cb1e21 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ChargeRate.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChargeRateActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660319471498_689598_374"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660319471498_689598_374"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "ChargeRate.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660319471493_20110_373 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.ChargeRateClass); + + /// + public new ChargeRateActualClassProperties Properties { get; } = new ChargeRateActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChargeRateActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.ChargeRateClass.ChargeRateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ChargeRate.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ChargeRate.TargetClass.cs new file mode 100644 index 00000000..10e1754b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ChargeRate.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChargeRateTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660319471498_498427_375"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660319471498_498427_375"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "ChargeRate.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660319471493_20110_373 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.ChargeRateClass); + + /// + public new ChargeRateTargetClassProperties Properties { get; } = new ChargeRateTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChargeRateTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.ChargeRateClass.ChargeRateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TARGET"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ChargeRateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ChargeRateClass.cs new file mode 100644 index 00000000..9bba888b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ChargeRateClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.CHARGE_RATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChargeRateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660319471493_20110_373"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660319471493_20110_373"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::CHARGE_RATE)}} +"; + /// Constant value for + public const string NAME = "ChargeRate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new ChargeRateClassProperties Properties { get; } = new ChargeRateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChargeRateClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "AMPERE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CHARGE_RATE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ConcentrationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ConcentrationClass.cs new file mode 100644 index 00000000..8f615203 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ConcentrationClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.CONCENTRATION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConcentrationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218232_876552_1650"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218232_876552_1650"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::CONCENTRATION)}} +"; + /// Constant value for + public const string NAME = "Concentration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new ConcentrationClassProperties Properties { get; } = new ConcentrationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ConcentrationClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PERCENT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CONCENTRATION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ConductivityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ConductivityClass.cs new file mode 100644 index 00000000..ea5125ca --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ConductivityClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.CONDUCTIVITY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConductivityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218234_78662_1653"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218234_78662_1653"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::CONDUCTIVITY)}} +"; + /// Constant value for + public const string NAME = "Conductivity"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new ConductivityClassProperties Properties { get; } = new ConductivityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ConductivityClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SIEMENS/METER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CONDUCTIVITY"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeed.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeed.ActualClass.cs new file mode 100644 index 00000000..d5482b78 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeed.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingSpeedActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218248_959633_1683"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218248_959633_1683"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "CuttingSpeed.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218246_14931_1680 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.CuttingSpeedClass); + + /// + public new CuttingSpeedActualClassProperties Properties { get; } = new CuttingSpeedActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CuttingSpeedActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.CuttingSpeedClass.CuttingSpeedClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeed.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeed.CommandedClass.cs new file mode 100644 index 00000000..b0432403 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeed.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingSpeedCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218249_153895_1686"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218249_153895_1686"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "CuttingSpeed.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218246_14931_1680 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.CuttingSpeedClass); + + /// + public new CuttingSpeedCommandedClassProperties Properties { get; } = new CuttingSpeedCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CuttingSpeedCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.CuttingSpeedClass.CuttingSpeedClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeed.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeed.ProgrammedClass.cs new file mode 100644 index 00000000..c46e64fb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeed.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingSpeedProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218251_178100_1689"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218251_178100_1689"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "CuttingSpeed.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218246_14931_1680 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.CuttingSpeedClass); + + /// + public new CuttingSpeedProgrammedClassProperties Properties { get; } = new CuttingSpeedProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CuttingSpeedProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.CuttingSpeedClass.CuttingSpeedClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeedClass.cs new file mode 100644 index 00000000..9dadb4b7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/CuttingSpeedClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.CUTTING_SPEED


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CuttingSpeedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218246_14931_1680"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218246_14931_1680"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::CUTTING_SPEED)}} +"; + /// Constant value for + public const string NAME = "CuttingSpeed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new CuttingSpeedClassProperties Properties { get; } = new CuttingSpeedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class CuttingSpeedClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER/SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CUTTING_SPEED"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Deceleration.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Deceleration.ActualClass.cs new file mode 100644 index 00000000..c3418897 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Deceleration.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DecelerationActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605642837340_904299_253"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605642837340_904299_253"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "Deceleration.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605642679847_825017_142 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DecelerationClass); + + /// + public new DecelerationActualClassProperties Properties { get; } = new DecelerationActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DecelerationActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DecelerationClass.DecelerationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Deceleration.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Deceleration.CommandedClass.cs new file mode 100644 index 00000000..e4ab774c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Deceleration.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DecelerationCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605642921267_572518_302"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605642921267_572518_302"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "Deceleration.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605642679847_825017_142 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DecelerationClass); + + /// + public new DecelerationCommandedClassProperties Properties { get; } = new DecelerationCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DecelerationCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DecelerationClass.DecelerationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Deceleration.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Deceleration.ProgrammedClass.cs new file mode 100644 index 00000000..7889b9d2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Deceleration.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DecelerationProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605642921822_454378_308"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605642921822_454378_308"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "Deceleration.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605642679847_825017_142 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DecelerationClass); + + /// + public new DecelerationProgrammedClassProperties Properties { get; } = new DecelerationProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DecelerationProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DecelerationClass.DecelerationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAMMED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DecelerationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DecelerationClass.cs new file mode 100644 index 00000000..713e1aca --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DecelerationClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.DECELERATION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DecelerationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605642679847_825017_142"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605642679847_825017_142"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::DECELERATION)}} +"; + /// Constant value for + public const string NAME = "Deceleration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new DecelerationClassProperties Properties { get; } = new DecelerationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DecelerationClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER/SECOND^2"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DECELERATION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DensityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DensityClass.cs new file mode 100644 index 00000000..eb7da6d5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DensityClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.DENSITY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DensityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218257_564545_1704"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218257_564545_1704"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::DENSITY)}} +"; + /// Constant value for + public const string NAME = "Density"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new DensityClassProperties Properties { get; } = new DensityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DensityClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIGRAM/CUBIC_MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DENSITY"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionAccelerationVolumetric.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionAccelerationVolumetric.ActualClass.cs new file mode 100644 index 00000000..8ee7426d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionAccelerationVolumetric.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionAccelerationVolumetricActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218260_633255_1710"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218260_633255_1710"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "DepositionAccelerationVolumetric.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218258_380747_1707 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionAccelerationVolumetricClass); + + /// + public new DepositionAccelerationVolumetricActualClassProperties Properties { get; } = new DepositionAccelerationVolumetricActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionAccelerationVolumetricActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionAccelerationVolumetricClass.DepositionAccelerationVolumetricClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionAccelerationVolumetric.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionAccelerationVolumetric.CommandedClass.cs new file mode 100644 index 00000000..96197a9a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionAccelerationVolumetric.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionAccelerationVolumetricCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218261_289402_1713"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218261_289402_1713"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "DepositionAccelerationVolumetric.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218258_380747_1707 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionAccelerationVolumetricClass); + + /// + public new DepositionAccelerationVolumetricCommandedClassProperties Properties { get; } = new DepositionAccelerationVolumetricCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionAccelerationVolumetricCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionAccelerationVolumetricClass.DepositionAccelerationVolumetricClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionAccelerationVolumetricClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionAccelerationVolumetricClass.cs new file mode 100644 index 00000000..e4efd9c0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionAccelerationVolumetricClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.DEPOSITION_ACCELERATION_VOLUMETRIC


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionAccelerationVolumetricClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218258_380747_1707"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218258_380747_1707"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::DEPOSITION_ACCELERATION_VOLUMETRIC)}} +"; + /// Constant value for + public const string NAME = "DepositionAccelerationVolumetric"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new DepositionAccelerationVolumetricClassProperties Properties { get; } = new DepositionAccelerationVolumetricClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionAccelerationVolumetricClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CUBIC_MILLIMETER/SECOND^2"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEPOSITION_ACCELERATION_VOLUMETRIC"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionDensity.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionDensity.ActualClass.cs new file mode 100644 index 00000000..1eba947d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionDensity.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionDensityActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218264_192243_1719"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218264_192243_1719"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "DepositionDensity.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218262_675415_1716 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionDensityClass); + + /// + public new DepositionDensityActualClassProperties Properties { get; } = new DepositionDensityActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionDensityActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionDensityClass.DepositionDensityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionDensity.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionDensity.CommandedClass.cs new file mode 100644 index 00000000..cba3e5d3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionDensity.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionDensityCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218265_102813_1722"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218265_102813_1722"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "DepositionDensity.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218262_675415_1716 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionDensityClass); + + /// + public new DepositionDensityCommandedClassProperties Properties { get; } = new DepositionDensityCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionDensityCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionDensityClass.DepositionDensityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionDensityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionDensityClass.cs new file mode 100644 index 00000000..100e4755 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionDensityClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.DEPOSITION_DENSITY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionDensityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218262_675415_1716"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218262_675415_1716"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::DEPOSITION_DENSITY)}} +"; + /// Constant value for + public const string NAME = "DepositionDensity"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new DepositionDensityClassProperties Properties { get; } = new DepositionDensityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionDensityClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIGRAM/CUBIC_MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEPOSITION_DENSITY"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionMass.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionMass.ActualClass.cs new file mode 100644 index 00000000..0df917c8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionMass.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionMassActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218268_229040_1728"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218268_229040_1728"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "DepositionMass.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218266_15261_1725 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionMassClass); + + /// + public new DepositionMassActualClassProperties Properties { get; } = new DepositionMassActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionMassActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionMassClass.DepositionMassClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionMass.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionMass.CommandedClass.cs new file mode 100644 index 00000000..d79e5ae4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionMass.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionMassCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218269_152921_1731"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218269_152921_1731"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "DepositionMass.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218266_15261_1725 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionMassClass); + + /// + public new DepositionMassCommandedClassProperties Properties { get; } = new DepositionMassCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionMassCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionMassClass.DepositionMassClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionMassClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionMassClass.cs new file mode 100644 index 00000000..895c533e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionMassClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.DEPOSITION_MASS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionMassClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218266_15261_1725"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218266_15261_1725"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::DEPOSITION_MASS)}} +"; + /// Constant value for + public const string NAME = "DepositionMass"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new DepositionMassClassProperties Properties { get; } = new DepositionMassClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionMassClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIGRAM"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEPOSITION_MASS"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionRateVolumetric.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionRateVolumetric.ActualClass.cs new file mode 100644 index 00000000..224b59be --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionRateVolumetric.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionRateVolumetricActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218271_362114_1737"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218271_362114_1737"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "DepositionRateVolumetric.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218270_651166_1734 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionRateVolumetricClass); + + /// + public new DepositionRateVolumetricActualClassProperties Properties { get; } = new DepositionRateVolumetricActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionRateVolumetricActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionRateVolumetricClass.DepositionRateVolumetricClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionRateVolumetric.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionRateVolumetric.CommandedClass.cs new file mode 100644 index 00000000..fa887811 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionRateVolumetric.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionRateVolumetricCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218272_497284_1740"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218272_497284_1740"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "DepositionRateVolumetric.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218270_651166_1734 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionRateVolumetricClass); + + /// + public new DepositionRateVolumetricCommandedClassProperties Properties { get; } = new DepositionRateVolumetricCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionRateVolumetricCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionRateVolumetricClass.DepositionRateVolumetricClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionRateVolumetricClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionRateVolumetricClass.cs new file mode 100644 index 00000000..8aadfb45 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionRateVolumetricClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.DEPOSITION_RATE_VOLUMETRIC


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionRateVolumetricClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218270_651166_1734"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218270_651166_1734"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::DEPOSITION_RATE_VOLUMETRIC)}} +"; + /// Constant value for + public const string NAME = "DepositionRateVolumetric"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new DepositionRateVolumetricClassProperties Properties { get; } = new DepositionRateVolumetricClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionRateVolumetricClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CUBIC_MILLIMETER/SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEPOSITION_RATE_VOLUMETRIC"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionVolume.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionVolume.ActualClass.cs new file mode 100644 index 00000000..20418fa4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionVolume.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionVolumeActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218275_397385_1746"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218275_397385_1746"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "DepositionVolume.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218274_239056_1743 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionVolumeClass); + + /// + public new DepositionVolumeActualClassProperties Properties { get; } = new DepositionVolumeActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionVolumeActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionVolumeClass.DepositionVolumeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionVolume.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionVolume.CommandedClass.cs new file mode 100644 index 00000000..9bf659bf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionVolume.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionVolumeCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218276_817545_1749"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218276_817545_1749"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "DepositionVolume.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218274_239056_1743 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionVolumeClass); + + /// + public new DepositionVolumeCommandedClassProperties Properties { get; } = new DepositionVolumeCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionVolumeCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DepositionVolumeClass.DepositionVolumeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionVolumeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionVolumeClass.cs new file mode 100644 index 00000000..2bda7e46 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DepositionVolumeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.DEPOSITION_VOLUME


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DepositionVolumeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218274_239056_1743"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218274_239056_1743"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::DEPOSITION_VOLUME)}} +"; + /// Constant value for + public const string NAME = "DepositionVolume"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new DepositionVolumeClassProperties Properties { get; } = new DepositionVolumeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DepositionVolumeClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CUBIC_MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEPOSITION_VOLUME"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DewPointClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DewPointClass.cs new file mode 100644 index 00000000..0a00758b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DewPointClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.DEW_POINT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DewPointClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1659032383380_200012_108"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1659032383380_200012_108"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::DEW_POINT)}} +"; + /// Constant value for + public const string NAME = "DewPoint"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new DewPointClassProperties Properties { get; } = new DewPointClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DewPointClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CELSIUS"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEW_POINT"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DiameterClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DiameterClass.cs new file mode 100644 index 00000000..c71f855e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DiameterClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.DIAMETER


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DiameterClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587736194199_193243_1157"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587736194199_193243_1157"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::DIAMETER)}} +"; + /// Constant value for + public const string NAME = "Diameter"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new DiameterClassProperties Properties { get; } = new DiameterClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DiameterClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DIAMETER"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DischargeRate.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DischargeRate.ActualClass.cs new file mode 100644 index 00000000..5ee07353 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DischargeRate.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DischargeRateActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660319365123_312298_336"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660319365123_312298_336"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "DischargeRate.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660319365123_992796_335 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DischargeRateClass); + + /// + public new DischargeRateActualClassProperties Properties { get; } = new DischargeRateActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DischargeRateActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DischargeRateClass.DischargeRateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DischargeRate.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DischargeRate.TargetClass.cs new file mode 100644 index 00000000..71df4f95 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DischargeRate.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DischargeRateTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660319365126_374961_337"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660319365126_374961_337"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "DischargeRate.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660319365123_992796_335 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DischargeRateClass); + + /// + public new DischargeRateTargetClassProperties Properties { get; } = new DischargeRateTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DischargeRateTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.DischargeRateClass.DischargeRateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TARGET"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DischargeRateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DischargeRateClass.cs new file mode 100644 index 00000000..2330e294 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DischargeRateClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.DISCHARGE_RATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DischargeRateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660319365123_992796_335"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660319365123_992796_335"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::DISCHARGE_RATE)}} +"; + /// Constant value for + public const string NAME = "DischargeRate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new DischargeRateClassProperties Properties { get; } = new DischargeRateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DischargeRateClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "AMPERE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DISCHARGE_RATE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DisplacementAngularClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DisplacementAngularClass.cs new file mode 100644 index 00000000..9f53e571 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DisplacementAngularClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.DISPLACEMENT_ANGULAR

> Note: The displacement vector MAY be defined by the motion of the owning Component.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DisplacementAngularClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660362465264_70518_748"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660362465264_70518_748"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::DISPLACEMENT_ANGULAR)}} + +> Note: The displacement vector **MAY** be defined by the motion of the owning {{block(Component)}}. +"; + /// Constant value for + public const string NAME = "DisplacementAngular"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new DisplacementAngularClassProperties Properties { get; } = new DisplacementAngularClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DisplacementAngularClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DISPLACEMENT_ANGULAR"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DisplacementClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DisplacementClass.cs new file mode 100644 index 00000000..781a4f64 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DisplacementClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.DISPLACEMENT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DisplacementClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218283_155376_1764"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218283_155376_1764"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::DISPLACEMENT)}} +"; + /// Constant value for + public const string NAME = "Displacement"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new DisplacementClassProperties Properties { get; } = new DisplacementClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DisplacementClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DISPLACEMENT"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DisplacementLinearClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DisplacementLinearClass.cs new file mode 100644 index 00000000..ae01c415 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/DisplacementLinearClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.DISPLACEMENT_LINEAR

> Note: The displacement vector MAY be defined by the motion of the owning Component.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DisplacementLinearClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660362461854_725457_735"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660362461854_725457_735"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::DISPLACEMENT_LINEAR)}} + +> Note: The displacement vector **MAY** be defined by the motion of the owning {{block(Component)}}. +"; + /// Constant value for + public const string NAME = "DisplacementLinear"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new DisplacementLinearClassProperties Properties { get; } = new DisplacementLinearClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class DisplacementLinearClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DISPLACEMENT_LINEAR"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ElectricalEnergyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ElectricalEnergyClass.cs new file mode 100644 index 00000000..9b7872c2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ElectricalEnergyClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.ELECTRICAL_ENERGY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ElectricalEnergyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218285_896491_1770"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218285_896491_1770"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::ELECTRICAL_ENERGY)}} +"; + /// Constant value for + public const string NAME = "ElectricalEnergy"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new ElectricalEnergyClassProperties Properties { get; } = new ElectricalEnergyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ElectricalEnergyClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WATT_SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ELECTRICAL_ENERGY"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.DelayClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.DelayClass.cs new file mode 100644 index 00000000..7a9a42c7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.DelayClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// elapsed time of a temporary halt of action.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentTimerDelayClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218305_965047_1818"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218305_965047_1818"; + /// Constant value for + public const string SUMMARY = @" elapsed time of a temporary halt of action. +"; + /// Constant value for + public const string NAME = "EquipmentTimer.Delay"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218298_41713_1803 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.EquipmentTimerClass); + + /// + public new EquipmentTimerDelayClassProperties Properties { get; } = new EquipmentTimerDelayClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EquipmentTimerDelayClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.EquipmentTimerClass.EquipmentTimerClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.LoadedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.LoadedClass.cs new file mode 100644 index 00000000..96e79812 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.LoadedClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// time that the sub-parts of a piece of equipment are under load.

Example: For traditional machine tools, this is a measurement of the time that the cutting tool is assumed to be engaged with the part.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentTimerLoadedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218300_959883_1806"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218300_959883_1806"; + /// Constant value for + public const string SUMMARY = @" time that the sub-parts of a piece of equipment are under load. + +Example: For traditional machine tools, this is a measurement of the time that the cutting tool is assumed to be engaged with the part. +"; + /// Constant value for + public const string NAME = "EquipmentTimer.Loaded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218298_41713_1803 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.EquipmentTimerClass); + + /// + public new EquipmentTimerLoadedClassProperties Properties { get; } = new EquipmentTimerLoadedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EquipmentTimerLoadedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.EquipmentTimerClass.EquipmentTimerClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.OperatingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.OperatingClass.cs new file mode 100644 index 00000000..774e0acc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.OperatingClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// time that the major sub-parts of a piece of equipment are powered or performing any activity whether producing a part or product or not.

Example: For traditional machine tools, this includes WORKING, plus idle time.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentTimerOperatingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218302_545808_1812"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218302_545808_1812"; + /// Constant value for + public const string SUMMARY = @" time that the major sub-parts of a piece of equipment are powered or performing any activity whether producing a part or product or not. + +Example: For traditional machine tools, this includes `WORKING`, plus idle time. +"; + /// Constant value for + public const string NAME = "EquipmentTimer.Operating"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218298_41713_1803 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.EquipmentTimerClass); + + /// + public new EquipmentTimerOperatingClassProperties Properties { get; } = new EquipmentTimerOperatingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EquipmentTimerOperatingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.EquipmentTimerClass.EquipmentTimerClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.PoweredClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.PoweredClass.cs new file mode 100644 index 00000000..8ab72eb9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.PoweredClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// time that primary power is applied to the piece of equipment and, as a minimum, the controller or logic portion of the piece of equipment is powered and functioning or components that are required to remain on are powered.

Example: Heaters for an extrusion machine that are required to be powered even when the equipment is turned off.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentTimerPoweredClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218304_531962_1815"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218304_531962_1815"; + /// Constant value for + public const string SUMMARY = @" time that primary power is applied to the piece of equipment and, as a minimum, the controller or logic portion of the piece of equipment is powered and functioning or components that are required to remain on are powered. + +Example: Heaters for an extrusion machine that are required to be powered even when the equipment is turned off. +"; + /// Constant value for + public const string NAME = "EquipmentTimer.Powered"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218298_41713_1803 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.EquipmentTimerClass); + + /// + public new EquipmentTimerPoweredClassProperties Properties { get; } = new EquipmentTimerPoweredClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EquipmentTimerPoweredClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.EquipmentTimerClass.EquipmentTimerClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.WorkingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.WorkingClass.cs new file mode 100644 index 00000000..df28e6c2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimer.WorkingClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// time that a piece of equipment is performing any activity the equipment is active and performing a function under load or not.

Example: For traditional machine tools, this includes LOADED, plus rapid moves, tool changes, etc.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentTimerWorkingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218301_334225_1809"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218301_334225_1809"; + /// Constant value for + public const string SUMMARY = @" time that a piece of equipment is performing any activity the equipment is active and performing a function under load or not. + +Example: For traditional machine tools, this includes `LOADED`, plus rapid moves, tool changes, etc. +"; + /// Constant value for + public const string NAME = "EquipmentTimer.Working"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218298_41713_1803 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.EquipmentTimerClass); + + /// + public new EquipmentTimerWorkingClassProperties Properties { get; } = new EquipmentTimerWorkingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EquipmentTimerWorkingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.EquipmentTimerClass.EquipmentTimerClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimerClass.cs new file mode 100644 index 00000000..c950c35c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/EquipmentTimerClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.EQUIPMENT_TIMER


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentTimerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218298_41713_1803"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218298_41713_1803"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::EQUIPMENT_TIMER)}} +"; + /// Constant value for + public const string NAME = "EquipmentTimer"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new EquipmentTimerClassProperties Properties { get; } = new EquipmentTimerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class EquipmentTimerClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "EQUIPMENT_TIMER"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FillLevelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FillLevelClass.cs new file mode 100644 index 00000000..c3c9fa4f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FillLevelClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.FILL_LEVEL


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FillLevelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218308_747718_1824"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218308_747718_1824"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::FILL_LEVEL)}} +"; + /// Constant value for + public const string NAME = "FillLevel"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new FillLevelClassProperties Properties { get; } = new FillLevelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FillLevelClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PERCENT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FILL_LEVEL"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FlowClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FlowClass.cs new file mode 100644 index 00000000..52a50e4f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FlowClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.FLOW


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FlowClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218309_653847_1827"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218309_653847_1827"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::FLOW)}} +"; + /// Constant value for + public const string NAME = "Flow"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new FlowClassProperties Properties { get; } = new FlowClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FlowClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LITER/SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FLOW"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingError.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingError.ActualClass.cs new file mode 100644 index 00000000..319ccfd5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingError.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FollowingErrorActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660329437798_361188_602"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660329437798_361188_602"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "FollowingError.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660329437798_692445_601 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.FollowingErrorClass); + + /// + public new FollowingErrorActualClassProperties Properties { get; } = new FollowingErrorActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FollowingErrorActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.FollowingErrorClass.FollowingErrorClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorAngular.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorAngular.ActualClass.cs new file mode 100644 index 00000000..5b7b736f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorAngular.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FollowingErrorAngularActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660329532358_693433_626"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660329532358_693433_626"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "FollowingErrorAngular.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660329532348_961240_624 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.FollowingErrorAngularClass); + + /// + public new FollowingErrorAngularActualClassProperties Properties { get; } = new FollowingErrorAngularActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FollowingErrorAngularActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.FollowingErrorAngularClass.FollowingErrorAngularClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorAngularClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorAngularClass.cs new file mode 100644 index 00000000..0b365499 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorAngularClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.FOLLOWING_ERROR_ANGULAR


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FollowingErrorAngularClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660329532348_961240_624"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660329532348_961240_624"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::FOLLOWING_ERROR_ANGULAR)}} +"; + /// Constant value for + public const string NAME = "FollowingErrorAngular"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new FollowingErrorAngularClassProperties Properties { get; } = new FollowingErrorAngularClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FollowingErrorAngularClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FOLLOWING_ERROR_ANGULAR"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorClass.cs new file mode 100644 index 00000000..1116f4f0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.FOLLOWING_ERROR


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FollowingErrorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660329437798_692445_601"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660329437798_692445_601"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::FOLLOWING_ERROR)}} +"; + /// Constant value for + public const string NAME = "FollowingError"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new FollowingErrorClassProperties Properties { get; } = new FollowingErrorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FollowingErrorClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COUNT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FOLLOWING_ERROR"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorLinear.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorLinear.ActualClass.cs new file mode 100644 index 00000000..257cb9be --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorLinear.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FollowingErrorLinearActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660329532358_210023_627"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660329532358_210023_627"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "FollowingErrorLinear.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660329532358_541025_625 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.FollowingErrorLinearClass); + + /// + public new FollowingErrorLinearActualClassProperties Properties { get; } = new FollowingErrorLinearActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FollowingErrorLinearActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.FollowingErrorLinearClass.FollowingErrorLinearClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorLinearClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorLinearClass.cs new file mode 100644 index 00000000..cd57e7e5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FollowingErrorLinearClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.FOLLOWING_ERROR_LINEAR


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FollowingErrorLinearClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660329532358_541025_625"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660329532358_541025_625"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::FOLLOWING_ERROR_LINEAR)}} +"; + /// Constant value for + public const string NAME = "FollowingErrorLinear"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new FollowingErrorLinearClassProperties Properties { get; } = new FollowingErrorLinearClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FollowingErrorLinearClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FOLLOWING_ERROR_LINEAR"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FrequencyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FrequencyClass.cs new file mode 100644 index 00000000..c9a582d3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/FrequencyClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.FREQUENCY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FrequencyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218311_52693_1830"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218311_52693_1830"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::FREQUENCY)}} +"; + /// Constant value for + public const string NAME = "Frequency"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new FrequencyClassProperties Properties { get; } = new FrequencyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class FrequencyClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "HERTZ"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "FREQUENCY"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GlobalPosition.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GlobalPosition.ActualClass.cs new file mode 100644 index 00000000..3446a16f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GlobalPosition.ActualClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class GlobalPositionActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643976186139_50360_1019"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1643976186139_50360_1019"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "GlobalPosition.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218313_768609_1836 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.GlobalPositionClass); + + /// + public new GlobalPositionActualClassProperties Properties { get; } = new GlobalPositionActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class GlobalPositionActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.GlobalPositionClass.GlobalPositionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GlobalPosition.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GlobalPosition.CommandedClass.cs new file mode 100644 index 00000000..1bfd7fcb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GlobalPosition.CommandedClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class GlobalPositionCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643976186141_583980_1020"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1643976186141_583980_1020"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "GlobalPosition.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218313_768609_1836 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.GlobalPositionClass); + + /// + public new GlobalPositionCommandedClassProperties Properties { get; } = new GlobalPositionCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class GlobalPositionCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.GlobalPositionClass.GlobalPositionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GlobalPositionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GlobalPositionClass.cs new file mode 100644 index 00000000..8f1187f2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GlobalPositionClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.GLOBAL_POSITION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class GlobalPositionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218313_768609_1836"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218313_768609_1836"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::GLOBAL_POSITION)}} +"; + /// Constant value for + public const string NAME = "GlobalPosition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new GlobalPositionClassProperties Properties { get; } = new GlobalPositionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class GlobalPositionClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "GLOBAL_POSITION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GravitationalAccelerationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GravitationalAccelerationClass.cs new file mode 100644 index 00000000..c47e6c25 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GravitationalAccelerationClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.GRAVITATIONAL_ACCELERATION




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class GravitationalAccelerationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660317519161_337203_103"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660317519161_337203_103"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::GRAVITATIONAL_ACCELERATION)}} + + +"; + /// Constant value for + public const string NAME = "GravitationalAcceleration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new GravitationalAccelerationClassProperties Properties { get; } = new GravitationalAccelerationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class GravitationalAccelerationClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "GRAVITATIONAL_ACCELERATION"; + + /// + /// + /// Type: NativeUnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.NativeUnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "GRAVITATIONAL_ACCELERATION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GravitationalForceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GravitationalForceClass.cs new file mode 100644 index 00000000..39aadee1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/GravitationalForceClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.GRAVITATIONAL_FORCE

> Note: Mass\times GravitationalAcceleration


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class GravitationalForceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660317516642_837590_88"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660317516642_837590_88"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::GRAVITATIONAL_FORCE)}} + +> Note: $$Mass\\times GravitationalAcceleration$$ +"; + /// Constant value for + public const string NAME = "GravitationalForce"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new GravitationalForceClassProperties Properties { get; } = new GravitationalForceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class GravitationalForceClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "GRAVITATIONAL_FORCE"; + + /// + /// + /// Type: NativeUnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.NativeUnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "GRAVITATIONAL_FORCE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityAbsolute.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityAbsolute.ActualClass.cs new file mode 100644 index 00000000..28ea7cb3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityAbsolute.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HumidityAbsoluteActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587736925367_196545_1575"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587736925367_196545_1575"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "HumidityAbsolute.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587736925365_875845_1574 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.HumidityAbsoluteClass); + + /// + public new HumidityAbsoluteActualClassProperties Properties { get; } = new HumidityAbsoluteActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HumidityAbsoluteActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.HumidityAbsoluteClass.HumidityAbsoluteClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityAbsolute.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityAbsolute.CommandedClass.cs new file mode 100644 index 00000000..4c1e3c04 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityAbsolute.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HumidityAbsoluteCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587736925367_672740_1576"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587736925367_672740_1576"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "HumidityAbsolute.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587736925365_875845_1574 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.HumidityAbsoluteClass); + + /// + public new HumidityAbsoluteCommandedClassProperties Properties { get; } = new HumidityAbsoluteCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HumidityAbsoluteCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.HumidityAbsoluteClass.HumidityAbsoluteClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityAbsoluteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityAbsoluteClass.cs new file mode 100644 index 00000000..1d53b911 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityAbsoluteClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.HUMIDITY_ABSOLUTE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HumidityAbsoluteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587736925365_875845_1574"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587736925365_875845_1574"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::HUMIDITY_ABSOLUTE)}} +"; + /// Constant value for + public const string NAME = "HumidityAbsolute"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new HumidityAbsoluteClassProperties Properties { get; } = new HumidityAbsoluteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HumidityAbsoluteClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "GRAM/CUBIC_METER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "HUMIDITY_ABSOLUTE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityRelative.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityRelative.ActualClass.cs new file mode 100644 index 00000000..8638149e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityRelative.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HumidityRelativeActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587736744122_523029_1415"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587736744122_523029_1415"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "HumidityRelative.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587736744120_539399_1413 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.HumidityRelativeClass); + + /// + public new HumidityRelativeActualClassProperties Properties { get; } = new HumidityRelativeActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HumidityRelativeActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.HumidityRelativeClass.HumidityRelativeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityRelative.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityRelative.CommandedClass.cs new file mode 100644 index 00000000..bce58ebe --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityRelative.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HumidityRelativeCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587736744122_879484_1414"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587736744122_879484_1414"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "HumidityRelative.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587736744120_539399_1413 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.HumidityRelativeClass); + + /// + public new HumidityRelativeCommandedClassProperties Properties { get; } = new HumidityRelativeCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HumidityRelativeCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.HumidityRelativeClass.HumidityRelativeClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityRelativeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityRelativeClass.cs new file mode 100644 index 00000000..1bb13b44 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumidityRelativeClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.HUMIDITY_RELATIVE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HumidityRelativeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587736744120_539399_1413"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587736744120_539399_1413"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::HUMIDITY_RELATIVE)}} +"; + /// Constant value for + public const string NAME = "HumidityRelative"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new HumidityRelativeClassProperties Properties { get; } = new HumidityRelativeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HumidityRelativeClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PERCENT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "HUMIDITY_RELATIVE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumiditySpecific.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumiditySpecific.ActualClass.cs new file mode 100644 index 00000000..65cd2042 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumiditySpecific.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HumiditySpecificActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587736930760_4780_1602"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587736930760_4780_1602"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "HumiditySpecific.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587736930758_553256_1601 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.HumiditySpecificClass); + + /// + public new HumiditySpecificActualClassProperties Properties { get; } = new HumiditySpecificActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HumiditySpecificActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.HumiditySpecificClass.HumiditySpecificClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumiditySpecific.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumiditySpecific.CommandedClass.cs new file mode 100644 index 00000000..79ebddc9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumiditySpecific.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HumiditySpecificCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587736930761_661399_1603"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587736930761_661399_1603"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "HumiditySpecific.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587736930758_553256_1601 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.HumiditySpecificClass); + + /// + public new HumiditySpecificCommandedClassProperties Properties { get; } = new HumiditySpecificCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HumiditySpecificCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.HumiditySpecificClass.HumiditySpecificClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumiditySpecificClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumiditySpecificClass.cs new file mode 100644 index 00000000..c24db148 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/HumiditySpecificClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.HUMIDITY_SPECIFIC


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class HumiditySpecificClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587736930758_553256_1601"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587736930758_553256_1601"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::HUMIDITY_SPECIFIC)}} +"; + /// Constant value for + public const string NAME = "HumiditySpecific"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new HumiditySpecificClassProperties Properties { get; } = new HumiditySpecificClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class HumiditySpecificClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PERCENT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "HUMIDITY_SPECIFIC"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Length.RemainingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Length.RemainingClass.cs new file mode 100644 index 00000000..e462e577 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Length.RemainingClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// remaining total length of an object.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LengthRemainingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218329_303079_1869"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218329_303079_1869"; + /// Constant value for + public const string SUMMARY = @" remaining total length of an object. +"; + /// Constant value for + public const string NAME = "Length.Remaining"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218326_31395_1863 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.LengthClass); + + /// + public new LengthRemainingClassProperties Properties { get; } = new LengthRemainingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LengthRemainingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.LengthClass.LengthClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Length.StandardClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Length.StandardClass.cs new file mode 100644 index 00000000..3c63d977 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Length.StandardClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// standard or original length of an object.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LengthStandardClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218327_469818_1866"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218327_469818_1866"; + /// Constant value for + public const string SUMMARY = @" standard or original length of an object. +"; + /// Constant value for + public const string NAME = "Length.Standard"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218326_31395_1863 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.LengthClass); + + /// + public new LengthStandardClassProperties Properties { get; } = new LengthStandardClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LengthStandardClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.LengthClass.LengthClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Length.UseableClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Length.UseableClass.cs new file mode 100644 index 00000000..48538e30 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Length.UseableClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// remaining usable length of an object.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LengthUseableClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218330_493024_1872"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218330_493024_1872"; + /// Constant value for + public const string SUMMARY = @" remaining usable length of an object. +"; + /// Constant value for + public const string NAME = "Length.Useable"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218326_31395_1863 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.LengthClass); + + /// + public new LengthUseableClassProperties Properties { get; } = new LengthUseableClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LengthUseableClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.LengthClass.LengthClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LengthClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LengthClass.cs new file mode 100644 index 00000000..ab973bf0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LengthClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.LENGTH


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LengthClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218326_31395_1863"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218326_31395_1863"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::LENGTH)}} +"; + /// Constant value for + public const string NAME = "Length"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new LengthClassProperties Properties { get; } = new LengthClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LengthClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LENGTH"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LevelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LevelClass.cs new file mode 100644 index 00000000..9eb5de22 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LevelClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.LEVEL


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// Deprecated: v1.2 + /// + /// + [Obsolete("Deprecated in v1.2 according to https://model.mtconnect.org/#_Version_1.2")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LevelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218331_809018_1875"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218331_809018_1875"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::LEVEL)}} +"; + /// Constant value for + public const string NAME = "Level"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new LevelClassProperties Properties { get; } = new LevelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LevelClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Type, + Units, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LEVEL"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LinearForceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LinearForceClass.cs new file mode 100644 index 00000000..93fe0f63 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LinearForceClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.LINEAR_FORCE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LinearForceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218335_32762_1887"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218335_32762_1887"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::LINEAR_FORCE)}} +"; + /// Constant value for + public const string NAME = "LinearForce"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new LinearForceClassProperties Properties { get; } = new LinearForceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LinearForceClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "NEWTON"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LINEAR_FORCE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LoadClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LoadClass.cs new file mode 100644 index 00000000..1c262612 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/LoadClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.LOAD


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LoadClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218342_32796_1902"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218342_32796_1902"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::LOAD)}} +"; + /// Constant value for + public const string NAME = "Load"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new LoadClassProperties Properties { get; } = new LoadClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class LoadClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PERCENT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "LOAD"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/MassClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/MassClass.cs new file mode 100644 index 00000000..fb2d07f3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/MassClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.MASS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MassClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218343_830417_1905"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218343_830417_1905"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::MASS)}} +"; + /// Constant value for + public const string NAME = "Mass"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new MassClassProperties Properties { get; } = new MassClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MassClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "KILOGRAM"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MASS"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ObservationUpdateRateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ObservationUpdateRateClass.cs new file mode 100644 index 00000000..0978aa43 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ObservationUpdateRateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.OBSERVATION_UPDATE_RATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ObservationUpdateRateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605105279989_668208_1197"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605105279989_668208_1197"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::OBSERVATION_UPDATE_RATE)}} +"; + /// Constant value for + public const string NAME = "ObservationUpdateRate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new ObservationUpdateRateClassProperties Properties { get; } = new ObservationUpdateRateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ObservationUpdateRateClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COUNT/SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "OBSERVATION_UPDATE_RATE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/OpennessClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/OpennessClass.cs new file mode 100644 index 00000000..6e88401b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/OpennessClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.OPENNESS


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OpennessClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640703266000_211548_225"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1640703266000_211548_225"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::OPENNESS)}} +"; + /// Constant value for + public const string NAME = "Openness"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new OpennessClassProperties Properties { get; } = new OpennessClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OpennessClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "readonly"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PERCENT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "OPENNESS"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Orientation.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Orientation.ActualClass.cs new file mode 100644 index 00000000..81b57cb6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Orientation.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OrientationActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587736281011_420693_1211"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587736281011_420693_1211"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "Orientation.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587736281012_374291_1212 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.OrientationClass); + + /// + public new OrientationActualClassProperties Properties { get; } = new OrientationActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OrientationActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.OrientationClass.OrientationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Orientation.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Orientation.CommandedClass.cs new file mode 100644 index 00000000..08304026 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Orientation.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OrientationCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587736281013_233159_1213"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587736281013_233159_1213"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "Orientation.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587736281012_374291_1212 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.OrientationClass); + + /// + public new OrientationCommandedClassProperties Properties { get; } = new OrientationCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OrientationCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.OrientationClass.OrientationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/OrientationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/OrientationClass.cs new file mode 100644 index 00000000..17d13154 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/OrientationClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.ORIENTATION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OrientationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587736281012_374291_1212"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587736281012_374291_1212"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::ORIENTATION)}} +"; + /// Constant value for + public const string NAME = "Orientation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new OrientationClassProperties Properties { get; } = new OrientationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OrientationClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE_3D"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ORIENTATION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Float[] + /// + public System.Type Type => typeof(float[]); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PHClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PHClass.cs new file mode 100644 index 00000000..0594411e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PHClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.PH


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PHClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218397_987893_2043"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218397_987893_2043"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::PH)}} +"; + /// Constant value for + public const string NAME = "PH"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new PHClassProperties Properties { get; } = new PHClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PHClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PH"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PH"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.ActualClass.cs new file mode 100644 index 00000000..b60a11e0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedrateActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218375_263844_1983"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218375_263844_1983"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "PathFeedrate.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218374_970818_1980 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedrateClass); + + /// + public new PathFeedrateActualClassProperties Properties { get; } = new PathFeedrateActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedrateActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedrateClass.PathFeedrateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.CommandedClass.cs new file mode 100644 index 00000000..1b904376 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedrateCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218376_570825_1986"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218376_570825_1986"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "PathFeedrate.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218374_970818_1980 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedrateClass); + + /// + public new PathFeedrateCommandedClassProperties Properties { get; } = new PathFeedrateCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedrateCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedrateClass.PathFeedrateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.JogClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.JogClass.cs new file mode 100644 index 00000000..3e051b24 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.JogClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// relating to momentary activation of a function or a movement.

DEPRECATION WARNING: May be deprecated in the future.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedrateJogClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218377_288311_1989"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218377_288311_1989"; + /// Constant value for + public const string SUMMARY = @" relating to momentary activation of a function or a movement. + +**DEPRECATION WARNING**: May be deprecated in the future. +"; + /// Constant value for + public const string NAME = "PathFeedrate.Jog"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218374_970818_1980 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedrateClass); + + /// + public new PathFeedrateJogClassProperties Properties { get; } = new PathFeedrateJogClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedrateJogClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedrateClass.PathFeedrateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.OverrideClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.OverrideClass.cs new file mode 100644 index 00000000..643f7384 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.OverrideClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// operator's overridden value.

DEPRECATED in Version 1.3.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.3 + /// + /// + [Obsolete("Deprecated in v1.3 according to https://model.mtconnect.org/#_Version_1.3")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedrateOverrideClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218380_769380_1998"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218380_769380_1998"; + /// Constant value for + public const string SUMMARY = @" operator's overridden value. + +**DEPRECATED** in *Version 1.3*. +"; + /// Constant value for + public const string NAME = "PathFeedrate.Override"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.3"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218374_970818_1980 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedrateClass); + + /// + public new PathFeedrateOverrideClassProperties Properties { get; } = new PathFeedrateOverrideClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedrateOverrideClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedrateClass.PathFeedrateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.ProgrammedClass.cs new file mode 100644 index 00000000..a75bd5cb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedrateProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218378_490182_1992"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218378_490182_1992"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "PathFeedrate.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218374_970818_1980 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedrateClass); + + /// + public new PathFeedrateProgrammedClassProperties Properties { get; } = new PathFeedrateProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedrateProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedrateClass.PathFeedrateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.RapidClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.RapidClass.cs new file mode 100644 index 00000000..0bcd9a42 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrate.RapidClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// performing an operation faster or in less time than nominal rate.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedrateRapidClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218379_538074_1995"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218379_538074_1995"; + /// Constant value for + public const string SUMMARY = @" performing an operation faster or in less time than nominal rate. +"; + /// Constant value for + public const string NAME = "PathFeedrate.Rapid"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218374_970818_1980 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedrateClass); + + /// + public new PathFeedrateRapidClassProperties Properties { get; } = new PathFeedrateRapidClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedrateRapidClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedrateClass.PathFeedrateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrateClass.cs new file mode 100644 index 00000000..fea4425f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedrateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.PATH_FEEDRATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedrateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218374_970818_1980"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218374_970818_1980"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::PATH_FEEDRATE)}} +"; + /// Constant value for + public const string NAME = "PathFeedrate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new PathFeedrateClassProperties Properties { get; } = new PathFeedrateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedrateClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER/SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PATH_FEEDRATE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolution.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolution.ActualClass.cs new file mode 100644 index 00000000..05e11c35 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolution.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedratePerRevolutionActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218386_735910_2016"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218386_735910_2016"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "PathFeedratePerRevolution.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218385_361913_2013 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedratePerRevolutionClass); + + /// + public new PathFeedratePerRevolutionActualClassProperties Properties { get; } = new PathFeedratePerRevolutionActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedratePerRevolutionActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedratePerRevolutionClass.PathFeedratePerRevolutionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolution.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolution.CommandedClass.cs new file mode 100644 index 00000000..ee2f93bb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolution.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedratePerRevolutionCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218387_765181_2019"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218387_765181_2019"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "PathFeedratePerRevolution.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218385_361913_2013 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedratePerRevolutionClass); + + /// + public new PathFeedratePerRevolutionCommandedClassProperties Properties { get; } = new PathFeedratePerRevolutionCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedratePerRevolutionCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedratePerRevolutionClass.PathFeedratePerRevolutionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolution.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolution.ProgrammedClass.cs new file mode 100644 index 00000000..cae23a87 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolution.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedratePerRevolutionProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218389_24691_2022"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218389_24691_2022"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "PathFeedratePerRevolution.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218385_361913_2013 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedratePerRevolutionClass); + + /// + public new PathFeedratePerRevolutionProgrammedClassProperties Properties { get; } = new PathFeedratePerRevolutionProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedratePerRevolutionProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathFeedratePerRevolutionClass.PathFeedratePerRevolutionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolutionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolutionClass.cs new file mode 100644 index 00000000..61832546 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathFeedratePerRevolutionClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.PATH_FEEDRATE_PER_REVOLUTION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathFeedratePerRevolutionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218385_361913_2013"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218385_361913_2013"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::PATH_FEEDRATE_PER_REVOLUTION)}} +"; + /// Constant value for + public const string NAME = "PathFeedratePerRevolution"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new PathFeedratePerRevolutionClassProperties Properties { get; } = new PathFeedratePerRevolutionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathFeedratePerRevolutionClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER/REVOLUTION"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PATH_FEEDRATE_PER_REVOLUTION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.ActualClass.cs new file mode 100644 index 00000000..3a417eec --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathPositionActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218393_740003_2031"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218393_740003_2031"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "PathPosition.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218391_280410_2028 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathPositionClass); + + /// + public new PathPositionActualClassProperties Properties { get; } = new PathPositionActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathPositionActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathPositionClass.PathPositionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.CommandedClass.cs new file mode 100644 index 00000000..9b0b189c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathPositionCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218394_351301_2034"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218394_351301_2034"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "PathPosition.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218391_280410_2028 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathPositionClass); + + /// + public new PathPositionCommandedClassProperties Properties { get; } = new PathPositionCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathPositionCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathPositionClass.PathPositionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.ProbeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.ProbeClass.cs new file mode 100644 index 00000000..91302133 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.ProbeClass.cs @@ -0,0 +1,159 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// position provided by a measurement probe.

DEPRECATION WARNING: May be deprecated in the future.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathPositionProbeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218396_223513_2040"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218396_223513_2040"; + /// Constant value for + public const string SUMMARY = @" position provided by a measurement probe. + +**DEPRECATION WARNING**: May be deprecated in the future. +"; + /// Constant value for + public const string NAME = "PathPosition.Probe"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218391_280410_2028 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathPositionClass); + + /// + public new PathPositionProbeClassProperties Properties { get; } = new PathPositionProbeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathPositionProbeClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathPositionClass.PathPositionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.TargetClass.cs new file mode 100644 index 00000000..1f5bb456 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPosition.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathPositionTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218395_723505_2037"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218395_723505_2037"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "PathPosition.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218391_280410_2028 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathPositionClass); + + /// + public new PathPositionTargetClassProperties Properties { get; } = new PathPositionTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathPositionTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PathPositionClass.PathPositionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPositionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPositionClass.cs new file mode 100644 index 00000000..dc973430 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PathPositionClass.cs @@ -0,0 +1,328 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.PATH_POSITION




Example

~~~~xml
<DataItem type='PATH_POSITION' id='pathposit1' units="MILLIMETER_3D"/>
~~~~
{: caption="XML Device Model Example for PathPosition using MILLIMETER_3D unit"}

~~~~xml
<PathPosition>10.0 0.0 20.0</PathPosition>
~~~~
{: caption="XML Streams Response Example for PathPosition using MILLIMETER_3D unit"}


~~~~xml
<DataItem type='PATH_POSITION' id='pathposit1' representation="DATA_SET">
<Definition>
<EntryDefinition key='X' units='MILLIMETER'>
<EntryDefinition key='Y' units='MILLIMETER'>
<EntryDefinition key='Z' units='MILLIMETER'>
</Definition>
</DataItem>
~~~~
{: caption="XML Device Model Example for PathPosition to demonstrate multi-dimensional representation using DataSet representation"}

~~~~xml
<PathPositionDataSet id='pathposit1'>
<Entry key='X'>10.0</Entry>
<Entry key='Z'>20.0</Entry>
</PathPositionDataSet>
~~~~
{: caption="XML Streams Response Example for PathPosition to demonstrate multi-dimensional representation using DataSet representation"}




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathPositionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218391_280410_2028"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218391_280410_2028"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::PATH_POSITION)}} + + + Example ~~~~xml + +~~~~ +{: caption=""XML Device Model Example for `PathPosition` using `MILLIMETER_3D` unit""} + +~~~~xml +10.0 0.0 20.0 +~~~~ +{: caption=""XML Streams Response Example for `PathPosition` using `MILLIMETER_3D` unit""} + + +~~~~xml + + + + + + + +~~~~ +{: caption=""XML Device Model Example for `PathPosition` to demonstrate multi-dimensional representation using `DataSet` representation""} + +~~~~xml + + 10.0 + 20.0 + +~~~~ +{: caption=""XML Streams Response Example for `PathPosition` to demonstrate multi-dimensional representation using `DataSet` representation""} +"; + /// Constant value for + public const string NAME = "PathPosition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new PathPositionClassProperties Properties { get; } = new PathPositionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PathPositionClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER_3D"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PATH_POSITION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Float[] + /// + public System.Type Type => typeof(float[]); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.ActualClass.cs new file mode 100644 index 00000000..f5dcb7dd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PositionActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218399_315804_2049"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218399_315804_2049"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "Position.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218398_567350_2046 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PositionClass); + + /// + public new PositionActualClassProperties Properties { get; } = new PositionActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PositionActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PositionClass.PositionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.CommandedClass.cs new file mode 100644 index 00000000..72fedf28 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PositionCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218401_125520_2052"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218401_125520_2052"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "Position.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218398_567350_2046 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PositionClass); + + /// + public new PositionCommandedClassProperties Properties { get; } = new PositionCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PositionCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PositionClass.PositionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.ProgrammedClass.cs new file mode 100644 index 00000000..3fee7d38 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PositionProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218402_492822_2055"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218402_492822_2055"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "Position.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218398_567350_2046 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PositionClass); + + /// + public new PositionProgrammedClassProperties Properties { get; } = new PositionProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PositionProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PositionClass.PositionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.TargetClass.cs new file mode 100644 index 00000000..6cbded2a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Position.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PositionTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218403_371082_2058"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218403_371082_2058"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "Position.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218398_567350_2046 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PositionClass); + + /// + public new PositionTargetClassProperties Properties { get; } = new PositionTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PositionTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PositionClass.PositionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PositionCartesianClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PositionCartesianClass.cs new file mode 100644 index 00000000..156734d9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PositionCartesianClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.POSITION_CARTESIAN


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PositionCartesianClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660363076184_977020_769"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660363076184_977020_769"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::POSITION_CARTESIAN)}} +"; + /// Constant value for + public const string NAME = "PositionCartesian"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new PositionCartesianClassProperties Properties { get; } = new PositionCartesianClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PositionCartesianClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + Result, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER_3D"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "POSITION_CARTESIAN"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Result + ///
+ public new ResultProperty Result { get; } = new ResultProperty(); + + ///  + /// + public new sealed class ResultProperty : IProperty + { + /// Constant value for + public const string NAME = "result"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Float[] + /// + public System.Type Type => typeof(float[]); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PositionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PositionClass.cs new file mode 100644 index 00000000..f3c6c4e7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PositionClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.POSITION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PositionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218398_567350_2046"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218398_567350_2046"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::POSITION)}} +"; + /// Constant value for + public const string NAME = "Position"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new PositionClassProperties Properties { get; } = new PositionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PositionClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "POSITION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PowerFactorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PowerFactorClass.cs new file mode 100644 index 00000000..d4c8f8c2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PowerFactorClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.POWER_FACTOR


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PowerFactorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218404_198407_2061"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218404_198407_2061"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::POWER_FACTOR)}} +"; + /// Constant value for + public const string NAME = "PowerFactor"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new PowerFactorClassProperties Properties { get; } = new PowerFactorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PowerFactorClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PERCENT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "POWER_FACTOR"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressureAbsoluteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressureAbsoluteClass.cs new file mode 100644 index 00000000..2c72ca62 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressureAbsoluteClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// The force per unit area measured relative to a vacuum.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PressureAbsoluteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1614240624009_539158_28"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1614240624009_539158_28"; + /// Constant value for + public const string SUMMARY = @" The force per unit area measured relative to a vacuum. +"; + /// Constant value for + public const string NAME = "PressureAbsolute"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new PressureAbsoluteClassProperties Properties { get; } = new PressureAbsoluteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PressureAbsoluteClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PASCAL"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PRESSURE_ABSOLUTE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressureClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressureClass.cs new file mode 100644 index 00000000..e31d4394 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressureClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.PRESSURE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PressureClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218410_510683_2076"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218410_510683_2076"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::PRESSURE)}} +"; + /// Constant value for + public const string NAME = "Pressure"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new PressureClassProperties Properties { get; } = new PressureClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PressureClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PASCAL"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PRESSURE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRate.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRate.ActualClass.cs new file mode 100644 index 00000000..575ae5b0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRate.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PressurizationRateActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622458305824_456239_882"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622458305824_456239_882"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "PressurizationRate.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605117348980_941318_2004 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PressurizationRateClass); + + /// + public new PressurizationRateActualClassProperties Properties { get; } = new PressurizationRateActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PressurizationRateActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PressurizationRateClass.PressurizationRateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRate.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRate.CommandedClass.cs new file mode 100644 index 00000000..5146c377 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRate.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PressurizationRateCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622458387049_382238_936"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622458387049_382238_936"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "PressurizationRate.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605117348980_941318_2004 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PressurizationRateClass); + + /// + public new PressurizationRateCommandedClassProperties Properties { get; } = new PressurizationRateCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PressurizationRateCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PressurizationRateClass.PressurizationRateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRate.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRate.ProgrammedClass.cs new file mode 100644 index 00000000..15f8d8c5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRate.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PressurizationRateProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622458404552_249000_984"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622458404552_249000_984"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "PressurizationRate.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1605117348980_941318_2004 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PressurizationRateClass); + + /// + public new PressurizationRateProgrammedClassProperties Properties { get; } = new PressurizationRateProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PressurizationRateProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.PressurizationRateClass.PressurizationRateClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAMMED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRateClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRateClass.cs new file mode 100644 index 00000000..d6ec1628 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/PressurizationRateClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.PRESSURIZATION_RATE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PressurizationRateClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605117348980_941318_2004"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605117348980_941318_2004"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::PRESSURIZATION_RATE)}} +"; + /// Constant value for + public const string NAME = "PressurizationRate"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new PressurizationRateClassProperties Properties { get; } = new PressurizationRateClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class PressurizationRateClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PASCAL/SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PRESSURIZATION_RATE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ProcessTimer.DelayClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ProcessTimer.DelayClass.cs new file mode 100644 index 00000000..375cd241 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ProcessTimer.DelayClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// elapsed time of a temporary halt of action.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessTimerDelayClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218419_125760_2097"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218419_125760_2097"; + /// Constant value for + public const string SUMMARY = @" elapsed time of a temporary halt of action. +"; + /// Constant value for + public const string NAME = "ProcessTimer.Delay"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218416_705945_2091 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.ProcessTimerClass); + + /// + public new ProcessTimerDelayClassProperties Properties { get; } = new ProcessTimerDelayClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessTimerDelayClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.ProcessTimerClass.ProcessTimerClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ProcessTimer.ProcessClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ProcessTimer.ProcessClass.cs new file mode 100644 index 00000000..f4c82c74 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ProcessTimer.ProcessClass.cs @@ -0,0 +1,160 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// time from the beginning of production of a part or product on a piece of equipment until the time that production is complete for that part or product on
that piece of equipment.

This includes the time that the piece of equipment is running, producing parts or products, or in the process of producing parts.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessTimerProcessClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218418_463201_2094"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218418_463201_2094"; + /// Constant value for + public const string SUMMARY = @" time from the beginning of production of a part or product on a piece of equipment until the time that production is complete for that part or product on +that piece of equipment. + +This includes the time that the piece of equipment is running, producing parts or products, or in the process of producing parts. +"; + /// Constant value for + public const string NAME = "ProcessTimer.Process"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218416_705945_2091 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.ProcessTimerClass); + + /// + public new ProcessTimerProcessClassProperties Properties { get; } = new ProcessTimerProcessClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessTimerProcessClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.ProcessTimerClass.ProcessTimerClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ProcessTimerClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ProcessTimerClass.cs new file mode 100644 index 00000000..e50c91e8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ProcessTimerClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.PROCESS_TIMER


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessTimerClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218416_705945_2091"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218416_705945_2091"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::PROCESS_TIMER)}} +"; + /// Constant value for + public const string NAME = "ProcessTimer"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new ProcessTimerClassProperties Properties { get; } = new ProcessTimerClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessTimerClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROCESS_TIMER"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ResistanceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ResistanceClass.cs new file mode 100644 index 00000000..c6b1a030 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ResistanceClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.RESISTANCE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ResistanceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218434_188173_2142"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218434_188173_2142"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::RESISTANCE)}} +"; + /// Constant value for + public const string NAME = "Resistance"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new ResistanceClassProperties Properties { get; } = new ResistanceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ResistanceClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "OHM"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "RESISTANCE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.ActualClass.cs new file mode 100644 index 00000000..7f06e8a4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RotaryVelocityActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218437_599677_2151"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218437_599677_2151"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "RotaryVelocity.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218436_532649_2148 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.RotaryVelocityClass); + + /// + public new RotaryVelocityActualClassProperties Properties { get; } = new RotaryVelocityActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RotaryVelocityActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.RotaryVelocityClass.RotaryVelocityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.CommandedClass.cs new file mode 100644 index 00000000..7b833590 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RotaryVelocityCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218438_767875_2154"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218438_767875_2154"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "RotaryVelocity.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218436_532649_2148 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.RotaryVelocityClass); + + /// + public new RotaryVelocityCommandedClassProperties Properties { get; } = new RotaryVelocityCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RotaryVelocityCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.RotaryVelocityClass.RotaryVelocityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.OverrideClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.OverrideClass.cs new file mode 100644 index 00000000..065f5992 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.OverrideClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// The operators overridden value.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v1.3 + /// + /// + [Obsolete("Deprecated in v1.3 according to https://model.mtconnect.org/#_Version_1.3")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RotaryVelocityOverrideClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218439_953937_2160"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218439_953937_2160"; + /// Constant value for + public const string SUMMARY = @" The operators overridden value. + + +"; + /// Constant value for + public const string NAME = "RotaryVelocity.Override"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.3"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218436_532649_2148 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.RotaryVelocityClass); + + /// + public new RotaryVelocityOverrideClassProperties Properties { get; } = new RotaryVelocityOverrideClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RotaryVelocityOverrideClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.RotaryVelocityClass.RotaryVelocityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.ProgrammedClass.cs new file mode 100644 index 00000000..853cc4c6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocity.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RotaryVelocityProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218439_34159_2157"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218439_34159_2157"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "RotaryVelocity.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218436_532649_2148 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.RotaryVelocityClass); + + /// + public new RotaryVelocityProgrammedClassProperties Properties { get; } = new RotaryVelocityProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RotaryVelocityProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.RotaryVelocityClass.RotaryVelocityClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocityClass.cs new file mode 100644 index 00000000..e2bb9d99 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/RotaryVelocityClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.ROTARY_VELOCITY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RotaryVelocityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218436_532649_2148"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218436_532649_2148"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::ROTARY_VELOCITY)}} +"; + /// Constant value for + public const string NAME = "RotaryVelocity"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new RotaryVelocityClassProperties Properties { get; } = new RotaryVelocityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RotaryVelocityClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REVOLUTION/MINUTE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ROTARY_VELOCITY"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingError.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingError.ActualClass.cs new file mode 100644 index 00000000..e99a5c1b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingError.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SettlingErrorActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660328981387_643645_460"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660328981387_643645_460"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "SettlingError.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660328981380_466100_459 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SettlingErrorClass); + + /// + public new SettlingErrorActualClassProperties Properties { get; } = new SettlingErrorActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SettlingErrorActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SettlingErrorClass.SettlingErrorClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorAngular.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorAngular.ActualClass.cs new file mode 100644 index 00000000..0388f83c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorAngular.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SettlingErrorAngularActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660329285538_208737_579"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660329285538_208737_579"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "SettlingErrorAngular.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660329285538_924389_578 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SettlingErrorAngularClass); + + /// + public new SettlingErrorAngularActualClassProperties Properties { get; } = new SettlingErrorAngularActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SettlingErrorAngularActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SettlingErrorAngularClass.SettlingErrorAngularClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorAngularClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorAngularClass.cs new file mode 100644 index 00000000..cbb288ba --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorAngularClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.SETTLING_ERROR_ANGULAR


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SettlingErrorAngularClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660329285538_924389_578"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660329285538_924389_578"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::SETTLING_ERROR_ANGULAR)}} +"; + /// Constant value for + public const string NAME = "SettlingErrorAngular"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new SettlingErrorAngularClassProperties Properties { get; } = new SettlingErrorAngularClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SettlingErrorAngularClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DEGREE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SETTLING_ERROR_ANGULAR"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorClass.cs new file mode 100644 index 00000000..432b1df3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.SETTLING_ERROR


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SettlingErrorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660328981380_466100_459"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660328981380_466100_459"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::SETTLING_ERROR)}} +"; + /// Constant value for + public const string NAME = "SettlingError"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new SettlingErrorClassProperties Properties { get; } = new SettlingErrorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SettlingErrorClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COUNT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SETTLING_ERROR"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorLinear.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorLinear.ActualClass.cs new file mode 100644 index 00000000..e1f7c690 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorLinear.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SettlingErrorLinearActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660329283868_608142_556"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660329283868_608142_556"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "SettlingErrorLinear.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1660329283868_866231_555 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SettlingErrorLinearClass); + + /// + public new SettlingErrorLinearActualClassProperties Properties { get; } = new SettlingErrorLinearActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SettlingErrorLinearActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SettlingErrorLinearClass.SettlingErrorLinearClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorLinearClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorLinearClass.cs new file mode 100644 index 00000000..87cd65d3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SettlingErrorLinearClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.SETTLING_ERROR_LINEAR


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SettlingErrorLinearClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660329283868_866231_555"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1660329283868_866231_555"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::SETTLING_ERROR_LINEAR)}} +"; + /// Constant value for + public const string NAME = "SettlingErrorLinear"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new SettlingErrorLinearClassProperties Properties { get; } = new SettlingErrorLinearClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SettlingErrorLinearClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SETTLING_ERROR_LINEAR"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.AScaleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.AScaleClass.cs new file mode 100644 index 00000000..121c38c0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.AScaleClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// A Scale weighting factor. This is the default weighting factor if no factor is specified


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SoundLevelAScaleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218443_624640_2175"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218443_624640_2175"; + /// Constant value for + public const string SUMMARY = @" A Scale weighting factor. This is the default weighting factor if no factor is specified +"; + /// Constant value for + public const string NAME = "SoundLevel.AScale"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218442_613083_2169 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SoundLevelClass); + + /// + public new SoundLevelAScaleClassProperties Properties { get; } = new SoundLevelAScaleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SoundLevelAScaleClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SoundLevelClass.SoundLevelClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.BScaleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.BScaleClass.cs new file mode 100644 index 00000000..f2189d03 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.BScaleClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// B Scale weighting factor


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SoundLevelBScaleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218444_801904_2178"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218444_801904_2178"; + /// Constant value for + public const string SUMMARY = @" B Scale weighting factor +"; + /// Constant value for + public const string NAME = "SoundLevel.BScale"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218442_613083_2169 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SoundLevelClass); + + /// + public new SoundLevelBScaleClassProperties Properties { get; } = new SoundLevelBScaleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SoundLevelBScaleClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SoundLevelClass.SoundLevelClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.CScaleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.CScaleClass.cs new file mode 100644 index 00000000..d9aeaded --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.CScaleClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// C Scale weighting factor


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SoundLevelCScaleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218445_300012_2181"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218445_300012_2181"; + /// Constant value for + public const string SUMMARY = @" C Scale weighting factor +"; + /// Constant value for + public const string NAME = "SoundLevel.CScale"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218442_613083_2169 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SoundLevelClass); + + /// + public new SoundLevelCScaleClassProperties Properties { get; } = new SoundLevelCScaleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SoundLevelCScaleClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SoundLevelClass.SoundLevelClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.DScaleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.DScaleClass.cs new file mode 100644 index 00000000..a00a97b5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.DScaleClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// D Scale weighting factor


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SoundLevelDScaleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218445_972169_2184"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218445_972169_2184"; + /// Constant value for + public const string SUMMARY = @" D Scale weighting factor +"; + /// Constant value for + public const string NAME = "SoundLevel.DScale"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218442_613083_2169 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SoundLevelClass); + + /// + public new SoundLevelDScaleClassProperties Properties { get; } = new SoundLevelDScaleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SoundLevelDScaleClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SoundLevelClass.SoundLevelClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.NoScaleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.NoScaleClass.cs new file mode 100644 index 00000000..09713249 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevel.NoScaleClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// No weighting factor on the frequency scale


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SoundLevelNoScaleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218442_203738_2172"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218442_203738_2172"; + /// Constant value for + public const string SUMMARY = @" No weighting factor on the frequency scale +"; + /// Constant value for + public const string NAME = "SoundLevel.NoScale"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218442_613083_2169 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SoundLevelClass); + + /// + public new SoundLevelNoScaleClassProperties Properties { get; } = new SoundLevelNoScaleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SoundLevelNoScaleClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SoundLevelClass.SoundLevelClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevelClass.cs new file mode 100644 index 00000000..795794b2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SoundLevelClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.SOUND_LEVEL


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SoundLevelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218442_613083_2169"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218442_613083_2169"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::SOUND_LEVEL)}} +"; + /// Constant value for + public const string NAME = "SoundLevel"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new SoundLevelClassProperties Properties { get; } = new SoundLevelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SoundLevelClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "DECIBEL"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SOUND_LEVEL"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "A_SCALE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeed.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeed.ActualClass.cs new file mode 100644 index 00000000..c2a8e075 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeed.ActualClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.

DEPRECATED in Version 1.3.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.2 + /// + /// + [Obsolete("Deprecated in v1.2 according to https://model.mtconnect.org/#_Version_1.2")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpindleSpeedActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218448_53515_2193"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218448_53515_2193"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. + +**DEPRECATED** in *Version 1.3*. +"; + /// Constant value for + public const string NAME = "SpindleSpeed.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218447_87713_2190 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SpindleSpeedClass); + + /// + public new SpindleSpeedActualClassProperties Properties { get; } = new SpindleSpeedActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SpindleSpeedActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SpindleSpeedClass.SpindleSpeedClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeed.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeed.CommandedClass.cs new file mode 100644 index 00000000..3dce924c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeed.CommandedClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.

DEPRECATED in Version 1.3.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.2 + /// + /// + [Obsolete("Deprecated in v1.2 according to https://model.mtconnect.org/#_Version_1.2")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpindleSpeedCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218448_23994_2196"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218448_23994_2196"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. + +**DEPRECATED** in *Version 1.3*. +"; + /// Constant value for + public const string NAME = "SpindleSpeed.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218447_87713_2190 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SpindleSpeedClass); + + /// + public new SpindleSpeedCommandedClassProperties Properties { get; } = new SpindleSpeedCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SpindleSpeedCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SpindleSpeedClass.SpindleSpeedClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeed.OverrideClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeed.OverrideClass.cs new file mode 100644 index 00000000..94e45afd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeed.OverrideClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// operator's overridden value.

DEPRECATED in Version 1.3.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.2 + /// + /// + [Obsolete("Deprecated in v1.2 according to https://model.mtconnect.org/#_Version_1.2")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpindleSpeedOverrideClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218449_869463_2199"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218449_869463_2199"; + /// Constant value for + public const string SUMMARY = @" operator's overridden value. + +**DEPRECATED** in *Version 1.3*. +"; + /// Constant value for + public const string NAME = "SpindleSpeed.Override"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218447_87713_2190 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SpindleSpeedClass); + + /// + public new SpindleSpeedOverrideClassProperties Properties { get; } = new SpindleSpeedOverrideClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SpindleSpeedOverrideClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.SpindleSpeedClass.SpindleSpeedClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeedClass.cs new file mode 100644 index 00000000..10544b5f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/SpindleSpeedClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.SPINDLE_SPEED


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.2 + /// + /// + [Obsolete("Deprecated in v1.2 according to https://model.mtconnect.org/#_Version_1.2")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpindleSpeedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218447_87713_2190"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218447_87713_2190"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::SPINDLE_SPEED)}} +"; + /// Constant value for + public const string NAME = "SpindleSpeed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new SpindleSpeedClassProperties Properties { get; } = new SpindleSpeedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class SpindleSpeedClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "REVOLUTION/MINUTE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "SPINDLE_SPEED"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/StrainClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/StrainClass.cs new file mode 100644 index 00000000..e9e169fe --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/StrainClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.STRAIN


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StrainClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218450_141184_2202"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218450_141184_2202"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::STRAIN)}} +"; + /// Constant value for + public const string NAME = "Strain"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new StrainClassProperties Properties { get; } = new StrainClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class StrainClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PERCENT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "STRAIN"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TemperatureClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TemperatureClass.cs new file mode 100644 index 00000000..077447b7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TemperatureClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.TEMPERATURE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TemperatureClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218451_953222_2205"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218451_953222_2205"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::TEMPERATURE)}} +"; + /// Constant value for + public const string NAME = "Temperature"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new TemperatureClassProperties Properties { get; } = new TemperatureClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TemperatureClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CELSIUS"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TEMPERATURE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TensionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TensionClass.cs new file mode 100644 index 00000000..f9e254d4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TensionClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.TENSION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TensionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218452_603125_2208"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218452_603125_2208"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::TENSION)}} +"; + /// Constant value for + public const string NAME = "Tension"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new TensionClassProperties Properties { get; } = new TensionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TensionClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "NEWTON"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TENSION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TiltClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TiltClass.cs new file mode 100644 index 00000000..07c93a56 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TiltClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.TILT


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TiltClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218453_269491_2211"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218453_269491_2211"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::TILT)}} +"; + /// Constant value for + public const string NAME = "Tilt"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new TiltClassProperties Properties { get; } = new TiltClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TiltClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MICRO_RADIAN"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TILT"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TorqueClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TorqueClass.cs new file mode 100644 index 00000000..246a4815 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/TorqueClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.TORQUE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TorqueClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218461_778117_2235"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218461_778117_2235"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::TORQUE)}} +"; + /// Constant value for + public const string NAME = "Torque"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new TorqueClassProperties Properties { get; } = new TorqueClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TorqueClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "NEWTON_METER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "TORQUE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VelocityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VelocityClass.cs new file mode 100644 index 00000000..67750205 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VelocityClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.VELOCITY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VelocityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218467_799828_2253"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218467_799828_2253"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::VELOCITY)}} +"; + /// Constant value for + public const string NAME = "Velocity"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new VelocityClassProperties Properties { get; } = new VelocityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VelocityClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER/SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VELOCITY"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ViscosityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ViscosityClass.cs new file mode 100644 index 00000000..bab5a99c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ViscosityClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.VISCOSITY


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ViscosityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218468_92553_2256"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218468_92553_2256"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::VISCOSITY)}} +"; + /// Constant value for + public const string NAME = "Viscosity"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new ViscosityClassProperties Properties { get; } = new ViscosityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ViscosityClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PASCAL_SECOND"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VISCOSITY"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltAmpereClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltAmpereClass.cs new file mode 100644 index 00000000..dbe64133 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltAmpereClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.VOLT_AMPERE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltAmpereClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218475_318871_2274"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218475_318871_2274"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::VOLT_AMPERE)}} +"; + /// Constant value for + public const string NAME = "VoltAmpere"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new VoltAmpereClassProperties Properties { get; } = new VoltAmpereClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltAmpereClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VOLT_AMPERE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VOLT_AMPERE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltAmpereReactiveClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltAmpereReactiveClass.cs new file mode 100644 index 00000000..5b53b2ce --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltAmpereReactiveClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.VOLT_AMPERE_REACTIVE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltAmpereReactiveClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218477_744952_2277"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218477_744952_2277"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::VOLT_AMPERE_REACTIVE)}} +"; + /// Constant value for + public const string NAME = "VoltAmpereReactive"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new VoltAmpereReactiveClassProperties Properties { get; } = new VoltAmpereReactiveClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltAmpereReactiveClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VOLT_AMPERE_REACTIVE"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VOLT_AMPERE_REACTIVE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.ActualClass.cs new file mode 100644 index 00000000..3638d4b5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.ActualClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.

DEPRECATED in Version 1.6.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// Deprecated: v1.6 + /// + /// + [Obsolete("Deprecated in v1.6 according to https://model.mtconnect.org/#_Version_1.6")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltageActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218472_23081_2268"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218472_23081_2268"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. + +**DEPRECATED** in *Version 1.6*. +"; + /// Constant value for + public const string NAME = "Voltage.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218469_994902_2259 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageClass); + + /// + public new VoltageActualClassProperties Properties { get; } = new VoltageActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltageActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageClass.VoltageClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.AlternatingClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.AlternatingClass.cs new file mode 100644 index 00000000..29ec4a55 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.AlternatingClass.cs @@ -0,0 +1,163 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// alternating voltage or current.

If not specified further in statistic, defaults to RMS voltage.

DEPRECATED in Version 1.6.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v1.6 + /// + /// + [Obsolete("Deprecated in v1.6 according to https://model.mtconnect.org/#_Version_1.6")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltageAlternatingClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218470_708754_2262"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218470_708754_2262"; + /// Constant value for + public const string SUMMARY = @" alternating voltage or current. + +If not specified further in statistic, defaults to RMS voltage. + +**DEPRECATED** in *Version 1.6*. +"; + /// Constant value for + public const string NAME = "Voltage.Alternating"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218469_994902_2259 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageClass); + + /// + public new VoltageAlternatingClassProperties Properties { get; } = new VoltageAlternatingClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltageAlternatingClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageClass.VoltageClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.DirectClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.DirectClass.cs new file mode 100644 index 00000000..3fd8adb2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.DirectClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// DC current or voltage.

DEPRECATED in Version 1.6.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v1.6 + /// + /// + [Obsolete("Deprecated in v1.6 according to https://model.mtconnect.org/#_Version_1.6")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltageDirectClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218471_721088_2265"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218471_721088_2265"; + /// Constant value for + public const string SUMMARY = @" DC current or voltage. + +**DEPRECATED** in *Version 1.6*. +"; + /// Constant value for + public const string NAME = "Voltage.Direct"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218469_994902_2259 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageClass); + + /// + public new VoltageDirectClassProperties Properties { get; } = new VoltageDirectClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltageDirectClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageClass.VoltageClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.TargetClass.cs new file mode 100644 index 00000000..f9125974 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Voltage.TargetClass.cs @@ -0,0 +1,161 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// goal of the operation or process.

DEPRECATED in Version 1.6.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// Deprecated: v1.6 + /// + /// + [Obsolete("Deprecated in v1.6 according to https://model.mtconnect.org/#_Version_1.6")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltageTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218474_371651_2271"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218474_371651_2271"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. + +**DEPRECATED** in *Version 1.6*. +"; + /// Constant value for + public const string NAME = "Voltage.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218469_994902_2259 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageClass); + + /// + public new VoltageTargetClassProperties Properties { get; } = new VoltageTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltageTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageClass.VoltageClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageAC.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageAC.ActualClass.cs new file mode 100644 index 00000000..1bb33de3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageAC.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltageACActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587734767817_476603_460"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587734767817_476603_460"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "VoltageAC.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587734767819_726864_461 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageACClass); + + /// + public new VoltageACActualClassProperties Properties { get; } = new VoltageACActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltageACActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageACClass.VoltageACClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageAC.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageAC.CommandedClass.cs new file mode 100644 index 00000000..df051901 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageAC.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltageACCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587734767823_577271_464"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587734767823_577271_464"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "VoltageAC.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587734767819_726864_461 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageACClass); + + /// + public new VoltageACCommandedClassProperties Properties { get; } = new VoltageACCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltageACCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageACClass.VoltageACClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageAC.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageAC.ProgrammedClass.cs new file mode 100644 index 00000000..9eba41ae --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageAC.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltageACProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587734767825_344929_466"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587734767825_344929_466"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "VoltageAC.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587734767819_726864_461 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageACClass); + + /// + public new VoltageACProgrammedClassProperties Properties { get; } = new VoltageACProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltageACProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageACClass.VoltageACClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAMMED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageACClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageACClass.cs new file mode 100644 index 00000000..a508d66f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageACClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.VOLTAGE_AC


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltageACClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587734767819_726864_461"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587734767819_726864_461"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::VOLTAGE_AC)}} +"; + /// Constant value for + public const string NAME = "VoltageAC"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new VoltageACClassProperties Properties { get; } = new VoltageACClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltageACClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VOLT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VOLTAGE_AC"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageClass.cs new file mode 100644 index 00000000..54a6e620 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageClass.cs @@ -0,0 +1,229 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.VOLTAGE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.6 + /// + /// + [Obsolete("Deprecated in v1.6 according to https://model.mtconnect.org/#_Version_1.6")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltageClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218469_994902_2259"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218469_994902_2259"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::VOLTAGE)}} +"; + /// Constant value for + public const string NAME = "Voltage"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new VoltageClassProperties Properties { get; } = new VoltageClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltageClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VOLT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VOLTAGE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDC.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDC.ActualClass.cs new file mode 100644 index 00000000..e4e728b0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDC.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltageDCActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587735397936_513962_699"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587735397936_513962_699"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "VoltageDC.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587735397938_964180_702 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageDCClass); + + /// + public new VoltageDCActualClassProperties Properties { get; } = new VoltageDCActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltageDCActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageDCClass.VoltageDCClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDC.CommandedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDC.CommandedClass.cs new file mode 100644 index 00000000..65070865 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDC.CommandedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value including adjustments such as an offset or overrides.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltageDCCommandedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587735397937_382814_700"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587735397937_382814_700"; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + /// Constant value for + public const string NAME = "VoltageDC.Commanded"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587735397938_964180_702 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageDCClass); + + /// + public new VoltageDCCommandedClassProperties Properties { get; } = new VoltageDCCommandedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltageDCCommandedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageDCClass.VoltageDCClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "COMMANDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDC.ProgrammedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDC.ProgrammedClass.cs new file mode 100644 index 00000000..56912ca5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDC.ProgrammedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// directive value without offsets and adjustments.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltageDCProgrammedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587735397937_183953_701"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587735397937_183953_701"; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + /// Constant value for + public const string NAME = "VoltageDC.Programmed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1587735397938_964180_702 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageDCClass); + + /// + public new VoltageDCProgrammedClassProperties Properties { get; } = new VoltageDCProgrammedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltageDCProgrammedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VoltageDCClass.VoltageDCClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PROGRAMMED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDCClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDCClass.cs new file mode 100644 index 00000000..85ab5758 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VoltageDCClass.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.VOLTAGE_DC


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VoltageDCClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587735397938_964180_702"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587735397938_964180_702"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::VOLTAGE_DC)}} +"; + /// Constant value for + public const string NAME = "VoltageDC"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new VoltageDCClassProperties Properties { get; } = new VoltageDCClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VoltageDCClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VOLT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VOLTAGE_DC"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.ActualClass.cs new file mode 100644 index 00000000..72976677 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeFluidActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218479_92961_2283"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218479_92961_2283"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "VolumeFluid.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218478_384104_2280 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeFluidClass); + + /// + public new VolumeFluidActualClassProperties Properties { get; } = new VolumeFluidActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeFluidActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeFluidClass.VolumeFluidClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ACTUAL"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.ConsumedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.ConsumedClass.cs new file mode 100644 index 00000000..1adf38a2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.ConsumedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// reported or measured value of the amount used in the manufacturing process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeFluidConsumedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218480_849972_2286"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218480_849972_2286"; + /// Constant value for + public const string SUMMARY = @" reported or measured value of the amount used in the manufacturing process. +"; + /// Constant value for + public const string NAME = "VolumeFluid.Consumed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218478_384104_2280 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeFluidClass); + + /// + public new VolumeFluidConsumedClassProperties Properties { get; } = new VolumeFluidConsumedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeFluidConsumedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeFluidClass.VolumeFluidClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CONSUMED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.EndedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.EndedClass.cs new file mode 100644 index 00000000..aa8bafce --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.EndedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// boundary when an activity or an event terminates.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeFluidEndedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622200129015_119874_3303"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622200129015_119874_3303"; + /// Constant value for + public const string SUMMARY = @" boundary when an activity or an event terminates. +"; + /// Constant value for + public const string NAME = "VolumeFluid.Ended"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218478_384104_2280 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeFluidClass); + + /// + public new VolumeFluidEndedClassProperties Properties { get; } = new VolumeFluidEndedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeFluidEndedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeFluidClass.VolumeFluidClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ENDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.PartClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.PartClass.cs new file mode 100644 index 00000000..8bfaccf8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.PartClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// reported or measured value of amount included in the part.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeFluidPartClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622200135569_61200_3319"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622200135569_61200_3319"; + /// Constant value for + public const string SUMMARY = @" reported or measured value of amount included in the {{term(part)}}. +"; + /// Constant value for + public const string NAME = "VolumeFluid.Part"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218478_384104_2280 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeFluidClass); + + /// + public new VolumeFluidPartClassProperties Properties { get; } = new VolumeFluidPartClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeFluidPartClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeFluidClass.VolumeFluidClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.StartClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.StartClass.cs new file mode 100644 index 00000000..8c5ce36e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.StartClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// boundary when an activity or an event commences.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeFluidStartClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622200127794_939561_3295"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622200127794_939561_3295"; + /// Constant value for + public const string SUMMARY = @" boundary when an activity or an event commences. +"; + /// Constant value for + public const string NAME = "VolumeFluid.Start"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218478_384104_2280 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeFluidClass); + + /// + public new VolumeFluidStartClassProperties Properties { get; } = new VolumeFluidStartClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeFluidStartClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeFluidClass.VolumeFluidClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "START"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.WasteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.WasteClass.cs new file mode 100644 index 00000000..bf5c9123 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluid.WasteClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// reported or measured value of the amount discarded.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeFluidWasteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622200130807_921533_3311"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622200130807_921533_3311"; + /// Constant value for + public const string SUMMARY = @" reported or measured value of the amount discarded. +"; + /// Constant value for + public const string NAME = "VolumeFluid.Waste"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218478_384104_2280 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeFluidClass); + + /// + public new VolumeFluidWasteClassProperties Properties { get; } = new VolumeFluidWasteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeFluidWasteClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeFluidClass.VolumeFluidClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WASTE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluidClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluidClass.cs new file mode 100644 index 00000000..895d8c0f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeFluidClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.VOLUME_FLUID


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeFluidClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218478_384104_2280"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218478_384104_2280"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::VOLUME_FLUID)}} +"; + /// Constant value for + public const string NAME = "VolumeFluid"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new VolumeFluidClassProperties Properties { get; } = new VolumeFluidClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeFluidClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLILITER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VOLUME_FLUID"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.ActualClass.cs new file mode 100644 index 00000000..b7286c67 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeSpatialActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218481_882822_2292"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218481_882822_2292"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "VolumeSpatial.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218480_687893_2289 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeSpatialClass); + + /// + public new VolumeSpatialActualClassProperties Properties { get; } = new VolumeSpatialActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeSpatialActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeSpatialClass.VolumeSpatialClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.ConsumedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.ConsumedClass.cs new file mode 100644 index 00000000..606ec11b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.ConsumedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// reported or measured value of the amount used in the manufacturing process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeSpatialConsumedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218482_865957_2295"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218482_865957_2295"; + /// Constant value for + public const string SUMMARY = @" reported or measured value of the amount used in the manufacturing process. +"; + /// Constant value for + public const string NAME = "VolumeSpatial.Consumed"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218480_687893_2289 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeSpatialClass); + + /// + public new VolumeSpatialConsumedClassProperties Properties { get; } = new VolumeSpatialConsumedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeSpatialConsumedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeSpatialClass.VolumeSpatialClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.EndedClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.EndedClass.cs new file mode 100644 index 00000000..f2f7ae0e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.EndedClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// boundary when an activity or an event terminates.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeSpatialEndedClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622200475633_428791_3369"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622200475633_428791_3369"; + /// Constant value for + public const string SUMMARY = @" boundary when an activity or an event terminates. +"; + /// Constant value for + public const string NAME = "VolumeSpatial.Ended"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218480_687893_2289 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeSpatialClass); + + /// + public new VolumeSpatialEndedClassProperties Properties { get; } = new VolumeSpatialEndedClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeSpatialEndedClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeSpatialClass.VolumeSpatialClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "ENDED"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.PartClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.PartClass.cs new file mode 100644 index 00000000..8857c544 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.PartClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// reported or measured value of amount included in the part.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeSpatialPartClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622200475634_271803_3370"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622200475634_271803_3370"; + /// Constant value for + public const string SUMMARY = @" reported or measured value of amount included in the {{term(part)}}. +"; + /// Constant value for + public const string NAME = "VolumeSpatial.Part"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218480_687893_2289 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeSpatialClass); + + /// + public new VolumeSpatialPartClassProperties Properties { get; } = new VolumeSpatialPartClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeSpatialPartClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeSpatialClass.VolumeSpatialClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "PART"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.StartClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.StartClass.cs new file mode 100644 index 00000000..26fe6751 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.StartClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// boundary when an activity or an event commences.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeSpatialStartClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622200475635_27532_3371"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622200475635_27532_3371"; + /// Constant value for + public const string SUMMARY = @" boundary when an activity or an event commences. +"; + /// Constant value for + public const string NAME = "VolumeSpatial.Start"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218480_687893_2289 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeSpatialClass); + + /// + public new VolumeSpatialStartClassProperties Properties { get; } = new VolumeSpatialStartClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeSpatialStartClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeSpatialClass.VolumeSpatialClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "START"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.WasteClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.WasteClass.cs new file mode 100644 index 00000000..f36ba5f7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatial.WasteClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// reported or measured value of the amount discarded


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeSpatialWasteClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622200475635_251035_3372"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622200475635_251035_3372"; + /// Constant value for + public const string SUMMARY = @" reported or measured value of the amount discarded +"; + /// Constant value for + public const string NAME = "VolumeSpatial.Waste"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218480_687893_2289 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeSpatialClass); + + /// + public new VolumeSpatialWasteClassProperties Properties { get; } = new VolumeSpatialWasteClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeSpatialWasteClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.VolumeSpatialClass.VolumeSpatialClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WASTE"; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatialClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatialClass.cs new file mode 100644 index 00000000..f1fb7121 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/VolumeSpatialClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.VOLUME_SPATIAL


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VolumeSpatialClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218480_687893_2289"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218480_687893_2289"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::VOLUME_SPATIAL)}} +"; + /// Constant value for + public const string NAME = "VolumeSpatial"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new VolumeSpatialClassProperties Properties { get; } = new VolumeSpatialClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class VolumeSpatialClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "CUBIC_MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "VOLUME_SPATIAL"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Wattage.ActualClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Wattage.ActualClass.cs new file mode 100644 index 00000000..9f301b23 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Wattage.ActualClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// measured or reported value of an observation.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WattageActualClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218485_987009_2304"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218485_987009_2304"; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + /// Constant value for + public const string NAME = "Wattage.Actual"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218484_57384_2301 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.WattageClass); + + /// + public new WattageActualClassProperties Properties { get; } = new WattageActualClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WattageActualClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.WattageClass.WattageClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Wattage.TargetClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Wattage.TargetClass.cs new file mode 100644 index 00000000..9d7cae0f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/Wattage.TargetClass.cs @@ -0,0 +1,157 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// goal of the operation or process.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WattageTargetClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218486_160307_2307"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218486_160307_2307"; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + /// Constant value for + public const string NAME = "Wattage.Target"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580378218484_57384_2301 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.WattageClass); + + /// + public new WattageTargetClassProperties Properties { get; } = new WattageTargetClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WattageTargetClassProperties : Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes.WattageClass.WattageClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + SubType, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: SubType + ///
+ public new SubTypeProperty SubType { get; } = new SubTypeProperty(); + + ///  + /// + public new sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/WattageClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/WattageClass.cs new file mode 100644 index 00000000..51a80ee9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/WattageClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.WATTAGE


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WattageClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378218484_57384_2301"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580378218484_57384_2301"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::WATTAGE)}} +"; + /// Constant value for + public const string NAME = "Wattage"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new WattageClassProperties Properties { get; } = new WattageClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class WattageClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WATT"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "WATTAGE"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/XDimensionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/XDimensionClass.cs new file mode 100644 index 00000000..8d6097a4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/XDimensionClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.X_DIMENSION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class XDimensionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587735623100_731742_994"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587735623100_731742_994"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::X_DIMENSION)}} +"; + /// Constant value for + public const string NAME = "XDimension"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new XDimensionClassProperties Properties { get; } = new XDimensionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class XDimensionClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "X_DIMENSION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/YDimensionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/YDimensionClass.cs new file mode 100644 index 00000000..4d62af20 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/YDimensionClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.Y_DIMENSION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class YDimensionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587735918985_473244_1049"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587735918985_473244_1049"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::Y_DIMENSION)}} +"; + /// Constant value for + public const string NAME = "YDimension"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new YDimensionClassProperties Properties { get; } = new YDimensionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class YDimensionClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "Y_DIMENSION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ZDimensionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ZDimensionClass.cs new file mode 100644 index 00000000..de0ce41c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SampleTypes/ZDimensionClass.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes +{ + /// SampleEnum.Z_DIMENSION


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ZDimensionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587735921521_446335_1060"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1587735921521_446335_1060"; + /// Constant value for + public const string SUMMARY = @" {{def(SampleEnum::Z_DIMENSION)}} +"; + /// Constant value for + public const string NAME = "ZDimension"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1579566531116_175117_25733 + /// + public Type Generalization => typeof(Mtconnect.ObservationInformationModel.SampleClass); + + /// + public new ZDimensionClassProperties Properties { get; } = new ZDimensionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ZDimensionClassProperties : Mtconnect.ObservationInformationModel.SampleClass.SampleClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + Units, + Type, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: Units + ///
+ public new UnitsProperty Units { get; } = new UnitsProperty(); + + ///  + /// + public new sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MILLIMETER"; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Type + ///
+ public new TypeProperty Type { get; } = new TypeProperty(); + + ///  + /// + public new sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = "static"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "Z_DIMENSION"; + + /// + /// + /// Type: SampleEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.SampleEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Sensor/ChannelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Sensor/ChannelClass.cs new file mode 100644 index 00000000..d6a345ba --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Sensor/ChannelClass.cs @@ -0,0 +1,578 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Sensor +{ + /// sensing element of a Sensor.


Description

When Sensor has multiple sensing elements, each sensing element is modeled as a Channel for the Sensor.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChannelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_82C852E8_47AD_4b8c_804D_F38FCA663918"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_82C852E8_47AD_4b8c_804D_F38FCA663918"; + /// Constant value for + public const string SUMMARY = @" {{term(sensing element)}} of a {{block(Sensor)}}. + Description When {{block(Sensor)}} has multiple {{termplural(sensing element)}}, each {{term(sensing element)}} is modeled as a {{block(Channel)}} for the {{block(Sensor)}}. +"; + /// Constant value for + public const string NAME = "Channel"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ChannelClassProperties Properties { get; } = new ChannelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ChannelClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + CalibrationDate, + CalibrationInitials, + Name, + NextCalibrationDate, + Number, + HasDescriptionPart, + IsChannelOfPart, + }; + /// + ///
+ /// Original Name: CalibrationDate + ///
+ public CalibrationDateProperty CalibrationDate { get; } = new CalibrationDateProperty(); + + /// Date upon which the sensor unit was last calibrated to the sensor element.


+ ///
+ public sealed class CalibrationDateProperty : IProperty + { + /// Constant value for + public const string NAME = "CalibrationDate"; + /// Constant value for + public const string SUMMARY = @" Date upon which the {{term(sensor unit)}} was last calibrated to the {{term(sensor element)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CalibrationInitials + ///
+ public CalibrationInitialsProperty CalibrationInitials { get; } = new CalibrationInitialsProperty(); + + /// The initials of the person verifying the validity of the calibration data.


+ ///
+ public sealed class CalibrationInitialsProperty : IProperty + { + /// Constant value for + public const string NAME = "CalibrationInitials"; + /// Constant value for + public const string SUMMARY = @" The initials of the person verifying the validity of the calibration data. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// name of the specific sensing element.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" name of the specific {{term(sensing element)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NextCalibrationDate + ///
+ public NextCalibrationDateProperty NextCalibrationDate { get; } = new NextCalibrationDateProperty(); + + /// Date upon which the sensor element is next scheduled to be calibrated with the sensor unit.



+ ///
+ public sealed class NextCalibrationDateProperty : IProperty + { + /// Constant value for + public const string NAME = "NextCalibrationDate"; + /// Constant value for + public const string SUMMARY = @" Date upon which the {{term(sensor element)}} is next scheduled to be calibrated with the {{term(sensor unit)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Number + ///
+ public NumberProperty Number { get; } = new NumberProperty(); + + /// unique identifier that will only refer to a specific sensing element.


+ ///
+ public sealed class NumberProperty : IProperty + { + /// Constant value for + public const string NAME = "number"; + /// Constant value for + public const string SUMMARY = @" unique identifier that will only refer to a specific {{term(sensing element)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasDescription + ///
+ public HasDescriptionPartProperty HasDescriptionPart { get; } = new HasDescriptionPartProperty(); + + ///  + /// + public sealed class HasDescriptionPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasDescription"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Description"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DescriptionClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Components.DescriptionClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: IsChannelOf + ///
+ public IsChannelOfPartProperty IsChannelOfPart { get; } = new IsChannelOfPartProperty(); + + ///  + /// + public sealed class IsChannelOfPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isChannelOf"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Channels"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SensorConfigurationClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Sensor.SensorConfigurationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Sensor/SensorConfigurationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Sensor/SensorConfigurationClass.cs new file mode 100644 index 00000000..4dfb1c63 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Sensor/SensorConfigurationClass.cs @@ -0,0 +1,439 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Sensor +{ + /// configuration for a Sensor.


Description

![SensorConfiguration](figures/SensorConfiguration.png "SensorConfiguration"){: width="0.8"}

> Note: See Configuration Schema Diagrams for XML schema.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorConfigurationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "EAID_1DD02014_D949_43cc_A79F_FF2C0AF0DFBE"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure__EAID_1DD02014_D949_43cc_A79F_FF2C0AF0DFBE"; + /// Constant value for + public const string SUMMARY = @" configuration for a {{block(Sensor)}}. + Description ![SensorConfiguration](figures/SensorConfiguration.png ""SensorConfiguration""){: width=""0.8""} + +> Note: See {{sect(Configuration Schema Diagrams)}} for XML schema. +"; + /// Constant value for + public const string NAME = "SensorConfiguration"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SensorConfigurationClassProperties Properties { get; } = new SensorConfigurationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SensorConfigurationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + CalibrationDate, + CalibrationInitials, + FirmwareVersion, + NextCalibrationDate, + HasChannelPart, + }; + /// + ///
+ /// Original Name: CalibrationDate + ///
+ public CalibrationDateProperty CalibrationDate { get; } = new CalibrationDateProperty(); + + /// Date upon which the sensor unit was last calibrated.


+ ///
+ public sealed class CalibrationDateProperty : IProperty + { + /// Constant value for + public const string NAME = "CalibrationDate"; + /// Constant value for + public const string SUMMARY = @" Date upon which the {{term(sensor unit)}} was last calibrated. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CalibrationInitials + ///
+ public CalibrationInitialsProperty CalibrationInitials { get; } = new CalibrationInitialsProperty(); + + /// The initials of the person verifying the validity of the calibration data.


+ ///
+ public sealed class CalibrationInitialsProperty : IProperty + { + /// Constant value for + public const string NAME = "CalibrationInitials"; + /// Constant value for + public const string SUMMARY = @" The initials of the person verifying the validity of the calibration data. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: FirmwareVersion + ///
+ public FirmwareVersionProperty FirmwareVersion { get; } = new FirmwareVersionProperty(); + + /// Version number for the sensor unit as specified by the manufacturer.



+ ///
+ public sealed class FirmwareVersionProperty : IProperty + { + /// Constant value for + public const string NAME = "FirmwareVersion"; + /// Constant value for + public const string SUMMARY = @" Version number for the sensor unit as specified by the manufacturer. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NextCalibrationDate + ///
+ public NextCalibrationDateProperty NextCalibrationDate { get; } = new NextCalibrationDateProperty(); + + /// Date upon which the sensor unit is next scheduled to be calibrated.


+ ///
+ public sealed class NextCalibrationDateProperty : IProperty + { + /// Constant value for + public const string NAME = "NextCalibrationDate"; + /// Constant value for + public const string SUMMARY = @" Date upon which the {{term(sensor unit)}} is next scheduled to be calibrated. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DateTime + /// + public System.Type Type => typeof(DateTime); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasChannel + ///
+ public HasChannelPartProperty HasChannelPart { get; } = new HasChannelPartProperty(); + + ///  + /// + public sealed class HasChannelPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasChannel"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Channels"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ChannelClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Sensor.ChannelClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Simulation/KinematicsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Simulation/KinematicsClass.cs new file mode 100644 index 00000000..de51568e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Simulation/KinematicsClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation.Simulation +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class KinematicsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582231388419_955501_47"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1582231388419_955501_47"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Kinematics"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new KinematicsClassProperties Properties { get; } = new KinematicsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class KinematicsClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Sink/RestSinkGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Sink/RestSinkGeneralization.cs new file mode 100644 index 00000000..e52c5ec5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Sink/RestSinkGeneralization.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Sink +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RestSinkGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1584929472006_955706_18942"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1584929472006_955706_18942"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "RestSink"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1645213825022_980161_355 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.SinkClass); + + /// + public new RestSinkGeneralizationProperties Properties { get; } = new RestSinkGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RestSinkGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.SinkClass.SinkClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SolidModel/ScaleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SolidModel/ScaleClass.cs new file mode 100644 index 00000000..f0b06e9f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SolidModel/ScaleClass.cs @@ -0,0 +1,153 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.SolidModel +{ + /// either a single multiplier applied to all three dimensions or a three space multiplier given in the X, Y, and Z dimensions in the coordinate system used for the SolidModel.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ScaleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587596359868_51018_760"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587596359868_51018_760"; + /// Constant value for + public const string SUMMARY = @" either a single multiplier applied to all three dimensions or a three space multiplier given in the X, Y, and Z dimensions in the coordinate system used for the {{block(SolidModel)}}. +"; + /// Constant value for + public const string NAME = "Scale"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ScaleClassProperties Properties { get; } = new ScaleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ScaleClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + /// value of Scale.


+ ///
+ public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @" value of {{block(Scale)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SolidModel/SolidModelClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SolidModel/SolidModelClass.cs new file mode 100644 index 00000000..5cfb53af --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/SolidModel/SolidModelClass.cs @@ -0,0 +1,801 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.SolidModel +{ + /// references to a file with the three-dimensional geometry of the Component or Composition.


Description

The geometry MAY have a transformation and a scale to position the Component with respect to the other Components. A geometry file can contain a set of assembled items, in this case, the SolidModel references the id in SolidModel of the assembly model file and the specific item within that file.

The SolidModel MAY provide a translation, rotation, and scale to correctly place it relative to the other geometries in the machine. If the Component can move and has a Motion Configuration, the SolidModel will move when the Component or Composition moves.

Either an href in SolidModel or a modelIdRef in SolidModel and an itemRef in SolidModel MUST be specified.




+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SolidModelClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587596157073_106480_480"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1587596157073_106480_480"; + /// Constant value for + public const string SUMMARY = @" references to a file with the three-dimensional geometry of the {{block(Component)}} or {{block(Composition)}}. + Description The geometry **MAY** have a transformation and a scale to position the {{block(Component)}} with respect to the other {{block(Component)}}s. A geometry file can contain a set of assembled items, in this case, the {{block(SolidModel)}} references the {{property(SolidModel::id)}} of the assembly model file and the specific item within that file. + +The {{block(SolidModel)}} **MAY** provide a translation, rotation, and scale to correctly place it relative to the other geometries in the machine. If the {{block(Component)}} can move and has a {{block(Motion)}} {{block(Configuration)}}, the {{block(SolidModel)}} will move when the {{block(Component)}} or {{block(Composition)}} moves. + +Either an {{property(SolidModel::href)}} or a {{property(SolidModel::modelIdRef)}} and an {{property(SolidModel::itemRef)}} **MUST** be specified. +"; + /// Constant value for + public const string NAME = "SolidModel"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SolidModelClassProperties Properties { get; } = new SolidModelClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SolidModelClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Id, + HasTransformationPart, + HasScalePart, + SolidModelIdRef, + Href, + ItemRef, + MediaType, + CoordinateSystemIdRef, + NativeUnits, + Units, + }; + /// + ///
+ /// Original Name: Id + ///
+ public IdProperty Id { get; } = new IdProperty(); + + /// unique identifier for this element.


+ ///
+ public sealed class IdProperty : IProperty + { + /// Constant value for + public const string NAME = "id"; + /// Constant value for + public const string SUMMARY = @" unique identifier for this element. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasTransformation + ///
+ public HasTransformationPartProperty HasTransformationPart { get; } = new HasTransformationPartProperty(); + + ///  + /// + public sealed class HasTransformationPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasTransformation"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Transformation"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TransformationClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems.TransformationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasScale + ///
+ public HasScalePartProperty HasScalePart { get; } = new HasScalePartProperty(); + + ///  + /// + public sealed class HasScalePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasScale"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Scale"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ScaleClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.SolidModel.ScaleClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SolidModelIdRef + ///
+ public SolidModelIdRefProperty SolidModelIdRef { get; } = new SolidModelIdRefProperty(); + + /// associated model file if an item reference is used.


+ ///
+ public sealed class SolidModelIdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "solidModelIdRef"; + /// Constant value for + public const string SUMMARY = @" associated model file if an item reference is used. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Href + ///
+ public HrefProperty Href { get; } = new HrefProperty(); + + /// URL giving the location of the SolidModel.

If not present, the model referenced in the solidModelIdRef in SolidModel is used.


href in SolidModel is of type xlink:href from the W3C XLink specification.


+ ///
+ public sealed class HrefProperty : IProperty + { + /// Constant value for + public const string NAME = "href"; + /// Constant value for + public const string SUMMARY = @" {{term(URL)}} giving the location of the {{block(SolidModel)}}. + +If not present, the model referenced in the {{property(SolidModel::solidModelIdRef)}} is used. + +{{property(SolidModel::href)}} is of type `xlink:href` from the W3C XLink specification. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: ItemRef + ///
+ public ItemRefProperty ItemRef { get; } = new ItemRefProperty(); + + /// reference to the item within the model within the related geometry. A solidModelIdRef in SolidModel MUST be given.

> Note: Item defined in ASME Y14.100 - A nonspecific term used to denote any unit or product, including materials, parts, assemblies, equipment, accessories, and computer software.


+ ///
+ public sealed class ItemRefProperty : IProperty + { + /// Constant value for + public const string NAME = "itemRef"; + /// Constant value for + public const string SUMMARY = @" reference to the item within the model within the related geometry. A {{property(SolidModel::solidModelIdRef)}} **MUST** be given. + +> Note: `Item` defined in ASME Y14.100 - A nonspecific term used to denote any unit or product, including materials, parts, assemblies, equipment, accessories, and computer software. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: MediaType + ///
+ public MediaTypeProperty MediaType { get; } = new MediaTypeProperty(); + + /// format of the referenced document.


+ ///
+ public sealed class MediaTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "mediaType"; + /// Constant value for + public const string SUMMARY = @" format of the referenced document. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MediaTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.MediaTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CoordinateSystemIdRef + ///
+ public CoordinateSystemIdRefProperty CoordinateSystemIdRef { get; } = new CoordinateSystemIdRefProperty(); + + /// reference to the coordinate system for this SolidModel.



+ ///
+ public sealed class CoordinateSystemIdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "coordinateSystemIdRef"; + /// Constant value for + public const string SUMMARY = @" reference to the coordinate system for this {{block(SolidModel)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: NativeUnits + ///
+ public NativeUnitsProperty NativeUnits { get; } = new NativeUnitsProperty(); + + /// same as nativeUnits in DataItem. See DataItem.


+ ///
+ public sealed class NativeUnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "nativeUnits"; + /// Constant value for + public const string SUMMARY = @" same as {{property(DataItem::nativeUnits)}}. See {{sect(DataItem)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: NativeUnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.NativeUnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public UnitsProperty Units { get; } = new UnitsProperty(); + + /// same as units in DataItem. See DataItem.


+ ///
+ public sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @" same as {{property(DataItem::units)}}. See {{sect(DataItem)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Source/AdapterDataSourceGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Source/AdapterDataSourceGeneralization.cs new file mode 100644 index 00000000..ce7ab09a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Source/AdapterDataSourceGeneralization.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Source +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AdapterDataSourceGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1584929351481_353678_18793"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1584929351481_353678_18793"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "AdapterDataSource"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1645213778421_161707_289 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.SourceClass); + + /// + public new AdapterDataSourceGeneralizationProperties Properties { get; } = new AdapterDataSourceGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AdapterDataSourceGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.SourceClass.SourceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Source/MQTTDataSourceGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Source/MQTTDataSourceGeneralization.cs new file mode 100644 index 00000000..3c7454df --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Source/MQTTDataSourceGeneralization.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.ReferenceAgentArchitecture.Source +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MQTTDataSourceGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1584929379292_433586_18837"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1584929379292_433586_18837"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "MQTTDataSource"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_4_45f01b9_1645213778421_161707_289 + /// + public Type Generalization => typeof(Mtconnect.ReferenceAgentArchitecture.SourceClass); + + /// + public new MQTTDataSourceGeneralizationProperties Properties { get; } = new MQTTDataSourceGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class MQTTDataSourceGeneralizationProperties : Mtconnect.ReferenceAgentArchitecture.SourceClass.SourceClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/AlarmLimitsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/AlarmLimitsClass.cs new file mode 100644 index 00000000..f1af02c2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/AlarmLimitsClass.cs @@ -0,0 +1,362 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Specifications +{ + /// set of limits that is used to trigger warning or alarm indicators.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AlarmLimitsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605643893577_939623_1049"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605643893577_939623_1049"; + /// Constant value for + public const string SUMMARY = @" set of limits that is used to trigger warning or alarm indicators. +"; + /// Constant value for + public const string NAME = "AlarmLimits"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new AlarmLimitsClassProperties Properties { get; } = new AlarmLimitsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class AlarmLimitsClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + UpperLimitPart, + UpperWarningPart, + LowerLimitPart, + LowerWarningPart, + }; + /// + ///
+ /// Original Name: UpperLimit + ///
+ public UpperLimitPartProperty UpperLimitPart { get; } = new UpperLimitPartProperty(); + + ///  + /// + public sealed class UpperLimitPartProperty : IProperty + { + /// Constant value for + public const string NAME = "upperLimit"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "UpperLimit"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UpperLimitClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.UpperLimitClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: UpperWarning + ///
+ public UpperWarningPartProperty UpperWarningPart { get; } = new UpperWarningPartProperty(); + + ///  + /// + public sealed class UpperWarningPartProperty : IProperty + { + /// Constant value for + public const string NAME = "upperWarning"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "UpperWarning"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UpperWarningClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.UpperWarningClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LowerLimit + ///
+ public LowerLimitPartProperty LowerLimitPart { get; } = new LowerLimitPartProperty(); + + ///  + /// + public sealed class LowerLimitPartProperty : IProperty + { + /// Constant value for + public const string NAME = "lowerLimit"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "LowerLimit"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LowerLimitClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.LowerLimitClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LowerWarning + ///
+ public LowerWarningPartProperty LowerWarningPart { get; } = new LowerWarningPartProperty(); + + ///  + /// + public sealed class LowerWarningPartProperty : IProperty + { + /// Constant value for + public const string NAME = "lowerWarning"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "LowerWarning"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LowerWarningClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.LowerWarningClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/ControlLimitsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/ControlLimitsClass.cs new file mode 100644 index 00000000..23da3c2d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/ControlLimitsClass.cs @@ -0,0 +1,432 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Specifications +{ + /// set of limits that is used to indicate whether a process variable is stable and in control.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControlLimitsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605643876416_54094_959"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605643876416_54094_959"; + /// Constant value for + public const string SUMMARY = @" set of limits that is used to indicate whether a process variable is stable and in control. +"; + /// Constant value for + public const string NAME = "ControlLimits"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ControlLimitsClassProperties Properties { get; } = new ControlLimitsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ControlLimitsClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + UpperLimitPart, + UpperWarningPart, + LowerWarningPart, + NominalPart, + LowerLimitPart, + }; + /// + ///
+ /// Original Name: UpperLimit + ///
+ public UpperLimitPartProperty UpperLimitPart { get; } = new UpperLimitPartProperty(); + + ///  + /// + public sealed class UpperLimitPartProperty : IProperty + { + /// Constant value for + public const string NAME = "upperLimit"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "UpperLimit"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UpperLimitClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.UpperLimitClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: UpperWarning + ///
+ public UpperWarningPartProperty UpperWarningPart { get; } = new UpperWarningPartProperty(); + + ///  + /// + public sealed class UpperWarningPartProperty : IProperty + { + /// Constant value for + public const string NAME = "upperWarning"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "UpperWarning"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UpperWarningClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.UpperWarningClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LowerWarning + ///
+ public LowerWarningPartProperty LowerWarningPart { get; } = new LowerWarningPartProperty(); + + ///  + /// + public sealed class LowerWarningPartProperty : IProperty + { + /// Constant value for + public const string NAME = "lowerWarning"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "LowerWarning"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LowerWarningClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.LowerWarningClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Nominal + ///
+ public NominalPartProperty NominalPart { get; } = new NominalPartProperty(); + + ///  + /// + public sealed class NominalPartProperty : IProperty + { + /// Constant value for + public const string NAME = "nominal"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Nominal"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: NominalClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.NominalClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LowerLimit + ///
+ public LowerLimitPartProperty LowerLimitPart { get; } = new LowerLimitPartProperty(); + + ///  + /// + public sealed class LowerLimitPartProperty : IProperty + { + /// Constant value for + public const string NAME = "lowerLimit"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "LowerLimit"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LowerLimitClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.LowerLimitClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/LowerLimitClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/LowerLimitClass.cs new file mode 100644 index 00000000..054d2907 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/LowerLimitClass.cs @@ -0,0 +1,154 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Specifications +{ + /// lower conformance boundary for a variable.

> Note: immediate concern or action may be required.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LowerLimitClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605643526040_637158_716"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605643526040_637158_716"; + /// Constant value for + public const string SUMMARY = @" lower conformance boundary for a variable. + +> Note: immediate concern or action may be required. +"; + /// Constant value for + public const string NAME = "LowerLimit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new LowerLimitClassProperties Properties { get; } = new LowerLimitClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class LowerLimitClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/LowerWarningClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/LowerWarningClass.cs new file mode 100644 index 00000000..afa498d5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/LowerWarningClass.cs @@ -0,0 +1,152 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Specifications +{ + /// lower boundary indicating increased concern and supervision may be required.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LowerWarningClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605643531502_63450_761"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605643531502_63450_761"; + /// Constant value for + public const string SUMMARY = @" lower boundary indicating increased concern and supervision may be required. +"; + /// Constant value for + public const string NAME = "LowerWarning"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new LowerWarningClassProperties Properties { get; } = new LowerWarningClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class LowerWarningClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/MaximumClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/MaximumClass.cs new file mode 100644 index 00000000..b00bb265 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/MaximumClass.cs @@ -0,0 +1,152 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Specifications +{ + /// numeric upper constraint.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaximumClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580316467759_200159_47586"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580316467759_200159_47586"; + /// Constant value for + public const string SUMMARY = @" numeric upper constraint. +"; + /// Constant value for + public const string NAME = "Maximum"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MaximumClassProperties Properties { get; } = new MaximumClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MaximumClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/MinimumClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/MinimumClass.cs new file mode 100644 index 00000000..def38926 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/MinimumClass.cs @@ -0,0 +1,152 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Specifications +{ + /// numeric lower constraint.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MinimumClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580316498580_886253_47645"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580316498580_886253_47645"; + /// Constant value for + public const string SUMMARY = @" numeric lower constraint. +"; + /// Constant value for + public const string NAME = "Minimum"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new MinimumClassProperties Properties { get; } = new MinimumClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class MinimumClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/NominalClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/NominalClass.cs new file mode 100644 index 00000000..9cfec600 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/NominalClass.cs @@ -0,0 +1,152 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Specifications +{ + /// numeric target or expected value.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NominalClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580316543777_893941_47725"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580316543777_893941_47725"; + /// Constant value for + public const string SUMMARY = @" numeric target or expected value. +"; + /// Constant value for + public const string NAME = "Nominal"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new NominalClassProperties Properties { get; } = new NominalClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class NominalClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/ProcessSpecificationGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/ProcessSpecificationGeneralization.cs new file mode 100644 index 00000000..f20ec128 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/ProcessSpecificationGeneralization.cs @@ -0,0 +1,297 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.DeviceInformationModel.Configurations.Specifications +{ + /// Specification that provides information used to assess the conformance of a variable to process requirements.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessSpecificationGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605643801279_773776_859"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605643801279_773776_859"; + /// Constant value for + public const string SUMMARY = @" {{block(Specification)}} that provides information used to assess the conformance of a variable to process requirements. +"; + /// Constant value for + public const string NAME = "ProcessSpecification"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_45f01b9_1580315898400_607214_47155 + /// + public Type Generalization => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.SpecificationClass); + + /// + public new ProcessSpecificationGeneralizationProperties Properties { get; } = new ProcessSpecificationGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ProcessSpecificationGeneralizationProperties : Mtconnect.DeviceInformationModel.Configurations.Specifications.SpecificationClass.SpecificationClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasSpecificationLimitsPart, + HasControlLimitsPart, + HasAlarmLimitsPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasSpecificationLimits + ///
+ public new HasSpecificationLimitsPartProperty HasSpecificationLimitsPart { get; } = new HasSpecificationLimitsPartProperty(); + + ///  + /// + public new sealed class HasSpecificationLimitsPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasSpecificationLimits"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "SpecificationLimits"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: SpecificationLimitsClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.SpecificationLimitsClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasControlLimits + ///
+ public new HasControlLimitsPartProperty HasControlLimitsPart { get; } = new HasControlLimitsPartProperty(); + + ///  + /// + public new sealed class HasControlLimitsPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasControlLimits"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "ControlLimits"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ControlLimitsClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.ControlLimitsClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasAlarmLimits + ///
+ public new HasAlarmLimitsPartProperty HasAlarmLimitsPart { get; } = new HasAlarmLimitsPartProperty(); + + ///  + /// + public new sealed class HasAlarmLimitsPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasAlarmLimits"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "AlarmLimits"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AlarmLimitsClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.AlarmLimitsClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/SpecificationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/SpecificationClass.cs new file mode 100644 index 00000000..4f952f31 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/SpecificationClass.cs @@ -0,0 +1,1211 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Specifications +{ + /// design characteristics for a piece of equipment.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpecificationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580315898400_607214_47155"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1580315898400_607214_47155"; + /// Constant value for + public const string SUMMARY = @" design characteristics for a piece of equipment. +"; + /// Constant value for + public const string NAME = "Specification"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SpecificationClassProperties Properties { get; } = new SpecificationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SpecificationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Type, + SubType, + DataItemIdRef, + Units, + CompositionIdRef, + Name, + CoordinateSystemIdRef, + Id, + Originator, + HasMaximumPart, + HasUpperLimitPart, + HasLowerWarningPart, + HasLowerLimitPart, + HasUpperWarningPart, + HasNominalPart, + HasMinimumPart, + }; + /// + ///
+ /// Original Name: Type + ///
+ public TypeProperty Type { get; } = new TypeProperty(); + + /// same as type in DataItem. See DataItem Types.


+ ///
+ public sealed class TypeProperty : IProperty + { + /// Constant value for + public const string NAME = "type"; + /// Constant value for + public const string SUMMARY = @" same as {{property(DataItem::type)}}. See {{package(DataItem Types)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: SubType + ///
+ public SubTypeProperty SubType { get; } = new SubTypeProperty(); + + /// same as subType in DataItem. See DataItem.


+ ///
+ public sealed class SubTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "subType"; + /// Constant value for + public const string SUMMARY = @" same as {{property(DataItem::subType)}}. See {{sect(DataItem)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DataItemSubTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.DataItemSubTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: DataItemIdRef + ///
+ public DataItemIdRefProperty DataItemIdRef { get; } = new DataItemIdRefProperty(); + + /// reference to the id in DataItem associated with this entity.


+ ///
+ public sealed class DataItemIdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "dataItemIdRef"; + /// Constant value for + public const string SUMMARY = @" reference to the {{property(DataItem::id)}} associated with this entity. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Units + ///
+ public UnitsProperty Units { get; } = new UnitsProperty(); + + /// same as units in DataItem. See DataItem.


+ ///
+ public sealed class UnitsProperty : IProperty + { + /// Constant value for + public const string NAME = "units"; + /// Constant value for + public const string SUMMARY = @" same as {{property(DataItem::units)}}. See {{sect(DataItem)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UnitEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.UnitEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CompositionIdRef + ///
+ public CompositionIdRefProperty CompositionIdRef { get; } = new CompositionIdRefProperty(); + + /// reference to the id in Composition associated with this entity.


+ ///
+ public sealed class CompositionIdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "compositionIdRef"; + /// Constant value for + public const string SUMMARY = @" reference to the {{property(Composition::id)}} associated with this entity. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Name + ///
+ public NameProperty Name { get; } = new NameProperty(); + + /// name in Specification provides additional meaning and differentiates between Specification entities.


+ ///
+ public sealed class NameProperty : IProperty + { + /// Constant value for + public const string NAME = "name"; + /// Constant value for + public const string SUMMARY = @" {{property(Specification::name)}} provides additional meaning and differentiates between {{block(Specification)}} entities. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CoordinateSystemIdRef + ///
+ public CoordinateSystemIdRefProperty CoordinateSystemIdRef { get; } = new CoordinateSystemIdRefProperty(); + + /// references the CoordinateSystem for geometric Specification elements.


+ ///
+ public sealed class CoordinateSystemIdRefProperty : IProperty + { + /// Constant value for + public const string NAME = "coordinateSystemIdRef"; + /// Constant value for + public const string SUMMARY = @" references the {{block(CoordinateSystem)}} for geometric {{block(Specification)}} elements. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Id + ///
+ public IdProperty Id { get; } = new IdProperty(); + + /// unique identifier for this Specification.


+ ///
+ public sealed class IdProperty : IProperty + { + /// Constant value for + public const string NAME = "id"; + /// Constant value for + public const string SUMMARY = @" unique identifier for this {{block(Specification)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Originator + ///
+ public OriginatorProperty Originator { get; } = new OriginatorProperty(); + + /// reference to the creator of the Specification.


+ ///
+ public sealed class OriginatorProperty : IProperty + { + /// Constant value for + public const string NAME = "originator"; + /// Constant value for + public const string SUMMARY = @" reference to the creator of the {{block(Specification)}}. +"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = "MANUFACTURER"; + + /// + /// + /// Type: OriginatorEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.DataTypes.OriginatorEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasMaximum + ///
+ public HasMaximumPartProperty HasMaximumPart { get; } = new HasMaximumPartProperty(); + + ///  + /// + public sealed class HasMaximumPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasMaximum"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Maximum"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MaximumClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.MaximumClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasUpperLimit + ///
+ public HasUpperLimitPartProperty HasUpperLimitPart { get; } = new HasUpperLimitPartProperty(); + + ///  + /// + public sealed class HasUpperLimitPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasUpperLimit"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "UpperLimit"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UpperLimitClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.UpperLimitClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasLowerWarning + ///
+ public HasLowerWarningPartProperty HasLowerWarningPart { get; } = new HasLowerWarningPartProperty(); + + ///  + /// + public sealed class HasLowerWarningPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasLowerWarning"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "LowerWarning"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LowerWarningClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.LowerWarningClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasLowerLimit + ///
+ public HasLowerLimitPartProperty HasLowerLimitPart { get; } = new HasLowerLimitPartProperty(); + + ///  + /// + public sealed class HasLowerLimitPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasLowerLimit"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "LowerLimit"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LowerLimitClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.LowerLimitClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasUpperWarning + ///
+ public HasUpperWarningPartProperty HasUpperWarningPart { get; } = new HasUpperWarningPartProperty(); + + ///  + /// + public sealed class HasUpperWarningPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasUpperWarning"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "UpperWarning"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UpperWarningClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.UpperWarningClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasNominal + ///
+ public HasNominalPartProperty HasNominalPart { get; } = new HasNominalPartProperty(); + + ///  + /// + public sealed class HasNominalPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasNominal"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Nominal"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: NominalClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.NominalClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasMinimum + ///
+ public HasMinimumPartProperty HasMinimumPart { get; } = new HasMinimumPartProperty(); + + ///  + /// + public sealed class HasMinimumPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasMinimum"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Minimum"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: MinimumClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.MinimumClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/SpecificationLimitsClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/SpecificationLimitsClass.cs new file mode 100644 index 00000000..2ba9aac6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/SpecificationLimitsClass.cs @@ -0,0 +1,292 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Specifications +{ + /// set of limits that define a range of values designating acceptable performance for a variable.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpecificationLimitsClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605643883082_895051_1004"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605643883082_895051_1004"; + /// Constant value for + public const string SUMMARY = @" set of limits that define a range of values designating acceptable performance for a variable. +"; + /// Constant value for + public const string NAME = "SpecificationLimits"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new SpecificationLimitsClassProperties Properties { get; } = new SpecificationLimitsClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class SpecificationLimitsClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + UpperLimitPart, + NominalPart, + LowerLimitPart, + }; + /// + ///
+ /// Original Name: UpperLimit + ///
+ public UpperLimitPartProperty UpperLimitPart { get; } = new UpperLimitPartProperty(); + + ///  + /// + public sealed class UpperLimitPartProperty : IProperty + { + /// Constant value for + public const string NAME = "upperLimit"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "UpperLimit"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: UpperLimitClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.UpperLimitClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Nominal + ///
+ public NominalPartProperty NominalPart { get; } = new NominalPartProperty(); + + ///  + /// + public sealed class NominalPartProperty : IProperty + { + /// Constant value for + public const string NAME = "nominal"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Nominal"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: NominalClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.NominalClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: LowerLimit + ///
+ public LowerLimitPartProperty LowerLimitPart { get; } = new LowerLimitPartProperty(); + + ///  + /// + public sealed class LowerLimitPartProperty : IProperty + { + /// Constant value for + public const string NAME = "lowerLimit"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "LowerLimit"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: LowerLimitClass + /// + public System.Type Type => typeof(Mtconnect.DeviceInformationModel.Configurations.Specifications.LowerLimitClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/UpperLimitClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/UpperLimitClass.cs new file mode 100644 index 00000000..f648c16a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/UpperLimitClass.cs @@ -0,0 +1,154 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Specifications +{ + /// upper conformance boundary for a variable.

> Note: immediate concern or action may be required.



+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UpperLimitClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605643508394_491668_626"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605643508394_491668_626"; + /// Constant value for + public const string SUMMARY = @" upper conformance boundary for a variable. + +> Note: immediate concern or action may be required. +"; + /// Constant value for + public const string NAME = "UpperLimit"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new UpperLimitClassProperties Properties { get; } = new UpperLimitClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class UpperLimitClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/UpperWarningClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/UpperWarningClass.cs new file mode 100644 index 00000000..d4a7d1ca --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Specifications/UpperWarningClass.cs @@ -0,0 +1,152 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Configurations.Specifications +{ + /// upper boundary indicating increased concern and supervision may be required.


+ ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UpperWarningClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605643515595_841451_671"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1605643515595_841451_671"; + /// Constant value for + public const string SUMMARY = @" upper boundary indicating increased concern and supervision may be required. +"; + /// Constant value for + public const string NAME = "UpperWarning"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new UpperWarningClassProperties Properties { get; } = new UpperWarningClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class UpperWarningClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Single + /// + public System.Type Type => typeof(Single); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Storage/CircularBuffferClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Storage/CircularBuffferClass.cs new file mode 100644 index 00000000..cb9ab971 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/Storage/CircularBuffferClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.Rest.Storage +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CircularBuffferClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1584927801848_454326_15349"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_45f01b9_1584927801848_454326_15349"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "CircularBufffer"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new CircularBuffferClassProperties Properties { get; } = new CircularBuffferClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class CircularBuffferClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/CapabilityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/CapabilityClass.cs new file mode 100644 index 00000000..fda1a127 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/CapabilityClass.cs @@ -0,0 +1,76 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CapabilityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622723160082_480366_3118"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622723160082_480366_3118"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Capability"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new CapabilityClassProperties Properties { get; } = new CapabilityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class CapabilityClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/CollaboratorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/CollaboratorClass.cs new file mode 100644 index 00000000..e68a76ea --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/CollaboratorClass.cs @@ -0,0 +1,426 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CollaboratorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622718569783_691547_1331"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622718569783_691547_1331"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Collaborator"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new CollaboratorClassProperties Properties { get; } = new CollaboratorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class CollaboratorClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + HasPriorityPart, + CollaboratorId, + CollaboratorType, + Optional, + HasCapabilityPart, + }; + /// + ///
+ /// Original Name: HasPriority + ///
+ public HasPriorityPartProperty HasPriorityPart { get; } = new HasPriorityPartProperty(); + + ///  + /// + public sealed class HasPriorityPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasPriority"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Priority"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PriorityClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.PriorityClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CollaboratorId + ///
+ public CollaboratorIdProperty CollaboratorId { get; } = new CollaboratorIdProperty(); + + ///  + /// + public sealed class CollaboratorIdProperty : IProperty + { + /// Constant value for + public const string NAME = "collaboratorId"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: String + /// + public System.Type Type => typeof(String); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: CollaboratorType + ///
+ public CollaboratorTypeProperty CollaboratorType { get; } = new CollaboratorTypeProperty(); + + ///  + /// + public sealed class CollaboratorTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "CollaboratorType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CollaboratorTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.CollaboratorTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Optional + ///
+ public OptionalProperty Optional { get; } = new OptionalProperty(); + + ///  + /// + public sealed class OptionalProperty : IProperty + { + /// Constant value for + public const string NAME = "optional"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Boolean + /// + public System.Type Type => typeof(Boolean); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCapability + ///
+ public HasCapabilityPartProperty HasCapabilityPart { get; } = new HasCapabilityPartProperty(); + + ///  + /// + public sealed class HasCapabilityPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCapability"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Capabilities"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CapabilityClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.CapabilityClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/PriorityClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/PriorityClass.cs new file mode 100644 index 00000000..3e2f35fb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/PriorityClass.cs @@ -0,0 +1,146 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PriorityClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622721553723_407241_2231"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622721553723_407241_2231"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Priority"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new PriorityClassProperties Properties { get; } = new PriorityClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class PriorityClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Value, + }; + /// + ///
+ /// Original Name: Value + ///
+ public ValueProperty Value { get; } = new ValueProperty(); + + ///  + /// + public sealed class ValueProperty : IProperty + { + /// Constant value for + public const string NAME = "value"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Int32 + /// + public System.Type Type => typeof(Int32); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/TaskArchetypeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/TaskArchetypeClass.cs new file mode 100644 index 00000000..6a352fab --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/TaskArchetypeClass.cs @@ -0,0 +1,571 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TaskArchetypeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622718466282_854894_1238"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622718466282_854894_1238"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "TaskArchetype"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C7D39183_23CB_416b_A62D_F60815E08B1A + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.AssetClass); + + /// + public new TaskArchetypeClassProperties Properties { get; } = new TaskArchetypeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TaskArchetypeClassProperties : Mtconnect.AssetInformationModel.AssetClass.AssetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasCollaboratorPart, + HasCoordinatorPart, + HasAssetPart, + TaskType, + HasPriorityPart, + IsSubTaskOfPart, + HasSubTaskPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasCollaborator + ///
+ public new HasCollaboratorPartProperty HasCollaboratorPart { get; } = new HasCollaboratorPartProperty(); + + ///  + /// + public new sealed class HasCollaboratorPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCollaborator"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Collaborators"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CollaboratorClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.CollaboratorClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCoordinator + ///
+ public new HasCoordinatorPartProperty HasCoordinatorPart { get; } = new HasCoordinatorPartProperty(); + + ///  + /// + public new sealed class HasCoordinatorPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCoordinator"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Coordinator"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CollaboratorClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.CollaboratorClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasAsset + ///
+ public new HasAssetPartProperty HasAssetPart { get; } = new HasAssetPartProperty(); + + ///  + /// + public new sealed class HasAssetPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasAsset"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Assets"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AssetClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.AssetClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: TaskType + ///
+ public new TaskTypeProperty TaskType { get; } = new TaskTypeProperty(); + + ///  + /// + public new sealed class TaskTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "TaskType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TaskTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.TaskTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasPriority + ///
+ public new HasPriorityPartProperty HasPriorityPart { get; } = new HasPriorityPartProperty(); + + ///  + /// + public new sealed class HasPriorityPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasPriority"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Priority"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PriorityClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.PriorityClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: IsSubTaskOf + ///
+ public new IsSubTaskOfPartProperty IsSubTaskOfPart { get; } = new IsSubTaskOfPartProperty(); + + ///  + /// + public new sealed class IsSubTaskOfPartProperty : IProperty + { + /// Constant value for + public const string NAME = "isSubTaskOf"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "SubTaskRefClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TaskArchetypeClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.TaskArchetypeClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasSubTask + ///
+ public new HasSubTaskPartProperty HasSubTaskPart { get; } = new HasSubTaskPartProperty(); + + ///  + /// + public new sealed class HasSubTaskPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasSubTask"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "SubTaskRefClass"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TaskArchetypeClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.TaskArchetypeClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/TaskClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/TaskClass.cs new file mode 100644 index 00000000..4e9d47cc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/TasksInformationModel/TaskClass.cs @@ -0,0 +1,641 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TaskClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622718586034_177739_1376"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1622718586034_177739_1376"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Task"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: EAID_C7D39183_23CB_416b_A62D_F60815E08B1A + /// + public Type Generalization => typeof(Mtconnect.AssetInformationModel.AssetClass); + + /// + public new TaskClassProperties Properties { get; } = new TaskClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TaskClassProperties : Mtconnect.AssetInformationModel.AssetClass.AssetClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasTaskArchetypePart, + HasCollaboratorPart, + HasCoordinatorPart, + HasParentPart, + HasAssetPart, + TaskType, + State, + HasPriorityPart, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasTaskArchetype + ///
+ public new HasTaskArchetypePartProperty HasTaskArchetypePart { get; } = new HasTaskArchetypePartProperty(); + + ///  + /// + public new sealed class HasTaskArchetypePartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasTaskArchetype"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "TaskArchetype"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TaskArchetypeClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.TaskArchetypeClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCollaborator + ///
+ public new HasCollaboratorPartProperty HasCollaboratorPart { get; } = new HasCollaboratorPartProperty(); + + ///  + /// + public new sealed class HasCollaboratorPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCollaborator"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Collaborators"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CollaboratorClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.CollaboratorClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasCoordinator + ///
+ public new HasCoordinatorPartProperty HasCoordinatorPart { get; } = new HasCoordinatorPartProperty(); + + ///  + /// + public new sealed class HasCoordinatorPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasCoordinator"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Coordinator"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: CollaboratorClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.CollaboratorClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasParent + ///
+ public new HasParentPartProperty HasParentPart { get; } = new HasParentPartProperty(); + + ///  + /// + public new sealed class HasParentPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasParent"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Parent"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TaskClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.TaskClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasAsset + ///
+ public new HasAssetPartProperty HasAssetPart { get; } = new HasAssetPartProperty(); + + ///  + /// + public new sealed class HasAssetPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasAsset"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = "Assets"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AssetClass + /// + public System.Type Type => typeof(Mtconnect.AssetInformationModel.AssetClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: TaskType + ///
+ public new TaskTypeProperty TaskType { get; } = new TaskTypeProperty(); + + ///  + /// + public new sealed class TaskTypeProperty : IProperty + { + /// Constant value for + public const string NAME = "TaskType"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TaskTypeEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.TaskTypeEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: State + ///
+ public new StateProperty State { get; } = new StateProperty(); + + ///  + /// + public new sealed class StateProperty : IProperty + { + /// Constant value for + public const string NAME = "State"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TaskStateEnumMetaClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.TaskStateEnumMetaClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasPriority + ///
+ public new HasPriorityPartProperty HasPriorityPart { get; } = new HasPriorityPartProperty(); + + ///  + /// + public new sealed class HasPriorityPartProperty : IProperty + { + /// Constant value for + public const string NAME = "hasPriority"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = "Priority"; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: PriorityClass + /// + public System.Type Type => typeof(Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel.PriorityClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/AngleClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/AngleClass.cs new file mode 100644 index 00000000..99c988bd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/AngleClass.cs @@ -0,0 +1,146 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AngleClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582289110377_617694_24"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1582289110377_617694_24"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Angle"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new AngleClassProperties Properties { get; } = new AngleClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class AngleClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Angle, + }; + /// + ///
+ /// Original Name: Angle + ///
+ public AngleProperty Angle { get; } = new AngleProperty(); + + ///  + /// + public sealed class AngleProperty : IProperty + { + /// Constant value for + public const string NAME = "angle"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/AxisClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/AxisClass.cs new file mode 100644 index 00000000..0a939164 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/AxisClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582289916067_452845_327"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1582289916067_452845_327"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Axis"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1582232884691_747207_501 + /// + public Type Generalization => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.VectorClass); + + /// + public new AxisClassProperties Properties { get; } = new AxisClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AxisClassProperties : Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.VectorClass.VectorClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/OriginPositionGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/OriginPositionGeneralization.cs new file mode 100644 index 00000000..eb6aff13 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/OriginPositionGeneralization.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OriginPositionGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582232449455_399436_247"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1582232449455_399436_247"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "OriginPosition"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1582232689807_149219_388 + /// + public Type Generalization => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.PositionClass); + + /// + public new OriginPositionGeneralizationProperties Properties { get; } = new OriginPositionGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class OriginPositionGeneralizationProperties : Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.PositionClass.PositionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/OriginPropertyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/OriginPropertyClass.cs new file mode 100644 index 00000000..5fe3c671 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/OriginPropertyClass.cs @@ -0,0 +1,496 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OriginPropertyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582232410859_111633_157"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1582232410859_111633_157"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "OriginProperty"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new OriginPropertyClassProperties Properties { get; } = new OriginPropertyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class OriginPropertyClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + ParentCoordinates, + Origin, + RotationVector, + TranslationVector, + Transform, + UnitVector, + }; + /// + ///
+ /// Original Name: ParentCoordinates + ///
+ public ParentCoordinatesProperty ParentCoordinates { get; } = new ParentCoordinatesProperty(); + + ///  + /// + public sealed class ParentCoordinatesProperty : IProperty + { + /// Constant value for + public const string NAME = "parentCoordinates"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: ParentCoordinatesClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.ParentCoordinatesClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Origin + ///
+ public OriginProperty Origin { get; } = new OriginProperty(); + + ///  + /// + public sealed class OriginProperty : IProperty + { + /// Constant value for + public const string NAME = "origin"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: OriginPositionGeneralization + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.OriginPositionGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: RotationVector + ///
+ public RotationVectorProperty RotationVector { get; } = new RotationVectorProperty(); + + ///  + /// + public sealed class RotationVectorProperty : IProperty + { + /// Constant value for + public const string NAME = "rotationVector"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: RotationVectorGeneralization + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.RotationVectorGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: TranslationVector + ///
+ public TranslationVectorProperty TranslationVector { get; } = new TranslationVectorProperty(); + + ///  + /// + public sealed class TranslationVectorProperty : IProperty + { + /// Constant value for + public const string NAME = "translationVector"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TranslationVectorGeneralization + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.TranslationVectorGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Transform + ///
+ public TransformProperty Transform { get; } = new TransformProperty(); + + ///  + /// + public sealed class TransformProperty : IProperty + { + /// Constant value for + public const string NAME = "transform"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: TransformationClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.TransformationClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: UnitVector + ///
+ public UnitVectorProperty UnitVector { get; } = new UnitVectorProperty(); + + ///  + /// + public sealed class UnitVectorProperty : IProperty + { + /// Constant value for + public const string NAME = "unitVector"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: AxisClass + /// + public System.Type Type => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.AxisClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/ParentCoordinatesClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/ParentCoordinatesClass.cs new file mode 100644 index 00000000..61a110a8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/ParentCoordinatesClass.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ParentCoordinatesClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582232446904_854073_202"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1582232446904_854073_202"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "ParentCoordinates"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1582232689807_149219_388 + /// + public Type Generalization => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.PositionClass); + + /// + public new ParentCoordinatesClassProperties Properties { get; } = new ParentCoordinatesClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ParentCoordinatesClassProperties : Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.PositionClass.PositionClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/PositionClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/PositionClass.cs new file mode 100644 index 00000000..6e84b8cc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/PositionClass.cs @@ -0,0 +1,496 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PositionClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582232689807_149219_388"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1582232689807_149219_388"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Position"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new PositionClassProperties Properties { get; } = new PositionClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class PositionClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + X, + Y, + Z, + A, + B, + C, + }; + /// + ///
+ /// Original Name: X + ///
+ public XProperty X { get; } = new XProperty(); + + ///  + /// + public sealed class XProperty : IProperty + { + /// Constant value for + public const string NAME = "x"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Y + ///
+ public YProperty Y { get; } = new YProperty(); + + ///  + /// + public sealed class YProperty : IProperty + { + /// Constant value for + public const string NAME = "y"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Z + ///
+ public ZProperty Z { get; } = new ZProperty(); + + ///  + /// + public sealed class ZProperty : IProperty + { + /// Constant value for + public const string NAME = "z"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: A + ///
+ public AProperty A { get; } = new AProperty(); + + ///  + /// + public sealed class AProperty : IProperty + { + /// Constant value for + public const string NAME = "a"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: B + ///
+ public BProperty B { get; } = new BProperty(); + + ///  + /// + public sealed class BProperty : IProperty + { + /// Constant value for + public const string NAME = "b"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: C + ///
+ public CProperty C { get; } = new CProperty(); + + ///  + /// + public sealed class CProperty : IProperty + { + /// Constant value for + public const string NAME = "c"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/RotationVectorGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/RotationVectorGeneralization.cs new file mode 100644 index 00000000..c1407a4e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/RotationVectorGeneralization.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RotationVectorGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582232453022_186519_292"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1582232453022_186519_292"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "RotationVector"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1582232884691_747207_501 + /// + public Type Generalization => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.VectorClass); + + /// + public new RotationVectorGeneralizationProperties Properties { get; } = new RotationVectorGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RotationVectorGeneralizationProperties : Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.VectorClass.VectorClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/TransformationClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/TransformationClass.cs new file mode 100644 index 00000000..0c7ad752 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/TransformationClass.cs @@ -0,0 +1,1874 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TransformationClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582233160564_921570_689"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1582233160564_921570_689"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Transformation"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new TransformationClassProperties Properties { get; } = new TransformationClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class TransformationClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + Xin, + Yin, + Zin, + Xout, + Yout, + Zout, + Xt, + Yt, + Zt, + Xr, + Yr, + Zr, + Ain, + Bin, + Cin, + Aout, + Bout, + Cout, + Xu, + Yu, + Zu, + Ang, + Angin, + Angout, + }; + /// + ///
+ /// Original Name: Xin + ///
+ public XinProperty Xin { get; } = new XinProperty(); + + ///  + /// + public sealed class XinProperty : IProperty + { + /// Constant value for + public const string NAME = "xin"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Yin + ///
+ public YinProperty Yin { get; } = new YinProperty(); + + ///  + /// + public sealed class YinProperty : IProperty + { + /// Constant value for + public const string NAME = "yin"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Zin + ///
+ public ZinProperty Zin { get; } = new ZinProperty(); + + ///  + /// + public sealed class ZinProperty : IProperty + { + /// Constant value for + public const string NAME = "zin"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Xout + ///
+ public XoutProperty Xout { get; } = new XoutProperty(); + + ///  + /// + public sealed class XoutProperty : IProperty + { + /// Constant value for + public const string NAME = "xout"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Yout + ///
+ public YoutProperty Yout { get; } = new YoutProperty(); + + ///  + /// + public sealed class YoutProperty : IProperty + { + /// Constant value for + public const string NAME = "yout"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Zout + ///
+ public ZoutProperty Zout { get; } = new ZoutProperty(); + + ///  + /// + public sealed class ZoutProperty : IProperty + { + /// Constant value for + public const string NAME = "zout"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Xt + ///
+ public XtProperty Xt { get; } = new XtProperty(); + + ///  + /// + public sealed class XtProperty : IProperty + { + /// Constant value for + public const string NAME = "xt"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Yt + ///
+ public YtProperty Yt { get; } = new YtProperty(); + + ///  + /// + public sealed class YtProperty : IProperty + { + /// Constant value for + public const string NAME = "yt"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Zt + ///
+ public ZtProperty Zt { get; } = new ZtProperty(); + + ///  + /// + public sealed class ZtProperty : IProperty + { + /// Constant value for + public const string NAME = "zt"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Xr + ///
+ public XrProperty Xr { get; } = new XrProperty(); + + ///  + /// + public sealed class XrProperty : IProperty + { + /// Constant value for + public const string NAME = "xr"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Yr + ///
+ public YrProperty Yr { get; } = new YrProperty(); + + ///  + /// + public sealed class YrProperty : IProperty + { + /// Constant value for + public const string NAME = "yr"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Zr + ///
+ public ZrProperty Zr { get; } = new ZrProperty(); + + ///  + /// + public sealed class ZrProperty : IProperty + { + /// Constant value for + public const string NAME = "zr"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Ain + ///
+ public AinProperty Ain { get; } = new AinProperty(); + + ///  + /// + public sealed class AinProperty : IProperty + { + /// Constant value for + public const string NAME = "ain"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Bin + ///
+ public BinProperty Bin { get; } = new BinProperty(); + + ///  + /// + public sealed class BinProperty : IProperty + { + /// Constant value for + public const string NAME = "bin"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Cin + ///
+ public CinProperty Cin { get; } = new CinProperty(); + + ///  + /// + public sealed class CinProperty : IProperty + { + /// Constant value for + public const string NAME = "cin"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Aout + ///
+ public AoutProperty Aout { get; } = new AoutProperty(); + + ///  + /// + public sealed class AoutProperty : IProperty + { + /// Constant value for + public const string NAME = "aout"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Bout + ///
+ public BoutProperty Bout { get; } = new BoutProperty(); + + ///  + /// + public sealed class BoutProperty : IProperty + { + /// Constant value for + public const string NAME = "bout"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Cout + ///
+ public CoutProperty Cout { get; } = new CoutProperty(); + + ///  + /// + public sealed class CoutProperty : IProperty + { + /// Constant value for + public const string NAME = "cout"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Xu + ///
+ public XuProperty Xu { get; } = new XuProperty(); + + ///  + /// + public sealed class XuProperty : IProperty + { + /// Constant value for + public const string NAME = "xu"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Yu + ///
+ public YuProperty Yu { get; } = new YuProperty(); + + ///  + /// + public sealed class YuProperty : IProperty + { + /// Constant value for + public const string NAME = "yu"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Zu + ///
+ public ZuProperty Zu { get; } = new ZuProperty(); + + ///  + /// + public sealed class ZuProperty : IProperty + { + /// Constant value for + public const string NAME = "zu"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Ang + ///
+ public AngProperty Ang { get; } = new AngProperty(); + + ///  + /// + public sealed class AngProperty : IProperty + { + /// Constant value for + public const string NAME = "ang"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Angin + ///
+ public AnginProperty Angin { get; } = new AnginProperty(); + + ///  + /// + public sealed class AnginProperty : IProperty + { + /// Constant value for + public const string NAME = "angin"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Angout + ///
+ public AngoutProperty Angout { get; } = new AngoutProperty(); + + ///  + /// + public sealed class AngoutProperty : IProperty + { + /// Constant value for + public const string NAME = "angout"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + # region Rules + /// + /// Constraints + /// + /// Specification Language: Unspecified + public string Constraints => @"var outx,outy,outz,outux,outuy,outuz; +var anglist = angin.split('|||'); +var ux,uy,uz,angle,vector; + +var xu2,yu2,zu2,xt2,yt2,zt2; +xu2 = xu; +yu2 = yu; +zu2 = zu; +xt2 = xt; +yt2 = yt; +zt2 = zt; + + +if(anglist.length >= 2) { + anglist.pop(); + for (var i = 0; i < anglist.length; i++) { + angle = parseFloat(anglist[i].split('|')[0]); + vector = anglist[i].split('|')[1]; + ux = parseFloat(vector.split(',')[0]); + uy = parseFloat(vector.split(',')[1]); + uz = parseFloat(vector.split(',')[2]); + + outx = xt2*Math.cos(angle*Math.PI/180) + (uy*zt2 -uz*yt2)*Math.sin(angle*Math.PI/180) + (1-Math.cos(angle*Math.PI/180))*(ux*xt2+uy*yt2+uz*zt2)*ux; + outy = yt2*Math.cos(angle*Math.PI/180) + (uz*xt2 -ux*zt2)*Math.sin(angle*Math.PI/180) + (1-Math.cos(angle*Math.PI/180))*(ux*xt2+uy*yt2+uz*zt2)*uy; + outz = zt2*Math.cos(angle*Math.PI/180) + (ux*yt2 -uy*xt2)*Math.sin(angle*Math.PI/180) + (1-Math.cos(angle*Math.PI/180))*(ux*xt2+uy*yt2+uz*zt2)*uz; + xt2 = outx + yt2 = outy + zt2 = outz + + outux = xu2*Math.cos(angle*Math.PI/180) + (uy*zu2 -uz*yu2)*Math.sin(angle*Math.PI/180) + (1-Math.cos(angle*Math.PI/180))*(ux*xu2+uy*yu2+uz*zu2)*ux; + outuy = yu2*Math.cos(angle*Math.PI/180) + (uz*xu2 -ux*zu2)*Math.sin(angle*Math.PI/180) + (1-Math.cos(angle*Math.PI/180))*(ux*xu2+uy*yu2+uz*zu2)*uy; + outuz = zu2*Math.cos(angle*Math.PI/180) + (ux*yu2 -uy*xu2)*Math.sin(angle*Math.PI/180) + (1-Math.cos(angle*Math.PI/180))*(ux*xu2+uy*yu2+uz*zu2)*uz; + xu2 = outux + yu2 = outuy + zu2 = outuz +} + +} + + +xout = xin + xt2; +yout = yin + yt2; +zout = zin + zt2; + +aout = ain + xr + ang*xu; +bout = bin + yr + ang*yu; +cout = cin + zr + ang*zu; + +var angles = ''; +if(ang != 0) { +angles = angin + ang.toString()+'|'+xu2.toString()+ ','+yu2.toString()+ ','+zu2.toString() + '|||'; +angout = angles; +} else if(ang == 0){ +angout = angin; +}"; + /* + var outx,outy,outz,outux,outuy,outuz; + var anglist = angin.split('|||'); + var ux,uy,uz,angle,vector; + + var xu2,yu2,zu2,xt2,yt2,zt2; + xu2 = xu; + yu2 = yu; + zu2 = zu; + xt2 = xt; + yt2 = yt; + zt2 = zt; + + + if(anglist.length >= 2) { + anglist.pop(); + for (var i = 0; i < anglist.length; i++) { + angle = parseFloat(anglist[i].split('|')[0]); + vector = anglist[i].split('|')[1]; + ux = parseFloat(vector.split(',')[0]); + uy = parseFloat(vector.split(',')[1]); + uz = parseFloat(vector.split(',')[2]); + + outx = xt2*Math.cos(angle*Math.PI/180) + (uy*zt2 -uz*yt2)*Math.sin(angle*Math.PI/180) + (1-Math.cos(angle*Math.PI/180))*(ux*xt2+uy*yt2+uz*zt2)*ux; + outy = yt2*Math.cos(angle*Math.PI/180) + (uz*xt2 -ux*zt2)*Math.sin(angle*Math.PI/180) + (1-Math.cos(angle*Math.PI/180))*(ux*xt2+uy*yt2+uz*zt2)*uy; + outz = zt2*Math.cos(angle*Math.PI/180) + (ux*yt2 -uy*xt2)*Math.sin(angle*Math.PI/180) + (1-Math.cos(angle*Math.PI/180))*(ux*xt2+uy*yt2+uz*zt2)*uz; + xt2 = outx + yt2 = outy + zt2 = outz + + outux = xu2*Math.cos(angle*Math.PI/180) + (uy*zu2 -uz*yu2)*Math.sin(angle*Math.PI/180) + (1-Math.cos(angle*Math.PI/180))*(ux*xu2+uy*yu2+uz*zu2)*ux; + outuy = yu2*Math.cos(angle*Math.PI/180) + (uz*xu2 -ux*zu2)*Math.sin(angle*Math.PI/180) + (1-Math.cos(angle*Math.PI/180))*(ux*xu2+uy*yu2+uz*zu2)*uy; + outuz = zu2*Math.cos(angle*Math.PI/180) + (ux*yu2 -uy*xu2)*Math.sin(angle*Math.PI/180) + (1-Math.cos(angle*Math.PI/180))*(ux*xu2+uy*yu2+uz*zu2)*uz; + xu2 = outux + yu2 = outuy + zu2 = outuz + } + + } + + + xout = xin + xt2; + yout = yin + yt2; + zout = zin + zt2; + + aout = ain + xr + ang*xu; + bout = bin + yr + ang*yu; + cout = cin + zr + ang*zu; + + var angles = ''; + if(ang != 0) { + angles = angin + ang.toString()+'|'+xu2.toString()+ ','+yu2.toString()+ ','+zu2.toString() + '|||'; + angout = angles; + } else if(ang == 0){ + angout = angin; + } + */ + # endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/TranslationVectorGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/TranslationVectorGeneralization.cs new file mode 100644 index 00000000..ca548206 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/TranslationVectorGeneralization.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TranslationVectorGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582232454926_330097_337"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1582232454926_330097_337"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "TranslationVector"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_91b028d_1582232884691_747207_501 + /// + public Type Generalization => typeof(Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.VectorClass); + + /// + public new TranslationVectorGeneralizationProperties Properties { get; } = new TranslationVectorGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class TranslationVectorGeneralizationProperties : Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model.VectorClass.VectorClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/VectorClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/VectorClass.cs new file mode 100644 index 00000000..87bf01d5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XArm7Model/VectorClass.cs @@ -0,0 +1,286 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class VectorClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582232884691_747207_501"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_91b028d_1582232884691_747207_501"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string NAME = "Vector"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new VectorClassProperties Properties { get; } = new VectorClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class VectorClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + X, + Y, + Z, + }; + /// + ///
+ /// Original Name: X + ///
+ public XProperty X { get; } = new XProperty(); + + ///  + /// + public sealed class XProperty : IProperty + { + /// Constant value for + public const string NAME = "x"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Y + ///
+ public YProperty Y { get; } = new YProperty(); + + ///  + /// + public sealed class YProperty : IProperty + { + /// Constant value for + public const string NAME = "y"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: Z + ///
+ public ZProperty Z { get; } = new ZProperty(); + + ///  + /// + public sealed class ZProperty : IProperty + { + /// Constant value for + public const string NAME = "z"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = "composite"; + /// Constant value for + public const string EXTENSION = ""; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: Object + /// + public System.Type Type => typeof(object); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/AbstractElementGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/AbstractElementGeneralization.cs new file mode 100644 index 00000000..486e011b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/AbstractElementGeneralization.cs @@ -0,0 +1,84 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.XMLTerms +{ + /// element that defines a set of common characteristics that are shared by a group of elements. An abstract entity cannot appear in a document. In a specific implementation, an abstract entity is replaced by a derived element that is itself not an abstract entity. The characteristics for the derived element are inherited from the abstract entity.




+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AbstractElementGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375135_564027_1945"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375135_564027_1945"; + /// Constant value for + public const string SUMMARY = @" element that defines a set of common characteristics that are shared by a group of elements. An abstract entity cannot appear in a document. In a specific implementation, an abstract entity is replaced by a derived element that is itself not an abstract entity. The characteristics for the derived element are inherited from the abstract entity. + + +"; + /// Constant value for + public const string NAME = "abstract element"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375158_867680_1986 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ElementClass); + + /// + public new AbstractElementGeneralizationProperties Properties { get; } = new AbstractElementGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class AbstractElementGeneralizationProperties : Mtconnect.Glossary.ElementClass.ElementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/AttributeClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/AttributeClass.cs new file mode 100644 index 00000000..efea821b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/AttributeClass.cs @@ -0,0 +1,78 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.XMLTerms +{ + /// additional information or property for an element.



+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AttributeClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375144_459057_1958"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375144_459057_1958"; + /// Constant value for + public const string SUMMARY = @" additional information or property for an {{term(element)}}. + +"; + /// Constant value for + public const string NAME = "attribute"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new AttributeClassProperties Properties { get; } = new AttributeClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class AttributeClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/ChildElementGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/ChildElementGeneralization.cs new file mode 100644 index 00000000..dba7a9f1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/ChildElementGeneralization.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.XMLTerms +{ + /// element of a data modeling structure that illustrates the relationship between itself and the higher-level parent element within which it is contained.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChildElementGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375146_261316_1961"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375146_261316_1961"; + /// Constant value for + public const string SUMMARY = @" {{term(element)}} of a data modeling structure that illustrates the relationship between itself and the higher-level {{term(parent element)}} within which it is contained. +"; + /// Constant value for + public const string NAME = "child element"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375158_867680_1986 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ElementClass); + + /// + public new ChildElementGeneralizationProperties Properties { get; } = new ChildElementGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ChildElementGeneralizationProperties : Mtconnect.Glossary.ElementClass.ElementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/DocumentBodyClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/DocumentBodyClass.cs new file mode 100644 index 00000000..e1ffa7e6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/DocumentBodyClass.cs @@ -0,0 +1,78 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.XMLTerms +{ + /// portion of the content of an MTConnect Response Document that is defined by the relative MTConnect Information Model. The document body contains the structural elements and Observations or DataItems reported in a response document.



+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DocumentBodyClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375156_434194_1983"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375156_434194_1983"; + /// Constant value for + public const string SUMMARY = @" portion of the content of an {{term(MTConnect Response Document)}} that is defined by the relative {{term(MTConnect Information Model)}}. The {{term(document body)}} contains the {{termplural(structural element)}} and {{termplural(Observation)}} or {{termplural(DataItem)}} reported in a {{term(response document)}}. + +"; + /// Constant value for + public const string NAME = "document body"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DocumentBodyClassProperties Properties { get; } = new DocumentBodyClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DocumentBodyClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/DocumentHeaderClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/DocumentHeaderClass.cs new file mode 100644 index 00000000..afd56b85 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/DocumentHeaderClass.cs @@ -0,0 +1,78 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.XMLTerms +{ + /// portion of the content of an MTConnect Response Document that provides information from an agent defining version information, storage capacity, protocol, and other information associated with the management of the data stored in or retrieved from the agent.



+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DocumentHeaderClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375157_278948_1984"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375157_278948_1984"; + /// Constant value for + public const string SUMMARY = @" portion of the content of an {{term(MTConnect Response Document)}} that provides information from an {{term(agent)}} defining version information, storage capacity, protocol, and other information associated with the management of the data stored in or retrieved from the {{term(agent)}}. + +"; + /// Constant value for + public const string NAME = "document header"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new DocumentHeaderClassProperties Properties { get; } = new DocumentHeaderClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class DocumentHeaderClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/ElementNameClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/ElementNameClass.cs new file mode 100644 index 00000000..28e17ef1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/ElementNameClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.XMLTerms +{ + /// descriptive identifier contained in both the start-tag and end-tag of an XML element that provides the name of the element.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ElementNameClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1638439875096_861809_26"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1638439875096_861809_26"; + /// Constant value for + public const string SUMMARY = @" descriptive identifier contained in both the `start-tag` and `end-tag` of an XML element that provides the name of the element. +"; + /// Constant value for + public const string NAME = "element name"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new ElementNameClassProperties Properties { get; } = new ElementNameClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class ElementNameClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/NamespaceClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/NamespaceClass.cs new file mode 100644 index 00000000..d9d5574e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/NamespaceClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.XMLTerms +{ + /// organizes information into logical groups.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NamespaceClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375175_916630_2047"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375175_916630_2047"; + /// Constant value for + public const string SUMMARY = @" organizes information into logical groups. +"; + /// Constant value for + public const string NAME = "namespace"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new NamespaceClassProperties Properties { get; } = new NamespaceClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class NamespaceClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/ParentElementGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/ParentElementGeneralization.cs new file mode 100644 index 00000000..563365ad --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/ParentElementGeneralization.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.XMLTerms +{ + /// element of a data modeling structure that illustrates the relationship between itself and the lower-level child element.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ParentElementGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375178_894466_2058"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375178_894466_2058"; + /// Constant value for + public const string SUMMARY = @" {{term(element)}} of a data modeling structure that illustrates the relationship between itself and the lower-level {{term(child element)}}. +"; + /// Constant value for + public const string NAME = "parent element"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375158_867680_1986 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ElementClass); + + /// + public new ParentElementGeneralizationProperties Properties { get; } = new ParentElementGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class ParentElementGeneralizationProperties : Mtconnect.Glossary.ElementClass.ElementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/RootElementGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/RootElementGeneralization.cs new file mode 100644 index 00000000..022f0d94 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/RootElementGeneralization.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.XMLTerms +{ + /// first structural element provided in a response document encoded using XML.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RootElementGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375184_560597_2079"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375184_560597_2079"; + /// Constant value for + public const string SUMMARY = @" first {{term(structural element)}} provided in a {{term(response document)}} encoded using XML. +"; + /// Constant value for + public const string NAME = "root element"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375158_867680_1986 + /// + public Type Generalization => typeof(Mtconnect.Glossary.ElementClass); + + /// + public new RootElementGeneralizationProperties Properties { get; } = new RootElementGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class RootElementGeneralizationProperties : Mtconnect.Glossary.ElementClass.ElementClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/StructuralElementClass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/StructuralElementClass.cs new file mode 100644 index 00000000..5c1788bd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/StructuralElementClass.cs @@ -0,0 +1,77 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Glossary.XMLTerms +{ + /// element that organizes information that represents the physical and logical parts and sub-parts of a piece of equipment.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StructuralElementClass : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375187_474833_2095"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375187_474833_2095"; + /// Constant value for + public const string SUMMARY = @" {{term(element)}} that organizes information that represents the physical and logical parts and sub-parts of a piece of equipment. +"; + /// Constant value for + public const string NAME = "structural element"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public Type Generalization => null; + + /// + public new StructuralElementClassProperties Properties { get; } = new StructuralElementClassProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + /// + public class StructuralElementClassProperties : IPropertyList + { + /// + public virtual IProperty[] Properties => new IProperty[] { + }; + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/XMLDocumentGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/XMLDocumentGeneralization.cs new file mode 100644 index 00000000..1dcb03ea --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/XMLDocumentGeneralization.cs @@ -0,0 +1,362 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.XMLTerms +{ + /// structured text file encoded using XML.


+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class XMLDocumentGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623669632303_353398_16887"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623669632303_353398_16887"; + /// Constant value for + public const string SUMMARY = @" structured text file encoded using {{term(XML)}}. +"; + /// Constant value for + public const string NAME = "XML Document"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375156_660396_1982 + /// + public Type Generalization => typeof(Mtconnect.Glossary.DocumentClass); + + /// + public new XMLDocumentGeneralizationProperties Properties { get; } = new XMLDocumentGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class XMLDocumentGeneralizationProperties : Mtconnect.Glossary.DocumentClass.DocumentClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + HasDocumentHeader, + HasDocumentBody, + HasNamespace, + HasXmlSchema, + }.Concat(base.Properties).ToArray(); + /// + ///
+ /// Original Name: HasDocumentHeader + ///
+ public new HasDocumentHeaderProperty HasDocumentHeader { get; } = new HasDocumentHeaderProperty(); + + ///  + /// + public new sealed class HasDocumentHeaderProperty : IProperty + { + /// Constant value for + public const string NAME = "has document header"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DocumentHeaderClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.XMLTerms.DocumentHeaderClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasDocumentBody + ///
+ public new HasDocumentBodyProperty HasDocumentBody { get; } = new HasDocumentBodyProperty(); + + ///  + /// + public new sealed class HasDocumentBodyProperty : IProperty + { + /// Constant value for + public const string NAME = "has document body"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: DocumentBodyClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.XMLTerms.DocumentBodyClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasNamespace + ///
+ public new HasNamespaceProperty HasNamespace { get; } = new HasNamespaceProperty(); + + ///  + /// + public new sealed class HasNamespaceProperty : IProperty + { + /// Constant value for + public const string NAME = "has namespace"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: NamespaceClass + /// + public System.Type Type => typeof(Mtconnect.Glossary.XMLTerms.NamespaceClass); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + /// + ///
+ /// Original Name: HasXmlSchema + ///
+ public new HasXmlSchemaProperty HasXmlSchema { get; } = new HasXmlSchemaProperty(); + + ///  + /// + public new sealed class HasXmlSchemaProperty : IProperty + { + /// Constant value for + public const string NAME = "has xml schema"; + /// Constant value for + public const string SUMMARY = @""; + /// Constant value for + public const string ACCESS_MODIFIER = "private"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string AGGREGATION = ""; + /// Constant value for + public const string EXTENSION = "MagicDraw UML 19.0"; + /// Constant value for + public const string ASSOCIATION = ""; + /// Constant value for + public const string DEFAULT_VALUE = ""; + + /// + /// + /// Type: XMLSchemaGeneralization + /// + public System.Type Type => typeof(Mtconnect.Glossary.XMLTerms.XMLSchemaGeneralization); + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Aggregation => AGGREGATION; + + // Note: Extension.Extender + /// + public string Extension => EXTENSION; + + /// + public string Association => ASSOCIATION; + + // Note: DefaultValue.Name + /// + public string DefaultValue => DEFAULT_VALUE; + } + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/XMLSchemaGeneralization.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/XMLSchemaGeneralization.cs new file mode 100644 index 00000000..9e5252eb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Classes/XMLTerms/XMLSchemaGeneralization.cs @@ -0,0 +1,83 @@ +#pragma warning disable CS0109 // Member does not hide an inherited member; new keyword is not required +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System.Linq; + +namespace Mtconnect.Glossary.XMLTerms +{ + /// schema defining a specific document encoded in XML.



+ ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class XMLSchemaGeneralization : IClass + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664375192_452303_2110"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Structure___19_0_3_68e0225_1623664375192_452303_2110"; + /// Constant value for + public const string SUMMARY = @" {{term(schema)}} defining a specific document encoded in XML. + +"; + /// Constant value for + public const string NAME = "XML Schema"; + /// Constant value for + public const string ACCESS_MODIFIER = "public"; + /// Constant value for + public const string MODIFIER = ""; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Summary => SUMMARY; + + /// + public string Name => NAME; + + /// + public string AccessModifier => ACCESS_MODIFIER; + + /// + public string Modifier => MODIFIER; + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + /// + /// Original Type: _19_0_3_68e0225_1623664375184_91838_2082 + /// + public Type Generalization => typeof(Mtconnect.Glossary.SchemaClass); + + /// + public new XMLSchemaGeneralizationProperties Properties { get; } = new XMLSchemaGeneralizationProperties(); + IPropertyList IClass.Properties => Properties; + /// + /// Property list for . + ///
Note, some properties () are inherited from . + ///
+ public class XMLSchemaGeneralizationProperties : Mtconnect.Glossary.SchemaClass.SchemaClassProperties + { + /// + public override IProperty[] Properties => new IProperty[] { + }.Concat(base.Properties).ToArray(); + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ActuatorStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ActuatorStateEnum.cs new file mode 100644 index 00000000..df1a6679 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ActuatorStateEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ActuatorStateEnum + { + /// Actuator is operating.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + ACTIVE, + /// Actuator is not operating.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + INACTIVE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ActuatorStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417652_570136_2869"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417652_570136_2869"; + /// Constant value for + public const string NAME = "ActuatorStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ActuatorStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ACTIVE, + INACTIVE, + }; + + private ACTIVEValue _ACTIVE; + /// + public ACTIVEValue ACTIVE => _ACTIVE ?? (_ACTIVE = new ACTIVEValue()); + + /// Actuator is operating.


+ /// Value for ActuatorStateEnum.
+ ///
See also ActuatorStateEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class ACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Actuator)}} is operating. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INACTIVEValue _INACTIVE; + /// + public INACTIVEValue INACTIVE => _INACTIVE ?? (_INACTIVE = new INACTIVEValue()); + + /// Actuator is not operating.


+ /// Value for ActuatorStateEnum.
+ ///
See also ActuatorStateEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class INACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Actuator)}} is not operating. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AlarmCodeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AlarmCodeEnum.cs new file mode 100644 index 00000000..52ec7187 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AlarmCodeEnum.cs @@ -0,0 +1,623 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum AlarmCodeEnum + { + /// spindle crashed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + CRASH, + /// component jammed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + JAM, + /// component failed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + FAILURE, + /// fault occurred on the component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + FAULT, + /// component has stalled and cannot move.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + STALLED, + /// component is overloaded.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + OVERLOAD, + /// ESTOP button was pressed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + ESTOP, + /// problem with the material.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + MATERIAL, + /// system message.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + MESSAGE, + /// alarm is not in any of the above categories.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + OTHER, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AlarmCodeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643968895333_107274_240"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1643968895333_107274_240"; + /// Constant value for + public const string NAME = "AlarmCodeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(AlarmCodeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + CRASH, + JAM, + FAILURE, + FAULT, + STALLED, + OVERLOAD, + ESTOP, + MATERIAL, + MESSAGE, + OTHER, + }; + + private CRASHValue _CRASH; + /// + public CRASHValue CRASH => _CRASH ?? (_CRASH = new CRASHValue()); + + /// spindle crashed.


+ /// Value for AlarmCodeEnum.
+ ///
See also AlarmCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class CRASHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CRASH"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" spindle crashed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private JAMValue _JAM; + /// + public JAMValue JAM => _JAM ?? (_JAM = new JAMValue()); + + /// component jammed.


+ /// Value for AlarmCodeEnum.
+ ///
See also AlarmCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class JAMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "JAM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" component jammed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FAILUREValue _FAILURE; + /// + public FAILUREValue FAILURE => _FAILURE ?? (_FAILURE = new FAILUREValue()); + + /// component failed.


+ /// Value for AlarmCodeEnum.
+ ///
See also AlarmCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class FAILUREValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FAILURE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" component failed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FAULTValue _FAULT; + /// + public FAULTValue FAULT => _FAULT ?? (_FAULT = new FAULTValue()); + + /// fault occurred on the component.


+ /// Value for AlarmCodeEnum.
+ ///
See also AlarmCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class FAULTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FAULT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" fault occurred on the component. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STALLEDValue _STALLED; + /// + public STALLEDValue STALLED => _STALLED ?? (_STALLED = new STALLEDValue()); + + /// component has stalled and cannot move.


+ /// Value for AlarmCodeEnum.
+ ///
See also AlarmCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class STALLEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STALLED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" component has stalled and cannot move. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OVERLOADValue _OVERLOAD; + /// + public OVERLOADValue OVERLOAD => _OVERLOAD ?? (_OVERLOAD = new OVERLOADValue()); + + /// component is overloaded.


+ /// Value for AlarmCodeEnum.
+ ///
See also AlarmCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class OVERLOADValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OVERLOAD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" component is overloaded. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ESTOPValue _ESTOP; + /// + public ESTOPValue ESTOP => _ESTOP ?? (_ESTOP = new ESTOPValue()); + + /// ESTOP button was pressed.


+ /// Value for AlarmCodeEnum.
+ ///
See also AlarmCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class ESTOPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ESTOP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" ESTOP button was pressed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MATERIALValue _MATERIAL; + /// + public MATERIALValue MATERIAL => _MATERIAL ?? (_MATERIAL = new MATERIALValue()); + + /// problem with the material.


+ /// Value for AlarmCodeEnum.
+ ///
See also AlarmCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class MATERIALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MATERIAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" problem with the material. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MESSAGEValue _MESSAGE; + /// + public MESSAGEValue MESSAGE => _MESSAGE ?? (_MESSAGE = new MESSAGEValue()); + + /// system message.


+ /// Value for AlarmCodeEnum.
+ ///
See also AlarmCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class MESSAGEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MESSAGE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" system message. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OTHERValue _OTHER; + /// + public OTHERValue OTHER => _OTHER ?? (_OTHER = new OTHERValue()); + + /// alarm is not in any of the above categories.


+ /// Value for AlarmCodeEnum.
+ ///
See also AlarmCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class OTHERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OTHER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" alarm is not in any of the above categories. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AlarmSeverityEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AlarmSeverityEnum.cs new file mode 100644 index 00000000..b7b74465 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AlarmSeverityEnum.cs @@ -0,0 +1,289 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum AlarmSeverityEnum + { + ///  + /// + /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + CRITICAL, + ///  + /// + /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + ERROR, + ///  + /// + /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + WARNING, + ///  + /// + /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + INFORMATION, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AlarmSeverityEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643968830721_843713_164"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1643968830721_843713_164"; + /// Constant value for + public const string NAME = "AlarmSeverityEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(AlarmSeverityEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + CRITICAL, + ERROR, + WARNING, + INFORMATION, + }; + + private CRITICALValue _CRITICAL; + /// + public CRITICALValue CRITICAL => _CRITICAL ?? (_CRITICAL = new CRITICALValue()); + + ///  + /// Value for AlarmSeverityEnum.
+ ///
See also AlarmSeverityEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class CRITICALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CRITICAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ERRORValue _ERROR; + /// + public ERRORValue ERROR => _ERROR ?? (_ERROR = new ERRORValue()); + + ///  + /// Value for AlarmSeverityEnum.
+ ///
See also AlarmSeverityEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class ERRORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ERROR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WARNINGValue _WARNING; + /// + public WARNINGValue WARNING => _WARNING ?? (_WARNING = new WARNINGValue()); + + ///  + /// Value for AlarmSeverityEnum.
+ ///
See also AlarmSeverityEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class WARNINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WARNING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INFORMATIONValue _INFORMATION; + /// + public INFORMATIONValue INFORMATION => _INFORMATION ?? (_INFORMATION = new INFORMATIONValue()); + + ///  + /// Value for AlarmSeverityEnum.
+ ///
See also AlarmSeverityEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class INFORMATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INFORMATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AlarmStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AlarmStateEnum.cs new file mode 100644 index 00000000..344cfdc2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AlarmStateEnum.cs @@ -0,0 +1,235 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum AlarmStateEnum + { + ///  + /// + /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + INSTANT, + ///  + /// + /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + ACTIVE, + ///  + /// + /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + CLEARED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AlarmStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643968859511_302406_203"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1643968859511_302406_203"; + /// Constant value for + public const string NAME = "AlarmStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(AlarmStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + INSTANT, + ACTIVE, + CLEARED, + }; + + private INSTANTValue _INSTANT; + /// + public INSTANTValue INSTANT => _INSTANT ?? (_INSTANT = new INSTANTValue()); + + ///  + /// Value for AlarmStateEnum.
+ ///
See also AlarmStateEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class INSTANTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INSTANT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACTIVEValue _ACTIVE; + /// + public ACTIVEValue ACTIVE => _ACTIVE ?? (_ACTIVE = new ACTIVEValue()); + + ///  + /// Value for AlarmStateEnum.
+ ///
See also AlarmStateEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class ACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CLEAREDValue _CLEARED; + /// + public CLEAREDValue CLEARED => _CLEARED ?? (_CLEARED = new CLEAREDValue()); + + ///  + /// Value for AlarmStateEnum.
+ ///
See also AlarmStateEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class CLEAREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CLEARED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ApplicationCategoryEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ApplicationCategoryEnum.cs new file mode 100644 index 00000000..5b5ca9ab --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ApplicationCategoryEnum.cs @@ -0,0 +1,479 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ApplicationCategoryEnum + { + /// files regarding the fully assembled product.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + ASSEMBLY, + /// device related files.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + DEVICE, + /// files relating to the handling of material.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + HANDLING, + /// files relating to equipment maintenance.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + MAINTENANCE, + /// files relating to a part.



+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + PART, + /// files related to the manufacturing process.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + PROCESS, + /// files related to the quality inspection.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + INSPECTION, + /// files related to the setup of a process.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + SETUP, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ApplicationCategoryEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1589825603246_243967_772"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1589825603246_243967_772"; + /// Constant value for + public const string NAME = "ApplicationCategoryEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ApplicationCategoryEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ASSEMBLY, + DEVICE, + HANDLING, + MAINTENANCE, + PART, + PROCESS, + INSPECTION, + SETUP, + }; + + private ASSEMBLYValue _ASSEMBLY; + /// + public ASSEMBLYValue ASSEMBLY => _ASSEMBLY ?? (_ASSEMBLY = new ASSEMBLYValue()); + + /// files regarding the fully assembled product.


+ /// Value for ApplicationCategoryEnum.
+ ///
See also ApplicationCategoryEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class ASSEMBLYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ASSEMBLY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" files regarding the fully assembled product. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEVICEValue _DEVICE; + /// + public DEVICEValue DEVICE => _DEVICE ?? (_DEVICE = new DEVICEValue()); + + /// device related files.


+ /// Value for ApplicationCategoryEnum.
+ ///
See also ApplicationCategoryEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class DEVICEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEVICE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" device related files. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private HANDLINGValue _HANDLING; + /// + public HANDLINGValue HANDLING => _HANDLING ?? (_HANDLING = new HANDLINGValue()); + + /// files relating to the handling of material.


+ /// Value for ApplicationCategoryEnum.
+ ///
See also ApplicationCategoryEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class HANDLINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HANDLING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" files relating to the handling of material. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MAINTENANCEValue _MAINTENANCE; + /// + public MAINTENANCEValue MAINTENANCE => _MAINTENANCE ?? (_MAINTENANCE = new MAINTENANCEValue()); + + /// files relating to equipment maintenance.


+ /// Value for ApplicationCategoryEnum.
+ ///
See also ApplicationCategoryEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class MAINTENANCEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MAINTENANCE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" files relating to equipment maintenance. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PARTValue _PART; + /// + public PARTValue PART => _PART ?? (_PART = new PARTValue()); + + /// files relating to a part.



+ /// Value for ApplicationCategoryEnum.
+ ///
See also ApplicationCategoryEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class PARTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" files relating to a part. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESSValue _PROCESS; + /// + public PROCESSValue PROCESS => _PROCESS ?? (_PROCESS = new PROCESSValue()); + + /// files related to the manufacturing process.


+ /// Value for ApplicationCategoryEnum.
+ ///
See also ApplicationCategoryEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class PROCESSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" files related to the manufacturing process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INSPECTIONValue _INSPECTION; + /// + public INSPECTIONValue INSPECTION => _INSPECTION ?? (_INSPECTION = new INSPECTIONValue()); + + /// files related to the quality inspection.


+ /// Value for ApplicationCategoryEnum.
+ ///
See also ApplicationCategoryEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class INSPECTIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INSPECTION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" files related to the quality inspection. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SETUPValue _SETUP; + /// + public SETUPValue SETUP => _SETUP ?? (_SETUP = new SETUPValue()); + + /// files related to the setup of a process.


+ /// Value for ApplicationCategoryEnum.
+ ///
See also ApplicationCategoryEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class SETUPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SETUP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" files related to the setup of a process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ApplicationTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ApplicationTypeEnum.cs new file mode 100644 index 00000000..7bb37729 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ApplicationTypeEnum.cs @@ -0,0 +1,377 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ApplicationTypeEnum + { + /// computer aided design files or drawings.



+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + DESIGN, + /// generic data.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + DATA, + /// documentation regarding a category of file.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + DOCUMENTATION, + /// user instructions regarding the execution of a task.



+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + INSTRUCTIONS, + /// data related to the history of a machine or process.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + LOG, + /// machine instructions to perform a process.



+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + PRODUCTION_PROGRAM, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ApplicationTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1589825656758_905757_799"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1589825656758_905757_799"; + /// Constant value for + public const string NAME = "ApplicationTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ApplicationTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + DESIGN, + DATA, + DOCUMENTATION, + INSTRUCTIONS, + LOG, + PRODUCTION_PROGRAM, + }; + + private DESIGNValue _DESIGN; + /// + public DESIGNValue DESIGN => _DESIGN ?? (_DESIGN = new DESIGNValue()); + + /// computer aided design files or drawings.



+ /// Value for ApplicationTypeEnum.
+ ///
See also ApplicationTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class DESIGNValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DESIGN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" computer aided design files or drawings. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DATAValue _DATA; + /// + public DATAValue DATA => _DATA ?? (_DATA = new DATAValue()); + + /// generic data.


+ /// Value for ApplicationTypeEnum.
+ ///
See also ApplicationTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class DATAValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DATA"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" generic data. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DOCUMENTATIONValue _DOCUMENTATION; + /// + public DOCUMENTATIONValue DOCUMENTATION => _DOCUMENTATION ?? (_DOCUMENTATION = new DOCUMENTATIONValue()); + + /// documentation regarding a category of file.


+ /// Value for ApplicationTypeEnum.
+ ///
See also ApplicationTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class DOCUMENTATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DOCUMENTATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" documentation regarding a category of file. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INSTRUCTIONSValue _INSTRUCTIONS; + /// + public INSTRUCTIONSValue INSTRUCTIONS => _INSTRUCTIONS ?? (_INSTRUCTIONS = new INSTRUCTIONSValue()); + + /// user instructions regarding the execution of a task.



+ /// Value for ApplicationTypeEnum.
+ ///
See also ApplicationTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class INSTRUCTIONSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INSTRUCTIONS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" user instructions regarding the execution of a task. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LOGValue _LOG; + /// + public LOGValue LOG => _LOG ?? (_LOG = new LOGValue()); + + /// data related to the history of a machine or process.


+ /// Value for ApplicationTypeEnum.
+ ///
See also ApplicationTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class LOGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOG"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" data related to the history of a machine or process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PRODUCTION_PROGRAMValue _PRODUCTION_PROGRAM; + /// + public PRODUCTION_PROGRAMValue PRODUCTION_PROGRAM => _PRODUCTION_PROGRAM ?? (_PRODUCTION_PROGRAM = new PRODUCTION_PROGRAMValue()); + + /// machine instructions to perform a process.



+ /// Value for ApplicationTypeEnum.
+ ///
See also ApplicationTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class PRODUCTION_PROGRAMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PRODUCTION_PROGRAM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" machine instructions to perform a process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AssetTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AssetTypeEnum.cs new file mode 100644 index 00000000..f951f78e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AssetTypeEnum.cs @@ -0,0 +1,401 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v2.1 + /// + /// + [Obsolete("Deprecated in v2.1 according to https://model.mtconnect.org/#_Version_2.1")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum AssetTypeEnum + { + /// CuttingTool Asset type.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v2.1 + /// + /// + [Obsolete("Deprecated in v2.1 according to https://model.mtconnect.org/#_Version_2.1")] + + CUTTINGTOOL, + /// File Asset type.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v2.1 + /// + /// + [Obsolete("Deprecated in v2.1 according to https://model.mtconnect.org/#_Version_2.1")] + + FILE, + /// QIFDocumentWrapper Asset type.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v2.1 + /// + /// + [Obsolete("Deprecated in v2.1 according to https://model.mtconnect.org/#_Version_2.1")] + + QIFDOCUMENTWRAPPER, + /// RawMaterial Asset type.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v2.1 + /// + /// + [Obsolete("Deprecated in v2.1 according to https://model.mtconnect.org/#_Version_2.1")] + + RAWMATERIAL, + ///  + /// + /// + /// + /// Introduced: v1.2 + /// Deprecated: v2.1 + /// + /// + [Obsolete("Deprecated in v2.1 according to https://model.mtconnect.org/#_Version_2.1")] + + CUTTINGTOOLARCHETYPE, + ///  + /// + /// + /// + /// Introduced: v1.2 + /// Deprecated: v2.1 + /// + /// + [Obsolete("Deprecated in v2.1 according to https://model.mtconnect.org/#_Version_2.1")] + + FILEARCHETYPE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AssetTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1612349180903_336283_32"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1612349180903_336283_32"; + /// Constant value for + public const string NAME = "AssetTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = "2.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(AssetTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + CuttingTool, + File, + QIFDocumentWrapper, + RawMaterial, + CuttingToolArchetype, + FileArchetype, + }; + + private CuttingToolValue _CuttingTool; + /// + public CuttingToolValue CuttingTool => _CuttingTool ?? (_CuttingTool = new CuttingToolValue()); + + /// CuttingTool Asset type.


+ /// Value for AssetTypeEnum.
+ ///
See also AssetTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v2.1 + /// + /// + [Obsolete("Deprecated in v2.1 according to https://model.mtconnect.org/#_Version_2.1")] + + public sealed class CuttingToolValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CuttingTool"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(CuttingTool)}} {{block(Asset)}} type. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FileValue _File; + /// + public FileValue File => _File ?? (_File = new FileValue()); + + /// File Asset type.


+ /// Value for AssetTypeEnum.
+ ///
See also AssetTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v2.1 + /// + /// + [Obsolete("Deprecated in v2.1 according to https://model.mtconnect.org/#_Version_2.1")] + + public sealed class FileValue : IEnumInstance + { + /// Constant value for + public const string NAME = "File"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(File)}} {{block(Asset)}} type. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private QIFDocumentWrapperValue _QIFDocumentWrapper; + /// + public QIFDocumentWrapperValue QIFDocumentWrapper => _QIFDocumentWrapper ?? (_QIFDocumentWrapper = new QIFDocumentWrapperValue()); + + /// QIFDocumentWrapper Asset type.


+ /// Value for AssetTypeEnum.
+ ///
See also AssetTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v2.1 + /// + /// + [Obsolete("Deprecated in v2.1 according to https://model.mtconnect.org/#_Version_2.1")] + + public sealed class QIFDocumentWrapperValue : IEnumInstance + { + /// Constant value for + public const string NAME = "QIFDocumentWrapper"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(QIFDocumentWrapper)}} {{block(Asset)}} type. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RawMaterialValue _RawMaterial; + /// + public RawMaterialValue RawMaterial => _RawMaterial ?? (_RawMaterial = new RawMaterialValue()); + + /// RawMaterial Asset type.


+ /// Value for AssetTypeEnum.
+ ///
See also AssetTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v2.1 + /// + /// + [Obsolete("Deprecated in v2.1 according to https://model.mtconnect.org/#_Version_2.1")] + + public sealed class RawMaterialValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RawMaterial"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(RawMaterial)}} {{block(Asset)}} type. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CuttingToolArchetypeValue _CuttingToolArchetype; + /// + public CuttingToolArchetypeValue CuttingToolArchetype => _CuttingToolArchetype ?? (_CuttingToolArchetype = new CuttingToolArchetypeValue()); + + ///  + /// Value for AssetTypeEnum.
+ ///
See also AssetTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v2.1 + /// + /// + [Obsolete("Deprecated in v2.1 according to https://model.mtconnect.org/#_Version_2.1")] + + public sealed class CuttingToolArchetypeValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CuttingToolArchetype"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FileArchetypeValue _FileArchetype; + /// + public FileArchetypeValue FileArchetype => _FileArchetype ?? (_FileArchetype = new FileArchetypeValue()); + + ///  + /// Value for AssetTypeEnum.
+ ///
See also AssetTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// Deprecated: v2.1 + /// + /// + [Obsolete("Deprecated in v2.1 according to https://model.mtconnect.org/#_Version_2.1")] + + public sealed class FileArchetypeValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FileArchetype"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AvailabilityEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AvailabilityEnum.cs new file mode 100644 index 00000000..cc09d37b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AvailabilityEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum AvailabilityEnum + { + /// data source is active and capable of providing data.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + AVAILABLE, + /// data source is either inactive or not capable of providing data.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + UNAVAILABLE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AvailabilityEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417656_729564_2870"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417656_729564_2870"; + /// Constant value for + public const string NAME = "AvailabilityEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(AvailabilityEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + AVAILABLE, + UNAVAILABLE, + }; + + private AVAILABLEValue _AVAILABLE; + /// + public AVAILABLEValue AVAILABLE => _AVAILABLE ?? (_AVAILABLE = new AVAILABLEValue()); + + /// data source is active and capable of providing data.


+ /// Value for AvailabilityEnum.
+ ///
See also AvailabilityEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class AVAILABLEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AVAILABLE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" data source is active and capable of providing data. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNAVAILABLEValue _UNAVAILABLE; + /// + public UNAVAILABLEValue UNAVAILABLE => _UNAVAILABLE ?? (_UNAVAILABLE = new UNAVAILABLEValue()); + + /// data source is either inactive or not capable of providing data.


+ /// Value for AvailabilityEnum.
+ ///
See also AvailabilityEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class UNAVAILABLEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNAVAILABLE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" data source is either inactive or not capable of providing data. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AxisCouplingEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AxisCouplingEnum.cs new file mode 100644 index 00000000..88f21b8b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AxisCouplingEnum.cs @@ -0,0 +1,275 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum AxisCouplingEnum + { + /// axes are physically connected to each other and operate as a single unit.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + TANDEM, + /// axes are not physically connected to each other but are operating together in lockstep.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + SYNCHRONOUS, + /// axis is the master of the CoupledAxes.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + MASTER, + /// axis is a slave to the CoupledAxes.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + SLAVE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisCouplingEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417657_726565_2871"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417657_726565_2871"; + /// Constant value for + public const string NAME = "AxisCouplingEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(AxisCouplingEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + TANDEM, + SYNCHRONOUS, + MASTER, + SLAVE, + }; + + private TANDEMValue _TANDEM; + /// + public TANDEMValue TANDEM => _TANDEM ?? (_TANDEM = new TANDEMValue()); + + /// axes are physically connected to each other and operate as a single unit.


+ /// Value for AxisCouplingEnum.
+ ///
See also AxisCouplingEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class TANDEMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TANDEM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axes are physically connected to each other and operate as a single unit. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SYNCHRONOUSValue _SYNCHRONOUS; + /// + public SYNCHRONOUSValue SYNCHRONOUS => _SYNCHRONOUS ?? (_SYNCHRONOUS = new SYNCHRONOUSValue()); + + /// axes are not physically connected to each other but are operating together in lockstep.


+ /// Value for AxisCouplingEnum.
+ ///
See also AxisCouplingEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class SYNCHRONOUSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SYNCHRONOUS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axes are not physically connected to each other but are operating together in lockstep. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MASTERValue _MASTER; + /// + public MASTERValue MASTER => _MASTER ?? (_MASTER = new MASTERValue()); + + /// axis is the master of the CoupledAxes.


+ /// Value for AxisCouplingEnum.
+ ///
See also AxisCouplingEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class MASTERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MASTER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axis is the master of the {{block(CoupledAxes)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SLAVEValue _SLAVE; + /// + public SLAVEValue SLAVE => _SLAVE ?? (_SLAVE = new SLAVEValue()); + + /// axis is a slave to the CoupledAxes.


+ /// Value for AxisCouplingEnum.
+ ///
See also AxisCouplingEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class SLAVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SLAVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axis is a slave to the {{block(CoupledAxes)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AxisInterlockEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AxisInterlockEnum.cs new file mode 100644 index 00000000..90433b4b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AxisInterlockEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum AxisInterlockEnum + { + /// axis lockout function is activated, power has been removed from the axis, and the axis is allowed to move freely.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + ACTIVE, + /// axis lockout function has not been activated, the axis may be powered, and the axis is capable of being controlled by another component.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + INACTIVE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisInterlockEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1632486691907_586773_73"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1632486691907_586773_73"; + /// Constant value for + public const string NAME = "AxisInterlockEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(AxisInterlockEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ACTIVE, + INACTIVE, + }; + + private ACTIVEValue _ACTIVE; + /// + public ACTIVEValue ACTIVE => _ACTIVE ?? (_ACTIVE = new ACTIVEValue()); + + /// axis lockout function is activated, power has been removed from the axis, and the axis is allowed to move freely.


+ /// Value for AxisInterlockEnum.
+ ///
See also AxisInterlockEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class ACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axis lockout function is activated, power has been removed from the axis, and the axis is allowed to move freely. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INACTIVEValue _INACTIVE; + /// + public INACTIVEValue INACTIVE => _INACTIVE ?? (_INACTIVE = new INACTIVEValue()); + + /// axis lockout function has not been activated, the axis may be powered, and the axis is capable of being controlled by another component.


+ /// Value for AxisInterlockEnum.
+ ///
See also AxisInterlockEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class INACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axis lockout function has not been activated, the axis may be powered, and the axis is capable of being controlled by another component. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AxisStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AxisStateEnum.cs new file mode 100644 index 00000000..d7a52697 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/AxisStateEnum.cs @@ -0,0 +1,277 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum AxisStateEnum + { + /// axis is in its home position.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + HOME, + /// axis is in motion.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + TRAVEL, + /// axis has been moved to a fixed position and is being maintained in that position either electrically or mechanically.

Action is required to release the axis from this position.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + PARKED, + /// axis is stopped.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + STOPPED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class AxisStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417658_841501_2872"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417658_841501_2872"; + /// Constant value for + public const string NAME = "AxisStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(AxisStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + HOME, + TRAVEL, + PARKED, + STOPPED, + }; + + private HOMEValue _HOME; + /// + public HOMEValue HOME => _HOME ?? (_HOME = new HOMEValue()); + + /// axis is in its home position.


+ /// Value for AxisStateEnum.
+ ///
See also AxisStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class HOMEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HOME"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axis is in its home position. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TRAVELValue _TRAVEL; + /// + public TRAVELValue TRAVEL => _TRAVEL ?? (_TRAVEL = new TRAVELValue()); + + /// axis is in motion.


+ /// Value for AxisStateEnum.
+ ///
See also AxisStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class TRAVELValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TRAVEL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axis is in motion. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PARKEDValue _PARKED; + /// + public PARKEDValue PARKED => _PARKED ?? (_PARKED = new PARKEDValue()); + + /// axis has been moved to a fixed position and is being maintained in that position either electrically or mechanically.

Action is required to release the axis from this position.


+ /// Value for AxisStateEnum.
+ ///
See also AxisStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class PARKEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PARKED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axis has been moved to a fixed position and is being maintained in that position either electrically or mechanically. + +Action is required to release the axis from this position. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STOPPEDValue _STOPPED; + /// + public STOPPEDValue STOPPED => _STOPPED ?? (_STOPPED = new STOPPEDValue()); + + /// axis is stopped.


+ /// Value for AxisStateEnum.
+ ///
See also AxisStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class STOPPEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STOPPED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axis is stopped. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/BatteryStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/BatteryStateEnum.cs new file mode 100644 index 00000000..b01432c2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/BatteryStateEnum.cs @@ -0,0 +1,275 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum BatteryStateEnum + { + /// Component is at it's maximum rated charge level.


+ ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + CHARGED, + /// Component's charge is increasing.


+ ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + CHARGING, + /// Component's charge is decreasing.


+ ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + DISCHARGING, + /// Component is at it's minimum charge level.


+ ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + DISCHARGED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class BatteryStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1660318869483_263921_172"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1660318869483_263921_172"; + /// Constant value for + public const string NAME = "BatteryStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(BatteryStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + CHARGED, + CHARGING, + DISCHARGING, + DISCHARGED, + }; + + private CHARGEDValue _CHARGED; + /// + public CHARGEDValue CHARGED => _CHARGED ?? (_CHARGED = new CHARGEDValue()); + + /// Component is at it's maximum rated charge level.


+ /// Value for BatteryStateEnum.
+ ///
See also BatteryStateEnum + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + public sealed class CHARGEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CHARGED"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} is at it's maximum rated charge level. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CHARGINGValue _CHARGING; + /// + public CHARGINGValue CHARGING => _CHARGING ?? (_CHARGING = new CHARGINGValue()); + + /// Component's charge is increasing.


+ /// Value for BatteryStateEnum.
+ ///
See also BatteryStateEnum + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + public sealed class CHARGINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CHARGING"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}}'s charge is increasing. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DISCHARGINGValue _DISCHARGING; + /// + public DISCHARGINGValue DISCHARGING => _DISCHARGING ?? (_DISCHARGING = new DISCHARGINGValue()); + + /// Component's charge is decreasing.


+ /// Value for BatteryStateEnum.
+ ///
See also BatteryStateEnum + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + public sealed class DISCHARGINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DISCHARGING"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}}'s charge is decreasing. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DISCHARGEDValue _DISCHARGED; + /// + public DISCHARGEDValue DISCHARGED => _DISCHARGED ?? (_DISCHARGED = new DISCHARGEDValue()); + + /// Component is at it's minimum charge level.


+ /// Value for BatteryStateEnum.
+ ///
See also BatteryStateEnum + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + public sealed class DISCHARGEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DISCHARGED"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} is at it's minimum charge level. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CategoryEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CategoryEnum.cs new file mode 100644 index 00000000..86536e9c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CategoryEnum.cs @@ -0,0 +1,226 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CategoryEnum + { + /// continuously variable or analog data value.

A continuous value can be measured at any point-in-time and will always produce a result.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SAMPLE, + /// discrete piece of information from the piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + EVENT, + /// information about the health of a piece of equipment and its ability to function.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CONDITION, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CategoryEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1579277872728_249968_3735"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_91b028d_1579277872728_249968_3735"; + /// Constant value for + public const string NAME = "CategoryEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CategoryEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + SAMPLE, + EVENT, + CONDITION, + }; + + private SAMPLEValue _SAMPLE; + /// + public SAMPLEValue SAMPLE => _SAMPLE ?? (_SAMPLE = new SAMPLEValue()); + + /// continuously variable or analog data value.

A continuous value can be measured at any point-in-time and will always produce a result.


+ /// Value for CategoryEnum.
+ ///
See also CategoryEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SAMPLEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SAMPLE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" continuously variable or analog data value. + +A continuous value can be measured at any point-in-time and will always produce a result. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private EVENTValue _EVENT; + /// + public EVENTValue EVENT => _EVENT ?? (_EVENT = new EVENTValue()); + + /// discrete piece of information from the piece of equipment.


+ /// Value for CategoryEnum.
+ ///
See also CategoryEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class EVENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EVENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" discrete piece of information from the piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CONDITIONValue _CONDITION; + /// + public CONDITIONValue CONDITION => _CONDITION ?? (_CONDITION = new CONDITIONValue()); + + /// information about the health of a piece of equipment and its ability to function.


+ /// Value for CategoryEnum.
+ ///
See also CategoryEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CONDITIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONDITION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" information about the health of a piece of equipment and its ability to function. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CharacteristicStatusEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CharacteristicStatusEnum.cs new file mode 100644 index 00000000..e9ebc354 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CharacteristicStatusEnum.cs @@ -0,0 +1,479 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CharacteristicStatusEnum + { + /// measurement is within acceptable tolerances.


+ ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + PASS, + /// measurement is not within acceptable tolerances.


+ ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + FAIL, + /// failed, but acceptable constraints achievable by utilizing additional manufacturing processes.


+ ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + REWORK, + /// measurement is indeterminate due to an equipment failure.


+ ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + SYSTEM_ERROR, + /// measurement cannot be determined.


+ ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + INDETERMINATE, + /// measurement cannot be evaluated.


+ ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + NOT_ANALYZED, + /// nominal provided without tolerance limits. QIF 3:2018 5.10.2.6


+ ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + BASIC_OR_THEORETIC_EXACT_DIMENSION, + /// status of measurement cannot be determined.


+ ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + UNDEFINED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CharacteristicStatusEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678195723846_572772_17405"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1678195723846_572772_17405"; + /// Constant value for + public const string NAME = "CharacteristicStatusEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CharacteristicStatusEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + PASS, + FAIL, + REWORK, + SYSTEM_ERROR, + INDETERMINATE, + NOT_ANALYZED, + BASIC_OR_THEORETIC_EXACT_DIMENSION, + UNDEFINED, + }; + + private PASSValue _PASS; + /// + public PASSValue PASS => _PASS ?? (_PASS = new PASSValue()); + + /// measurement is within acceptable tolerances.


+ /// Value for CharacteristicStatusEnum.
+ ///
See also CharacteristicStatusEnum + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + public sealed class PASSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PASS"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement is within acceptable tolerances. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FAILValue _FAIL; + /// + public FAILValue FAIL => _FAIL ?? (_FAIL = new FAILValue()); + + /// measurement is not within acceptable tolerances.


+ /// Value for CharacteristicStatusEnum.
+ ///
See also CharacteristicStatusEnum + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + public sealed class FAILValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FAIL"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement is not within acceptable tolerances. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private REWORKValue _REWORK; + /// + public REWORKValue REWORK => _REWORK ?? (_REWORK = new REWORKValue()); + + /// failed, but acceptable constraints achievable by utilizing additional manufacturing processes.


+ /// Value for CharacteristicStatusEnum.
+ ///
See also CharacteristicStatusEnum + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + public sealed class REWORKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "REWORK"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" failed, but acceptable constraints achievable by utilizing additional manufacturing processes. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SYSTEM_ERRORValue _SYSTEM_ERROR; + /// + public SYSTEM_ERRORValue SYSTEM_ERROR => _SYSTEM_ERROR ?? (_SYSTEM_ERROR = new SYSTEM_ERRORValue()); + + /// measurement is indeterminate due to an equipment failure.


+ /// Value for CharacteristicStatusEnum.
+ ///
See also CharacteristicStatusEnum + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + public sealed class SYSTEM_ERRORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SYSTEM_ERROR"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement is indeterminate due to an equipment failure. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INDETERMINATEValue _INDETERMINATE; + /// + public INDETERMINATEValue INDETERMINATE => _INDETERMINATE ?? (_INDETERMINATE = new INDETERMINATEValue()); + + /// measurement cannot be determined.


+ /// Value for CharacteristicStatusEnum.
+ ///
See also CharacteristicStatusEnum + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + public sealed class INDETERMINATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INDETERMINATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement cannot be determined. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NOT_ANALYZEDValue _NOT_ANALYZED; + /// + public NOT_ANALYZEDValue NOT_ANALYZED => _NOT_ANALYZED ?? (_NOT_ANALYZED = new NOT_ANALYZEDValue()); + + /// measurement cannot be evaluated.


+ /// Value for CharacteristicStatusEnum.
+ ///
See also CharacteristicStatusEnum + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + public sealed class NOT_ANALYZEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NOT_ANALYZED"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement cannot be evaluated. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BASIC_OR_THEORETIC_EXACT_DIMENSIONValue _BASIC_OR_THEORETIC_EXACT_DIMENSION; + /// + public BASIC_OR_THEORETIC_EXACT_DIMENSIONValue BASIC_OR_THEORETIC_EXACT_DIMENSION => _BASIC_OR_THEORETIC_EXACT_DIMENSION ?? (_BASIC_OR_THEORETIC_EXACT_DIMENSION = new BASIC_OR_THEORETIC_EXACT_DIMENSIONValue()); + + /// nominal provided without tolerance limits. QIF 3:2018 5.10.2.6


+ /// Value for CharacteristicStatusEnum.
+ ///
See also CharacteristicStatusEnum + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + public sealed class BASIC_OR_THEORETIC_EXACT_DIMENSIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BASIC_OR_THEORETIC_EXACT_DIMENSION"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" nominal provided without tolerance limits. {{cite(QIF 3:2018 5.10.2.6)}} +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNDEFINEDValue _UNDEFINED; + /// + public UNDEFINEDValue UNDEFINED => _UNDEFINED ?? (_UNDEFINED = new UNDEFINEDValue()); + + /// status of measurement cannot be determined.


+ /// Value for CharacteristicStatusEnum.
+ ///
See also CharacteristicStatusEnum + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + public sealed class UNDEFINEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNDEFINED"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" status of measurement cannot be determined. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ChuckInterlockEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ChuckInterlockEnum.cs new file mode 100644 index 00000000..663a91cd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ChuckInterlockEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ChuckInterlockEnum + { + /// chuck cannot be unclamped.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + ACTIVE, + /// chuck can be unclamped.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + INACTIVE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChuckInterlockEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1632486692761_582059_81"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1632486692761_582059_81"; + /// Constant value for + public const string NAME = "ChuckInterlockEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ChuckInterlockEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ACTIVE, + INACTIVE, + }; + + private ACTIVEValue _ACTIVE; + /// + public ACTIVEValue ACTIVE => _ACTIVE ?? (_ACTIVE = new ACTIVEValue()); + + /// chuck cannot be unclamped.


+ /// Value for ChuckInterlockEnum.
+ ///
See also ChuckInterlockEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class ACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" chuck cannot be unclamped. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INACTIVEValue _INACTIVE; + /// + public INACTIVEValue INACTIVE => _INACTIVE ?? (_INACTIVE = new INACTIVEValue()); + + /// chuck can be unclamped.


+ /// Value for ChuckInterlockEnum.
+ ///
See also ChuckInterlockEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class INACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" chuck can be unclamped. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ChuckStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ChuckStateEnum.cs new file mode 100644 index 00000000..a3e8fa28 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ChuckStateEnum.cs @@ -0,0 +1,226 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ChuckStateEnum + { + /// Chuck is open to the point of a positive confirmation.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + OPEN, + /// Chuck is closed to the point of a positive confirmation.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + CLOSED, + /// Chuck is not closed to the point of a positive confirmation and not open to the point of a positive confirmation.

It is in an intermediate position.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + UNLATCHED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ChuckStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417659_742691_2873"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417659_742691_2873"; + /// Constant value for + public const string NAME = "ChuckStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ChuckStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + OPEN, + CLOSED, + UNLATCHED, + }; + + private OPENValue _OPEN; + /// + public OPENValue OPEN => _OPEN ?? (_OPEN = new OPENValue()); + + /// Chuck is open to the point of a positive confirmation.


+ /// Value for ChuckStateEnum.
+ ///
See also ChuckStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class OPENValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPEN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Chuck)}} is open to the point of a positive confirmation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CLOSEDValue _CLOSED; + /// + public CLOSEDValue CLOSED => _CLOSED ?? (_CLOSED = new CLOSEDValue()); + + /// Chuck is closed to the point of a positive confirmation.


+ /// Value for ChuckStateEnum.
+ ///
See also ChuckStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class CLOSEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CLOSED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Chuck)}} is closed to the point of a positive confirmation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNLATCHEDValue _UNLATCHED; + /// + public UNLATCHEDValue UNLATCHED => _UNLATCHED ?? (_UNLATCHED = new UNLATCHEDValue()); + + /// Chuck is not closed to the point of a positive confirmation and not open to the point of a positive confirmation.

It is in an intermediate position.


+ /// Value for ChuckStateEnum.
+ ///
See also ChuckStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class UNLATCHEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNLATCHED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Chuck)}} is not closed to the point of a positive confirmation and not open to the point of a positive confirmation. + +It is in an intermediate position. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CodeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CodeEnum.cs new file mode 100644 index 00000000..2e726b1e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CodeEnum.cs @@ -0,0 +1,1713 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CodeEnum + { + /// largest diameter of the body of a tool item.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + BDX, + /// distance measured along the X axis from that point of the item closest to the workpiece, including the cutting item for a tool item but excluding a protruding locking mechanism for an adaptive item, to either the front of the flange on a flanged body or the beginning of the connection interface feature on the machine side for cylindrical or prismatic shanks.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + LBX, + /// maximum engagement of the cutting edge or edges with the workpiece measured perpendicular to the feed motion.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + APMX, + /// maximum diameter of a circle on which the defined point Pk of each of the master inserts is located on a tool item. The normal of the machined peripheral surface points towards the axis of the cutting tool.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + DC, + /// dimension between two parallel tangents on the outside edge of a flange.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + DF, + /// largest length dimension of the cutting tool including the master insert where applicable.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + OAL, + /// dimension of the diameter of a cylindrical portion of a tool item or an adaptive item that can participate in a connection.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + DMM, + /// dimension of the height of the shank.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + H, + /// dimension of the length of the shank.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + LS, + /// maximum length of a cutting tool that can be used in a particular cutting operation including the non-cutting portions of the tool.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + LUX, + /// dimension from the yz-plane to the furthest point of the tool item or adaptive item measured in the -X direction.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + LPR, + /// total weight of the cutting tool in grams.

The force exerted by the mass of the cutting tool.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + WT, + /// distance from the gauge plane or from the end of the shank to the furthest point on the tool, if a gauge plane does not exist, to the cutting reference point determined by the main function of the tool.

The CuttingTool functional length will be the length of the entire tool, not a single cutting item. Each CuttingItem can have an independent FunctionalLength represented in its measurements.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + LF, + /// theoretical sharp point of the cutting tool from which the major functional dimensions are taken.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + CRP, + /// theoretical length of the cutting edge of a cutting item over sharp corners.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + L, + /// angle between the driving mechanism locator on a tool item and the main cutting edge.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + DRVA, + /// distance between the cutting reference point and the rear backing surface of a turning tool or the axis of a boring bar.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + WF, + /// diameter of a circle to which all edges of a equilateral and round regular insert are tangential.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + IC, + /// angle between the major cutting edge and the same cutting edge rotated by 180 degrees about the tool axis.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + SIG, + /// angle between the tool cutting edge plane and the tool feed plane measured in a plane parallel the xy-plane.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + KAPR, + /// angle between the tool cutting edge plane and a plane perpendicular to the tool feed plane measured in a plane parallel the xy-plane.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + PSIR, + /// angle of the tool with respect to the workpiece for a given process.

The value is application specific.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + N_PER_A, + /// measure of the length of a wiper edge of a cutting item.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + BS, + /// length of a portion of a stepped tool that is related to a corresponding cutting diameter measured from the cutting reference point of that cutting diameter to the point on the next cutting edge at which the diameter starts to change.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + SDLX, + /// angle between a major edge on a step of a stepped tool and the same cutting edge rotated 180 degrees about its tool axis.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + STAX, + /// diameter of a circle on which the defined point Pk located on this cutting tool.

The normal of the machined peripheral surface points towards the axis of the cutting tool.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + DCX, + /// distance from the basal plane of the tool item to the cutting point.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + HF, + /// nominal radius of a rounded corner measured in the X Y-plane.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + RE, + /// distance from the gauge plane or from the end of the shank of the cutting tool, if a gauge plane does not exist, to the cutting reference point determined by the main function of the tool.

This measurement will be with reference to the cutting tool and MUST NOT exist without a cutting tool.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + LFX, + /// flat length of a chamfer.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + BCH, + /// width of the chamfer.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + CHW, + /// insert width when an inscribed circle diameter is not practical.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + W1, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CodeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919522403_926879_1581"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1582919522403_926879_1581"; + /// Constant value for + public const string NAME = "CodeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CodeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + BDX, + LBX, + APMX, + DC, + DF, + OAL, + DMM, + H, + LS, + LUX, + LPR, + WT, + LF, + CRP, + L, + DRVA, + WF, + IC, + SIG, + KAPR, + PSIR, + N_PER_A, + BS, + SDLx, + STAx, + DCx, + HF, + RE, + LFx, + BCH, + CHW, + W1, + }; + + private BDXValue _BDX; + /// + public BDXValue BDX => _BDX ?? (_BDX = new BDXValue()); + + /// largest diameter of the body of a tool item.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class BDXValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BDX"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" largest diameter of the body of a tool item. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LBXValue _LBX; + /// + public LBXValue LBX => _LBX ?? (_LBX = new LBXValue()); + + /// distance measured along the X axis from that point of the item closest to the workpiece, including the cutting item for a tool item but excluding a protruding locking mechanism for an adaptive item, to either the front of the flange on a flanged body or the beginning of the connection interface feature on the machine side for cylindrical or prismatic shanks.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class LBXValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LBX"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" distance measured along the X axis from that point of the item closest to the workpiece, including the cutting item for a tool item but excluding a protruding locking mechanism for an adaptive item, to either the front of the flange on a flanged body or the beginning of the connection interface feature on the machine side for cylindrical or prismatic shanks. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private APMXValue _APMX; + /// + public APMXValue APMX => _APMX ?? (_APMX = new APMXValue()); + + /// maximum engagement of the cutting edge or edges with the workpiece measured perpendicular to the feed motion.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class APMXValue : IEnumInstance + { + /// Constant value for + public const string NAME = "APMX"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" maximum engagement of the cutting edge or edges with the workpiece measured perpendicular to the feed motion. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DCValue _DC; + /// + public DCValue DC => _DC ?? (_DC = new DCValue()); + + /// maximum diameter of a circle on which the defined point Pk of each of the master inserts is located on a tool item. The normal of the machined peripheral surface points towards the axis of the cutting tool.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class DCValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DC"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" maximum diameter of a circle on which the defined point Pk of each of the master inserts is located on a tool item. The normal of the machined peripheral surface points towards the axis of the cutting tool. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DFValue _DF; + /// + public DFValue DF => _DF ?? (_DF = new DFValue()); + + /// dimension between two parallel tangents on the outside edge of a flange.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class DFValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DF"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" dimension between two parallel tangents on the outside edge of a flange. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OALValue _OAL; + /// + public OALValue OAL => _OAL ?? (_OAL = new OALValue()); + + /// largest length dimension of the cutting tool including the master insert where applicable.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class OALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" largest length dimension of the cutting tool including the master insert where applicable. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DMMValue _DMM; + /// + public DMMValue DMM => _DMM ?? (_DMM = new DMMValue()); + + /// dimension of the diameter of a cylindrical portion of a tool item or an adaptive item that can participate in a connection.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class DMMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DMM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" dimension of the diameter of a cylindrical portion of a tool item or an adaptive item that can participate in a connection. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private HValue _H; + /// + public HValue H => _H ?? (_H = new HValue()); + + /// dimension of the height of the shank.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class HValue : IEnumInstance + { + /// Constant value for + public const string NAME = "H"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" dimension of the height of the shank. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LSValue _LS; + /// + public LSValue LS => _LS ?? (_LS = new LSValue()); + + /// dimension of the length of the shank.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class LSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" dimension of the length of the shank. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LUXValue _LUX; + /// + public LUXValue LUX => _LUX ?? (_LUX = new LUXValue()); + + /// maximum length of a cutting tool that can be used in a particular cutting operation including the non-cutting portions of the tool.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class LUXValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LUX"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" maximum length of a cutting tool that can be used in a particular cutting operation including the non-cutting portions of the tool. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LPRValue _LPR; + /// + public LPRValue LPR => _LPR ?? (_LPR = new LPRValue()); + + /// dimension from the yz-plane to the furthest point of the tool item or adaptive item measured in the -X direction.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class LPRValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LPR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" dimension from the yz-plane to the furthest point of the tool item or adaptive item measured in the -X direction. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WTValue _WT; + /// + public WTValue WT => _WT ?? (_WT = new WTValue()); + + /// total weight of the cutting tool in grams.

The force exerted by the mass of the cutting tool.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class WTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" total weight of the cutting tool in grams. + +The force exerted by the mass of the cutting tool. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LFValue _LF; + /// + public LFValue LF => _LF ?? (_LF = new LFValue()); + + /// distance from the gauge plane or from the end of the shank to the furthest point on the tool, if a gauge plane does not exist, to the cutting reference point determined by the main function of the tool.

The CuttingTool functional length will be the length of the entire tool, not a single cutting item. Each CuttingItem can have an independent FunctionalLength represented in its measurements.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class LFValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LF"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" distance from the gauge plane or from the end of the shank to the furthest point on the tool, if a gauge plane does not exist, to the cutting reference point determined by the main function of the tool. + +The {{block(CuttingTool)}} functional length will be the length of the entire tool, not a single cutting item. Each {{block(CuttingItem)}} can have an independent {{block(FunctionalLength)}} represented in its measurements. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CRPValue _CRP; + /// + public CRPValue CRP => _CRP ?? (_CRP = new CRPValue()); + + /// theoretical sharp point of the cutting tool from which the major functional dimensions are taken.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class CRPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CRP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" theoretical sharp point of the cutting tool from which the major functional dimensions are taken. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LValue _L; + /// + public LValue L => _L ?? (_L = new LValue()); + + /// theoretical length of the cutting edge of a cutting item over sharp corners.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class LValue : IEnumInstance + { + /// Constant value for + public const string NAME = "L"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" theoretical length of the cutting edge of a cutting item over sharp corners. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DRVAValue _DRVA; + /// + public DRVAValue DRVA => _DRVA ?? (_DRVA = new DRVAValue()); + + /// angle between the driving mechanism locator on a tool item and the main cutting edge.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class DRVAValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DRVA"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angle between the driving mechanism locator on a tool item and the main cutting edge. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WFValue _WF; + /// + public WFValue WF => _WF ?? (_WF = new WFValue()); + + /// distance between the cutting reference point and the rear backing surface of a turning tool or the axis of a boring bar.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class WFValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WF"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" distance between the cutting reference point and the rear backing surface of a turning tool or the axis of a boring bar. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ICValue _IC; + /// + public ICValue IC => _IC ?? (_IC = new ICValue()); + + /// diameter of a circle to which all edges of a equilateral and round regular insert are tangential.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class ICValue : IEnumInstance + { + /// Constant value for + public const string NAME = "IC"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" diameter of a circle to which all edges of a equilateral and round regular insert are tangential. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SIGValue _SIG; + /// + public SIGValue SIG => _SIG ?? (_SIG = new SIGValue()); + + /// angle between the major cutting edge and the same cutting edge rotated by 180 degrees about the tool axis.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class SIGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SIG"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angle between the major cutting edge and the same cutting edge rotated by 180 degrees about the tool axis. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private KAPRValue _KAPR; + /// + public KAPRValue KAPR => _KAPR ?? (_KAPR = new KAPRValue()); + + /// angle between the tool cutting edge plane and the tool feed plane measured in a plane parallel the xy-plane.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class KAPRValue : IEnumInstance + { + /// Constant value for + public const string NAME = "KAPR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angle between the tool cutting edge plane and the tool feed plane measured in a plane parallel the xy-plane. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PSIRValue _PSIR; + /// + public PSIRValue PSIR => _PSIR ?? (_PSIR = new PSIRValue()); + + /// angle between the tool cutting edge plane and a plane perpendicular to the tool feed plane measured in a plane parallel the xy-plane.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class PSIRValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PSIR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angle between the tool cutting edge plane and a plane perpendicular to the tool feed plane measured in a plane parallel the xy-plane. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private N_PER_AValue _N_PER_A; + /// + public N_PER_AValue N_PER_A => _N_PER_A ?? (_N_PER_A = new N_PER_AValue()); + + /// angle of the tool with respect to the workpiece for a given process.

The value is application specific.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class N_PER_AValue : IEnumInstance + { + /// Constant value for + public const string NAME = "N/A"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angle of the tool with respect to the workpiece for a given process. + +The value is application specific. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BSValue _BS; + /// + public BSValue BS => _BS ?? (_BS = new BSValue()); + + /// measure of the length of a wiper edge of a cutting item.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class BSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measure of the length of a wiper edge of a cutting item. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SDLxValue _SDLx; + /// + public SDLxValue SDLx => _SDLx ?? (_SDLx = new SDLxValue()); + + /// length of a portion of a stepped tool that is related to a corresponding cutting diameter measured from the cutting reference point of that cutting diameter to the point on the next cutting edge at which the diameter starts to change.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class SDLxValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SDLx"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" length of a portion of a stepped tool that is related to a corresponding cutting diameter measured from the cutting reference point of that cutting diameter to the point on the next cutting edge at which the diameter starts to change. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STAxValue _STAx; + /// + public STAxValue STAx => _STAx ?? (_STAx = new STAxValue()); + + /// angle between a major edge on a step of a stepped tool and the same cutting edge rotated 180 degrees about its tool axis.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class STAxValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STAx"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angle between a major edge on a step of a stepped tool and the same cutting edge rotated 180 degrees about its tool axis. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DCxValue _DCx; + /// + public DCxValue DCx => _DCx ?? (_DCx = new DCxValue()); + + /// diameter of a circle on which the defined point Pk located on this cutting tool.

The normal of the machined peripheral surface points towards the axis of the cutting tool.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class DCxValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DCx"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" diameter of a circle on which the defined point Pk located on this cutting tool. + +The normal of the machined peripheral surface points towards the axis of the cutting tool. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private HFValue _HF; + /// + public HFValue HF => _HF ?? (_HF = new HFValue()); + + /// distance from the basal plane of the tool item to the cutting point.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class HFValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HF"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" distance from the basal plane of the tool item to the cutting point. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private REValue _RE; + /// + public REValue RE => _RE ?? (_RE = new REValue()); + + /// nominal radius of a rounded corner measured in the X Y-plane.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class REValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" nominal radius of a rounded corner measured in the X Y-plane. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LFxValue _LFx; + /// + public LFxValue LFx => _LFx ?? (_LFx = new LFxValue()); + + /// distance from the gauge plane or from the end of the shank of the cutting tool, if a gauge plane does not exist, to the cutting reference point determined by the main function of the tool.

This measurement will be with reference to the cutting tool and MUST NOT exist without a cutting tool.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class LFxValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LFx"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" distance from the gauge plane or from the end of the shank of the cutting tool, if a gauge plane does not exist, to the cutting reference point determined by the main function of the tool. + +This measurement will be with reference to the cutting tool and **MUST NOT** exist without a cutting tool. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BCHValue _BCH; + /// + public BCHValue BCH => _BCH ?? (_BCH = new BCHValue()); + + /// flat length of a chamfer.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class BCHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BCH"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" flat length of a chamfer. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CHWValue _CHW; + /// + public CHWValue CHW => _CHW ?? (_CHW = new CHWValue()); + + /// width of the chamfer.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class CHWValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CHW"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" width of the chamfer. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private W1Value _W1; + /// + public W1Value W1 => _W1 ?? (_W1 = new W1Value()); + + /// insert width when an inscribed circle diameter is not practical.


+ /// Value for CodeEnum.
+ ///
See also CodeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class W1Value : IEnumInstance + { + /// Constant value for + public const string NAME = "W1"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" insert width when an inscribed circle diameter is not practical. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateActionEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateActionEnum.cs new file mode 100644 index 00000000..ebbfe43f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateActionEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CompositionStateActionEnum + { + /// Composition is operating.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + ACTIVE, + /// Composition is not operating.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + INACTIVE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionStateActionEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1612550701661_755056_78"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1612550701661_755056_78"; + /// Constant value for + public const string NAME = "CompositionStateActionEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CompositionStateActionEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ACTIVE, + INACTIVE, + }; + + private ACTIVEValue _ACTIVE; + /// + public ACTIVEValue ACTIVE => _ACTIVE ?? (_ACTIVE = new ACTIVEValue()); + + /// Composition is operating.


+ /// Value for CompositionStateActionEnum.
+ ///
See also CompositionStateActionEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class ACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} is operating. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INACTIVEValue _INACTIVE; + /// + public INACTIVEValue INACTIVE => _INACTIVE ?? (_INACTIVE = new INACTIVEValue()); + + /// Composition is not operating.


+ /// Value for CompositionStateActionEnum.
+ ///
See also CompositionStateActionEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class INACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} is not operating. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateLateralEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateLateralEnum.cs new file mode 100644 index 00000000..6cd60a61 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateLateralEnum.cs @@ -0,0 +1,226 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CompositionStateLateralEnum + { + /// position of the Composition is oriented to the right to the point of a positive confirmation.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + RIGHT, + /// position of the Composition is oriented to the left to the point of a positive confirmation.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + LEFT, + /// position of the Composition is not oriented to the right to the point of a positive confirmation and is not oriented to the left to the point of a positive confirmation.

It is in an intermediate position.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + TRANSITIONING, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionStateLateralEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1612550806336_962403_162"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1612550806336_962403_162"; + /// Constant value for + public const string NAME = "CompositionStateLateralEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CompositionStateLateralEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + RIGHT, + LEFT, + TRANSITIONING, + }; + + private RIGHTValue _RIGHT; + /// + public RIGHTValue RIGHT => _RIGHT ?? (_RIGHT = new RIGHTValue()); + + /// position of the Composition is oriented to the right to the point of a positive confirmation.


+ /// Value for CompositionStateLateralEnum.
+ ///
See also CompositionStateLateralEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class RIGHTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RIGHT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" position of the {{block(Composition)}} is oriented to the right to the point of a positive confirmation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LEFTValue _LEFT; + /// + public LEFTValue LEFT => _LEFT ?? (_LEFT = new LEFTValue()); + + /// position of the Composition is oriented to the left to the point of a positive confirmation.


+ /// Value for CompositionStateLateralEnum.
+ ///
See also CompositionStateLateralEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class LEFTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LEFT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" position of the {{block(Composition)}} is oriented to the left to the point of a positive confirmation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TRANSITIONINGValue _TRANSITIONING; + /// + public TRANSITIONINGValue TRANSITIONING => _TRANSITIONING ?? (_TRANSITIONING = new TRANSITIONINGValue()); + + /// position of the Composition is not oriented to the right to the point of a positive confirmation and is not oriented to the left to the point of a positive confirmation.

It is in an intermediate position.


+ /// Value for CompositionStateLateralEnum.
+ ///
See also CompositionStateLateralEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class TRANSITIONINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TRANSITIONING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" position of the {{block(Composition)}} is not oriented to the right to the point of a positive confirmation and is not oriented to the left to the point of a positive confirmation. + +It is in an intermediate position. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateMotionEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateMotionEnum.cs new file mode 100644 index 00000000..44fbaad6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateMotionEnum.cs @@ -0,0 +1,227 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CompositionStateMotionEnum + { + /// position of the Composition is open to the point of a positive confirmation.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + OPEN, + /// position of the Composition is not open to the
point of a positive confirmation and is not closed to the point of a positive confirmation.

It is in an intermediate position.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + UNLATCHED, + /// position of the Composition is closed to the point of a positive confirmation.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + CLOSED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionStateMotionEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1612550811680_794757_187"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1612550811680_794757_187"; + /// Constant value for + public const string NAME = "CompositionStateMotionEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CompositionStateMotionEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + OPEN, + UNLATCHED, + CLOSED, + }; + + private OPENValue _OPEN; + /// + public OPENValue OPEN => _OPEN ?? (_OPEN = new OPENValue()); + + /// position of the Composition is open to the point of a positive confirmation.


+ /// Value for CompositionStateMotionEnum.
+ ///
See also CompositionStateMotionEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class OPENValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPEN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" position of the {{block(Composition)}} is open to the point of a positive confirmation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNLATCHEDValue _UNLATCHED; + /// + public UNLATCHEDValue UNLATCHED => _UNLATCHED ?? (_UNLATCHED = new UNLATCHEDValue()); + + /// position of the Composition is not open to the
point of a positive confirmation and is not closed to the point of a positive confirmation.

It is in an intermediate position.


+ /// Value for CompositionStateMotionEnum.
+ ///
See also CompositionStateMotionEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class UNLATCHEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNLATCHED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" position of the {{block(Composition)}} is not open to the +point of a positive confirmation and is not closed to the point of a positive confirmation. + +It is in an intermediate position. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CLOSEDValue _CLOSED; + /// + public CLOSEDValue CLOSED => _CLOSED ?? (_CLOSED = new CLOSEDValue()); + + /// position of the Composition is closed to the point of a positive confirmation.


+ /// Value for CompositionStateMotionEnum.
+ ///
See also CompositionStateMotionEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class CLOSEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CLOSED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" position of the {{block(Composition)}} is closed to the point of a positive confirmation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateSwitchedEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateSwitchedEnum.cs new file mode 100644 index 00000000..2a1c1e75 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateSwitchedEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CompositionStateSwitchedEnum + { + /// activation state of the Composition is in an ON condition, it is operating, or it is powered.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + ON, + /// activation state of the Composition is in an OFF condition, it is not operating, or it is not powered.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + OFF, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionStateSwitchedEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1612550781451_530503_112"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1612550781451_530503_112"; + /// Constant value for + public const string NAME = "CompositionStateSwitchedEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CompositionStateSwitchedEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ON, + OFF, + }; + + private ONValue _ON; + /// + public ONValue ON => _ON ?? (_ON = new ONValue()); + + /// activation state of the Composition is in an ON condition, it is operating, or it is powered.


+ /// Value for CompositionStateSwitchedEnum.
+ ///
See also CompositionStateSwitchedEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class ONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ON"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" activation state of the {{block(Composition)}} is in an `ON` condition, it is operating, or it is powered. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OFFValue _OFF; + /// + public OFFValue OFF => _OFF ?? (_OFF = new OFFValue()); + + /// activation state of the Composition is in an OFF condition, it is not operating, or it is not powered.


+ /// Value for CompositionStateSwitchedEnum.
+ ///
See also CompositionStateSwitchedEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class OFFValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OFF"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" activation state of the {{block(Composition)}} is in an `OFF` condition, it is not operating, or it is not powered. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateVerticalEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateVerticalEnum.cs new file mode 100644 index 00000000..36964481 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionStateVerticalEnum.cs @@ -0,0 +1,226 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CompositionStateVerticalEnum + { + /// position of the Composition element is oriented in an upward direction to the point of a positive confirmation.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + UP, + /// position of the Composition element is oriented in a downward direction to the point of a positive confirmation.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + DOWN, + /// position of the Composition element is not oriented in an upward direction to the point of a positive confirmation and is not oriented in a downward direction to the point of a positive confirmation.

It is in an intermediate position.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + TRANSITIONING, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionStateVerticalEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1612550799197_550203_137"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1612550799197_550203_137"; + /// Constant value for + public const string NAME = "CompositionStateVerticalEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CompositionStateVerticalEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + UP, + DOWN, + TRANSITIONING, + }; + + private UPValue _UP; + /// + public UPValue UP => _UP ?? (_UP = new UPValue()); + + /// position of the Composition element is oriented in an upward direction to the point of a positive confirmation.


+ /// Value for CompositionStateVerticalEnum.
+ ///
See also CompositionStateVerticalEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class UPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" position of the {{block(Composition)}} element is oriented in an upward direction to the point of a positive confirmation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DOWNValue _DOWN; + /// + public DOWNValue DOWN => _DOWN ?? (_DOWN = new DOWNValue()); + + /// position of the Composition element is oriented in a downward direction to the point of a positive confirmation.


+ /// Value for CompositionStateVerticalEnum.
+ ///
See also CompositionStateVerticalEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class DOWNValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DOWN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" position of the {{block(Composition)}} element is oriented in a downward direction to the point of a positive confirmation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TRANSITIONINGValue _TRANSITIONING; + /// + public TRANSITIONINGValue TRANSITIONING => _TRANSITIONING ?? (_TRANSITIONING = new TRANSITIONINGValue()); + + /// position of the Composition element is not oriented in an upward direction to the point of a positive confirmation and is not oriented in a downward direction to the point of a positive confirmation.

It is in an intermediate position.


+ /// Value for CompositionStateVerticalEnum.
+ ///
See also CompositionStateVerticalEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class TRANSITIONINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TRANSITIONING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" position of the {{block(Composition)}} element is not oriented in an upward direction to the point of a positive confirmation and is not oriented in a downward direction to the point of a positive confirmation. + +It is in an intermediate position. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionTypeEnum.cs new file mode 100644 index 00000000..9e01a9cd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CompositionTypeEnum.cs @@ -0,0 +1,2674 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CompositionTypeEnum + { + /// Composition composed of a mechanism that moves or controls a mechanical part of a piece of equipment.

It takes energy usually provided by air, electric current, or liquid and converts the energy into some kind of motion.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + ACTUATOR, + /// Composition composed of an electronic component or circuit that amplifies power, electric current, or voltage.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + AMPLIFIER, + /// Composition composed of a mechanical structure that transforms rotary motion into linear motion.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + BALLSCREW, + /// Composition composed of an endless flexible band that transmits motion for a piece of equipment or conveys materials and objects.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + BELT, + /// Composition composed of a mechanism that slows down or stops a moving object by the absorption or transfer of the energy of momentum, usually by means of friction, electrical force, or magnetic force.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + BRAKE, + /// Composition composed of an interconnected series of objects that band together and transmit motion for a piece of equipment or to convey materials and objects.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + CHAIN, + /// Composition composed of a mechanism that breaks material into smaller pieces.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + CHOPPER, + /// Composition composed of a mechanism that holds a part, stock material, or any other item in place.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + CHUCK, + /// Composition composed of an inclined channel that conveys material.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + CHUTE, + /// Composition composed of a mechanism that interrupts an electric circuit.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + CIRCUIT_BREAKER, + /// Composition composed of a mechanism that strengthens, supports, or fastens objects in place.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + CLAMP, + /// Composition composed of a pump or other mechanism that reduces volume and increases pressure of gases in order to condense the gases to drive pneumatically powered pieces of equipment.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + COMPRESSOR, + /// Composition composed of a mechanical mechanism or closure that covers a physical access portal into a piece of equipment allowing or restricting access to other parts of the equipment.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + DOOR, + /// Composition composed of a mechanism that allows material to flow for the purpose of drainage from, for example, a vessel or tank.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + DRAIN, + /// Composition composed of a mechanism that measures rotary position.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + ENCODER, + /// Composition composed of a mechanism that emits a type of radiation.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + EXPOSURE_UNIT, + /// Composition composed of a mechanism that dispenses liquid or powered materials.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + EXTRUSION_UNIT, + /// Composition composed of a mechanism that produces a current of air.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + FAN, + /// Composition composed of a substance or structure that allows liquids or gases to pass through to remove suspended impurities or to recover solids.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + FILTER, + /// Composition composed of an electromechanical actuator that produces deflection of a beam of light or energy in response to electric current through its coil in a magnetic field.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + GALVANOMOTOR, + /// Composition composed of a mechanism that holds a part, stock material, or any other item in place.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + GRIPPER, + /// Composition composed of a chamber or bin that stores materials temporarily, typically being filled through the top and dispensed through the bottom.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + HOPPER, + /// Composition composed of a mechanism that measures linear motion or position.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + LINEAR_POSITION_FEEDBACK, + /// Composition composed of a mechanism that converts electrical, pneumatic, or hydraulic energy into mechanical energy.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + MOTOR, + /// Composition composed of a viscous liquid.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + OIL, + /// Composition composed of a unit that provides power to electric mechanisms.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + POWER_SUPPLY, + /// Composition composed of a mechanism or wheel that turns in a frame or block and serves to change the direction of or to transmit force.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + PULLEY, + /// Composition composed of an apparatus that raises, drives, exhausts, or compresses fluids or gases by means of a piston, plunger, or set of rotating vanes.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + PUMP, + /// Composition composed of a rotary storage unit for material.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + REEL, + /// Composition composed of a mechanism that provides a signal or measured value.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + SENSING_ELEMENT, + /// Composition composed of a mechanism that flattens or spreads materials.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + SPREADER, + /// Composition composed of one or more cells that converts chemical energy to electricity and serves as a source of power.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + STORAGE_BATTERY, + /// Composition composed of a mechanism that turns on or off an electric current or makes or breaks a circuit.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + SWITCH, + /// Composition composed of a surface that holds an object or material.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + TABLE, + /// Composition composed of a receptacle or container that holds material.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + TANK, + /// Composition composed of a mechanism that provides or applies a stretch or strain to another mechanism.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + TENSIONER, + /// Composition composed of a mechanism that transforms electric energy from a source to a secondary circuit.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + TRANSFORMER, + /// Composition composed of a mechanism that halts or controls the flow of a liquid, gas, or other material through a passage, pipe, inlet, or outlet.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + VALVE, + /// Composition composed of a container for liquid or powdered materials.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + VAT, + /// Composition composed of a fluid.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + WATER, + /// Composition composed of a string like piece or filament of relatively rigid or flexible material provided in a variety of diameters.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + WIRE, + /// Composition composed of an object or material on which a form of work is performed.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + WORKPIECE, + /// Composition composed of a heat exchange system that uses a fluid to transfer heat to the atmosphere.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + COOLING_TOWER, + /// Composition composed of a tool storage location associated with a ToolMagazine or AutomaticToolChanger.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + POT, + /// Composition composed of a storage or mounting location for a tool associated with a Turret, GangToolBar, or ToolRack.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + STATION, + /// Composition composed of a mechanism that physically moves a tool from one location to another.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + TRANSFER_ARM, + /// Pot for a tool awaiting transfer from a ToolMagazine to spindle or Turret.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + TRANSFER_POT, + /// Pot for a tool removed from spindle or Turret and awaiting for return to a ToolMagazine.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + RETURN_POT, + /// Pot for a tool awaiting transfer to a ToolMagazine or Turret from outside of the piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + STAGING_POT, + /// Pot for a tool to be removed from a ToolMagazine or Turret to a location outside of the piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + REMOVAL_POT, + /// Pot for a tool that is no longer usable for removal from a ToolMagazine or Turret.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + EXPIRED_POT, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CompositionTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580312281115_595828_44604"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580312281115_595828_44604"; + /// Constant value for + public const string NAME = "CompositionTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CompositionTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ACTUATOR, + AMPLIFIER, + BALLSCREW, + BELT, + BRAKE, + CHAIN, + CHOPPER, + CHUCK, + CHUTE, + CIRCUIT_BREAKER, + CLAMP, + COMPRESSOR, + DOOR, + DRAIN, + ENCODER, + EXPOSURE_UNIT, + EXTRUSION_UNIT, + FAN, + FILTER, + GALVANOMOTOR, + GRIPPER, + HOPPER, + LINEAR_POSITION_FEEDBACK, + MOTOR, + OIL, + POWER_SUPPLY, + PULLEY, + PUMP, + REEL, + SENSING_ELEMENT, + SPREADER, + STORAGE_BATTERY, + SWITCH, + TABLE, + TANK, + TENSIONER, + TRANSFORMER, + VALVE, + VAT, + WATER, + WIRE, + WORKPIECE, + COOLING_TOWER, + POT, + STATION, + TRANSFER_ARM, + TRANSFER_POT, + RETURN_POT, + STAGING_POT, + REMOVAL_POT, + EXPIRED_POT, + }; + + private ACTUATORValue _ACTUATOR; + /// + public ACTUATORValue ACTUATOR => _ACTUATOR ?? (_ACTUATOR = new ACTUATORValue()); + + /// Composition composed of a mechanism that moves or controls a mechanical part of a piece of equipment.

It takes energy usually provided by air, electric current, or liquid and converts the energy into some kind of motion.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class ACTUATORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTUATOR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that moves or controls a mechanical part of a piece of equipment. + +It takes energy usually provided by air, electric current, or liquid and converts the energy into some kind of motion. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AMPLIFIERValue _AMPLIFIER; + /// + public AMPLIFIERValue AMPLIFIER => _AMPLIFIER ?? (_AMPLIFIER = new AMPLIFIERValue()); + + /// Composition composed of an electronic component or circuit that amplifies power, electric current, or voltage.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class AMPLIFIERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AMPLIFIER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of an electronic component or circuit that amplifies power, electric current, or voltage. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BALLSCREWValue _BALLSCREW; + /// + public BALLSCREWValue BALLSCREW => _BALLSCREW ?? (_BALLSCREW = new BALLSCREWValue()); + + /// Composition composed of a mechanical structure that transforms rotary motion into linear motion.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class BALLSCREWValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BALLSCREW"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanical structure that transforms rotary motion into linear motion. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BELTValue _BELT; + /// + public BELTValue BELT => _BELT ?? (_BELT = new BELTValue()); + + /// Composition composed of an endless flexible band that transmits motion for a piece of equipment or conveys materials and objects.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class BELTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BELT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of an endless flexible band that transmits motion for a piece of equipment or conveys materials and objects. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BRAKEValue _BRAKE; + /// + public BRAKEValue BRAKE => _BRAKE ?? (_BRAKE = new BRAKEValue()); + + /// Composition composed of a mechanism that slows down or stops a moving object by the absorption or transfer of the energy of momentum, usually by means of friction, electrical force, or magnetic force.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class BRAKEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BRAKE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that slows down or stops a moving object by the absorption or transfer of the energy of momentum, usually by means of friction, electrical force, or magnetic force. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CHAINValue _CHAIN; + /// + public CHAINValue CHAIN => _CHAIN ?? (_CHAIN = new CHAINValue()); + + /// Composition composed of an interconnected series of objects that band together and transmit motion for a piece of equipment or to convey materials and objects.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class CHAINValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CHAIN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of an interconnected series of objects that band together and transmit motion for a piece of equipment or to convey materials and objects. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CHOPPERValue _CHOPPER; + /// + public CHOPPERValue CHOPPER => _CHOPPER ?? (_CHOPPER = new CHOPPERValue()); + + /// Composition composed of a mechanism that breaks material into smaller pieces.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class CHOPPERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CHOPPER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that breaks material into smaller pieces. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CHUCKValue _CHUCK; + /// + public CHUCKValue CHUCK => _CHUCK ?? (_CHUCK = new CHUCKValue()); + + /// Composition composed of a mechanism that holds a part, stock material, or any other item in place.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class CHUCKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CHUCK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that holds a part, stock material, or any other item in place. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CHUTEValue _CHUTE; + /// + public CHUTEValue CHUTE => _CHUTE ?? (_CHUTE = new CHUTEValue()); + + /// Composition composed of an inclined channel that conveys material.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class CHUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CHUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of an inclined channel that conveys material. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CIRCUIT_BREAKERValue _CIRCUIT_BREAKER; + /// + public CIRCUIT_BREAKERValue CIRCUIT_BREAKER => _CIRCUIT_BREAKER ?? (_CIRCUIT_BREAKER = new CIRCUIT_BREAKERValue()); + + /// Composition composed of a mechanism that interrupts an electric circuit.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class CIRCUIT_BREAKERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CIRCUIT_BREAKER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that interrupts an electric circuit. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CLAMPValue _CLAMP; + /// + public CLAMPValue CLAMP => _CLAMP ?? (_CLAMP = new CLAMPValue()); + + /// Composition composed of a mechanism that strengthens, supports, or fastens objects in place.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class CLAMPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CLAMP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that strengthens, supports, or fastens objects in place. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COMPRESSORValue _COMPRESSOR; + /// + public COMPRESSORValue COMPRESSOR => _COMPRESSOR ?? (_COMPRESSOR = new COMPRESSORValue()); + + /// Composition composed of a pump or other mechanism that reduces volume and increases pressure of gases in order to condense the gases to drive pneumatically powered pieces of equipment.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class COMPRESSORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COMPRESSOR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a pump or other mechanism that reduces volume and increases pressure of gases in order to condense the gases to drive pneumatically powered pieces of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DOORValue _DOOR; + /// + public DOORValue DOOR => _DOOR ?? (_DOOR = new DOORValue()); + + /// Composition composed of a mechanical mechanism or closure that covers a physical access portal into a piece of equipment allowing or restricting access to other parts of the equipment.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class DOORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DOOR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanical mechanism or closure that covers a physical access portal into a piece of equipment allowing or restricting access to other parts of the equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DRAINValue _DRAIN; + /// + public DRAINValue DRAIN => _DRAIN ?? (_DRAIN = new DRAINValue()); + + /// Composition composed of a mechanism that allows material to flow for the purpose of drainage from, for example, a vessel or tank.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class DRAINValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DRAIN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that allows material to flow for the purpose of drainage from, for example, a vessel or tank. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ENCODERValue _ENCODER; + /// + public ENCODERValue ENCODER => _ENCODER ?? (_ENCODER = new ENCODERValue()); + + /// Composition composed of a mechanism that measures rotary position.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class ENCODERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ENCODER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that measures rotary position. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private EXPOSURE_UNITValue _EXPOSURE_UNIT; + /// + public EXPOSURE_UNITValue EXPOSURE_UNIT => _EXPOSURE_UNIT ?? (_EXPOSURE_UNIT = new EXPOSURE_UNITValue()); + + /// Composition composed of a mechanism that emits a type of radiation.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class EXPOSURE_UNITValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EXPOSURE_UNIT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that emits a type of radiation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private EXTRUSION_UNITValue _EXTRUSION_UNIT; + /// + public EXTRUSION_UNITValue EXTRUSION_UNIT => _EXTRUSION_UNIT ?? (_EXTRUSION_UNIT = new EXTRUSION_UNITValue()); + + /// Composition composed of a mechanism that dispenses liquid or powered materials.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class EXTRUSION_UNITValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EXTRUSION_UNIT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that dispenses liquid or powered materials. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FANValue _FAN; + /// + public FANValue FAN => _FAN ?? (_FAN = new FANValue()); + + /// Composition composed of a mechanism that produces a current of air.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class FANValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FAN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that produces a current of air. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FILTERValue _FILTER; + /// + public FILTERValue FILTER => _FILTER ?? (_FILTER = new FILTERValue()); + + /// Composition composed of a substance or structure that allows liquids or gases to pass through to remove suspended impurities or to recover solids.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class FILTERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FILTER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a substance or structure that allows liquids or gases to pass through to remove suspended impurities or to recover solids. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GALVANOMOTORValue _GALVANOMOTOR; + /// + public GALVANOMOTORValue GALVANOMOTOR => _GALVANOMOTOR ?? (_GALVANOMOTOR = new GALVANOMOTORValue()); + + /// Composition composed of an electromechanical actuator that produces deflection of a beam of light or energy in response to electric current through its coil in a magnetic field.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class GALVANOMOTORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GALVANOMOTOR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of an electromechanical actuator that produces deflection of a beam of light or energy in response to electric current through its coil in a magnetic field. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GRIPPERValue _GRIPPER; + /// + public GRIPPERValue GRIPPER => _GRIPPER ?? (_GRIPPER = new GRIPPERValue()); + + /// Composition composed of a mechanism that holds a part, stock material, or any other item in place.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class GRIPPERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GRIPPER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that holds a part, stock material, or any other item in place. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private HOPPERValue _HOPPER; + /// + public HOPPERValue HOPPER => _HOPPER ?? (_HOPPER = new HOPPERValue()); + + /// Composition composed of a chamber or bin that stores materials temporarily, typically being filled through the top and dispensed through the bottom.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class HOPPERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HOPPER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a chamber or bin that stores materials temporarily, typically being filled through the top and dispensed through the bottom. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LINEAR_POSITION_FEEDBACKValue _LINEAR_POSITION_FEEDBACK; + /// + public LINEAR_POSITION_FEEDBACKValue LINEAR_POSITION_FEEDBACK => _LINEAR_POSITION_FEEDBACK ?? (_LINEAR_POSITION_FEEDBACK = new LINEAR_POSITION_FEEDBACKValue()); + + /// Composition composed of a mechanism that measures linear motion or position.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class LINEAR_POSITION_FEEDBACKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LINEAR_POSITION_FEEDBACK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that measures linear motion or position. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MOTORValue _MOTOR; + /// + public MOTORValue MOTOR => _MOTOR ?? (_MOTOR = new MOTORValue()); + + /// Composition composed of a mechanism that converts electrical, pneumatic, or hydraulic energy into mechanical energy.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class MOTORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MOTOR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that converts electrical, pneumatic, or hydraulic energy into mechanical energy. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OILValue _OIL; + /// + public OILValue OIL => _OIL ?? (_OIL = new OILValue()); + + /// Composition composed of a viscous liquid.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class OILValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OIL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a viscous liquid. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POWER_SUPPLYValue _POWER_SUPPLY; + /// + public POWER_SUPPLYValue POWER_SUPPLY => _POWER_SUPPLY ?? (_POWER_SUPPLY = new POWER_SUPPLYValue()); + + /// Composition composed of a unit that provides power to electric mechanisms.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class POWER_SUPPLYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POWER_SUPPLY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a unit that provides power to electric mechanisms. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PULLEYValue _PULLEY; + /// + public PULLEYValue PULLEY => _PULLEY ?? (_PULLEY = new PULLEYValue()); + + /// Composition composed of a mechanism or wheel that turns in a frame or block and serves to change the direction of or to transmit force.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class PULLEYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PULLEY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism or wheel that turns in a frame or block and serves to change the direction of or to transmit force. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PUMPValue _PUMP; + /// + public PUMPValue PUMP => _PUMP ?? (_PUMP = new PUMPValue()); + + /// Composition composed of an apparatus that raises, drives, exhausts, or compresses fluids or gases by means of a piston, plunger, or set of rotating vanes.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class PUMPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PUMP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of an apparatus that raises, drives, exhausts, or compresses fluids or gases by means of a piston, plunger, or set of rotating vanes. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private REELValue _REEL; + /// + public REELValue REEL => _REEL ?? (_REEL = new REELValue()); + + /// Composition composed of a rotary storage unit for material.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class REELValue : IEnumInstance + { + /// Constant value for + public const string NAME = "REEL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a rotary storage unit for material. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SENSING_ELEMENTValue _SENSING_ELEMENT; + /// + public SENSING_ELEMENTValue SENSING_ELEMENT => _SENSING_ELEMENT ?? (_SENSING_ELEMENT = new SENSING_ELEMENTValue()); + + /// Composition composed of a mechanism that provides a signal or measured value.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class SENSING_ELEMENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SENSING_ELEMENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that provides a signal or measured value. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SPREADERValue _SPREADER; + /// + public SPREADERValue SPREADER => _SPREADER ?? (_SPREADER = new SPREADERValue()); + + /// Composition composed of a mechanism that flattens or spreads materials.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class SPREADERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SPREADER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that flattens or spreads materials. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STORAGE_BATTERYValue _STORAGE_BATTERY; + /// + public STORAGE_BATTERYValue STORAGE_BATTERY => _STORAGE_BATTERY ?? (_STORAGE_BATTERY = new STORAGE_BATTERYValue()); + + /// Composition composed of one or more cells that converts chemical energy to electricity and serves as a source of power.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class STORAGE_BATTERYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STORAGE_BATTERY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of one or more cells that converts chemical energy to electricity and serves as a source of power. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SWITCHValue _SWITCH; + /// + public SWITCHValue SWITCH => _SWITCH ?? (_SWITCH = new SWITCHValue()); + + /// Composition composed of a mechanism that turns on or off an electric current or makes or breaks a circuit.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class SWITCHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SWITCH"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that turns on or off an electric current or makes or breaks a circuit. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TABLEValue _TABLE; + /// + public TABLEValue TABLE => _TABLE ?? (_TABLE = new TABLEValue()); + + /// Composition composed of a surface that holds an object or material.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class TABLEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TABLE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a surface that holds an object or material. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TANKValue _TANK; + /// + public TANKValue TANK => _TANK ?? (_TANK = new TANKValue()); + + /// Composition composed of a receptacle or container that holds material.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class TANKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TANK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a receptacle or container that holds material. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TENSIONERValue _TENSIONER; + /// + public TENSIONERValue TENSIONER => _TENSIONER ?? (_TENSIONER = new TENSIONERValue()); + + /// Composition composed of a mechanism that provides or applies a stretch or strain to another mechanism.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class TENSIONERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TENSIONER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that provides or applies a stretch or strain to another mechanism. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TRANSFORMERValue _TRANSFORMER; + /// + public TRANSFORMERValue TRANSFORMER => _TRANSFORMER ?? (_TRANSFORMER = new TRANSFORMERValue()); + + /// Composition composed of a mechanism that transforms electric energy from a source to a secondary circuit.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class TRANSFORMERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TRANSFORMER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that transforms electric energy from a source to a secondary circuit. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VALVEValue _VALVE; + /// + public VALVEValue VALVE => _VALVE ?? (_VALVE = new VALVEValue()); + + /// Composition composed of a mechanism that halts or controls the flow of a liquid, gas, or other material through a passage, pipe, inlet, or outlet.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class VALVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VALVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that halts or controls the flow of a liquid, gas, or other material through a passage, pipe, inlet, or outlet. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VATValue _VAT; + /// + public VATValue VAT => _VAT ?? (_VAT = new VATValue()); + + /// Composition composed of a container for liquid or powdered materials.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class VATValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VAT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a container for liquid or powdered materials. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WATERValue _WATER; + /// + public WATERValue WATER => _WATER ?? (_WATER = new WATERValue()); + + /// Composition composed of a fluid.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class WATERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WATER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a fluid. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WIREValue _WIRE; + /// + public WIREValue WIRE => _WIRE ?? (_WIRE = new WIREValue()); + + /// Composition composed of a string like piece or filament of relatively rigid or flexible material provided in a variety of diameters.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class WIREValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WIRE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a string like piece or filament of relatively rigid or flexible material provided in a variety of diameters. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WORKPIECEValue _WORKPIECE; + /// + public WORKPIECEValue WORKPIECE => _WORKPIECE ?? (_WORKPIECE = new WORKPIECEValue()); + + /// Composition composed of an object or material on which a form of work is performed.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class WORKPIECEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WORKPIECE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of an object or material on which a form of work is performed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COOLING_TOWERValue _COOLING_TOWER; + /// + public COOLING_TOWERValue COOLING_TOWER => _COOLING_TOWER ?? (_COOLING_TOWER = new COOLING_TOWERValue()); + + /// Composition composed of a heat exchange system that uses a fluid to transfer heat to the atmosphere.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class COOLING_TOWERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COOLING_TOWER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a heat exchange system that uses a fluid to transfer heat to the atmosphere. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POTValue _POT; + /// + public POTValue POT => _POT ?? (_POT = new POTValue()); + + /// Composition composed of a tool storage location associated with a ToolMagazine or AutomaticToolChanger.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class POTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a tool storage location associated with a {{block(ToolMagazine)}} or {{block(AutomaticToolChanger)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STATIONValue _STATION; + /// + public STATIONValue STATION => _STATION ?? (_STATION = new STATIONValue()); + + /// Composition composed of a storage or mounting location for a tool associated with a Turret, GangToolBar, or ToolRack.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class STATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a storage or mounting location for a tool associated with a {{block(Turret)}}, {{block(GangToolBar)}}, or {{block(ToolRack)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TRANSFER_ARMValue _TRANSFER_ARM; + /// + public TRANSFER_ARMValue TRANSFER_ARM => _TRANSFER_ARM ?? (_TRANSFER_ARM = new TRANSFER_ARMValue()); + + /// Composition composed of a mechanism that physically moves a tool from one location to another.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class TRANSFER_ARMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TRANSFER_ARM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Composition)}} composed of a mechanism that physically moves a tool from one location to another. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TRANSFER_POTValue _TRANSFER_POT; + /// + public TRANSFER_POTValue TRANSFER_POT => _TRANSFER_POT ?? (_TRANSFER_POT = new TRANSFER_POTValue()); + + /// Pot for a tool awaiting transfer from a ToolMagazine to spindle or Turret.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class TRANSFER_POTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TRANSFER_POT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Pot)}} for a tool awaiting transfer from a {{block(ToolMagazine)}} to {{term(spindle)}} or {{block(Turret)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RETURN_POTValue _RETURN_POT; + /// + public RETURN_POTValue RETURN_POT => _RETURN_POT ?? (_RETURN_POT = new RETURN_POTValue()); + + /// Pot for a tool removed from spindle or Turret and awaiting for return to a ToolMagazine.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class RETURN_POTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RETURN_POT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Pot)}} for a tool removed from {{term(spindle)}} or {{block(Turret)}} and awaiting for return to a {{block(ToolMagazine)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STAGING_POTValue _STAGING_POT; + /// + public STAGING_POTValue STAGING_POT => _STAGING_POT ?? (_STAGING_POT = new STAGING_POTValue()); + + /// Pot for a tool awaiting transfer to a ToolMagazine or Turret from outside of the piece of equipment.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class STAGING_POTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STAGING_POT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Pot)}} for a tool awaiting transfer to a {{block(ToolMagazine)}} or {{block(Turret)}} from outside of the piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private REMOVAL_POTValue _REMOVAL_POT; + /// + public REMOVAL_POTValue REMOVAL_POT => _REMOVAL_POT ?? (_REMOVAL_POT = new REMOVAL_POTValue()); + + /// Pot for a tool to be removed from a ToolMagazine or Turret to a location outside of the piece of equipment.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class REMOVAL_POTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "REMOVAL_POT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Pot)}} for a tool to be removed from a {{block(ToolMagazine)}} or {{block(Turret)}} to a location outside of the piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private EXPIRED_POTValue _EXPIRED_POT; + /// + public EXPIRED_POTValue EXPIRED_POT => _EXPIRED_POT ?? (_EXPIRED_POT = new EXPIRED_POTValue()); + + /// Pot for a tool that is no longer usable for removal from a ToolMagazine or Turret.


+ /// Value for CompositionTypeEnum.
+ ///
See also CompositionTypeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class EXPIRED_POTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EXPIRED_POT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Pot)}} for a tool that is no longer usable for removal from a {{block(ToolMagazine)}} or {{block(Turret)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ConditionEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ConditionEnum.cs new file mode 100644 index 00000000..b9262842 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ConditionEnum.cs @@ -0,0 +1,377 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ConditionEnum + { + /// indication that the piece of equipment has experienced a communications failure.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + COMMUNICATIONS, + /// indication that the value of the data associated with a measured value or a calculation is outside of an expected range.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + DATA_RANGE, + /// indication that an error occurred in the logic program or programmable logic controller (PLC) associated with a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + LOGIC_PROGRAM, + /// indication that an error occurred in the motion program associated with a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + MOTION_PROGRAM, + /// general purpose indication associated with an electronic component of a piece of equipment or a controller that represents a fault that is not associated with the operator, program, or hardware.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + SYSTEM, + /// indication of a fault associated with an actuator.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + ACTUATOR, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConditionEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580398386435_855466_12827"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580398386435_855466_12827"; + /// Constant value for + public const string NAME = "ConditionEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ConditionEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + COMMUNICATIONS, + DATA_RANGE, + LOGIC_PROGRAM, + MOTION_PROGRAM, + SYSTEM, + ACTUATOR, + }; + + private COMMUNICATIONSValue _COMMUNICATIONS; + /// + public COMMUNICATIONSValue COMMUNICATIONS => _COMMUNICATIONS ?? (_COMMUNICATIONS = new COMMUNICATIONSValue()); + + /// indication that the piece of equipment has experienced a communications failure.


+ /// Value for ConditionEnum.
+ ///
See also ConditionEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class COMMUNICATIONSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COMMUNICATIONS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication that the piece of equipment has experienced a communications failure. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DATA_RANGEValue _DATA_RANGE; + /// + public DATA_RANGEValue DATA_RANGE => _DATA_RANGE ?? (_DATA_RANGE = new DATA_RANGEValue()); + + /// indication that the value of the data associated with a measured value or a calculation is outside of an expected range.


+ /// Value for ConditionEnum.
+ ///
See also ConditionEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class DATA_RANGEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DATA_RANGE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication that the value of the data associated with a measured value or a calculation is outside of an expected range. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LOGIC_PROGRAMValue _LOGIC_PROGRAM; + /// + public LOGIC_PROGRAMValue LOGIC_PROGRAM => _LOGIC_PROGRAM ?? (_LOGIC_PROGRAM = new LOGIC_PROGRAMValue()); + + /// indication that an error occurred in the logic program or programmable logic controller (PLC) associated with a piece of equipment.


+ /// Value for ConditionEnum.
+ ///
See also ConditionEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class LOGIC_PROGRAMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOGIC_PROGRAM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication that an error occurred in the logic program or programmable logic controller (PLC) associated with a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MOTION_PROGRAMValue _MOTION_PROGRAM; + /// + public MOTION_PROGRAMValue MOTION_PROGRAM => _MOTION_PROGRAM ?? (_MOTION_PROGRAM = new MOTION_PROGRAMValue()); + + /// indication that an error occurred in the motion program associated with a piece of equipment.


+ /// Value for ConditionEnum.
+ ///
See also ConditionEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class MOTION_PROGRAMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MOTION_PROGRAM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication that an error occurred in the motion program associated with a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SYSTEMValue _SYSTEM; + /// + public SYSTEMValue SYSTEM => _SYSTEM ?? (_SYSTEM = new SYSTEMValue()); + + /// general purpose indication associated with an electronic component of a piece of equipment or a controller that represents a fault that is not associated with the operator, program, or hardware.


+ /// Value for ConditionEnum.
+ ///
See also ConditionEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class SYSTEMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SYSTEM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" general purpose indication associated with an electronic component of a piece of equipment or a controller that represents a fault that is not associated with the operator, program, or hardware. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACTUATORValue _ACTUATOR; + /// + public ACTUATORValue ACTUATOR => _ACTUATOR ?? (_ACTUATOR = new ACTUATORValue()); + + /// indication of a fault associated with an actuator.


+ /// Value for ConditionEnum.
+ ///
See also ConditionEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class ACTUATORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTUATOR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication of a fault associated with an actuator. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ConditionStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ConditionStateEnum.cs new file mode 100644 index 00000000..62efcd5e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ConditionStateEnum.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ConditionStateEnum + { + /// condition state that indicates operation within specified limits.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + NORMAL, + /// condition state that requires concern and supervision and may become hazardous if no action is taken.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + WARNING, + /// condition state that requires intervention to continue operation to function properly.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + FAULT, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConditionStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1633610276495_636137_441"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1633610276495_636137_441"; + /// Constant value for + public const string NAME = "ConditionStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ConditionStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + Normal, + Warning, + Fault, + }; + + private NormalValue _Normal; + /// + public NormalValue Normal => _Normal ?? (_Normal = new NormalValue()); + + /// condition state that indicates operation within specified limits.


+ /// Value for ConditionStateEnum.
+ ///
See also ConditionStateEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class NormalValue : IEnumInstance + { + /// Constant value for + public const string NAME = "Normal"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(condition state)}} that indicates operation within specified limits. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WarningValue _Warning; + /// + public WarningValue Warning => _Warning ?? (_Warning = new WarningValue()); + + /// condition state that requires concern and supervision and may become hazardous if no action is taken.


+ /// Value for ConditionStateEnum.
+ ///
See also ConditionStateEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class WarningValue : IEnumInstance + { + /// Constant value for + public const string NAME = "Warning"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(condition state)}} that requires concern and supervision and may become hazardous if no action is taken. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FaultValue _Fault; + /// + public FaultValue Fault => _Fault ?? (_Fault = new FaultValue()); + + /// condition state that requires intervention to continue operation to function properly.


+ /// Value for ConditionStateEnum.
+ ///
See also ConditionStateEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class FaultValue : IEnumInstance + { + /// Constant value for + public const string NAME = "Fault"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(condition state)}} that requires intervention to continue operation to function properly. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ConnectionStatusEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ConnectionStatusEnum.cs new file mode 100644 index 00000000..28360661 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ConnectionStatusEnum.cs @@ -0,0 +1,226 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ConnectionStatusEnum + { + /// no connection at all.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + CLOSED, + /// agent is waiting for a connection request from an adapter.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + LISTEN, + /// open connection.

The normal state for the data transfer phase of the connection.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + ESTABLISHED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ConnectionStatusEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605104600701_22176_1030"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1605104600701_22176_1030"; + /// Constant value for + public const string NAME = "ConnectionStatusEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ConnectionStatusEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + CLOSED, + LISTEN, + ESTABLISHED, + }; + + private CLOSEDValue _CLOSED; + /// + public CLOSEDValue CLOSED => _CLOSED ?? (_CLOSED = new CLOSEDValue()); + + /// no connection at all.


+ /// Value for ConnectionStatusEnum.
+ ///
See also ConnectionStatusEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class CLOSEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CLOSED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" no connection at all. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LISTENValue _LISTEN; + /// + public LISTENValue LISTEN => _LISTEN ?? (_LISTEN = new LISTENValue()); + + /// agent is waiting for a connection request from an adapter.


+ /// Value for ConnectionStatusEnum.
+ ///
See also ConnectionStatusEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class LISTENValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LISTEN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(agent)}} is waiting for a connection request from an {{term(adapter)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ESTABLISHEDValue _ESTABLISHED; + /// + public ESTABLISHEDValue ESTABLISHED => _ESTABLISHED ?? (_ESTABLISHED = new ESTABLISHEDValue()); + + /// open connection.

The normal state for the data transfer phase of the connection.


+ /// Value for ConnectionStatusEnum.
+ ///
See also ConnectionStatusEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class ESTABLISHEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ESTABLISHED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" open connection. + +The normal state for the data transfer phase of the connection. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ControllerModeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ControllerModeEnum.cs new file mode 100644 index 00000000..36268ab6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ControllerModeEnum.cs @@ -0,0 +1,381 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ControllerModeEnum + { + /// Controller is configured to automatically execute a program.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + AUTOMATIC, + /// Controller is not executing an active program.

It is capable of receiving instructions from an external source – typically an operator. The Controller executes operations based on the instructions received from the external source.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MANUAL, + /// operator can enter a series of operations for the Controller to perform.

The Controller will execute this specific series of operations and then stop.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MANUAL_DATA_INPUT, + /// Controller is operating in a mode that restricts the active program from processing its next process step without operator intervention.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SEMI_AUTOMATIC, + /// Controller is currently functioning as a programming device and is not capable of executing an active program.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + EDIT, + /// axes of the device are commanded to stop, but the spindle continues to function.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FEED_HOLD, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControllerModeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417660_348819_2874"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417660_348819_2874"; + /// Constant value for + public const string NAME = "ControllerModeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ControllerModeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + AUTOMATIC, + MANUAL, + MANUAL_DATA_INPUT, + SEMI_AUTOMATIC, + EDIT, + FEED_HOLD, + }; + + private AUTOMATICValue _AUTOMATIC; + /// + public AUTOMATICValue AUTOMATIC => _AUTOMATIC ?? (_AUTOMATIC = new AUTOMATICValue()); + + /// Controller is configured to automatically execute a program.


+ /// Value for ControllerModeEnum.
+ ///
See also ControllerModeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class AUTOMATICValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AUTOMATIC"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Controller)}} is configured to automatically execute a program. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MANUALValue _MANUAL; + /// + public MANUALValue MANUAL => _MANUAL ?? (_MANUAL = new MANUALValue()); + + /// Controller is not executing an active program.

It is capable of receiving instructions from an external source – typically an operator. The Controller executes operations based on the instructions received from the external source.


+ /// Value for ControllerModeEnum.
+ ///
See also ControllerModeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MANUALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MANUAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Controller)}} is not executing an active program. + +It is capable of receiving instructions from an external source – typically an operator. The {{block(Controller)}} executes operations based on the instructions received from the external source. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MANUAL_DATA_INPUTValue _MANUAL_DATA_INPUT; + /// + public MANUAL_DATA_INPUTValue MANUAL_DATA_INPUT => _MANUAL_DATA_INPUT ?? (_MANUAL_DATA_INPUT = new MANUAL_DATA_INPUTValue()); + + /// operator can enter a series of operations for the Controller to perform.

The Controller will execute this specific series of operations and then stop.


+ /// Value for ControllerModeEnum.
+ ///
See also ControllerModeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MANUAL_DATA_INPUTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MANUAL_DATA_INPUT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operator can enter a series of operations for the {{block(Controller)}} to perform. + +The {{block(Controller)}} will execute this specific series of operations and then stop. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SEMI_AUTOMATICValue _SEMI_AUTOMATIC; + /// + public SEMI_AUTOMATICValue SEMI_AUTOMATIC => _SEMI_AUTOMATIC ?? (_SEMI_AUTOMATIC = new SEMI_AUTOMATICValue()); + + /// Controller is operating in a mode that restricts the active program from processing its next process step without operator intervention.


+ /// Value for ControllerModeEnum.
+ ///
See also ControllerModeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SEMI_AUTOMATICValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SEMI_AUTOMATIC"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Controller)}} is operating in a mode that restricts the active program from processing its next process step without operator intervention. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private EDITValue _EDIT; + /// + public EDITValue EDIT => _EDIT ?? (_EDIT = new EDITValue()); + + /// Controller is currently functioning as a programming device and is not capable of executing an active program.


+ /// Value for ControllerModeEnum.
+ ///
See also ControllerModeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class EDITValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EDIT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Controller)}} is currently functioning as a programming device and is not capable of executing an active program. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FEED_HOLDValue _FEED_HOLD; + /// + public FEED_HOLDValue FEED_HOLD => _FEED_HOLD ?? (_FEED_HOLD = new FEED_HOLDValue()); + + /// axes of the device are commanded to stop, but the spindle continues to function.


+ /// Value for ControllerModeEnum.
+ ///
See also ControllerModeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FEED_HOLDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FEED_HOLD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.3"; + /// Constant value for + public const string SUMMARY = @" axes of the device are commanded to stop, but the spindle continues to function. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ControllerModeOverrideEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ControllerModeOverrideEnum.cs new file mode 100644 index 00000000..e7a2d3d9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ControllerModeOverrideEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ControllerModeOverrideEnum + { + /// ControllerModeOverride is in the ON state and the mode override is active.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + ON, + /// ControllerModeOverride is in the OFF state and the mode override is inactive.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + OFF, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ControllerModeOverrideEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417661_25421_2875"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417661_25421_2875"; + /// Constant value for + public const string NAME = "ControllerModeOverrideEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ControllerModeOverrideEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ON, + OFF, + }; + + private ONValue _ON; + /// + public ONValue ON => _ON ?? (_ON = new ONValue()); + + /// ControllerModeOverride is in the ON state and the mode override is active.


+ /// Value for ControllerModeOverrideEnum.
+ ///
See also ControllerModeOverrideEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class ONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ON"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(ControllerModeOverride)}} is in the `ON` state and the mode override is active. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OFFValue _OFF; + /// + public OFFValue OFF => _OFF ?? (_OFF = new OFFValue()); + + /// ControllerModeOverride is in the OFF state and the mode override is inactive.


+ /// Value for ControllerModeOverrideEnum.
+ ///
See also ControllerModeOverrideEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class OFFValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OFF"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(ControllerModeOverride)}} is in the `OFF` state and the mode override is inactive. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CoordinateSystemEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CoordinateSystemEnum.cs new file mode 100644 index 00000000..c8220c21 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CoordinateSystemEnum.cs @@ -0,0 +1,185 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v2.0 + /// + /// + [Obsolete("Deprecated in v2.0 according to https://model.mtconnect.org/#_Version_2.0")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CoordinateSystemEnum + { + /// unchangeable coordinate system that has machine zero as its origin.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v2.0 + /// + /// + [Obsolete("Deprecated in v2.0 according to https://model.mtconnect.org/#_Version_2.0")] + + MACHINE, + /// coordinate system that represents the working area for a particular workpiece whose origin is shifted within the MACHINE coordinate system.

If the WORK coordinates are not currently defined in the piece of equipment, the MACHINE coordinates will be used.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v2.0 + /// + /// + [Obsolete("Deprecated in v2.0 according to https://model.mtconnect.org/#_Version_2.0")] + + WORK, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CoordinateSystemEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_6B22B6F6_7073_4fa7_961B_B05AD4C7EF81"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_6B22B6F6_7073_4fa7_961B_B05AD4C7EF81"; + /// Constant value for + public const string NAME = "CoordinateSystemEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "2.0"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CoordinateSystemEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + MACHINE, + WORK, + }; + + private MACHINEValue _MACHINE; + /// + public MACHINEValue MACHINE => _MACHINE ?? (_MACHINE = new MACHINEValue()); + + /// unchangeable coordinate system that has machine zero as its origin.


+ /// Value for CoordinateSystemEnum.
+ ///
See also CoordinateSystemEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v2.0 + /// + /// + [Obsolete("Deprecated in v2.0 according to https://model.mtconnect.org/#_Version_2.0")] + + public sealed class MACHINEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MACHINE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "2.0"; + /// Constant value for + public const string SUMMARY = @" unchangeable coordinate system that has machine zero as its origin. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WORKValue _WORK; + /// + public WORKValue WORK => _WORK ?? (_WORK = new WORKValue()); + + /// coordinate system that represents the working area for a particular workpiece whose origin is shifted within the MACHINE coordinate system.

If the WORK coordinates are not currently defined in the piece of equipment, the MACHINE coordinates will be used.


+ /// Value for CoordinateSystemEnum.
+ ///
See also CoordinateSystemEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v2.0 + /// + /// + [Obsolete("Deprecated in v2.0 according to https://model.mtconnect.org/#_Version_2.0")] + + public sealed class WORKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WORK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "2.0"; + /// Constant value for + public const string SUMMARY = @" coordinate system that represents the working area for a particular workpiece whose origin is shifted within the `MACHINE` coordinate system. + +If the `WORK` coordinates are not currently defined in the piece of equipment, the `MACHINE` coordinates will be used. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CoordinateSystemTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CoordinateSystemTypeEnum.cs new file mode 100644 index 00000000..b68eb0a1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CoordinateSystemTypeEnum.cs @@ -0,0 +1,536 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CoordinateSystemTypeEnum + { + /// stationary coordinate system referenced to earth, which is independent of the robot motion. ISO 9787:2013

For non-robotic devices, stationary coordinate system referenced to earth, which is independent of the motion of a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + WORLD, + /// coordinate system referenced to the base mounting surface. ISO 9787:2013

A base mounting surface is a connection surface between the arm and its supporting structure.ISO 9787:2013

For non-robotic devices, it is the connection surface between the device and its supporting structure.


+ ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + BASE, + /// coordinate system referenced to the object. ISO 9787:2013


+ ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + OBJECT, + /// coordinate system referenced to the site of the task. ISO 9787:2013


+ ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + TASK, + /// coordinate system referenced to the mechanical interface. ISO 9787:2013


+ ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + MECHANICAL_INTERFACE, + /// coordinate system referenced to the tool or to the end effector attached to the mechanical interface. ISO 9787:2013


+ ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + TOOL, + /// coordinate system referenced to one of the components of a mobile platform. ISO 8373:2012


+ ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + MOBILE_PLATFORM, + /// coordinate system referenced to the home position and orientation of the primary axes of a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + MACHINE, + /// coordinate system referenced to the sensor which monitors the site of the task. ISO 9787:2013


+ ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + CAMERA, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CoordinateSystemTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579107560604_392738_163543"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1579107560604_392738_163543"; + /// Constant value for + public const string NAME = "CoordinateSystemTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CoordinateSystemTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + WORLD, + BASE, + OBJECT, + TASK, + MECHANICAL_INTERFACE, + TOOL, + MOBILE_PLATFORM, + MACHINE, + CAMERA, + }; + + private WORLDValue _WORLD; + /// + public WORLDValue WORLD => _WORLD ?? (_WORLD = new WORLDValue()); + + /// stationary coordinate system referenced to earth, which is independent of the robot motion. ISO 9787:2013

For non-robotic devices, stationary coordinate system referenced to earth, which is independent of the motion of a piece of equipment.


+ /// Value for CoordinateSystemTypeEnum.
+ ///
See also CoordinateSystemTypeEnum + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + public sealed class WORLDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WORLD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" stationary coordinate system referenced to earth, which is independent of the robot motion. {{cite(ISO 9787:2013)}} + +For non-robotic devices, stationary coordinate system referenced to earth, which is independent of the motion of a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BASEValue _BASE; + /// + public BASEValue BASE => _BASE ?? (_BASE = new BASEValue()); + + /// coordinate system referenced to the base mounting surface. ISO 9787:2013

A base mounting surface is a connection surface between the arm and its supporting structure.ISO 9787:2013

For non-robotic devices, it is the connection surface between the device and its supporting structure.


+ /// Value for CoordinateSystemTypeEnum.
+ ///
See also CoordinateSystemTypeEnum + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + public sealed class BASEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BASE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" coordinate system referenced to the base mounting surface. {{cite(ISO 9787:2013)}} + +A base mounting surface is a connection surface between the arm and its supporting structure.{{cite(ISO 9787:2013)}} + +For non-robotic devices, it is the connection surface between the device and its supporting structure. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OBJECTValue _OBJECT; + /// + public OBJECTValue OBJECT => _OBJECT ?? (_OBJECT = new OBJECTValue()); + + /// coordinate system referenced to the object. ISO 9787:2013


+ /// Value for CoordinateSystemTypeEnum.
+ ///
See also CoordinateSystemTypeEnum + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + public sealed class OBJECTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OBJECT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" coordinate system referenced to the object. {{cite(ISO 9787:2013)}} +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TASKValue _TASK; + /// + public TASKValue TASK => _TASK ?? (_TASK = new TASKValue()); + + /// coordinate system referenced to the site of the task. ISO 9787:2013


+ /// Value for CoordinateSystemTypeEnum.
+ ///
See also CoordinateSystemTypeEnum + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + public sealed class TASKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TASK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" coordinate system referenced to the site of the task. {{cite(ISO 9787:2013)}} +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MECHANICAL_INTERFACEValue _MECHANICAL_INTERFACE; + /// + public MECHANICAL_INTERFACEValue MECHANICAL_INTERFACE => _MECHANICAL_INTERFACE ?? (_MECHANICAL_INTERFACE = new MECHANICAL_INTERFACEValue()); + + /// coordinate system referenced to the mechanical interface. ISO 9787:2013


+ /// Value for CoordinateSystemTypeEnum.
+ ///
See also CoordinateSystemTypeEnum + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + public sealed class MECHANICAL_INTERFACEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MECHANICAL_INTERFACE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" coordinate system referenced to the mechanical interface. {{cite(ISO 9787:2013)}} +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOOLValue _TOOL; + /// + public TOOLValue TOOL => _TOOL ?? (_TOOL = new TOOLValue()); + + /// coordinate system referenced to the tool or to the end effector attached to the mechanical interface. ISO 9787:2013


+ /// Value for CoordinateSystemTypeEnum.
+ ///
See also CoordinateSystemTypeEnum + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + public sealed class TOOLValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOOL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" coordinate system referenced to the tool or to the end effector attached to the mechanical interface. {{cite(ISO 9787:2013)}} +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MOBILE_PLATFORMValue _MOBILE_PLATFORM; + /// + public MOBILE_PLATFORMValue MOBILE_PLATFORM => _MOBILE_PLATFORM ?? (_MOBILE_PLATFORM = new MOBILE_PLATFORMValue()); + + /// coordinate system referenced to one of the components of a mobile platform. ISO 8373:2012


+ /// Value for CoordinateSystemTypeEnum.
+ ///
See also CoordinateSystemTypeEnum + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + public sealed class MOBILE_PLATFORMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MOBILE_PLATFORM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" coordinate system referenced to one of the components of a mobile platform. {{cite(ISO 8373:2012)}} +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MACHINEValue _MACHINE; + /// + public MACHINEValue MACHINE => _MACHINE ?? (_MACHINE = new MACHINEValue()); + + /// coordinate system referenced to the home position and orientation of the primary axes of a piece of equipment.


+ /// Value for CoordinateSystemTypeEnum.
+ ///
See also CoordinateSystemTypeEnum + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + public sealed class MACHINEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MACHINE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" coordinate system referenced to the home position and orientation of the primary axes of a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CAMERAValue _CAMERA; + /// + public CAMERAValue CAMERA => _CAMERA ?? (_CAMERA = new CAMERAValue()); + + /// coordinate system referenced to the sensor which monitors the site of the task. ISO 9787:2013


+ /// Value for CoordinateSystemTypeEnum.
+ ///
See also CoordinateSystemTypeEnum + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + public sealed class CAMERAValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CAMERA"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" coordinate system referenced to the sensor which monitors the site of the task. {{cite(ISO 9787:2013)}} +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CountDirectionTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CountDirectionTypeEnum.cs new file mode 100644 index 00000000..8127d8b0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CountDirectionTypeEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CountDirectionTypeEnum + { + /// tool life counts up from zero to the maximum.



+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + UP, + /// tool life counts down from the maximum to zero.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + DOWN, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CountDirectionTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_CFE5DAF7_7F0E_40ce_B920_5151D846B636"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_CFE5DAF7_7F0E_40ce_B920_5151D846B636"; + /// Constant value for + public const string NAME = "CountDirectionTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CountDirectionTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + UP, + DOWN, + }; + + private UPValue _UP; + /// + public UPValue UP => _UP ?? (_UP = new UPValue()); + + /// tool life counts up from zero to the maximum.



+ /// Value for CountDirectionTypeEnum.
+ ///
See also CountDirectionTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class UPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool life counts up from zero to the maximum. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DOWNValue _DOWN; + /// + public DOWNValue DOWN => _DOWN ?? (_DOWN = new DOWNValue()); + + /// tool life counts down from the maximum to zero.


+ /// Value for CountDirectionTypeEnum.
+ ///
See also CountDirectionTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class DOWNValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DOWN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool life counts down from the maximum to zero. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CriticalityTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CriticalityTypeEnum.cs new file mode 100644 index 00000000..925c4b0a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CriticalityTypeEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CriticalityTypeEnum + { + /// services or functions provided by the associated element is required for the operation of this element.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + CRITICAL, + /// services or functions provided by the associated element is not required for the operation of this element.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + NONCRITICAL, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CriticalityTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_9E68B125_F907_4cd0_9198_CC77ADBB8C75"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_9E68B125_F907_4cd0_9198_CC77ADBB8C75"; + /// Constant value for + public const string NAME = "CriticalityTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CriticalityTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + CRITICAL, + NONCRITICAL, + }; + + private CRITICALValue _CRITICAL; + /// + public CRITICALValue CRITICAL => _CRITICAL ?? (_CRITICAL = new CRITICALValue()); + + /// services or functions provided by the associated element is required for the operation of this element.


+ /// Value for CriticalityTypeEnum.
+ ///
See also CriticalityTypeEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class CRITICALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CRITICAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" services or functions provided by the associated element is required for the operation of this element. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NONCRITICALValue _NONCRITICAL; + /// + public NONCRITICALValue NONCRITICAL => _NONCRITICAL ?? (_NONCRITICAL = new NONCRITICALValue()); + + /// services or functions provided by the associated element is not required for the operation of this element.


+ /// Value for CriticalityTypeEnum.
+ ///
See also CriticalityTypeEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class NONCRITICALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NONCRITICAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" services or functions provided by the associated element is not required for the operation of this element. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CutterStatusTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CutterStatusTypeEnum.cs new file mode 100644 index 00000000..aeb6988b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/CutterStatusTypeEnum.cs @@ -0,0 +1,687 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CutterStatusTypeEnum + { + /// new tool that has not been used or first use.

Marks the start of the tool history.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + NEW, + /// tool is available for use.

If this is not present, the tool is currently not ready to be used.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + AVAILABLE, + /// tool is unavailable for use in metal removal.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + UNAVAILABLE, + /// tool is has been committed to a piece of equipment for use and is not available for use in any other piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + ALLOCATED, + /// tool has not been committed to a process and can be allocated.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + UNALLOCATED, + /// tool has been measured.



+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + MEASURED, + /// tool has been reconditioned.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + RECONDITIONED, + /// tool is in process and has remaining tool life.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + USED, + /// tool has reached the end of its useful life.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + EXPIRED, + /// premature tool failure.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + BROKEN, + /// tool cannot be used until it is entered into the system.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + NOT_REGISTERED, + /// tool is an indeterminate state. This is the default value.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + UNKNOWN, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CutterStatusTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_782BD14C_FE49_4276_B7D0_7B42DA63B37F"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_782BD14C_FE49_4276_B7D0_7B42DA63B37F"; + /// Constant value for + public const string NAME = "CutterStatusTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CutterStatusTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + NEW, + AVAILABLE, + UNAVAILABLE, + ALLOCATED, + UNALLOCATED, + MEASURED, + RECONDITIONED, + USED, + EXPIRED, + BROKEN, + NOT_REGISTERED, + UNKNOWN, + }; + + private NEWValue _NEW; + /// + public NEWValue NEW => _NEW ?? (_NEW = new NEWValue()); + + /// new tool that has not been used or first use.

Marks the start of the tool history.


+ /// Value for CutterStatusTypeEnum.
+ ///
See also CutterStatusTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class NEWValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NEW"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" new tool that has not been used or first use. + +Marks the start of the tool history. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AVAILABLEValue _AVAILABLE; + /// + public AVAILABLEValue AVAILABLE => _AVAILABLE ?? (_AVAILABLE = new AVAILABLEValue()); + + /// tool is available for use.

If this is not present, the tool is currently not ready to be used.


+ /// Value for CutterStatusTypeEnum.
+ ///
See also CutterStatusTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class AVAILABLEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AVAILABLE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool is available for use. + +If this is not present, the tool is currently not ready to be used. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNAVAILABLEValue _UNAVAILABLE; + /// + public UNAVAILABLEValue UNAVAILABLE => _UNAVAILABLE ?? (_UNAVAILABLE = new UNAVAILABLEValue()); + + /// tool is unavailable for use in metal removal.


+ /// Value for CutterStatusTypeEnum.
+ ///
See also CutterStatusTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class UNAVAILABLEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNAVAILABLE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool is unavailable for use in metal removal. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ALLOCATEDValue _ALLOCATED; + /// + public ALLOCATEDValue ALLOCATED => _ALLOCATED ?? (_ALLOCATED = new ALLOCATEDValue()); + + /// tool is has been committed to a piece of equipment for use and is not available for use in any other piece of equipment.


+ /// Value for CutterStatusTypeEnum.
+ ///
See also CutterStatusTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class ALLOCATEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ALLOCATED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool is has been committed to a piece of equipment for use and is not available for use in any other piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNALLOCATEDValue _UNALLOCATED; + /// + public UNALLOCATEDValue UNALLOCATED => _UNALLOCATED ?? (_UNALLOCATED = new UNALLOCATEDValue()); + + /// tool has not been committed to a process and can be allocated.


+ /// Value for CutterStatusTypeEnum.
+ ///
See also CutterStatusTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class UNALLOCATEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNALLOCATED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool has not been committed to a process and can be allocated. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MEASUREDValue _MEASURED; + /// + public MEASUREDValue MEASURED => _MEASURED ?? (_MEASURED = new MEASUREDValue()); + + /// tool has been measured.



+ /// Value for CutterStatusTypeEnum.
+ ///
See also CutterStatusTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class MEASUREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MEASURED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool has been measured. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RECONDITIONEDValue _RECONDITIONED; + /// + public RECONDITIONEDValue RECONDITIONED => _RECONDITIONED ?? (_RECONDITIONED = new RECONDITIONEDValue()); + + /// tool has been reconditioned.


+ /// Value for CutterStatusTypeEnum.
+ ///
See also CutterStatusTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class RECONDITIONEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RECONDITIONED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool has been reconditioned. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private USEDValue _USED; + /// + public USEDValue USED => _USED ?? (_USED = new USEDValue()); + + /// tool is in process and has remaining tool life.


+ /// Value for CutterStatusTypeEnum.
+ ///
See also CutterStatusTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class USEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "USED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool is in process and has remaining tool life. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private EXPIREDValue _EXPIRED; + /// + public EXPIREDValue EXPIRED => _EXPIRED ?? (_EXPIRED = new EXPIREDValue()); + + /// tool has reached the end of its useful life.


+ /// Value for CutterStatusTypeEnum.
+ ///
See also CutterStatusTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class EXPIREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EXPIRED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool has reached the end of its useful life. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BROKENValue _BROKEN; + /// + public BROKENValue BROKEN => _BROKEN ?? (_BROKEN = new BROKENValue()); + + /// premature tool failure.


+ /// Value for CutterStatusTypeEnum.
+ ///
See also CutterStatusTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class BROKENValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BROKEN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" premature tool failure. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NOT_REGISTEREDValue _NOT_REGISTERED; + /// + public NOT_REGISTEREDValue NOT_REGISTERED => _NOT_REGISTERED ?? (_NOT_REGISTERED = new NOT_REGISTEREDValue()); + + /// tool cannot be used until it is entered into the system.


+ /// Value for CutterStatusTypeEnum.
+ ///
See also CutterStatusTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class NOT_REGISTEREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NOT_REGISTERED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool cannot be used until it is entered into the system. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNKNOWNValue _UNKNOWN; + /// + public UNKNOWNValue UNKNOWN => _UNKNOWN ?? (_UNKNOWN = new UNKNOWNValue()); + + /// tool is an indeterminate state. This is the default value.


+ /// Value for CutterStatusTypeEnum.
+ ///
See also CutterStatusTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class UNKNOWNValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNKNOWN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool is an indeterminate state. This is the default value. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DataItemRelationshipTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DataItemRelationshipTypeEnum.cs new file mode 100644 index 00000000..b40b2ca4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DataItemRelationshipTypeEnum.cs @@ -0,0 +1,275 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum DataItemRelationshipTypeEnum + { + /// reference to a DataItem that associates the values with an external entity.



+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + ATTACHMENT, + /// referenced DataItem provides the id of the effective Coordinate System.



+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + COORDINATE_SYSTEM, + /// referenced DataItem provides process limits.



+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + LIMIT, + /// referenced DataItem provides the observed values.



+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + OBSERVATION, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataItemRelationshipTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605645712659_8263_2990"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1605645712659_8263_2990"; + /// Constant value for + public const string NAME = "DataItemRelationshipTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(DataItemRelationshipTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ATTACHMENT, + COORDINATE_SYSTEM, + LIMIT, + OBSERVATION, + }; + + private ATTACHMENTValue _ATTACHMENT; + /// + public ATTACHMENTValue ATTACHMENT => _ATTACHMENT ?? (_ATTACHMENT = new ATTACHMENTValue()); + + /// reference to a DataItem that associates the values with an external entity.



+ /// Value for DataItemRelationshipTypeEnum.
+ ///
See also DataItemRelationshipTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class ATTACHMENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ATTACHMENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" reference to a {{block(DataItem)}} that associates the values with an external entity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COORDINATE_SYSTEMValue _COORDINATE_SYSTEM; + /// + public COORDINATE_SYSTEMValue COORDINATE_SYSTEM => _COORDINATE_SYSTEM ?? (_COORDINATE_SYSTEM = new COORDINATE_SYSTEMValue()); + + /// referenced DataItem provides the id of the effective Coordinate System.



+ /// Value for DataItemRelationshipTypeEnum.
+ ///
See also DataItemRelationshipTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class COORDINATE_SYSTEMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COORDINATE_SYSTEM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" referenced {{block(DataItem)}} provides the `id` of the effective Coordinate System. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LIMITValue _LIMIT; + /// + public LIMITValue LIMIT => _LIMIT ?? (_LIMIT = new LIMITValue()); + + /// referenced DataItem provides process limits.



+ /// Value for DataItemRelationshipTypeEnum.
+ ///
See also DataItemRelationshipTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class LIMITValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LIMIT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" referenced {{block(DataItem)}} provides process limits. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OBSERVATIONValue _OBSERVATION; + /// + public OBSERVATIONValue OBSERVATION => _OBSERVATION ?? (_OBSERVATION = new OBSERVATIONValue()); + + /// referenced DataItem provides the observed values.



+ /// Value for DataItemRelationshipTypeEnum.
+ ///
See also DataItemRelationshipTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class OBSERVATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OBSERVATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" referenced {{block(DataItem)}} provides the observed values. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DataItemSubTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DataItemSubTypeEnum.cs new file mode 100644 index 00000000..68932e38 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DataItemSubTypeEnum.cs @@ -0,0 +1,5741 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum DataItemSubTypeEnum + { + /// relating to or derived in the simplest manner from the fundamental units or measurements.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ABSOLUTE, + /// indication of the operating state of a mechanism.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ACTION, + /// measured or reported value of an observation.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ACTUAL, + /// all actions, items, or activities being counted independent of the outcome.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ALL, + /// measurement of alternating voltage or current. If not specified further in statistic, defaults to RMS voltage.

DEPRECATED in Version 1.6.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ALTERNATING, + /// A-Scale weighting factor on the frequency scale.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + A_SCALE, + /// when multiple locations on a piece of bar stock being feed by a bar feeder are referenced as the indication of whether the end of that piece of bar stock has been reached.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + AUXILIARY, + /// actions, items, or activities being counted that do not conform to specification or expectation.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + BAD, + /// scale to measure the resistance to deformation of a surface.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + BRINELL, + /// B-Scale weighting factor on the frequency scale.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + B_SCALE, + /// directive value including adjustments such as an offset or overrides.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + COMMANDED, + /// amount of material consumed from an object or container during a manufacturing process.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CONSUMED, + /// state of the enabling signal or control logic that enables or disables the function or operation of the entity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CONTROL, + /// C-Scale weighting factor on the frequency scale.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + C_SCALE, + /// elapsed time of a temporary halt of action.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DELAY, + /// DC current or voltage.

DEPRECATED in Version 1.6.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DIRECT, + /// setting or operator selection used to execute a test mode to confirm the execution of machine functions.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DRY_RUN, + /// D-Scale weighting factor on the frequency scale.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + D_SCALE, + /// relating to the expiration or end of useful life for a material or other physical item.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + EXPIRATION, + /// relating to the first use of a material or other physical item.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FIRST_USE, + /// actions, items, or activities being counted that conform to specification or expectation.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + GOOD, + /// relating to or derived from the last observation.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + INCREMENTAL, + /// relating to momentary activation of a function or a movement.

DEPRECATION WARNING: May be deprecated in the future.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + JOG, + /// indication of the position of a mechanism that may move in a lateral direction.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LATERAL, + /// scale to measure the elasticity of a surface.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LEEB, + /// reference to a length type tool offset variable.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LENGTH, + /// state of the power source.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LINE, + /// direction of motion of a linear motion.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LINEAR, + /// indication that the subparts of a piece of equipment are under load.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LOADED, + /// setting or operator selection that changes the behavior of the controller on a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MACHINE_AXIS_LOCK, + /// relating to the primary logic or motion program currently being executed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MAIN, + /// relating to maintenance on the piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MAINTENANCE, + /// indication of the state of an operator controlled interlock that can inhibit the ability to initiate an unclamp action of an electronically controlled chuck.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MANUAL_UNCLAMP, + /// related to the production of a material or other physical item.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MANUFACTURE, + /// maximum value.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MAXIMUM, + /// minimum value.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MINIMUM, + /// scale to measure the resistance to scratching of a surface.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MOHS, + /// indication of the open or closed state of a mechanism.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MOTION, + /// no weighting factor on the frequency scale.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + NO_SCALE, + /// piece of equipment that is powered or performing any activity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + OPERATING, + /// relating to the person currently responsible for operating the piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + OPERATOR, + /// setting or operator selection that changes the behavior of the controller on a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + OPTIONAL_STOP, + /// overridden value.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + OVERRIDE, + /// piece of equipment is powered and functioning or Component that are required to remain on are powered.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + POWERED, + /// main or principle.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PRIMARY, + /// position provided by a measurement probe.

DEPRECATION WARNING: May be deprecated in the future.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROBE, + /// relating to production of a part or product on a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROCESS, + /// directive value without offsets and adjustments.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROGRAMMED, + /// reference to a radial type tool offset variable.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + RADIAL, + /// performing an operation faster or in less time than nominal rate.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + RAPID, + /// remaining measure or count of an action, object or activity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + REMAINING, + /// scale to measure the resistance to deformation of a surface.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ROCKWELL, + /// direction of a rotary motion using the right hand rule convention.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ROTARY, + /// identity of a control program that is used to specify the order of execution of other programs.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SCHEDULE, + /// relating to the preparation of a piece of equipment for production or restoring the piece of equipment to a neutral state after production.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SET_UP, + /// scale to measure the resistance to deformation of a surface.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SHORE, + /// setting or operator selection that changes the behavior of the controller on a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SINGLE_BLOCK, + /// standard measure of an object or an action.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + STANDARD, + /// boundary when an activity or an event commences.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + START, + /// indication of the activation state of a mechanism represented by a Composition.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SWITCHED, + /// goal of the operation or process.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TARGET, + /// relating to the end or completion of an activity or event.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TARGET_COMPLETION, + /// setting or operator selection that changes the behavior of the controller on a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TOOL_CHANGE_STOP, + /// remaining usable measure of an object or action.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + USEABLE, + /// indication of the position of a mechanism that may move in a vertical direction.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VERTICAL, + /// scale to measure the resistance to deformation of a surface.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VICKERS, + /// piece of equipment performing any activity, the equipment is active and performing a function under load or not.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + WORKING, + /// IPV4 network address of the Component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + IPV4_ADDRESS, + /// IPV6 network address of the Component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + IPV6_ADDRESS, + /// Gateway for the Component network.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + GATEWAY, + /// SubNet mask for the Component network.



+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SUBNET_MASK, + /// layer2 Virtual Local Network (VLAN) ID for the Component network.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VLAN_ID, + /// Media Access Control Address. The unique physical address of the network hardware.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MAC_ADDRESS, + /// identifies whether the connection type is wireless.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + WIRELESS, + /// license code to validate or activate the hardware or software.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LICENSE, + /// version of the hardware or software.



+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VERSION, + /// date the hardware or software was released for general use.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + RELEASE_DATE, + /// date the hardware or software was installed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + INSTALL_DATE, + /// corporate identity for the maker of the hardware or software.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MANUFACTURER, + /// universally unique identifier as specified in ISO 11578 or RFC 4122.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + UUID, + /// serial number that uniquely identifies a specific part.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SERIAL_NUMBER, + /// material that is used to produce parts.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + RAW_MATERIAL, + /// group of parts tracked as a lot.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LOT, + /// group of parts produced in a batch.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + BATCH, + /// material heat number.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + HEAT_TREAT, + /// particular part design or model.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART_NUMBER, + /// group of parts having similarities in geometry, manufacturing process, and/or functions.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART_FAMILY, + /// word or set of words by which a part is known, addressed, or referred to.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART_NAME, + /// step in the process plan that this occurrence corresponds to.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROCESS_STEP, + /// process plan that a process occurrence belongs to.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROCESS_PLAN, + /// authorization of a process occurrence.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ORDER_NUMBER, + /// word or set of words by which a process being executed (process occurrence) by the device is known, addressed, or referred to.



+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROCESS_NAME, + /// reference to a ISO 10303 Executable.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ISO_STEP_EXECUTABLE, + /// associated with the completion of an activity or event.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + COMPLETE, + /// relating to logic or motion program currently executing.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ACTIVE, + /// actions or activities that were attempted , but failed to complete or resulted in an unexpected or unacceptable outcome.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FAILED, + /// actions or activities that were attempted, but terminated before they could be completed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ABORTED, + /// boundary when an activity or an event terminates.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ENDED, + /// amount discarded.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + WASTE, + /// amount included in the part.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART, + /// request by an Interface for a task.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + REQUEST, + /// response by an Interface to a request for a task.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + RESPONSE, + /// phase or segment of a recipe or program.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ACTIVITY, + /// phase of a recipe process.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SEGMENT, + /// process as part of product production; can be a subprocess of a larger process.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + RECIPE, + /// step of a discrete manufacturing process.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + OPERATION, + /// observed as a binary data type.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + BINARY, + /// observed as a boolean data type.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + BOOLEAN, + /// observed as a set containing a restricted number of discrete values where each discrete value is named and unique.
ISO 21961:2003, 013


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ENUMERATED, + /// indicated by the presence or existence of something.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DETECT, + /// model info of the hardware or software.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MODEL, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataItemSubTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579563592155_977172_22064"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1579563592155_977172_22064"; + /// Constant value for + public const string NAME = "DataItemSubTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(DataItemSubTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ABSOLUTE, + ACTION, + ACTUAL, + ALL, + ALTERNATING, + A_SCALE, + AUXILIARY, + BAD, + BRINELL, + B_SCALE, + COMMANDED, + CONSUMED, + CONTROL, + C_SCALE, + DELAY, + DIRECT, + DRY_RUN, + D_SCALE, + EXPIRATION, + FIRST_USE, + GOOD, + INCREMENTAL, + JOG, + LATERAL, + LEEB, + LENGTH, + LINE, + LINEAR, + LOADED, + MACHINE_AXIS_LOCK, + MAIN, + MAINTENANCE, + MANUAL_UNCLAMP, + MANUFACTURE, + MAXIMUM, + MINIMUM, + MOHS, + MOTION, + NO_SCALE, + OPERATING, + OPERATOR, + OPTIONAL_STOP, + OVERRIDE, + POWERED, + PRIMARY, + PROBE, + PROCESS, + PROGRAMMED, + RADIAL, + RAPID, + REMAINING, + ROCKWELL, + ROTARY, + SCHEDULE, + SET_UP, + SHORE, + SINGLE_BLOCK, + STANDARD, + START, + SWITCHED, + TARGET, + TARGET_COMPLETION, + TOOL_CHANGE_STOP, + USEABLE, + VERTICAL, + VICKERS, + WORKING, + IPV4_ADDRESS, + IPV6_ADDRESS, + GATEWAY, + SUBNET_MASK, + VLAN_ID, + MAC_ADDRESS, + WIRELESS, + LICENSE, + VERSION, + RELEASE_DATE, + INSTALL_DATE, + MANUFACTURER, + UUID, + SERIAL_NUMBER, + RAW_MATERIAL, + LOT, + BATCH, + HEAT_TREAT, + PART_NUMBER, + PART_FAMILY, + PART_NAME, + PROCESS_STEP, + PROCESS_PLAN, + ORDER_NUMBER, + PROCESS_NAME, + ISO_STEP_EXECUTABLE, + COMPLETE, + ACTIVE, + FAILED, + ABORTED, + ENDED, + WASTE, + PART, + REQUEST, + RESPONSE, + ACTIVITY, + SEGMENT, + RECIPE, + OPERATION, + BINARY, + BOOLEAN, + ENUMERATED, + DETECT, + MODEL, + }; + + private ABSOLUTEValue _ABSOLUTE; + /// + public ABSOLUTEValue ABSOLUTE => _ABSOLUTE ?? (_ABSOLUTE = new ABSOLUTEValue()); + + /// relating to or derived in the simplest manner from the fundamental units or measurements.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ABSOLUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ABSOLUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" relating to or derived in the simplest manner from the fundamental units or measurements. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACTIONValue _ACTION; + /// + public ACTIONValue ACTION => _ACTION ?? (_ACTION = new ACTIONValue()); + + /// indication of the operating state of a mechanism.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ACTIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication of the operating state of a mechanism. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACTUALValue _ACTUAL; + /// + public ACTUALValue ACTUAL => _ACTUAL ?? (_ACTUAL = new ACTUALValue()); + + /// measured or reported value of an observation.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ACTUALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTUAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measured or reported value of an {{term(observation)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ALLValue _ALL; + /// + public ALLValue ALL => _ALL ?? (_ALL = new ALLValue()); + + /// all actions, items, or activities being counted independent of the outcome.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ALLValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ALL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" all actions, items, or activities being counted independent of the outcome. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ALTERNATINGValue _ALTERNATING; + /// + public ALTERNATINGValue ALTERNATING => _ALTERNATING ?? (_ALTERNATING = new ALTERNATINGValue()); + + /// measurement of alternating voltage or current. If not specified further in statistic, defaults to RMS voltage.

DEPRECATED in Version 1.6.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ALTERNATINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ALTERNATING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + /// Constant value for + public const string SUMMARY = @" measurement of alternating voltage or current. If not specified further in statistic, defaults to RMS voltage. + +**DEPRECATED** in *Version 1.6*. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private A_SCALEValue _A_SCALE; + /// + public A_SCALEValue A_SCALE => _A_SCALE ?? (_A_SCALE = new A_SCALEValue()); + + /// A-Scale weighting factor on the frequency scale.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class A_SCALEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "A_SCALE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" A-Scale weighting factor on the frequency scale. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AUXILIARYValue _AUXILIARY; + /// + public AUXILIARYValue AUXILIARY => _AUXILIARY ?? (_AUXILIARY = new AUXILIARYValue()); + + /// when multiple locations on a piece of bar stock being feed by a bar feeder are referenced as the indication of whether the end of that piece of bar stock has been reached.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class AUXILIARYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AUXILIARY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" when multiple locations on a piece of bar stock being feed by a bar feeder are referenced as the indication of whether the end of that piece of bar stock has been reached. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BADValue _BAD; + /// + public BADValue BAD => _BAD ?? (_BAD = new BADValue()); + + /// actions, items, or activities being counted that do not conform to specification or expectation.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class BADValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BAD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" actions, items, or activities being counted that do not conform to specification or expectation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BRINELLValue _BRINELL; + /// + public BRINELLValue BRINELL => _BRINELL ?? (_BRINELL = new BRINELLValue()); + + /// scale to measure the resistance to deformation of a surface.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class BRINELLValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BRINELL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" scale to measure the resistance to deformation of a surface. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private B_SCALEValue _B_SCALE; + /// + public B_SCALEValue B_SCALE => _B_SCALE ?? (_B_SCALE = new B_SCALEValue()); + + /// B-Scale weighting factor on the frequency scale.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class B_SCALEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "B_SCALE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" B-Scale weighting factor on the frequency scale. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COMMANDEDValue _COMMANDED; + /// + public COMMANDEDValue COMMANDED => _COMMANDED ?? (_COMMANDED = new COMMANDEDValue()); + + /// directive value including adjustments such as an offset or overrides.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class COMMANDEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COMMANDED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" directive value including adjustments such as an offset or overrides. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CONSUMEDValue _CONSUMED; + /// + public CONSUMEDValue CONSUMED => _CONSUMED ?? (_CONSUMED = new CONSUMEDValue()); + + /// amount of material consumed from an object or container during a manufacturing process.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CONSUMEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONSUMED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" amount of material consumed from an object or container during a manufacturing process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CONTROLValue _CONTROL; + /// + public CONTROLValue CONTROL => _CONTROL ?? (_CONTROL = new CONTROLValue()); + + /// state of the enabling signal or control logic that enables or disables the function or operation of the entity.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CONTROLValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONTROL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" state of the enabling signal or control logic that enables or disables the function or operation of the entity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private C_SCALEValue _C_SCALE; + /// + public C_SCALEValue C_SCALE => _C_SCALE ?? (_C_SCALE = new C_SCALEValue()); + + /// C-Scale weighting factor on the frequency scale.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class C_SCALEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "C_SCALE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" C-Scale weighting factor on the frequency scale. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DELAYValue _DELAY; + /// + public DELAYValue DELAY => _DELAY ?? (_DELAY = new DELAYValue()); + + /// elapsed time of a temporary halt of action.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DELAYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DELAY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" elapsed time of a temporary halt of action. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DIRECTValue _DIRECT; + /// + public DIRECTValue DIRECT => _DIRECT ?? (_DIRECT = new DIRECTValue()); + + /// DC current or voltage.

DEPRECATED in Version 1.6.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DIRECTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DIRECT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + /// Constant value for + public const string SUMMARY = @" DC current or voltage. + +**DEPRECATED** in *Version 1.6*. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DRY_RUNValue _DRY_RUN; + /// + public DRY_RUNValue DRY_RUN => _DRY_RUN ?? (_DRY_RUN = new DRY_RUNValue()); + + /// setting or operator selection used to execute a test mode to confirm the execution of machine functions.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DRY_RUNValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DRY_RUN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" setting or operator selection used to execute a test mode to confirm the execution of machine functions. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private D_SCALEValue _D_SCALE; + /// + public D_SCALEValue D_SCALE => _D_SCALE ?? (_D_SCALE = new D_SCALEValue()); + + /// D-Scale weighting factor on the frequency scale.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class D_SCALEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "D_SCALE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" D-Scale weighting factor on the frequency scale. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private EXPIRATIONValue _EXPIRATION; + /// + public EXPIRATIONValue EXPIRATION => _EXPIRATION ?? (_EXPIRATION = new EXPIRATIONValue()); + + /// relating to the expiration or end of useful life for a material or other physical item.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class EXPIRATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EXPIRATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" relating to the expiration or end of useful life for a material or other physical item. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FIRST_USEValue _FIRST_USE; + /// + public FIRST_USEValue FIRST_USE => _FIRST_USE ?? (_FIRST_USE = new FIRST_USEValue()); + + /// relating to the first use of a material or other physical item.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FIRST_USEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FIRST_USE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" relating to the first use of a material or other physical item. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GOODValue _GOOD; + /// + public GOODValue GOOD => _GOOD ?? (_GOOD = new GOODValue()); + + /// actions, items, or activities being counted that conform to specification or expectation.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class GOODValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GOOD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" actions, items, or activities being counted that conform to specification or expectation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INCREMENTALValue _INCREMENTAL; + /// + public INCREMENTALValue INCREMENTAL => _INCREMENTAL ?? (_INCREMENTAL = new INCREMENTALValue()); + + /// relating to or derived from the last observation.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class INCREMENTALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INCREMENTAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" relating to or derived from the last {{term(observation)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private JOGValue _JOG; + /// + public JOGValue JOG => _JOG ?? (_JOG = new JOGValue()); + + /// relating to momentary activation of a function or a movement.

DEPRECATION WARNING: May be deprecated in the future.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class JOGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "JOG"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" relating to momentary activation of a function or a movement. + +**DEPRECATION WARNING**: May be deprecated in the future. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LATERALValue _LATERAL; + /// + public LATERALValue LATERAL => _LATERAL ?? (_LATERAL = new LATERALValue()); + + /// indication of the position of a mechanism that may move in a lateral direction.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LATERALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LATERAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication of the position of a mechanism that may move in a lateral direction. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LEEBValue _LEEB; + /// + public LEEBValue LEEB => _LEEB ?? (_LEEB = new LEEBValue()); + + /// scale to measure the elasticity of a surface.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LEEBValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LEEB"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" scale to measure the elasticity of a surface. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LENGTHValue _LENGTH; + /// + public LENGTHValue LENGTH => _LENGTH ?? (_LENGTH = new LENGTHValue()); + + /// reference to a length type tool offset variable.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LENGTHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LENGTH"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" reference to a length type tool offset variable. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LINEValue _LINE; + /// + public LINEValue LINE => _LINE ?? (_LINE = new LINEValue()); + + /// state of the power source.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LINEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LINE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" state of the power source. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LINEARValue _LINEAR; + /// + public LINEARValue LINEAR => _LINEAR ?? (_LINEAR = new LINEARValue()); + + /// direction of motion of a linear motion.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LINEARValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LINEAR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" direction of motion of a linear motion. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LOADEDValue _LOADED; + /// + public LOADEDValue LOADED => _LOADED ?? (_LOADED = new LOADEDValue()); + + /// indication that the subparts of a piece of equipment are under load.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LOADEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOADED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication that the subparts of a piece of equipment are under load. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MACHINE_AXIS_LOCKValue _MACHINE_AXIS_LOCK; + /// + public MACHINE_AXIS_LOCKValue MACHINE_AXIS_LOCK => _MACHINE_AXIS_LOCK ?? (_MACHINE_AXIS_LOCK = new MACHINE_AXIS_LOCKValue()); + + /// setting or operator selection that changes the behavior of the controller on a piece of equipment.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MACHINE_AXIS_LOCKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MACHINE_AXIS_LOCK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" setting or operator selection that changes the behavior of the controller on a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MAINValue _MAIN; + /// + public MAINValue MAIN => _MAIN ?? (_MAIN = new MAINValue()); + + /// relating to the primary logic or motion program currently being executed.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MAINValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MAIN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" relating to the primary logic or motion program currently being executed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MAINTENANCEValue _MAINTENANCE; + /// + public MAINTENANCEValue MAINTENANCE => _MAINTENANCE ?? (_MAINTENANCE = new MAINTENANCEValue()); + + /// relating to maintenance on the piece of equipment.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MAINTENANCEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MAINTENANCE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" relating to maintenance on the piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MANUAL_UNCLAMPValue _MANUAL_UNCLAMP; + /// + public MANUAL_UNCLAMPValue MANUAL_UNCLAMP => _MANUAL_UNCLAMP ?? (_MANUAL_UNCLAMP = new MANUAL_UNCLAMPValue()); + + /// indication of the state of an operator controlled interlock that can inhibit the ability to initiate an unclamp action of an electronically controlled chuck.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MANUAL_UNCLAMPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MANUAL_UNCLAMP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication of the state of an operator controlled interlock that can inhibit the ability to initiate an unclamp action of an electronically controlled chuck. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MANUFACTUREValue _MANUFACTURE; + /// + public MANUFACTUREValue MANUFACTURE => _MANUFACTURE ?? (_MANUFACTURE = new MANUFACTUREValue()); + + /// related to the production of a material or other physical item.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MANUFACTUREValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MANUFACTURE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" related to the production of a material or other physical item. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MAXIMUMValue _MAXIMUM; + /// + public MAXIMUMValue MAXIMUM => _MAXIMUM ?? (_MAXIMUM = new MAXIMUMValue()); + + /// maximum value.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MAXIMUMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MAXIMUM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" maximum value. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MINIMUMValue _MINIMUM; + /// + public MINIMUMValue MINIMUM => _MINIMUM ?? (_MINIMUM = new MINIMUMValue()); + + /// minimum value.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MINIMUMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MINIMUM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" minimum value. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MOHSValue _MOHS; + /// + public MOHSValue MOHS => _MOHS ?? (_MOHS = new MOHSValue()); + + /// scale to measure the resistance to scratching of a surface.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MOHSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MOHS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" scale to measure the resistance to scratching of a surface. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MOTIONValue _MOTION; + /// + public MOTIONValue MOTION => _MOTION ?? (_MOTION = new MOTIONValue()); + + /// indication of the open or closed state of a mechanism.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MOTIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MOTION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication of the open or closed state of a mechanism. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NO_SCALEValue _NO_SCALE; + /// + public NO_SCALEValue NO_SCALE => _NO_SCALE ?? (_NO_SCALE = new NO_SCALEValue()); + + /// no weighting factor on the frequency scale.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class NO_SCALEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NO_SCALE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" no weighting factor on the frequency scale. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OPERATINGValue _OPERATING; + /// + public OPERATINGValue OPERATING => _OPERATING ?? (_OPERATING = new OPERATINGValue()); + + /// piece of equipment that is powered or performing any activity.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class OPERATINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPERATING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" piece of equipment that is powered or performing any activity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OPERATORValue _OPERATOR; + /// + public OPERATORValue OPERATOR => _OPERATOR ?? (_OPERATOR = new OPERATORValue()); + + /// relating to the person currently responsible for operating the piece of equipment.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class OPERATORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPERATOR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" relating to the person currently responsible for operating the piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OPTIONAL_STOPValue _OPTIONAL_STOP; + /// + public OPTIONAL_STOPValue OPTIONAL_STOP => _OPTIONAL_STOP ?? (_OPTIONAL_STOP = new OPTIONAL_STOPValue()); + + /// setting or operator selection that changes the behavior of the controller on a piece of equipment.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class OPTIONAL_STOPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPTIONAL_STOP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" setting or operator selection that changes the behavior of the controller on a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OVERRIDEValue _OVERRIDE; + /// + public OVERRIDEValue OVERRIDE => _OVERRIDE ?? (_OVERRIDE = new OVERRIDEValue()); + + /// overridden value.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class OVERRIDEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OVERRIDE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" overridden value. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POWEREDValue _POWERED; + /// + public POWEREDValue POWERED => _POWERED ?? (_POWERED = new POWEREDValue()); + + /// piece of equipment is powered and functioning or Component that are required to remain on are powered.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class POWEREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POWERED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" piece of equipment is powered and functioning or {{block(Component)}} that are required to remain on are powered. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PRIMARYValue _PRIMARY; + /// + public PRIMARYValue PRIMARY => _PRIMARY ?? (_PRIMARY = new PRIMARYValue()); + + /// main or principle.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PRIMARYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PRIMARY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" main or principle. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROBEValue _PROBE; + /// + public PROBEValue PROBE => _PROBE ?? (_PROBE = new PROBEValue()); + + /// position provided by a measurement probe.

DEPRECATION WARNING: May be deprecated in the future.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROBEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROBE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" position provided by a measurement probe. + +**DEPRECATION WARNING**: May be deprecated in the future. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESSValue _PROCESS; + /// + public PROCESSValue PROCESS => _PROCESS ?? (_PROCESS = new PROCESSValue()); + + /// relating to production of a part or product on a piece of equipment.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROCESSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" relating to production of a part or product on a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROGRAMMEDValue _PROGRAMMED; + /// + public PROGRAMMEDValue PROGRAMMED => _PROGRAMMED ?? (_PROGRAMMED = new PROGRAMMEDValue()); + + /// directive value without offsets and adjustments.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROGRAMMEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROGRAMMED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" directive value without offsets and adjustments. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RADIALValue _RADIAL; + /// + public RADIALValue RADIAL => _RADIAL ?? (_RADIAL = new RADIALValue()); + + /// reference to a radial type tool offset variable.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class RADIALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RADIAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" reference to a radial type tool offset variable. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RAPIDValue _RAPID; + /// + public RAPIDValue RAPID => _RAPID ?? (_RAPID = new RAPIDValue()); + + /// performing an operation faster or in less time than nominal rate.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class RAPIDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RAPID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" performing an operation faster or in less time than nominal rate. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private REMAININGValue _REMAINING; + /// + public REMAININGValue REMAINING => _REMAINING ?? (_REMAINING = new REMAININGValue()); + + /// remaining measure or count of an action, object or activity.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class REMAININGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "REMAINING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" remaining measure or count of an action, object or activity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ROCKWELLValue _ROCKWELL; + /// + public ROCKWELLValue ROCKWELL => _ROCKWELL ?? (_ROCKWELL = new ROCKWELLValue()); + + /// scale to measure the resistance to deformation of a surface.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ROCKWELLValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ROCKWELL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" scale to measure the resistance to deformation of a surface. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ROTARYValue _ROTARY; + /// + public ROTARYValue ROTARY => _ROTARY ?? (_ROTARY = new ROTARYValue()); + + /// direction of a rotary motion using the right hand rule convention.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ROTARYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ROTARY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" direction of a rotary motion using the right hand rule convention. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SCHEDULEValue _SCHEDULE; + /// + public SCHEDULEValue SCHEDULE => _SCHEDULE ?? (_SCHEDULE = new SCHEDULEValue()); + + /// identity of a control program that is used to specify the order of execution of other programs.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SCHEDULEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SCHEDULE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identity of a control program that is used to specify the order of execution of other programs. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SET_UPValue _SET_UP; + /// + public SET_UPValue SET_UP => _SET_UP ?? (_SET_UP = new SET_UPValue()); + + /// relating to the preparation of a piece of equipment for production or restoring the piece of equipment to a neutral state after production.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SET_UPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SET_UP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" relating to the preparation of a piece of equipment for production or restoring the piece of equipment to a neutral state after production. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SHOREValue _SHORE; + /// + public SHOREValue SHORE => _SHORE ?? (_SHORE = new SHOREValue()); + + /// scale to measure the resistance to deformation of a surface.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SHOREValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SHORE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" scale to measure the resistance to deformation of a surface. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SINGLE_BLOCKValue _SINGLE_BLOCK; + /// + public SINGLE_BLOCKValue SINGLE_BLOCK => _SINGLE_BLOCK ?? (_SINGLE_BLOCK = new SINGLE_BLOCKValue()); + + /// setting or operator selection that changes the behavior of the controller on a piece of equipment.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SINGLE_BLOCKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SINGLE_BLOCK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" setting or operator selection that changes the behavior of the controller on a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STANDARDValue _STANDARD; + /// + public STANDARDValue STANDARD => _STANDARD ?? (_STANDARD = new STANDARDValue()); + + /// standard measure of an object or an action.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class STANDARDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STANDARD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" standard measure of an object or an action. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STARTValue _START; + /// + public STARTValue START => _START ?? (_START = new STARTValue()); + + /// boundary when an activity or an event commences.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class STARTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "START"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" boundary when an activity or an event commences. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SWITCHEDValue _SWITCHED; + /// + public SWITCHEDValue SWITCHED => _SWITCHED ?? (_SWITCHED = new SWITCHEDValue()); + + /// indication of the activation state of a mechanism represented by a Composition.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SWITCHEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SWITCHED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication of the activation state of a mechanism represented by a {{block(Composition)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TARGETValue _TARGET; + /// + public TARGETValue TARGET => _TARGET ?? (_TARGET = new TARGETValue()); + + /// goal of the operation or process.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TARGETValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TARGET"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" goal of the operation or process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TARGET_COMPLETIONValue _TARGET_COMPLETION; + /// + public TARGET_COMPLETIONValue TARGET_COMPLETION => _TARGET_COMPLETION ?? (_TARGET_COMPLETION = new TARGET_COMPLETIONValue()); + + /// relating to the end or completion of an activity or event.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TARGET_COMPLETIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TARGET_COMPLETION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" relating to the end or completion of an activity or event. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOOL_CHANGE_STOPValue _TOOL_CHANGE_STOP; + /// + public TOOL_CHANGE_STOPValue TOOL_CHANGE_STOP => _TOOL_CHANGE_STOP ?? (_TOOL_CHANGE_STOP = new TOOL_CHANGE_STOPValue()); + + /// setting or operator selection that changes the behavior of the controller on a piece of equipment.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TOOL_CHANGE_STOPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOOL_CHANGE_STOP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" setting or operator selection that changes the behavior of the controller on a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private USEABLEValue _USEABLE; + /// + public USEABLEValue USEABLE => _USEABLE ?? (_USEABLE = new USEABLEValue()); + + /// remaining usable measure of an object or action.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class USEABLEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "USEABLE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" remaining usable measure of an object or action. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VERTICALValue _VERTICAL; + /// + public VERTICALValue VERTICAL => _VERTICAL ?? (_VERTICAL = new VERTICALValue()); + + /// indication of the position of a mechanism that may move in a vertical direction.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VERTICALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VERTICAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication of the position of a mechanism that may move in a vertical direction. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VICKERSValue _VICKERS; + /// + public VICKERSValue VICKERS => _VICKERS ?? (_VICKERS = new VICKERSValue()); + + /// scale to measure the resistance to deformation of a surface.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VICKERSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VICKERS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" scale to measure the resistance to deformation of a surface. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WORKINGValue _WORKING; + /// + public WORKINGValue WORKING => _WORKING ?? (_WORKING = new WORKINGValue()); + + /// piece of equipment performing any activity, the equipment is active and performing a function under load or not.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class WORKINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WORKING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" piece of equipment performing any activity, the equipment is active and performing a function under load or not. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private IPV4_ADDRESSValue _IPV4_ADDRESS; + /// + public IPV4_ADDRESSValue IPV4_ADDRESS => _IPV4_ADDRESS ?? (_IPV4_ADDRESS = new IPV4_ADDRESSValue()); + + /// IPV4 network address of the Component.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class IPV4_ADDRESSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "IPV4_ADDRESS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" IPV4 network address of the {{block(Component)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private IPV6_ADDRESSValue _IPV6_ADDRESS; + /// + public IPV6_ADDRESSValue IPV6_ADDRESS => _IPV6_ADDRESS ?? (_IPV6_ADDRESS = new IPV6_ADDRESSValue()); + + /// IPV6 network address of the Component.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class IPV6_ADDRESSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "IPV6_ADDRESS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" IPV6 network address of the {{block(Component)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GATEWAYValue _GATEWAY; + /// + public GATEWAYValue GATEWAY => _GATEWAY ?? (_GATEWAY = new GATEWAYValue()); + + /// Gateway for the Component network.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class GATEWAYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GATEWAY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" Gateway for the {{block(Component)}} network. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SUBNET_MASKValue _SUBNET_MASK; + /// + public SUBNET_MASKValue SUBNET_MASK => _SUBNET_MASK ?? (_SUBNET_MASK = new SUBNET_MASKValue()); + + /// SubNet mask for the Component network.



+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SUBNET_MASKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SUBNET_MASK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" SubNet mask for the {{block(Component)}} network. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VLAN_IDValue _VLAN_ID; + /// + public VLAN_IDValue VLAN_ID => _VLAN_ID ?? (_VLAN_ID = new VLAN_IDValue()); + + /// layer2 Virtual Local Network (VLAN) ID for the Component network.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VLAN_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VLAN_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" layer2 Virtual Local Network (VLAN) ID for the {{block(Component)}} network. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MAC_ADDRESSValue _MAC_ADDRESS; + /// + public MAC_ADDRESSValue MAC_ADDRESS => _MAC_ADDRESS ?? (_MAC_ADDRESS = new MAC_ADDRESSValue()); + + /// Media Access Control Address. The unique physical address of the network hardware.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MAC_ADDRESSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MAC_ADDRESS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" Media Access Control Address. The unique physical address of the network hardware. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WIRELESSValue _WIRELESS; + /// + public WIRELESSValue WIRELESS => _WIRELESS ?? (_WIRELESS = new WIRELESSValue()); + + /// identifies whether the connection type is wireless.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class WIRELESSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WIRELESS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifies whether the connection type is wireless. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LICENSEValue _LICENSE; + /// + public LICENSEValue LICENSE => _LICENSE ?? (_LICENSE = new LICENSEValue()); + + /// license code to validate or activate the hardware or software.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LICENSEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LICENSE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" license code to validate or activate the hardware or software. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VERSIONValue _VERSION; + /// + public VERSIONValue VERSION => _VERSION ?? (_VERSION = new VERSIONValue()); + + /// version of the hardware or software.



+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VERSIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VERSION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" version of the hardware or software. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RELEASE_DATEValue _RELEASE_DATE; + /// + public RELEASE_DATEValue RELEASE_DATE => _RELEASE_DATE ?? (_RELEASE_DATE = new RELEASE_DATEValue()); + + /// date the hardware or software was released for general use.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class RELEASE_DATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RELEASE_DATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" date the hardware or software was released for general use. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INSTALL_DATEValue _INSTALL_DATE; + /// + public INSTALL_DATEValue INSTALL_DATE => _INSTALL_DATE ?? (_INSTALL_DATE = new INSTALL_DATEValue()); + + /// date the hardware or software was installed.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class INSTALL_DATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INSTALL_DATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" date the hardware or software was installed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MANUFACTURERValue _MANUFACTURER; + /// + public MANUFACTURERValue MANUFACTURER => _MANUFACTURER ?? (_MANUFACTURER = new MANUFACTURERValue()); + + /// corporate identity for the maker of the hardware or software.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MANUFACTURERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MANUFACTURER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" corporate identity for the maker of the hardware or software. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UUIDValue _UUID; + /// + public UUIDValue UUID => _UUID ?? (_UUID = new UUIDValue()); + + /// universally unique identifier as specified in ISO 11578 or RFC 4122.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class UUIDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UUID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" universally unique identifier as specified in ISO 11578 or RFC 4122. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SERIAL_NUMBERValue _SERIAL_NUMBER; + /// + public SERIAL_NUMBERValue SERIAL_NUMBER => _SERIAL_NUMBER ?? (_SERIAL_NUMBER = new SERIAL_NUMBERValue()); + + /// serial number that uniquely identifies a specific part.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SERIAL_NUMBERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SERIAL_NUMBER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" serial number that uniquely identifies a specific part. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RAW_MATERIALValue _RAW_MATERIAL; + /// + public RAW_MATERIALValue RAW_MATERIAL => _RAW_MATERIAL ?? (_RAW_MATERIAL = new RAW_MATERIALValue()); + + /// material that is used to produce parts.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class RAW_MATERIALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RAW_MATERIAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" material that is used to produce parts. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LOTValue _LOT; + /// + public LOTValue LOT => _LOT ?? (_LOT = new LOTValue()); + + /// group of parts tracked as a lot.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LOTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" group of parts tracked as a lot. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BATCHValue _BATCH; + /// + public BATCHValue BATCH => _BATCH ?? (_BATCH = new BATCHValue()); + + /// group of parts produced in a batch.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class BATCHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BATCH"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" group of parts produced in a batch. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private HEAT_TREATValue _HEAT_TREAT; + /// + public HEAT_TREATValue HEAT_TREAT => _HEAT_TREAT ?? (_HEAT_TREAT = new HEAT_TREATValue()); + + /// material heat number.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class HEAT_TREATValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HEAT_TREAT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" material heat number. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_NUMBERValue _PART_NUMBER; + /// + public PART_NUMBERValue PART_NUMBER => _PART_NUMBER ?? (_PART_NUMBER = new PART_NUMBERValue()); + + /// particular part design or model.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PART_NUMBERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_NUMBER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" particular part design or model. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_FAMILYValue _PART_FAMILY; + /// + public PART_FAMILYValue PART_FAMILY => _PART_FAMILY ?? (_PART_FAMILY = new PART_FAMILYValue()); + + /// group of parts having similarities in geometry, manufacturing process, and/or functions.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PART_FAMILYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_FAMILY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" group of parts having similarities in geometry, manufacturing process, and/or functions. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_NAMEValue _PART_NAME; + /// + public PART_NAMEValue PART_NAME => _PART_NAME ?? (_PART_NAME = new PART_NAMEValue()); + + /// word or set of words by which a part is known, addressed, or referred to.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PART_NAMEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_NAME"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" word or set of words by which a part is known, addressed, or referred to. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESS_STEPValue _PROCESS_STEP; + /// + public PROCESS_STEPValue PROCESS_STEP => _PROCESS_STEP ?? (_PROCESS_STEP = new PROCESS_STEPValue()); + + /// step in the process plan that this occurrence corresponds to.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROCESS_STEPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESS_STEP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" step in the process plan that this occurrence corresponds to. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESS_PLANValue _PROCESS_PLAN; + /// + public PROCESS_PLANValue PROCESS_PLAN => _PROCESS_PLAN ?? (_PROCESS_PLAN = new PROCESS_PLANValue()); + + /// process plan that a process occurrence belongs to.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROCESS_PLANValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESS_PLAN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" process plan that a process occurrence belongs to. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ORDER_NUMBERValue _ORDER_NUMBER; + /// + public ORDER_NUMBERValue ORDER_NUMBER => _ORDER_NUMBER ?? (_ORDER_NUMBER = new ORDER_NUMBERValue()); + + /// authorization of a process occurrence.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ORDER_NUMBERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ORDER_NUMBER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" authorization of a process occurrence. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESS_NAMEValue _PROCESS_NAME; + /// + public PROCESS_NAMEValue PROCESS_NAME => _PROCESS_NAME ?? (_PROCESS_NAME = new PROCESS_NAMEValue()); + + /// word or set of words by which a process being executed (process occurrence) by the device is known, addressed, or referred to.



+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROCESS_NAMEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESS_NAME"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" word or set of words by which a process being executed (process occurrence) by the device is known, addressed, or referred to. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ISO_STEP_EXECUTABLEValue _ISO_STEP_EXECUTABLE; + /// + public ISO_STEP_EXECUTABLEValue ISO_STEP_EXECUTABLE => _ISO_STEP_EXECUTABLE ?? (_ISO_STEP_EXECUTABLE = new ISO_STEP_EXECUTABLEValue()); + + /// reference to a ISO 10303 Executable.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ISO_STEP_EXECUTABLEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ISO_STEP_EXECUTABLE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" reference to a ISO 10303 Executable. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COMPLETEValue _COMPLETE; + /// + public COMPLETEValue COMPLETE => _COMPLETE ?? (_COMPLETE = new COMPLETEValue()); + + /// associated with the completion of an activity or event.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class COMPLETEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COMPLETE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" associated with the completion of an activity or event. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACTIVEValue _ACTIVE; + /// + public ACTIVEValue ACTIVE => _ACTIVE ?? (_ACTIVE = new ACTIVEValue()); + + /// relating to logic or motion program currently executing.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" relating to logic or motion program currently executing. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FAILEDValue _FAILED; + /// + public FAILEDValue FAILED => _FAILED ?? (_FAILED = new FAILEDValue()); + + /// actions or activities that were attempted , but failed to complete or resulted in an unexpected or unacceptable outcome.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FAILEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FAILED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" actions or activities that were attempted , but failed to complete or resulted in an unexpected or unacceptable outcome. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ABORTEDValue _ABORTED; + /// + public ABORTEDValue ABORTED => _ABORTED ?? (_ABORTED = new ABORTEDValue()); + + /// actions or activities that were attempted, but terminated before they could be completed.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ABORTEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ABORTED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" actions or activities that were attempted, but terminated before they could be completed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ENDEDValue _ENDED; + /// + public ENDEDValue ENDED => _ENDED ?? (_ENDED = new ENDEDValue()); + + /// boundary when an activity or an event terminates.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ENDEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ENDED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" boundary when an activity or an event terminates. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WASTEValue _WASTE; + /// + public WASTEValue WASTE => _WASTE ?? (_WASTE = new WASTEValue()); + + /// amount discarded.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class WASTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WASTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" amount discarded. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PARTValue _PART; + /// + public PARTValue PART => _PART ?? (_PART = new PARTValue()); + + /// amount included in the part.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PARTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" amount included in the {{term(part)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private REQUESTValue _REQUEST; + /// + public REQUESTValue REQUEST => _REQUEST ?? (_REQUEST = new REQUESTValue()); + + /// request by an Interface for a task.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class REQUESTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "REQUEST"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(request)}} by an {{block(Interface)}} for a task. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RESPONSEValue _RESPONSE; + /// + public RESPONSEValue RESPONSE => _RESPONSE ?? (_RESPONSE = new RESPONSEValue()); + + /// response by an Interface to a request for a task.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class RESPONSEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RESPONSE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(response)}} by an {{block(Interface)}} to a {{term(request)}} for a task. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACTIVITYValue _ACTIVITY; + /// + public ACTIVITYValue ACTIVITY => _ACTIVITY ?? (_ACTIVITY = new ACTIVITYValue()); + + /// phase or segment of a recipe or program.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ACTIVITYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVITY"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" phase or segment of a recipe or program. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SEGMENTValue _SEGMENT; + /// + public SEGMENTValue SEGMENT => _SEGMENT ?? (_SEGMENT = new SEGMENTValue()); + + /// phase of a recipe process.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SEGMENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SEGMENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" phase of a recipe process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RECIPEValue _RECIPE; + /// + public RECIPEValue RECIPE => _RECIPE ?? (_RECIPE = new RECIPEValue()); + + /// process as part of product production; can be a subprocess of a larger process.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class RECIPEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RECIPE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" process as part of product production; can be a subprocess of a larger process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OPERATIONValue _OPERATION; + /// + public OPERATIONValue OPERATION => _OPERATION ?? (_OPERATION = new OPERATIONValue()); + + /// step of a discrete manufacturing process.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class OPERATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPERATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" step of a discrete manufacturing process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BINARYValue _BINARY; + /// + public BINARYValue BINARY => _BINARY ?? (_BINARY = new BINARYValue()); + + /// observed as a binary data type.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class BINARYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BINARY"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" observed as a binary data type. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BOOLEANValue _BOOLEAN; + /// + public BOOLEANValue BOOLEAN => _BOOLEAN ?? (_BOOLEAN = new BOOLEANValue()); + + /// observed as a boolean data type.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class BOOLEANValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BOOLEAN"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" observed as a boolean data type. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ENUMERATEDValue _ENUMERATED; + /// + public ENUMERATEDValue ENUMERATED => _ENUMERATED ?? (_ENUMERATED = new ENUMERATEDValue()); + + /// observed as a set containing a restricted number of discrete values where each discrete value is named and unique.
ISO 21961:2003, 013


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ENUMERATEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ENUMERATED"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" observed as a set containing a restricted number of discrete values where each discrete value is named and unique. +{{cite(ISO 21961:2003, 013)}} +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DETECTValue _DETECT; + /// + public DETECTValue DETECT => _DETECT ?? (_DETECT = new DETECTValue()); + + /// indicated by the presence or existence of something.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DETECTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DETECT"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indicated by the presence or existence of something. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MODELValue _MODEL; + /// + public MODELValue MODEL => _MODEL ?? (_MODEL = new MODELValue()); + + /// model info of the hardware or software.


+ /// Value for DataItemSubTypeEnum.
+ ///
See also DataItemSubTypeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MODELValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MODEL"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" model info of the hardware or software. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DataItemTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DataItemTypeEnum.cs new file mode 100644 index 00000000..7f409660 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DataItemTypeEnum.cs @@ -0,0 +1,71 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum DataItemTypeEnum + { + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DataItemTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579563576485_587701_22033"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1579563576485_587701_22033"; + /// Constant value for + public const string NAME = "DataItemTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(DataItemTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + }; + + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DirectionEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DirectionEnum.cs new file mode 100644 index 00000000..1ad5d692 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DirectionEnum.cs @@ -0,0 +1,291 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.4 + /// + /// + [Obsolete("Deprecated in v1.4 according to https://model.mtconnect.org/#_Version_1.4")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum DirectionEnum + { + /// clockwise rotation using the right-hand rule.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.4 + /// + /// + [Obsolete("Deprecated in v1.4 according to https://model.mtconnect.org/#_Version_1.4")] + + CLOCKWISE, + /// counter-clockwise rotation using the right-hand rule.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.4 + /// + /// + [Obsolete("Deprecated in v1.4 according to https://model.mtconnect.org/#_Version_1.4")] + + COUNTER_CLOCKWISE, + ///  + /// + /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.4 + /// + /// + [Obsolete("Deprecated in v1.4 according to https://model.mtconnect.org/#_Version_1.4")] + + POSITIVE, + ///  + /// + /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.4 + /// + /// + [Obsolete("Deprecated in v1.4 according to https://model.mtconnect.org/#_Version_1.4")] + + NEGATIVE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DirectionEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643977882360_173549_1229"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1643977882360_173549_1229"; + /// Constant value for + public const string NAME = "DirectionEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(DirectionEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + CLOCKWISE, + COUNTER_CLOCKWISE, + POSITIVE, + NEGATIVE, + }; + + private CLOCKWISEValue _CLOCKWISE; + /// + public CLOCKWISEValue CLOCKWISE => _CLOCKWISE ?? (_CLOCKWISE = new CLOCKWISEValue()); + + /// clockwise rotation using the right-hand rule.


+ /// Value for DirectionEnum.
+ ///
See also DirectionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.4 + /// + /// + [Obsolete("Deprecated in v1.4 according to https://model.mtconnect.org/#_Version_1.4")] + + public sealed class CLOCKWISEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CLOCKWISE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + /// Constant value for + public const string SUMMARY = @" clockwise rotation using the right-hand rule. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COUNTER_CLOCKWISEValue _COUNTER_CLOCKWISE; + /// + public COUNTER_CLOCKWISEValue COUNTER_CLOCKWISE => _COUNTER_CLOCKWISE ?? (_COUNTER_CLOCKWISE = new COUNTER_CLOCKWISEValue()); + + /// counter-clockwise rotation using the right-hand rule.


+ /// Value for DirectionEnum.
+ ///
See also DirectionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.4 + /// + /// + [Obsolete("Deprecated in v1.4 according to https://model.mtconnect.org/#_Version_1.4")] + + public sealed class COUNTER_CLOCKWISEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COUNTER_CLOCKWISE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + /// Constant value for + public const string SUMMARY = @" counter-clockwise rotation using the right-hand rule. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POSITIVEValue _POSITIVE; + /// + public POSITIVEValue POSITIVE => _POSITIVE ?? (_POSITIVE = new POSITIVEValue()); + + ///  + /// Value for DirectionEnum.
+ ///
See also DirectionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.4 + /// + /// + [Obsolete("Deprecated in v1.4 according to https://model.mtconnect.org/#_Version_1.4")] + + public sealed class POSITIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POSITIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NEGATIVEValue _NEGATIVE; + /// + public NEGATIVEValue NEGATIVE => _NEGATIVE ?? (_NEGATIVE = new NEGATIVEValue()); + + ///  + /// Value for DirectionEnum.
+ ///
See also DirectionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.4 + /// + /// + [Obsolete("Deprecated in v1.4 according to https://model.mtconnect.org/#_Version_1.4")] + + public sealed class NEGATIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NEGATIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DirectionLinearEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DirectionLinearEnum.cs new file mode 100644 index 00000000..0a85eff7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DirectionLinearEnum.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum DirectionLinearEnum + { + /// linear position is increasing.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + POSITIVE, + /// linear position is decreasing.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + NEGATIVE, + /// no direction.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + NONE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DirectionLinearEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587753011315_305832_4223"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_91b028d_1587753011315_305832_4223"; + /// Constant value for + public const string NAME = "DirectionLinearEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(DirectionLinearEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + POSITIVE, + NEGATIVE, + NONE, + }; + + private POSITIVEValue _POSITIVE; + /// + public POSITIVEValue POSITIVE => _POSITIVE ?? (_POSITIVE = new POSITIVEValue()); + + /// linear position is increasing.


+ /// Value for DirectionLinearEnum.
+ ///
See also DirectionLinearEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class POSITIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POSITIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" linear position is increasing. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NEGATIVEValue _NEGATIVE; + /// + public NEGATIVEValue NEGATIVE => _NEGATIVE ?? (_NEGATIVE = new NEGATIVEValue()); + + /// linear position is decreasing.


+ /// Value for DirectionLinearEnum.
+ ///
See also DirectionLinearEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class NEGATIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NEGATIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" linear position is decreasing. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NONEValue _NONE; + /// + public NONEValue NONE => _NONE ?? (_NONE = new NONEValue()); + + /// no direction.


+ /// Value for DirectionLinearEnum.
+ ///
See also DirectionLinearEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class NONEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NONE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" no direction. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DirectionRotaryEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DirectionRotaryEnum.cs new file mode 100644 index 00000000..9fad621f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DirectionRotaryEnum.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum DirectionRotaryEnum + { + /// clockwise rotation using the right-hand rule.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + CLOCKWISE, + /// counter-clockwise rotation using the right-hand rule.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + COUNTER_CLOCKWISE, + /// no direction.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + NONE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DirectionRotaryEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1587753036369_787594_4254"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_91b028d_1587753036369_787594_4254"; + /// Constant value for + public const string NAME = "DirectionRotaryEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(DirectionRotaryEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + CLOCKWISE, + COUNTER_CLOCKWISE, + NONE, + }; + + private CLOCKWISEValue _CLOCKWISE; + /// + public CLOCKWISEValue CLOCKWISE => _CLOCKWISE ?? (_CLOCKWISE = new CLOCKWISEValue()); + + /// clockwise rotation using the right-hand rule.


+ /// Value for DirectionRotaryEnum.
+ ///
See also DirectionRotaryEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class CLOCKWISEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CLOCKWISE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" clockwise rotation using the right-hand rule. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COUNTER_CLOCKWISEValue _COUNTER_CLOCKWISE; + /// + public COUNTER_CLOCKWISEValue COUNTER_CLOCKWISE => _COUNTER_CLOCKWISE ?? (_COUNTER_CLOCKWISE = new COUNTER_CLOCKWISEValue()); + + /// counter-clockwise rotation using the right-hand rule.


+ /// Value for DirectionRotaryEnum.
+ ///
See also DirectionRotaryEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class COUNTER_CLOCKWISEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COUNTER_CLOCKWISE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" counter-clockwise rotation using the right-hand rule. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NONEValue _NONE; + /// + public NONEValue NONE => _NONE ?? (_NONE = new NONEValue()); + + /// no direction.


+ /// Value for DirectionRotaryEnum.
+ ///
See also DirectionRotaryEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class NONEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NONE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" no direction. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DoorStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DoorStateEnum.cs new file mode 100644 index 00000000..a9500b0e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/DoorStateEnum.cs @@ -0,0 +1,226 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum DoorStateEnum + { + /// Door is open to the point of a positive confirmation.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + OPEN, + /// Door is closed to the point of a positive confirmation.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + CLOSED, + /// Door is not closed to the point of a positive confirmation and not open to the point of a positive confirmation.

It is in an intermediate position.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + UNLATCHED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class DoorStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1632488689397_578974_93"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1632488689397_578974_93"; + /// Constant value for + public const string NAME = "DoorStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(DoorStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + OPEN, + CLOSED, + UNLATCHED, + }; + + private OPENValue _OPEN; + /// + public OPENValue OPEN => _OPEN ?? (_OPEN = new OPENValue()); + + /// Door is open to the point of a positive confirmation.


+ /// Value for DoorStateEnum.
+ ///
See also DoorStateEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class OPENValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPEN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Door)}} is open to the point of a positive confirmation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CLOSEDValue _CLOSED; + /// + public CLOSEDValue CLOSED => _CLOSED ?? (_CLOSED = new CLOSEDValue()); + + /// Door is closed to the point of a positive confirmation.


+ /// Value for DoorStateEnum.
+ ///
See also DoorStateEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class CLOSEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CLOSED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Door)}} is closed to the point of a positive confirmation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNLATCHEDValue _UNLATCHED; + /// + public UNLATCHEDValue UNLATCHED => _UNLATCHED ?? (_UNLATCHED = new UNLATCHEDValue()); + + /// Door is not closed to the point of a positive confirmation and not open to the point of a positive confirmation.

It is in an intermediate position.


+ /// Value for DoorStateEnum.
+ ///
See also DoorStateEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class UNLATCHEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNLATCHED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Door)}} is not closed to the point of a positive confirmation and not open to the point of a positive confirmation. + +It is in an intermediate position. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EmergencyStopEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EmergencyStopEnum.cs new file mode 100644 index 00000000..176ad035 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EmergencyStopEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum EmergencyStopEnum + { + /// emergency stop circuit is complete and the piece of equipment, component, or composition is allowed to operate.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + ARMED, + /// operation of the piece of equipment, component, or composition is inhibited.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + TRIGGERED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EmergencyStopEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417662_889824_2876"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417662_889824_2876"; + /// Constant value for + public const string NAME = "EmergencyStopEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(EmergencyStopEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ARMED, + TRIGGERED, + }; + + private ARMEDValue _ARMED; + /// + public ARMEDValue ARMED => _ARMED ?? (_ARMED = new ARMEDValue()); + + /// emergency stop circuit is complete and the piece of equipment, component, or composition is allowed to operate.


+ /// Value for EmergencyStopEnum.
+ ///
See also EmergencyStopEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class ARMEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ARMED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" emergency stop circuit is complete and the piece of equipment, component, or composition is allowed to operate. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TRIGGEREDValue _TRIGGERED; + /// + public TRIGGEREDValue TRIGGERED => _TRIGGERED ?? (_TRIGGERED = new TRIGGEREDValue()); + + /// operation of the piece of equipment, component, or composition is inhibited.


+ /// Value for EmergencyStopEnum.
+ ///
See also EmergencyStopEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class TRIGGEREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TRIGGERED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operation of the piece of equipment, component, or composition is inhibited. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EndOfBarEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EndOfBarEnum.cs new file mode 100644 index 00000000..6da9e620 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EndOfBarEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum EndOfBarEnum + { + /// EndOfBar has been reached.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + YES, + /// EndOfBar has not been reached.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + NO, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EndOfBarEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417663_685842_2877"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417663_685842_2877"; + /// Constant value for + public const string NAME = "EndOfBarEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(EndOfBarEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + YES, + NO, + }; + + private YESValue _YES; + /// + public YESValue YES => _YES ?? (_YES = new YESValue()); + + /// EndOfBar has been reached.


+ /// Value for EndOfBarEnum.
+ ///
See also EndOfBarEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class YESValue : IEnumInstance + { + /// Constant value for + public const string NAME = "YES"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(EndOfBar)}} has been reached. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NOValue _NO; + /// + public NOValue NO => _NO ?? (_NO = new NOValue()); + + /// EndOfBar has not been reached.


+ /// Value for EndOfBarEnum.
+ ///
See also EndOfBarEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class NOValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NO"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(EndOfBar)}} has not been reached. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EquipmentModeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EquipmentModeEnum.cs new file mode 100644 index 00000000..3e2ddb19 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EquipmentModeEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum EquipmentModeEnum + { + /// equipment is functioning in the mode designated by the subType.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + ON, + /// equipment is not functioning in the mode designated by the subType.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + OFF, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EquipmentModeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1632489429268_660861_104"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1632489429268_660861_104"; + /// Constant value for + public const string NAME = "EquipmentModeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(EquipmentModeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ON, + OFF, + }; + + private ONValue _ON; + /// + public ONValue ON => _ON ?? (_ON = new ONValue()); + + /// equipment is functioning in the mode designated by the subType.


+ /// Value for EquipmentModeEnum.
+ ///
See also EquipmentModeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class ONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ON"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" equipment is functioning in the mode designated by the `subType`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OFFValue _OFF; + /// + public OFFValue OFF => _OFF ?? (_OFF = new OFFValue()); + + /// equipment is not functioning in the mode designated by the subType.


+ /// Value for EquipmentModeEnum.
+ ///
See also EquipmentModeEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class OFFValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OFF"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" equipment is not functioning in the mode designated by the `subType`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ErrorCodeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ErrorCodeEnum.cs new file mode 100644 index 00000000..ba33dc92 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ErrorCodeEnum.cs @@ -0,0 +1,640 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ErrorCodeEnum + { + /// request for information specifies an Asset that is not recognized by the agent.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ASSET_NOT_FOUND, + /// agent experienced an error while attempting to published the requested information.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + INTERNAL_ERROR, + /// request contains information that was not recognized by the agent.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + INVALID_REQUEST, + /// URI provided was incorrect.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + INVALID_URI, + /// XPath identified in the request for information could not be parsed correctly by the agent.

This could be caused by an invalid syntax or the XPath did not match a valid identify for any information stored in the agent.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + INVALID_XPATH, + /// identity of the Device specified in the request for information is not associated with the agent.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + NO_DEVICE, + /// request for information specifies streaming data that includes sequence number(s) for pieces of data that are beyond the end of the buffer.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + OUT_OF_RANGE, + /// agent was unable to interpret the query.

The query parameters do not contain valid values or include an invalid parameter.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + QUERY_ERROR, + /// count parameter provided in the request for information requires either of the following:

* streaming data that includes more pieces of data than the agent is capable of organizing in an MTConnectStreams Response Document.

* Assets that include more Asset in an MTConnectAssets Response Document than the agent is capable of handling.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TOO_MANY, + /// requester does not have sufficient permissions to access the requested information.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + UNAUTHORIZED, + /// valid request was provided, but the agent does not support the feature or type of request.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + UNSUPPORTED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ErrorCodeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1579560813203_683279_6795"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_91b028d_1579560813203_683279_6795"; + /// Constant value for + public const string NAME = "ErrorCodeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ErrorCodeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ASSET_NOT_FOUND, + INTERNAL_ERROR, + INVALID_REQUEST, + INVALID_URI, + INVALID_XPATH, + NO_DEVICE, + OUT_OF_RANGE, + QUERY_ERROR, + TOO_MANY, + UNAUTHORIZED, + UNSUPPORTED, + }; + + private ASSET_NOT_FOUNDValue _ASSET_NOT_FOUND; + /// + public ASSET_NOT_FOUNDValue ASSET_NOT_FOUND => _ASSET_NOT_FOUND ?? (_ASSET_NOT_FOUND = new ASSET_NOT_FOUNDValue()); + + /// request for information specifies an Asset that is not recognized by the agent.


+ /// Value for ErrorCodeEnum.
+ ///
See also ErrorCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ASSET_NOT_FOUNDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ASSET_NOT_FOUND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(request)}} for information specifies an {{block(Asset)}} that is not recognized by the {{term(agent)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INTERNAL_ERRORValue _INTERNAL_ERROR; + /// + public INTERNAL_ERRORValue INTERNAL_ERROR => _INTERNAL_ERROR ?? (_INTERNAL_ERROR = new INTERNAL_ERRORValue()); + + /// agent experienced an error while attempting to published the requested information.


+ /// Value for ErrorCodeEnum.
+ ///
See also ErrorCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class INTERNAL_ERRORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INTERNAL_ERROR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(agent)}} experienced an error while attempting to published the requested information. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INVALID_REQUESTValue _INVALID_REQUEST; + /// + public INVALID_REQUESTValue INVALID_REQUEST => _INVALID_REQUEST ?? (_INVALID_REQUEST = new INVALID_REQUESTValue()); + + /// request contains information that was not recognized by the agent.


+ /// Value for ErrorCodeEnum.
+ ///
See also ErrorCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class INVALID_REQUESTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INVALID_REQUEST"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(request)}} contains information that was not recognized by the {{term(agent)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INVALID_URIValue _INVALID_URI; + /// + public INVALID_URIValue INVALID_URI => _INVALID_URI ?? (_INVALID_URI = new INVALID_URIValue()); + + /// URI provided was incorrect.


+ /// Value for ErrorCodeEnum.
+ ///
See also ErrorCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class INVALID_URIValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INVALID_URI"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(URI)}} provided was incorrect. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INVALID_XPATHValue _INVALID_XPATH; + /// + public INVALID_XPATHValue INVALID_XPATH => _INVALID_XPATH ?? (_INVALID_XPATH = new INVALID_XPATHValue()); + + /// XPath identified in the request for information could not be parsed correctly by the agent.

This could be caused by an invalid syntax or the XPath did not match a valid identify for any information stored in the agent.


+ /// Value for ErrorCodeEnum.
+ ///
See also ErrorCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class INVALID_XPATHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INVALID_XPATH"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(XPath)}} identified in the {{term(request)}} for information could not be parsed correctly by the {{term(agent)}}. + +This could be caused by an invalid syntax or the {{term(XPath)}} did not match a valid identify for any information stored in the {{term(agent)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NO_DEVICEValue _NO_DEVICE; + /// + public NO_DEVICEValue NO_DEVICE => _NO_DEVICE ?? (_NO_DEVICE = new NO_DEVICEValue()); + + /// identity of the Device specified in the request for information is not associated with the agent.


+ /// Value for ErrorCodeEnum.
+ ///
See also ErrorCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class NO_DEVICEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NO_DEVICE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identity of the {{block(Device)}} specified in the {{term(request)}} for information is not associated with the {{term(agent)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OUT_OF_RANGEValue _OUT_OF_RANGE; + /// + public OUT_OF_RANGEValue OUT_OF_RANGE => _OUT_OF_RANGE ?? (_OUT_OF_RANGE = new OUT_OF_RANGEValue()); + + /// request for information specifies streaming data that includes sequence number(s) for pieces of data that are beyond the end of the buffer.


+ /// Value for ErrorCodeEnum.
+ ///
See also ErrorCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class OUT_OF_RANGEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OUT_OF_RANGE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(request)}} for information specifies {{term(streaming data)}} that includes sequence number(s) for pieces of data that are beyond the end of the {{term(buffer)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private QUERY_ERRORValue _QUERY_ERROR; + /// + public QUERY_ERRORValue QUERY_ERROR => _QUERY_ERROR ?? (_QUERY_ERROR = new QUERY_ERRORValue()); + + /// agent was unable to interpret the query.

The query parameters do not contain valid values or include an invalid parameter.


+ /// Value for ErrorCodeEnum.
+ ///
See also ErrorCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class QUERY_ERRORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "QUERY_ERROR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(agent)}} was unable to interpret the query. + +The query parameters do not contain valid values or include an invalid parameter. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOO_MANYValue _TOO_MANY; + /// + public TOO_MANYValue TOO_MANY => _TOO_MANY ?? (_TOO_MANY = new TOO_MANYValue()); + + /// count parameter provided in the request for information requires either of the following:

* streaming data that includes more pieces of data than the agent is capable of organizing in an MTConnectStreams Response Document.

* Assets that include more Asset in an MTConnectAssets Response Document than the agent is capable of handling.


+ /// Value for ErrorCodeEnum.
+ ///
See also ErrorCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TOO_MANYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOO_MANY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" `count` parameter provided in the {{term(request)}} for information requires either of the following: + +* {{term(streaming data)}} that includes more pieces of data than the {{term(agent)}} is capable of organizing in an {{term(MTConnectStreams Response Document)}}. + +* {{block(Assets)}} that include more {{block(Asset)}} in an {{term(MTConnectAssets Response Document)}} than the {{term(agent)}} is capable of handling. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNAUTHORIZEDValue _UNAUTHORIZED; + /// + public UNAUTHORIZEDValue UNAUTHORIZED => _UNAUTHORIZED ?? (_UNAUTHORIZED = new UNAUTHORIZEDValue()); + + /// requester does not have sufficient permissions to access the requested information.


+ /// Value for ErrorCodeEnum.
+ ///
See also ErrorCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class UNAUTHORIZEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNAUTHORIZED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(requester)}} does not have sufficient permissions to access the requested information. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNSUPPORTEDValue _UNSUPPORTED; + /// + public UNSUPPORTEDValue UNSUPPORTED => _UNSUPPORTED ?? (_UNSUPPORTED = new UNSUPPORTEDValue()); + + /// valid request was provided, but the agent does not support the feature or type of request.


+ /// Value for ErrorCodeEnum.
+ ///
See also ErrorCodeEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class UNSUPPORTEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNSUPPORTED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" valid {{term(request)}} was provided, but the {{term(agent)}} does not support the feature or type of {{term(request)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EventEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EventEnum.cs new file mode 100644 index 00000000..c2ca2927 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/EventEnum.cs @@ -0,0 +1,7084 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum EventEnum + { + /// set of axes currently associated with a Path or Controller.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ACTIVE_AXES, + /// operational state of an apparatus for moving or controlling a mechanism or system.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ACTUATOR_STATE, + /// DEPRECATED: Replaced with CONDITION category data items in Version 1.1.0.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ALARM, + /// assetId of the Asset that has been added or changed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ASSET_CHANGED, + /// assetId of the Asset that has been removed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ASSET_REMOVED, + /// agent's ability to communicate with the data source.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + AVAILABILITY, + /// describes the way the axes will be associated to each other.

This is used in conjunction with COUPLED_AXES to indicate the way they are interacting.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + AXIS_COUPLING, + /// value of a signal or calculation issued to adjust the feedrate of an individual linear type axis.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + AXIS_FEEDRATE_OVERRIDE, + /// state of the axis lockout function when power has been removed and the axis is allowed to move freely.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + AXIS_INTERLOCK, + /// state of a Linear or Rotary component representing an axis.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + AXIS_STATE, + /// line of code or command being executed by a Controller entity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + BLOCK, + /// total count of the number of blocks of program code that have been executed since execution started.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + BLOCK_COUNT, + /// state of an interlock function or control logic state intended to prevent the associated Chuck component from being operated.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CHUCK_INTERLOCK, + /// operating state of a mechanism that holds a part or stock material during a manufacturing process.

It may also represent a mechanism that holds any other mechanism in place within a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CHUCK_STATE, + /// programmatic code being executed.

DEPRECATED in Version 1.1.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CODE, + /// operating state of a mechanism represented by a Composition entity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + COMPOSITION_STATE, + /// current mode of the Controller component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CONTROLLER_MODE, + /// setting or operator selection that changes the behavior of a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CONTROLLER_MODE_OVERRIDE, + /// set of associated axes.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + COUPLED_AXES, + /// time and date code associated with a material or other physical item.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DATE_CODE, + /// identifier of another piece of equipment that is temporarily associated with a component of this piece of equipment to perform a particular function.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEVICE_UUID, + /// direction of motion.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DIRECTION, + /// operational state of a Door component or composition element.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DOOR_STATE, + /// state of the emergency stop signal for a piece of equipment, controller path, or any other component or subsystem of a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + EMERGENCY_STOP, + /// indication of whether the end of a piece of bar stock being feed by a bar feeder has been reached.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + END_OF_BAR, + /// indication that a piece of equipment, or a sub-part of a piece of equipment, is performing specific types of activities.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + EQUIPMENT_MODE, + /// operating state of a Component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + EXECUTION, + /// current intended production status of the Component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FUNCTIONAL_MODE, + /// hardness of a material.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + HARDNESS, + /// current line of code being executed.

DEPRECATED in Version 1.4.0.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LINE, + /// identifier for a Block of code in a Program.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LINE_LABEL, + /// position of a block of program code within a control program.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LINE_NUMBER, + /// identifier of a material used or consumed in the manufacturing process.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MATERIAL, + /// identifies the layers of material applied to a part or product as part of an additive manufacturing process.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MATERIAL_LAYER, + /// information to be transferred from a piece of equipment to a client software application.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MESSAGE, + /// identifier of the person currently responsible for operating the piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + OPERATOR_ID, + /// identifier for a pallet.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PALLET_ID, + /// aggregate count of parts.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART_COUNT, + /// indication designating whether a part or work piece has been detected or is present.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART_DETECT, + /// identifier of a part in a manufacturing operation.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART_ID, + /// identifier of a part or product moving through the manufacturing process.

DEPRECATED in Version 1.7. PART_NUMBER is now a subType of PART_KIND_ID.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART_NUMBER, + /// value of a signal or calculation issued to adjust the feedrate for the axes associated with a Path component that may represent a single axis or the coordinated movement of multiple axes.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PATH_FEEDRATE_OVERRIDE, + /// describes the operational relationship between a Path entity and another Path entity for pieces of equipment comprised of multiple logical groupings of controlled axes or other logical operations.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PATH_MODE, + /// indication of the status of the source of energy for an entity to allow it to perform its intended function or the state of an enabling signal providing permission for the entity to perform its functions.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + POWER_STATE, + /// status of the Component.

DEPRECATED in Version 1.1.0.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + POWER_STATUS, + /// time and date associated with an activity or event.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROCESS_TIME, + /// name of the logic or motion program being executed by the Controller component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROGRAM, + /// comment or non-executable statement in the control program.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROGRAM_COMMENT, + /// indication of the status of the Controller components program editing mode.

A program may be edited while another is executed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROGRAM_EDIT, + /// name of the program being edited.

This is used in conjunction with ProgramEdit when in ACTIVE state.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROGRAM_EDIT_NAME, + /// non-executable header section of the control program.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROGRAM_HEADER, + /// URI for the source file associated with Program.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROGRAM_LOCATION, + /// defines whether the logic or motion program defined by Program is being executed from the local memory of the controller or from an outside source.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROGRAM_LOCATION_TYPE, + /// indication of the nesting level within a control program that is associated with the code or instructions that is currently being executed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROGRAM_NEST_LEVEL, + /// current operating mode for a Rotary type axis.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ROTARY_MODE, + /// percentage change to the velocity of the programmed velocity for a Rotary axis.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ROTARY_VELOCITY_OVERRIDE, + /// serial number associated with a Component, Asset, or Device.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SERIAL_NUMBER, + /// indication of the status of the spindle for a piece of equipment when power has been removed and it is free to rotate.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SPINDLE_INTERLOCK, + /// identifier of an individual tool asset.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TOOL_ASSET_ID, + /// identifier for the tool group associated with a specific tool. Commonly used to designate spare tools.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TOOL_GROUP, + /// identifier of the tool currently in use for a given Path.

DEPRECATED in Version 1.2.0. See TOOL_ASSET_ID.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TOOL_ID, + /// identifier assigned by the Controller component to a cutting tool when in use by a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TOOL_NUMBER, + /// reference to the tool offset variables applied to the active cutting tool.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TOOL_OFFSET, + /// identifier of the person currently responsible for operating the piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + USER, + /// data whose meaning may change over time due to changes in the operation of a piece of equipment or the process being executed on that piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VARIABLE, + /// indication of the reason that Execution is reporting a value of WAIT.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + WAIT_STATE, + /// identifier for the type of wire used as the cutting mechanism in Electrical Discharge Machining or similar processes.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + WIRE, + /// identifier for the current workholding or part clamp in use by a piece of equipment.

DEPRECATION WARNING: Recommend using FIXTURE_ID instead.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + WORKHOLDING_ID, + /// reference to offset variables for a work piece or part.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + WORK_OFFSET, + /// Operating System (OS) of a Component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + OPERATING_SYSTEM, + /// embedded software of a Component
.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FIRMWARE, + /// application on a Component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + APPLICATION, + /// software library on a Component


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LIBRARY, + /// hardware of a Component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + HARDWARE, + /// network details of a Component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + NETWORK, + /// three space angular displacement of an object or coordinate system relative to a cartesian coordinate system.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ROTATION, + /// three space linear displacement of an object or coordinate system relative to a cartesian coordinate system.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TRANSLATION, + /// UUID of new device added to an MTConnect Agent.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEVICE_ADDED, + /// UUID of a device removed from an MTConnect Agent.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEVICE_REMOVED, + /// UUID of the device whose metadata has changed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEVICE_CHANGED, + /// status of the connection between an adapter and an agent.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CONNECTION_STATUS, + /// originator’s software version of the adapter.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ADAPTER_SOFTWARE_VERSION, + /// URI of the adapter.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ADAPTER_URI, + /// reference version of the MTConnect Standard supported by the adapter.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MTCONNECT_VERSION, + /// attachment between a sensor and an entity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SENSOR_ATTACHMENT, + /// state or condition of a part.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART_STATUS, + /// identifier of a process being executed by the device.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROCESS_OCCURRENCE_ID, + /// identifier given to link the individual occurrence to a group of related occurrences, such as a process step in a process plan.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROCESS_AGGREGATE_ID, + /// identifier given to link the individual occurrence to a class of processes or process definition.



+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROCESS_KIND_ID, + /// identifier given to a collection of individual parts.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART_GROUP_ID, + /// identifier given to link the individual occurrence to a class of parts, typically distinguished by a particular part design.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART_KIND_ID, + /// identifier given to a distinguishable, individual part.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART_UNIQUE_ID, + /// set of limits used to indicate whether a process variable is stable and in control.

DEPRECATION WARNING. Recommend using CONTROL_LIMITS.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CONTROL_LIMIT, + /// set of limits defining a range of values designating acceptable performance for a variable.

DEPRECATION WARNING. Recommend using SPECIFICATION_LIMITS.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SPECIFICATION_LIMIT, + /// set of limits used to trigger warning or alarm indicators.

DEPRECATION WARNING. Recommend using ALARM_LIMITS.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ALARM_LIMIT, + /// accumulation of the number of times an operation has attempted to, or is planned to attempt to, load materials, parts, or other items.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LOAD_COUNT, + /// accumulation of the number of times an operation has attempted to, or is planned to attempt to, unload materials, parts, or other items.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + UNLOAD_COUNT, + /// accumulation of the number of times an operation has attempted to, or is planned to attempt to, transfer materials, parts, or other items from one location to another.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TRANSFER_COUNT, + /// accumulation of the number of times a function has attempted to, or is planned to attempt to, activate or be performed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ACTIVATION_COUNT, + /// accumulation of the number of times a function has attempted to, or is planned to attempt to, deactivate or cease.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEACTIVATION_COUNT, + /// accumulation of the number of times a cyclic function has attempted to, or is planned to attempt to execute.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CYCLE_COUNT, + /// state of a valve is one of open, closed, or transitioning between the states.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VALVE_STATE, + /// state or operating mode of a Lock.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LOCK_STATE, + /// particular condition of the process occurrence at a specific time.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROCESS_STATE, + /// particular condition of the part occurrence at a specific time.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART_PROCESSING_STATE, + /// state of Component or Composition that describes the automatic or manual operation of the entity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + OPERATING_MODE, + /// data set of the number of Assets of a given type for a Device.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ASSET_COUNT, + /// actions or activities to be performed in support of a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MAINTENANCE_LIST, + /// identifier for the current workholding or part clamp in use by a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FIXTURE_ID, + /// interpretation of PART_COUNT.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PART_COUNT_TYPE, + /// time provided by a timing device at a specific point in time.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CLOCK_TIME, + /// name of the host computer supplying data.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + HOST_NAME, + /// number of the TCP/IP or UDP/IP port for the connection endpoint.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + NETWORK_PORT, + /// indication designating whether a leak has been detected.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LEAK_DETECT, + /// present status of the battery.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + BATTERY_STATE, + /// UUID of a feature. ISO 10303 AP 242/239.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FEATURE_PERSISTENT_ID, + /// detection result of a sensor.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SENSOR_STATE, + /// Event that represents a Component where the EntryDefinition identifies the Component and the CellDefinitions define the Component's observed DataItems.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + COMPONENT_DATA, + /// properties of each addressable work offset.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + WORK_OFFSETS, + /// properties of each addressable tool offset.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TOOL_OFFSETS, + /// assessing elements of a feature.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FEATURE_MEASUREMENT, + /// UUID of the characteristic.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CHARACTERISTIC_PERSISTENT_ID, + /// class of measurement being performed. QIF 3:2018 Section 6.3


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MEASUREMENT_TYPE, + /// measurement based on the measurement type.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MEASUREMENT_VALUE, + /// engineering units of the measurement.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MEASUREMENT_UNITS, + /// pass/fail result of the measurement.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CHARACTERISTIC_STATUS, + /// method used to compute standard uncertainty.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + UNCERTAINTY_TYPE, + /// uncertainty specified by UncertaintyType.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + UNCERTAINTY, + /// set of limits defining a range of values designating acceptable performance for a variable.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SPECIFICATION_LIMITS, + /// set of limits used to indicate whether a process variable is stable and in control.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CONTROL_LIMITS, + /// set of limits used to trigger warning or alarm indicators.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ALARM_LIMITS, + /// references the CuttingToolLifeCycle CuttingItem index related to the indices in CuttingItem of the currently active cutting tool edge.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TOOL_CUTTING_ITEM, + /// structured information that allows the unambiguous determination of an object for purposes of identification and location. ISO 19160-4:2017


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LOCATION_ADDRESS, + /// active energy source for the Component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ACTIVE_POWER_SOURCE, + /// textual description of the location of an object or activity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LOCATION_NARRATIVE, + /// dimension between two surfaces of an object, usually the dimension of smallest measure, for example an additive layer, or a depth of cut.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + THICKNESS, + /// absolute geographic location defined by two coordinates, longitude and latitude and an elevation.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LOCATION_SPATIAL_GEOGRAPHIC, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class EventEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580398379726_606068_12802"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580398379726_606068_12802"; + /// Constant value for + public const string NAME = "EventEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(EventEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ACTIVE_AXES, + ACTUATOR_STATE, + ALARM, + ASSET_CHANGED, + ASSET_REMOVED, + AVAILABILITY, + AXIS_COUPLING, + AXIS_FEEDRATE_OVERRIDE, + AXIS_INTERLOCK, + AXIS_STATE, + BLOCK, + BLOCK_COUNT, + CHUCK_INTERLOCK, + CHUCK_STATE, + CODE, + COMPOSITION_STATE, + CONTROLLER_MODE, + CONTROLLER_MODE_OVERRIDE, + COUPLED_AXES, + DATE_CODE, + DEVICE_UUID, + DIRECTION, + DOOR_STATE, + EMERGENCY_STOP, + END_OF_BAR, + EQUIPMENT_MODE, + EXECUTION, + FUNCTIONAL_MODE, + HARDNESS, + LINE, + LINE_LABEL, + LINE_NUMBER, + MATERIAL, + MATERIAL_LAYER, + MESSAGE, + OPERATOR_ID, + PALLET_ID, + PART_COUNT, + PART_DETECT, + PART_ID, + PART_NUMBER, + PATH_FEEDRATE_OVERRIDE, + PATH_MODE, + POWER_STATE, + POWER_STATUS, + PROCESS_TIME, + PROGRAM, + PROGRAM_COMMENT, + PROGRAM_EDIT, + PROGRAM_EDIT_NAME, + PROGRAM_HEADER, + PROGRAM_LOCATION, + PROGRAM_LOCATION_TYPE, + PROGRAM_NEST_LEVEL, + ROTARY_MODE, + ROTARY_VELOCITY_OVERRIDE, + SERIAL_NUMBER, + SPINDLE_INTERLOCK, + TOOL_ASSET_ID, + TOOL_GROUP, + TOOL_ID, + TOOL_NUMBER, + TOOL_OFFSET, + USER, + VARIABLE, + WAIT_STATE, + WIRE, + WORKHOLDING_ID, + WORK_OFFSET, + OPERATING_SYSTEM, + FIRMWARE, + APPLICATION, + LIBRARY, + HARDWARE, + NETWORK, + ROTATION, + TRANSLATION, + DEVICE_ADDED, + DEVICE_REMOVED, + DEVICE_CHANGED, + CONNECTION_STATUS, + ADAPTER_SOFTWARE_VERSION, + ADAPTER_URI, + MTCONNECT_VERSION, + SENSOR_ATTACHMENT, + PART_STATUS, + PROCESS_OCCURRENCE_ID, + PROCESS_AGGREGATE_ID, + PROCESS_KIND_ID, + PART_GROUP_ID, + PART_KIND_ID, + PART_UNIQUE_ID, + CONTROL_LIMIT, + SPECIFICATION_LIMIT, + ALARM_LIMIT, + LOAD_COUNT, + UNLOAD_COUNT, + TRANSFER_COUNT, + ACTIVATION_COUNT, + DEACTIVATION_COUNT, + CYCLE_COUNT, + VALVE_STATE, + LOCK_STATE, + PROCESS_STATE, + PART_PROCESSING_STATE, + OPERATING_MODE, + ASSET_COUNT, + MAINTENANCE_LIST, + FIXTURE_ID, + PART_COUNT_TYPE, + CLOCK_TIME, + HOST_NAME, + NETWORK_PORT, + LEAK_DETECT, + BATTERY_STATE, + FEATURE_PERSISTENT_ID, + SENSOR_STATE, + COMPONENT_DATA, + WORK_OFFSETS, + TOOL_OFFSETS, + FEATURE_MEASUREMENT, + CHARACTERISTIC_PERSISTENT_ID, + MEASUREMENT_TYPE, + MEASUREMENT_VALUE, + MEASUREMENT_UNITS, + CHARACTERISTIC_STATUS, + UNCERTAINTY_TYPE, + UNCERTAINTY, + SPECIFICATION_LIMITS, + CONTROL_LIMITS, + ALARM_LIMITS, + TOOL_CUTTING_ITEM, + LOCATION_ADDRESS, + ACTIVE_POWER_SOURCE, + LOCATION_NARRATIVE, + THICKNESS, + LOCATION_SPATIAL_GEOGRAPHIC, + }; + + private ACTIVE_AXESValue _ACTIVE_AXES; + /// + public ACTIVE_AXESValue ACTIVE_AXES => _ACTIVE_AXES ?? (_ACTIVE_AXES = new ACTIVE_AXESValue()); + + /// set of axes currently associated with a Path or Controller.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ACTIVE_AXESValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE_AXES"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" set of axes currently associated with a {{block(Path)}} or {{block(Controller)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACTUATOR_STATEValue _ACTUATOR_STATE; + /// + public ACTUATOR_STATEValue ACTUATOR_STATE => _ACTUATOR_STATE ?? (_ACTUATOR_STATE = new ACTUATOR_STATEValue()); + + /// operational state of an apparatus for moving or controlling a mechanism or system.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ACTUATOR_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTUATOR_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operational state of an apparatus for moving or controlling a mechanism or system. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ALARMValue _ALARM; + /// + public ALARMValue ALARM => _ALARM ?? (_ALARM = new ALARMValue()); + + /// DEPRECATED: Replaced with CONDITION category data items in Version 1.1.0.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ALARMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ALARM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" **DEPRECATED:** Replaced with `CONDITION` category data items in Version 1.1.0. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ASSET_CHANGEDValue _ASSET_CHANGED; + /// + public ASSET_CHANGEDValue ASSET_CHANGED => _ASSET_CHANGED ?? (_ASSET_CHANGED = new ASSET_CHANGEDValue()); + + /// assetId of the Asset that has been added or changed.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ASSET_CHANGEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ASSET_CHANGED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(assetId)}} of the {{term(Asset)}} that has been added or changed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ASSET_REMOVEDValue _ASSET_REMOVED; + /// + public ASSET_REMOVEDValue ASSET_REMOVED => _ASSET_REMOVED ?? (_ASSET_REMOVED = new ASSET_REMOVEDValue()); + + /// assetId of the Asset that has been removed.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ASSET_REMOVEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ASSET_REMOVED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(assetId)}} of the {{term(Asset)}} that has been removed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AVAILABILITYValue _AVAILABILITY; + /// + public AVAILABILITYValue AVAILABILITY => _AVAILABILITY ?? (_AVAILABILITY = new AVAILABILITYValue()); + + /// agent's ability to communicate with the data source.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class AVAILABILITYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AVAILABILITY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(agent)}}'s ability to communicate with the data source. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AXIS_COUPLINGValue _AXIS_COUPLING; + /// + public AXIS_COUPLINGValue AXIS_COUPLING => _AXIS_COUPLING ?? (_AXIS_COUPLING = new AXIS_COUPLINGValue()); + + /// describes the way the axes will be associated to each other.

This is used in conjunction with COUPLED_AXES to indicate the way they are interacting.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class AXIS_COUPLINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AXIS_COUPLING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" describes the way the axes will be associated to each other. + +This is used in conjunction with `COUPLED_AXES` to indicate the way they are interacting. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AXIS_FEEDRATE_OVERRIDEValue _AXIS_FEEDRATE_OVERRIDE; + /// + public AXIS_FEEDRATE_OVERRIDEValue AXIS_FEEDRATE_OVERRIDE => _AXIS_FEEDRATE_OVERRIDE ?? (_AXIS_FEEDRATE_OVERRIDE = new AXIS_FEEDRATE_OVERRIDEValue()); + + /// value of a signal or calculation issued to adjust the feedrate of an individual linear type axis.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class AXIS_FEEDRATE_OVERRIDEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AXIS_FEEDRATE_OVERRIDE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" value of a signal or calculation issued to adjust the feedrate of an individual linear type axis. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AXIS_INTERLOCKValue _AXIS_INTERLOCK; + /// + public AXIS_INTERLOCKValue AXIS_INTERLOCK => _AXIS_INTERLOCK ?? (_AXIS_INTERLOCK = new AXIS_INTERLOCKValue()); + + /// state of the axis lockout function when power has been removed and the axis is allowed to move freely.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class AXIS_INTERLOCKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AXIS_INTERLOCK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" state of the axis lockout function when power has been removed and the axis is allowed to move freely. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AXIS_STATEValue _AXIS_STATE; + /// + public AXIS_STATEValue AXIS_STATE => _AXIS_STATE ?? (_AXIS_STATE = new AXIS_STATEValue()); + + /// state of a Linear or Rotary component representing an axis.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class AXIS_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AXIS_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" state of a {{block(Linear)}} or {{block(Rotary)}} component representing an axis. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BLOCKValue _BLOCK; + /// + public BLOCKValue BLOCK => _BLOCK ?? (_BLOCK = new BLOCKValue()); + + /// line of code or command being executed by a Controller entity.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class BLOCKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BLOCK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" line of code or command being executed by a {{block(Controller)}} entity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BLOCK_COUNTValue _BLOCK_COUNT; + /// + public BLOCK_COUNTValue BLOCK_COUNT => _BLOCK_COUNT ?? (_BLOCK_COUNT = new BLOCK_COUNTValue()); + + /// total count of the number of blocks of program code that have been executed since execution started.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class BLOCK_COUNTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BLOCK_COUNT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" total count of the number of blocks of program code that have been executed since execution started. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CHUCK_INTERLOCKValue _CHUCK_INTERLOCK; + /// + public CHUCK_INTERLOCKValue CHUCK_INTERLOCK => _CHUCK_INTERLOCK ?? (_CHUCK_INTERLOCK = new CHUCK_INTERLOCKValue()); + + /// state of an interlock function or control logic state intended to prevent the associated Chuck component from being operated.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CHUCK_INTERLOCKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CHUCK_INTERLOCK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" state of an interlock function or control logic state intended to prevent the associated {{block(Chuck)}} component from being operated. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CHUCK_STATEValue _CHUCK_STATE; + /// + public CHUCK_STATEValue CHUCK_STATE => _CHUCK_STATE ?? (_CHUCK_STATE = new CHUCK_STATEValue()); + + /// operating state of a mechanism that holds a part or stock material during a manufacturing process.

It may also represent a mechanism that holds any other mechanism in place within a piece of equipment.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CHUCK_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CHUCK_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operating state of a mechanism that holds a part or stock material during a manufacturing process. + +It may also represent a mechanism that holds any other mechanism in place within a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CODEValue _CODE; + /// + public CODEValue CODE => _CODE ?? (_CODE = new CODEValue()); + + /// programmatic code being executed.

DEPRECATED in Version 1.1.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CODEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CODE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" programmatic code being executed. + +**DEPRECATED** in *Version 1.1*. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COMPOSITION_STATEValue _COMPOSITION_STATE; + /// + public COMPOSITION_STATEValue COMPOSITION_STATE => _COMPOSITION_STATE ?? (_COMPOSITION_STATE = new COMPOSITION_STATEValue()); + + /// operating state of a mechanism represented by a Composition entity.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class COMPOSITION_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COMPOSITION_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operating state of a mechanism represented by a {{block(Composition)}} entity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CONTROLLER_MODEValue _CONTROLLER_MODE; + /// + public CONTROLLER_MODEValue CONTROLLER_MODE => _CONTROLLER_MODE ?? (_CONTROLLER_MODE = new CONTROLLER_MODEValue()); + + /// current mode of the Controller component.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CONTROLLER_MODEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONTROLLER_MODE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" current mode of the {{block(Controller)}} component. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CONTROLLER_MODE_OVERRIDEValue _CONTROLLER_MODE_OVERRIDE; + /// + public CONTROLLER_MODE_OVERRIDEValue CONTROLLER_MODE_OVERRIDE => _CONTROLLER_MODE_OVERRIDE ?? (_CONTROLLER_MODE_OVERRIDE = new CONTROLLER_MODE_OVERRIDEValue()); + + /// setting or operator selection that changes the behavior of a piece of equipment.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CONTROLLER_MODE_OVERRIDEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONTROLLER_MODE_OVERRIDE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" setting or operator selection that changes the behavior of a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COUPLED_AXESValue _COUPLED_AXES; + /// + public COUPLED_AXESValue COUPLED_AXES => _COUPLED_AXES ?? (_COUPLED_AXES = new COUPLED_AXESValue()); + + /// set of associated axes.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class COUPLED_AXESValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COUPLED_AXES"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" set of associated axes. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DATE_CODEValue _DATE_CODE; + /// + public DATE_CODEValue DATE_CODE => _DATE_CODE ?? (_DATE_CODE = new DATE_CODEValue()); + + /// time and date code associated with a material or other physical item.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DATE_CODEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DATE_CODE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" time and date code associated with a material or other physical item. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEVICE_UUIDValue _DEVICE_UUID; + /// + public DEVICE_UUIDValue DEVICE_UUID => _DEVICE_UUID ?? (_DEVICE_UUID = new DEVICE_UUIDValue()); + + /// identifier of another piece of equipment that is temporarily associated with a component of this piece of equipment to perform a particular function.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEVICE_UUIDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEVICE_UUID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier of another piece of equipment that is temporarily associated with a component of this piece of equipment to perform a particular function. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DIRECTIONValue _DIRECTION; + /// + public DIRECTIONValue DIRECTION => _DIRECTION ?? (_DIRECTION = new DIRECTIONValue()); + + /// direction of motion.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DIRECTIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DIRECTION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" direction of motion. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DOOR_STATEValue _DOOR_STATE; + /// + public DOOR_STATEValue DOOR_STATE => _DOOR_STATE ?? (_DOOR_STATE = new DOOR_STATEValue()); + + /// operational state of a Door component or composition element.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DOOR_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DOOR_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operational state of a {{block(Door)}} component or composition element. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private EMERGENCY_STOPValue _EMERGENCY_STOP; + /// + public EMERGENCY_STOPValue EMERGENCY_STOP => _EMERGENCY_STOP ?? (_EMERGENCY_STOP = new EMERGENCY_STOPValue()); + + /// state of the emergency stop signal for a piece of equipment, controller path, or any other component or subsystem of a piece of equipment.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class EMERGENCY_STOPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EMERGENCY_STOP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" state of the emergency stop signal for a piece of equipment, controller path, or any other component or subsystem of a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private END_OF_BARValue _END_OF_BAR; + /// + public END_OF_BARValue END_OF_BAR => _END_OF_BAR ?? (_END_OF_BAR = new END_OF_BARValue()); + + /// indication of whether the end of a piece of bar stock being feed by a bar feeder has been reached.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class END_OF_BARValue : IEnumInstance + { + /// Constant value for + public const string NAME = "END_OF_BAR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication of whether the end of a piece of bar stock being feed by a bar feeder has been reached. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private EQUIPMENT_MODEValue _EQUIPMENT_MODE; + /// + public EQUIPMENT_MODEValue EQUIPMENT_MODE => _EQUIPMENT_MODE ?? (_EQUIPMENT_MODE = new EQUIPMENT_MODEValue()); + + /// indication that a piece of equipment, or a sub-part of a piece of equipment, is performing specific types of activities.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class EQUIPMENT_MODEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EQUIPMENT_MODE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication that a piece of equipment, or a sub-part of a piece of equipment, is performing specific types of activities. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private EXECUTIONValue _EXECUTION; + /// + public EXECUTIONValue EXECUTION => _EXECUTION ?? (_EXECUTION = new EXECUTIONValue()); + + /// operating state of a Component.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class EXECUTIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EXECUTION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operating state of a {{block(Component)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FUNCTIONAL_MODEValue _FUNCTIONAL_MODE; + /// + public FUNCTIONAL_MODEValue FUNCTIONAL_MODE => _FUNCTIONAL_MODE ?? (_FUNCTIONAL_MODE = new FUNCTIONAL_MODEValue()); + + /// current intended production status of the Component.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FUNCTIONAL_MODEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FUNCTIONAL_MODE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" current intended production status of the {{block(Component)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private HARDNESSValue _HARDNESS; + /// + public HARDNESSValue HARDNESS => _HARDNESS ?? (_HARDNESS = new HARDNESSValue()); + + /// hardness of a material.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class HARDNESSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HARDNESS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" hardness of a material. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LINEValue _LINE; + /// + public LINEValue LINE => _LINE ?? (_LINE = new LINEValue()); + + /// current line of code being executed.

DEPRECATED in Version 1.4.0.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LINEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LINE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + /// Constant value for + public const string SUMMARY = @" current line of code being executed. + +**DEPRECATED** in *Version 1.4.0*. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LINE_LABELValue _LINE_LABEL; + /// + public LINE_LABELValue LINE_LABEL => _LINE_LABEL ?? (_LINE_LABEL = new LINE_LABELValue()); + + /// identifier for a Block of code in a Program.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LINE_LABELValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LINE_LABEL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier for a {{block(Block)}} of code in a {{block(Program)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LINE_NUMBERValue _LINE_NUMBER; + /// + public LINE_NUMBERValue LINE_NUMBER => _LINE_NUMBER ?? (_LINE_NUMBER = new LINE_NUMBERValue()); + + /// position of a block of program code within a control program.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LINE_NUMBERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LINE_NUMBER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" position of a block of program code within a control program. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MATERIALValue _MATERIAL; + /// + public MATERIALValue MATERIAL => _MATERIAL ?? (_MATERIAL = new MATERIALValue()); + + /// identifier of a material used or consumed in the manufacturing process.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MATERIALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MATERIAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier of a material used or consumed in the manufacturing process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MATERIAL_LAYERValue _MATERIAL_LAYER; + /// + public MATERIAL_LAYERValue MATERIAL_LAYER => _MATERIAL_LAYER ?? (_MATERIAL_LAYER = new MATERIAL_LAYERValue()); + + /// identifies the layers of material applied to a part or product as part of an additive manufacturing process.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MATERIAL_LAYERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MATERIAL_LAYER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifies the layers of material applied to a part or product as part of an additive manufacturing process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MESSAGEValue _MESSAGE; + /// + public MESSAGEValue MESSAGE => _MESSAGE ?? (_MESSAGE = new MESSAGEValue()); + + /// information to be transferred from a piece of equipment to a client software application.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MESSAGEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MESSAGE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" information to be transferred from a piece of equipment to a client software application. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OPERATOR_IDValue _OPERATOR_ID; + /// + public OPERATOR_IDValue OPERATOR_ID => _OPERATOR_ID ?? (_OPERATOR_ID = new OPERATOR_IDValue()); + + /// identifier of the person currently responsible for operating the piece of equipment.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class OPERATOR_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPERATOR_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier of the person currently responsible for operating the piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PALLET_IDValue _PALLET_ID; + /// + public PALLET_IDValue PALLET_ID => _PALLET_ID ?? (_PALLET_ID = new PALLET_IDValue()); + + /// identifier for a pallet.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PALLET_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PALLET_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier for a pallet. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_COUNTValue _PART_COUNT; + /// + public PART_COUNTValue PART_COUNT => _PART_COUNT ?? (_PART_COUNT = new PART_COUNTValue()); + + /// aggregate count of parts.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PART_COUNTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_COUNT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" aggregate count of parts. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_DETECTValue _PART_DETECT; + /// + public PART_DETECTValue PART_DETECT => _PART_DETECT ?? (_PART_DETECT = new PART_DETECTValue()); + + /// indication designating whether a part or work piece has been detected or is present.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PART_DETECTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_DETECT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication designating whether a part or work piece has been detected or is present. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_IDValue _PART_ID; + /// + public PART_IDValue PART_ID => _PART_ID ?? (_PART_ID = new PART_IDValue()); + + /// identifier of a part in a manufacturing operation.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PART_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier of a part in a manufacturing operation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_NUMBERValue _PART_NUMBER; + /// + public PART_NUMBERValue PART_NUMBER => _PART_NUMBER ?? (_PART_NUMBER = new PART_NUMBERValue()); + + /// identifier of a part or product moving through the manufacturing process.

DEPRECATED in Version 1.7. PART_NUMBER is now a subType of PART_KIND_ID.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PART_NUMBERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_NUMBER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.7"; + /// Constant value for + public const string SUMMARY = @" identifier of a part or product moving through the manufacturing process. + +**DEPRECATED** in *Version 1.7*. `PART_NUMBER` is now a `subType` of `PART_KIND_ID`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PATH_FEEDRATE_OVERRIDEValue _PATH_FEEDRATE_OVERRIDE; + /// + public PATH_FEEDRATE_OVERRIDEValue PATH_FEEDRATE_OVERRIDE => _PATH_FEEDRATE_OVERRIDE ?? (_PATH_FEEDRATE_OVERRIDE = new PATH_FEEDRATE_OVERRIDEValue()); + + /// value of a signal or calculation issued to adjust the feedrate for the axes associated with a Path component that may represent a single axis or the coordinated movement of multiple axes.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PATH_FEEDRATE_OVERRIDEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PATH_FEEDRATE_OVERRIDE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" value of a signal or calculation issued to adjust the feedrate for the axes associated with a {{block(Path)}} component that may represent a single axis or the coordinated movement of multiple axes. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PATH_MODEValue _PATH_MODE; + /// + public PATH_MODEValue PATH_MODE => _PATH_MODE ?? (_PATH_MODE = new PATH_MODEValue()); + + /// describes the operational relationship between a Path entity and another Path entity for pieces of equipment comprised of multiple logical groupings of controlled axes or other logical operations.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PATH_MODEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PATH_MODE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" describes the operational relationship between a {{block(Path)}} entity and another {{block(Path)}} entity for pieces of equipment comprised of multiple logical groupings of controlled axes or other logical operations. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POWER_STATEValue _POWER_STATE; + /// + public POWER_STATEValue POWER_STATE => _POWER_STATE ?? (_POWER_STATE = new POWER_STATEValue()); + + /// indication of the status of the source of energy for an entity to allow it to perform its intended function or the state of an enabling signal providing permission for the entity to perform its functions.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class POWER_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POWER_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication of the status of the source of energy for an entity to allow it to perform its intended function or the state of an enabling signal providing permission for the entity to perform its functions. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POWER_STATUSValue _POWER_STATUS; + /// + public POWER_STATUSValue POWER_STATUS => _POWER_STATUS ?? (_POWER_STATUS = new POWER_STATUSValue()); + + /// status of the Component.

DEPRECATED in Version 1.1.0.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class POWER_STATUSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POWER_STATUS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" status of the {{block(Component)}}. + +**DEPRECATED** in *Version 1.1.0*. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESS_TIMEValue _PROCESS_TIME; + /// + public PROCESS_TIMEValue PROCESS_TIME => _PROCESS_TIME ?? (_PROCESS_TIME = new PROCESS_TIMEValue()); + + /// time and date associated with an activity or event.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROCESS_TIMEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESS_TIME"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" time and date associated with an activity or event. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROGRAMValue _PROGRAM; + /// + public PROGRAMValue PROGRAM => _PROGRAM ?? (_PROGRAM = new PROGRAMValue()); + + /// name of the logic or motion program being executed by the Controller component.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROGRAMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROGRAM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" name of the logic or motion program being executed by the {{block(Controller)}} component. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROGRAM_COMMENTValue _PROGRAM_COMMENT; + /// + public PROGRAM_COMMENTValue PROGRAM_COMMENT => _PROGRAM_COMMENT ?? (_PROGRAM_COMMENT = new PROGRAM_COMMENTValue()); + + /// comment or non-executable statement in the control program.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROGRAM_COMMENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROGRAM_COMMENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" comment or non-executable statement in the control program. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROGRAM_EDITValue _PROGRAM_EDIT; + /// + public PROGRAM_EDITValue PROGRAM_EDIT => _PROGRAM_EDIT ?? (_PROGRAM_EDIT = new PROGRAM_EDITValue()); + + /// indication of the status of the Controller components program editing mode.

A program may be edited while another is executed.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROGRAM_EDITValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROGRAM_EDIT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication of the status of the {{block(Controller)}} components program editing mode. + +A program may be edited while another is executed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROGRAM_EDIT_NAMEValue _PROGRAM_EDIT_NAME; + /// + public PROGRAM_EDIT_NAMEValue PROGRAM_EDIT_NAME => _PROGRAM_EDIT_NAME ?? (_PROGRAM_EDIT_NAME = new PROGRAM_EDIT_NAMEValue()); + + /// name of the program being edited.

This is used in conjunction with ProgramEdit when in ACTIVE state.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROGRAM_EDIT_NAMEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROGRAM_EDIT_NAME"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" name of the program being edited. + +This is used in conjunction with {{block(ProgramEdit)}} when in `ACTIVE` state. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROGRAM_HEADERValue _PROGRAM_HEADER; + /// + public PROGRAM_HEADERValue PROGRAM_HEADER => _PROGRAM_HEADER ?? (_PROGRAM_HEADER = new PROGRAM_HEADERValue()); + + /// non-executable header section of the control program.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROGRAM_HEADERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROGRAM_HEADER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" non-executable header section of the control program. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROGRAM_LOCATIONValue _PROGRAM_LOCATION; + /// + public PROGRAM_LOCATIONValue PROGRAM_LOCATION => _PROGRAM_LOCATION ?? (_PROGRAM_LOCATION = new PROGRAM_LOCATIONValue()); + + /// URI for the source file associated with Program.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROGRAM_LOCATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROGRAM_LOCATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(URI)}} for the source file associated with {{block(Program)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROGRAM_LOCATION_TYPEValue _PROGRAM_LOCATION_TYPE; + /// + public PROGRAM_LOCATION_TYPEValue PROGRAM_LOCATION_TYPE => _PROGRAM_LOCATION_TYPE ?? (_PROGRAM_LOCATION_TYPE = new PROGRAM_LOCATION_TYPEValue()); + + /// defines whether the logic or motion program defined by Program is being executed from the local memory of the controller or from an outside source.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROGRAM_LOCATION_TYPEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROGRAM_LOCATION_TYPE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" defines whether the logic or motion program defined by {{block(Program)}} is being executed from the local memory of the controller or from an outside source. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROGRAM_NEST_LEVELValue _PROGRAM_NEST_LEVEL; + /// + public PROGRAM_NEST_LEVELValue PROGRAM_NEST_LEVEL => _PROGRAM_NEST_LEVEL ?? (_PROGRAM_NEST_LEVEL = new PROGRAM_NEST_LEVELValue()); + + /// indication of the nesting level within a control program that is associated with the code or instructions that is currently being executed.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROGRAM_NEST_LEVELValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROGRAM_NEST_LEVEL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication of the nesting level within a control program that is associated with the code or instructions that is currently being executed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ROTARY_MODEValue _ROTARY_MODE; + /// + public ROTARY_MODEValue ROTARY_MODE => _ROTARY_MODE ?? (_ROTARY_MODE = new ROTARY_MODEValue()); + + /// current operating mode for a Rotary type axis.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ROTARY_MODEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ROTARY_MODE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" current operating mode for a {{block(Rotary)}} type axis. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ROTARY_VELOCITY_OVERRIDEValue _ROTARY_VELOCITY_OVERRIDE; + /// + public ROTARY_VELOCITY_OVERRIDEValue ROTARY_VELOCITY_OVERRIDE => _ROTARY_VELOCITY_OVERRIDE ?? (_ROTARY_VELOCITY_OVERRIDE = new ROTARY_VELOCITY_OVERRIDEValue()); + + /// percentage change to the velocity of the programmed velocity for a Rotary axis.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ROTARY_VELOCITY_OVERRIDEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ROTARY_VELOCITY_OVERRIDE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" percentage change to the velocity of the programmed velocity for a {{block(Rotary)}} axis. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SERIAL_NUMBERValue _SERIAL_NUMBER; + /// + public SERIAL_NUMBERValue SERIAL_NUMBER => _SERIAL_NUMBER ?? (_SERIAL_NUMBER = new SERIAL_NUMBERValue()); + + /// serial number associated with a Component, Asset, or Device.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SERIAL_NUMBERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SERIAL_NUMBER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" serial number associated with a {{block(Component)}}, {{block(Asset)}}, or {{block(Device)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SPINDLE_INTERLOCKValue _SPINDLE_INTERLOCK; + /// + public SPINDLE_INTERLOCKValue SPINDLE_INTERLOCK => _SPINDLE_INTERLOCK ?? (_SPINDLE_INTERLOCK = new SPINDLE_INTERLOCKValue()); + + /// indication of the status of the spindle for a piece of equipment when power has been removed and it is free to rotate.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SPINDLE_INTERLOCKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SPINDLE_INTERLOCK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication of the status of the spindle for a piece of equipment when power has been removed and it is free to rotate. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOOL_ASSET_IDValue _TOOL_ASSET_ID; + /// + public TOOL_ASSET_IDValue TOOL_ASSET_ID => _TOOL_ASSET_ID ?? (_TOOL_ASSET_ID = new TOOL_ASSET_IDValue()); + + /// identifier of an individual tool asset.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TOOL_ASSET_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOOL_ASSET_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier of an individual tool asset. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOOL_GROUPValue _TOOL_GROUP; + /// + public TOOL_GROUPValue TOOL_GROUP => _TOOL_GROUP ?? (_TOOL_GROUP = new TOOL_GROUPValue()); + + /// identifier for the tool group associated with a specific tool. Commonly used to designate spare tools.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TOOL_GROUPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOOL_GROUP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier for the tool group associated with a specific tool. Commonly used to designate spare tools. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOOL_IDValue _TOOL_ID; + /// + public TOOL_IDValue TOOL_ID => _TOOL_ID ?? (_TOOL_ID = new TOOL_IDValue()); + + /// identifier of the tool currently in use for a given Path.

DEPRECATED in Version 1.2.0. See TOOL_ASSET_ID.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TOOL_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOOL_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + /// Constant value for + public const string SUMMARY = @" identifier of the tool currently in use for a given `Path`. + +**DEPRECATED** in *Version 1.2.0*. See `TOOL_ASSET_ID`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOOL_NUMBERValue _TOOL_NUMBER; + /// + public TOOL_NUMBERValue TOOL_NUMBER => _TOOL_NUMBER ?? (_TOOL_NUMBER = new TOOL_NUMBERValue()); + + /// identifier assigned by the Controller component to a cutting tool when in use by a piece of equipment.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TOOL_NUMBERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOOL_NUMBER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier assigned by the {{block(Controller)}} component to a cutting tool when in use by a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOOL_OFFSETValue _TOOL_OFFSET; + /// + public TOOL_OFFSETValue TOOL_OFFSET => _TOOL_OFFSET ?? (_TOOL_OFFSET = new TOOL_OFFSETValue()); + + /// reference to the tool offset variables applied to the active cutting tool.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TOOL_OFFSETValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOOL_OFFSET"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" reference to the tool offset variables applied to the active cutting tool. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private USERValue _USER; + /// + public USERValue USER => _USER ?? (_USER = new USERValue()); + + /// identifier of the person currently responsible for operating the piece of equipment.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class USERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "USER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier of the person currently responsible for operating the piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VARIABLEValue _VARIABLE; + /// + public VARIABLEValue VARIABLE => _VARIABLE ?? (_VARIABLE = new VARIABLEValue()); + + /// data whose meaning may change over time due to changes in the operation of a piece of equipment or the process being executed on that piece of equipment.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VARIABLEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VARIABLE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" data whose meaning may change over time due to changes in the operation of a piece of equipment or the process being executed on that piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WAIT_STATEValue _WAIT_STATE; + /// + public WAIT_STATEValue WAIT_STATE => _WAIT_STATE ?? (_WAIT_STATE = new WAIT_STATEValue()); + + /// indication of the reason that Execution is reporting a value of WAIT.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class WAIT_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WAIT_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication of the reason that {{block(Execution)}} is reporting a value of `WAIT`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WIREValue _WIRE; + /// + public WIREValue WIRE => _WIRE ?? (_WIRE = new WIREValue()); + + /// identifier for the type of wire used as the cutting mechanism in Electrical Discharge Machining or similar processes.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class WIREValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WIRE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier for the type of wire used as the cutting mechanism in Electrical Discharge Machining or similar processes. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WORKHOLDING_IDValue _WORKHOLDING_ID; + /// + public WORKHOLDING_IDValue WORKHOLDING_ID => _WORKHOLDING_ID ?? (_WORKHOLDING_ID = new WORKHOLDING_IDValue()); + + /// identifier for the current workholding or part clamp in use by a piece of equipment.

DEPRECATION WARNING: Recommend using FIXTURE_ID instead.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class WORKHOLDING_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WORKHOLDING_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier for the current workholding or part clamp in use by a piece of equipment. + +**DEPRECATION WARNING**: Recommend using `FIXTURE_ID` instead. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WORK_OFFSETValue _WORK_OFFSET; + /// + public WORK_OFFSETValue WORK_OFFSET => _WORK_OFFSET ?? (_WORK_OFFSET = new WORK_OFFSETValue()); + + /// reference to offset variables for a work piece or part.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class WORK_OFFSETValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WORK_OFFSET"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" reference to offset variables for a work piece or part. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OPERATING_SYSTEMValue _OPERATING_SYSTEM; + /// + public OPERATING_SYSTEMValue OPERATING_SYSTEM => _OPERATING_SYSTEM ?? (_OPERATING_SYSTEM = new OPERATING_SYSTEMValue()); + + /// Operating System (OS) of a Component.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class OPERATING_SYSTEMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPERATING_SYSTEM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" Operating System (OS) of a {{block(Component)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FIRMWAREValue _FIRMWARE; + /// + public FIRMWAREValue FIRMWARE => _FIRMWARE ?? (_FIRMWARE = new FIRMWAREValue()); + + /// embedded software of a Component
.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FIRMWAREValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FIRMWARE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" embedded software of a {{block(Component)}} . +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private APPLICATIONValue _APPLICATION; + /// + public APPLICATIONValue APPLICATION => _APPLICATION ?? (_APPLICATION = new APPLICATIONValue()); + + /// application on a Component.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class APPLICATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "APPLICATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" application on a {{block(Component)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LIBRARYValue _LIBRARY; + /// + public LIBRARYValue LIBRARY => _LIBRARY ?? (_LIBRARY = new LIBRARYValue()); + + /// software library on a Component


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LIBRARYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LIBRARY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" software library on a {{block(Component)}} +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private HARDWAREValue _HARDWARE; + /// + public HARDWAREValue HARDWARE => _HARDWARE ?? (_HARDWARE = new HARDWAREValue()); + + /// hardware of a Component.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class HARDWAREValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HARDWARE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" hardware of a {{block(Component)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NETWORKValue _NETWORK; + /// + public NETWORKValue NETWORK => _NETWORK ?? (_NETWORK = new NETWORKValue()); + + /// network details of a Component.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class NETWORKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NETWORK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" network details of a {{block(Component)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ROTATIONValue _ROTATION; + /// + public ROTATIONValue ROTATION => _ROTATION ?? (_ROTATION = new ROTATIONValue()); + + /// three space angular displacement of an object or coordinate system relative to a cartesian coordinate system.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ROTATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ROTATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" three space angular displacement of an object or coordinate system relative to a {{term(cartesian coordinate system)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TRANSLATIONValue _TRANSLATION; + /// + public TRANSLATIONValue TRANSLATION => _TRANSLATION ?? (_TRANSLATION = new TRANSLATIONValue()); + + /// three space linear displacement of an object or coordinate system relative to a cartesian coordinate system.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TRANSLATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TRANSLATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" three space linear displacement of an object or coordinate system relative to a {{term(cartesian coordinate system)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEVICE_ADDEDValue _DEVICE_ADDED; + /// + public DEVICE_ADDEDValue DEVICE_ADDED => _DEVICE_ADDED ?? (_DEVICE_ADDED = new DEVICE_ADDEDValue()); + + /// UUID of new device added to an MTConnect Agent.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEVICE_ADDEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEVICE_ADDED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(UUID)}} of new device added to an {{term(MTConnect Agent)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEVICE_REMOVEDValue _DEVICE_REMOVED; + /// + public DEVICE_REMOVEDValue DEVICE_REMOVED => _DEVICE_REMOVED ?? (_DEVICE_REMOVED = new DEVICE_REMOVEDValue()); + + /// UUID of a device removed from an MTConnect Agent.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEVICE_REMOVEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEVICE_REMOVED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(UUID)}} of a device removed from an {{term(MTConnect Agent)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEVICE_CHANGEDValue _DEVICE_CHANGED; + /// + public DEVICE_CHANGEDValue DEVICE_CHANGED => _DEVICE_CHANGED ?? (_DEVICE_CHANGED = new DEVICE_CHANGEDValue()); + + /// UUID of the device whose metadata has changed.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEVICE_CHANGEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEVICE_CHANGED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(UUID)}} of the device whose {{term(metadata)}} has changed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CONNECTION_STATUSValue _CONNECTION_STATUS; + /// + public CONNECTION_STATUSValue CONNECTION_STATUS => _CONNECTION_STATUS ?? (_CONNECTION_STATUS = new CONNECTION_STATUSValue()); + + /// status of the connection between an adapter and an agent.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CONNECTION_STATUSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONNECTION_STATUS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" status of the connection between an {{term(adapter)}} and an {{term(agent)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ADAPTER_SOFTWARE_VERSIONValue _ADAPTER_SOFTWARE_VERSION; + /// + public ADAPTER_SOFTWARE_VERSIONValue ADAPTER_SOFTWARE_VERSION => _ADAPTER_SOFTWARE_VERSION ?? (_ADAPTER_SOFTWARE_VERSION = new ADAPTER_SOFTWARE_VERSIONValue()); + + /// originator’s software version of the adapter.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ADAPTER_SOFTWARE_VERSIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ADAPTER_SOFTWARE_VERSION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" originator’s software version of the {{term(adapter)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ADAPTER_URIValue _ADAPTER_URI; + /// + public ADAPTER_URIValue ADAPTER_URI => _ADAPTER_URI ?? (_ADAPTER_URI = new ADAPTER_URIValue()); + + /// URI of the adapter.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ADAPTER_URIValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ADAPTER_URI"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(URI)}} of the {{term(adapter)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MTCONNECT_VERSIONValue _MTCONNECT_VERSION; + /// + public MTCONNECT_VERSIONValue MTCONNECT_VERSION => _MTCONNECT_VERSION ?? (_MTCONNECT_VERSION = new MTCONNECT_VERSIONValue()); + + /// reference version of the MTConnect Standard supported by the adapter.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MTCONNECT_VERSIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MTCONNECT_VERSION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" reference version of the MTConnect Standard supported by the {{term(adapter)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SENSOR_ATTACHMENTValue _SENSOR_ATTACHMENT; + /// + public SENSOR_ATTACHMENTValue SENSOR_ATTACHMENT => _SENSOR_ATTACHMENT ?? (_SENSOR_ATTACHMENT = new SENSOR_ATTACHMENTValue()); + + /// attachment between a sensor and an entity.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SENSOR_ATTACHMENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SENSOR_ATTACHMENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(attachment)}} between a sensor and an entity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_STATUSValue _PART_STATUS; + /// + public PART_STATUSValue PART_STATUS => _PART_STATUS ?? (_PART_STATUS = new PART_STATUSValue()); + + /// state or condition of a part.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PART_STATUSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_STATUS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" state or condition of a part. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESS_OCCURRENCE_IDValue _PROCESS_OCCURRENCE_ID; + /// + public PROCESS_OCCURRENCE_IDValue PROCESS_OCCURRENCE_ID => _PROCESS_OCCURRENCE_ID ?? (_PROCESS_OCCURRENCE_ID = new PROCESS_OCCURRENCE_IDValue()); + + /// identifier of a process being executed by the device.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROCESS_OCCURRENCE_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESS_OCCURRENCE_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier of a process being executed by the device. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESS_AGGREGATE_IDValue _PROCESS_AGGREGATE_ID; + /// + public PROCESS_AGGREGATE_IDValue PROCESS_AGGREGATE_ID => _PROCESS_AGGREGATE_ID ?? (_PROCESS_AGGREGATE_ID = new PROCESS_AGGREGATE_IDValue()); + + /// identifier given to link the individual occurrence to a group of related occurrences, such as a process step in a process plan.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROCESS_AGGREGATE_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESS_AGGREGATE_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier given to link the individual occurrence to a group of related occurrences, such as a process step in a process plan. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESS_KIND_IDValue _PROCESS_KIND_ID; + /// + public PROCESS_KIND_IDValue PROCESS_KIND_ID => _PROCESS_KIND_ID ?? (_PROCESS_KIND_ID = new PROCESS_KIND_IDValue()); + + /// identifier given to link the individual occurrence to a class of processes or process definition.



+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROCESS_KIND_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESS_KIND_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier given to link the individual occurrence to a class of processes or process definition. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_GROUP_IDValue _PART_GROUP_ID; + /// + public PART_GROUP_IDValue PART_GROUP_ID => _PART_GROUP_ID ?? (_PART_GROUP_ID = new PART_GROUP_IDValue()); + + /// identifier given to a collection of individual parts.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PART_GROUP_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_GROUP_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier given to a collection of individual parts. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_KIND_IDValue _PART_KIND_ID; + /// + public PART_KIND_IDValue PART_KIND_ID => _PART_KIND_ID ?? (_PART_KIND_ID = new PART_KIND_IDValue()); + + /// identifier given to link the individual occurrence to a class of parts, typically distinguished by a particular part design.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PART_KIND_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_KIND_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier given to link the individual occurrence to a class of parts, typically distinguished by a particular part design. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_UNIQUE_IDValue _PART_UNIQUE_ID; + /// + public PART_UNIQUE_IDValue PART_UNIQUE_ID => _PART_UNIQUE_ID ?? (_PART_UNIQUE_ID = new PART_UNIQUE_IDValue()); + + /// identifier given to a distinguishable, individual part.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PART_UNIQUE_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_UNIQUE_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier given to a distinguishable, individual part. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CONTROL_LIMITValue _CONTROL_LIMIT; + /// + public CONTROL_LIMITValue CONTROL_LIMIT => _CONTROL_LIMIT ?? (_CONTROL_LIMIT = new CONTROL_LIMITValue()); + + /// set of limits used to indicate whether a process variable is stable and in control.

DEPRECATION WARNING. Recommend using CONTROL_LIMITS.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CONTROL_LIMITValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONTROL_LIMIT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" set of limits used to indicate whether a process variable is stable and in control. + +**DEPRECATION WARNING**. Recommend using `CONTROL_LIMITS`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SPECIFICATION_LIMITValue _SPECIFICATION_LIMIT; + /// + public SPECIFICATION_LIMITValue SPECIFICATION_LIMIT => _SPECIFICATION_LIMIT ?? (_SPECIFICATION_LIMIT = new SPECIFICATION_LIMITValue()); + + /// set of limits defining a range of values designating acceptable performance for a variable.

DEPRECATION WARNING. Recommend using SPECIFICATION_LIMITS.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SPECIFICATION_LIMITValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SPECIFICATION_LIMIT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" set of limits defining a range of values designating acceptable performance for a variable. + +**DEPRECATION WARNING**. Recommend using `SPECIFICATION_LIMITS`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ALARM_LIMITValue _ALARM_LIMIT; + /// + public ALARM_LIMITValue ALARM_LIMIT => _ALARM_LIMIT ?? (_ALARM_LIMIT = new ALARM_LIMITValue()); + + /// set of limits used to trigger warning or alarm indicators.

DEPRECATION WARNING. Recommend using ALARM_LIMITS.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ALARM_LIMITValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ALARM_LIMIT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" set of limits used to trigger warning or alarm indicators. + +**DEPRECATION WARNING**. Recommend using `ALARM_LIMITS`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LOAD_COUNTValue _LOAD_COUNT; + /// + public LOAD_COUNTValue LOAD_COUNT => _LOAD_COUNT ?? (_LOAD_COUNT = new LOAD_COUNTValue()); + + /// accumulation of the number of times an operation has attempted to, or is planned to attempt to, load materials, parts, or other items.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LOAD_COUNTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOAD_COUNT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" accumulation of the number of times an operation has attempted to, or is planned to attempt to, load materials, parts, or other items. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNLOAD_COUNTValue _UNLOAD_COUNT; + /// + public UNLOAD_COUNTValue UNLOAD_COUNT => _UNLOAD_COUNT ?? (_UNLOAD_COUNT = new UNLOAD_COUNTValue()); + + /// accumulation of the number of times an operation has attempted to, or is planned to attempt to, unload materials, parts, or other items.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class UNLOAD_COUNTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNLOAD_COUNT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" accumulation of the number of times an operation has attempted to, or is planned to attempt to, unload materials, parts, or other items. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TRANSFER_COUNTValue _TRANSFER_COUNT; + /// + public TRANSFER_COUNTValue TRANSFER_COUNT => _TRANSFER_COUNT ?? (_TRANSFER_COUNT = new TRANSFER_COUNTValue()); + + /// accumulation of the number of times an operation has attempted to, or is planned to attempt to, transfer materials, parts, or other items from one location to another.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TRANSFER_COUNTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TRANSFER_COUNT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" accumulation of the number of times an operation has attempted to, or is planned to attempt to, transfer materials, parts, or other items from one location to another. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACTIVATION_COUNTValue _ACTIVATION_COUNT; + /// + public ACTIVATION_COUNTValue ACTIVATION_COUNT => _ACTIVATION_COUNT ?? (_ACTIVATION_COUNT = new ACTIVATION_COUNTValue()); + + /// accumulation of the number of times a function has attempted to, or is planned to attempt to, activate or be performed.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ACTIVATION_COUNTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVATION_COUNT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" accumulation of the number of times a function has attempted to, or is planned to attempt to, activate or be performed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEACTIVATION_COUNTValue _DEACTIVATION_COUNT; + /// + public DEACTIVATION_COUNTValue DEACTIVATION_COUNT => _DEACTIVATION_COUNT ?? (_DEACTIVATION_COUNT = new DEACTIVATION_COUNTValue()); + + /// accumulation of the number of times a function has attempted to, or is planned to attempt to, deactivate or cease.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEACTIVATION_COUNTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEACTIVATION_COUNT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" accumulation of the number of times a function has attempted to, or is planned to attempt to, deactivate or cease. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CYCLE_COUNTValue _CYCLE_COUNT; + /// + public CYCLE_COUNTValue CYCLE_COUNT => _CYCLE_COUNT ?? (_CYCLE_COUNT = new CYCLE_COUNTValue()); + + /// accumulation of the number of times a cyclic function has attempted to, or is planned to attempt to execute.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CYCLE_COUNTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CYCLE_COUNT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" accumulation of the number of times a cyclic function has attempted to, or is planned to attempt to execute. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VALVE_STATEValue _VALVE_STATE; + /// + public VALVE_STATEValue VALVE_STATE => _VALVE_STATE ?? (_VALVE_STATE = new VALVE_STATEValue()); + + /// state of a valve is one of open, closed, or transitioning between the states.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VALVE_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VALVE_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" state of a valve is one of open, closed, or transitioning between the states. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LOCK_STATEValue _LOCK_STATE; + /// + public LOCK_STATEValue LOCK_STATE => _LOCK_STATE ?? (_LOCK_STATE = new LOCK_STATEValue()); + + /// state or operating mode of a Lock.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LOCK_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOCK_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" state or operating mode of a {{block(Lock)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESS_STATEValue _PROCESS_STATE; + /// + public PROCESS_STATEValue PROCESS_STATE => _PROCESS_STATE ?? (_PROCESS_STATE = new PROCESS_STATEValue()); + + /// particular condition of the process occurrence at a specific time.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROCESS_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESS_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" particular condition of the process occurrence at a specific time. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_PROCESSING_STATEValue _PART_PROCESSING_STATE; + /// + public PART_PROCESSING_STATEValue PART_PROCESSING_STATE => _PART_PROCESSING_STATE ?? (_PART_PROCESSING_STATE = new PART_PROCESSING_STATEValue()); + + /// particular condition of the part occurrence at a specific time.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PART_PROCESSING_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_PROCESSING_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" particular condition of the part occurrence at a specific time. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OPERATING_MODEValue _OPERATING_MODE; + /// + public OPERATING_MODEValue OPERATING_MODE => _OPERATING_MODE ?? (_OPERATING_MODE = new OPERATING_MODEValue()); + + /// state of Component or Composition that describes the automatic or manual operation of the entity.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class OPERATING_MODEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPERATING_MODE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" state of {{block(Component)}} or {{block(Composition)}} that describes the automatic or manual operation of the entity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ASSET_COUNTValue _ASSET_COUNT; + /// + public ASSET_COUNTValue ASSET_COUNT => _ASSET_COUNT ?? (_ASSET_COUNT = new ASSET_COUNTValue()); + + /// data set of the number of Assets of a given type for a Device.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ASSET_COUNTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ASSET_COUNT"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(data set)}} of the number of {{termplural(Asset)}} of a given type for a {{term(Device)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MAINTENANCE_LISTValue _MAINTENANCE_LIST; + /// + public MAINTENANCE_LISTValue MAINTENANCE_LIST => _MAINTENANCE_LIST ?? (_MAINTENANCE_LIST = new MAINTENANCE_LISTValue()); + + /// actions or activities to be performed in support of a piece of equipment.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MAINTENANCE_LISTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MAINTENANCE_LIST"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" actions or activities to be performed in support of a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FIXTURE_IDValue _FIXTURE_ID; + /// + public FIXTURE_IDValue FIXTURE_ID => _FIXTURE_ID ?? (_FIXTURE_ID = new FIXTURE_IDValue()); + + /// identifier for the current workholding or part clamp in use by a piece of equipment.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FIXTURE_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FIXTURE_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" identifier for the current workholding or part clamp in use by a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_COUNT_TYPEValue _PART_COUNT_TYPE; + /// + public PART_COUNT_TYPEValue PART_COUNT_TYPE => _PART_COUNT_TYPE ?? (_PART_COUNT_TYPE = new PART_COUNT_TYPEValue()); + + /// interpretation of PART_COUNT.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PART_COUNT_TYPEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_COUNT_TYPE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" interpretation of `PART_COUNT`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CLOCK_TIMEValue _CLOCK_TIME; + /// + public CLOCK_TIMEValue CLOCK_TIME => _CLOCK_TIME ?? (_CLOCK_TIME = new CLOCK_TIMEValue()); + + /// time provided by a timing device at a specific point in time.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CLOCK_TIMEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CLOCK_TIME"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" time provided by a timing device at a specific point in time. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private HOST_NAMEValue _HOST_NAME; + /// + public HOST_NAMEValue HOST_NAME => _HOST_NAME ?? (_HOST_NAME = new HOST_NAMEValue()); + + /// name of the host computer supplying data.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class HOST_NAMEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HOST_NAME"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" name of the host computer supplying data. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NETWORK_PORTValue _NETWORK_PORT; + /// + public NETWORK_PORTValue NETWORK_PORT => _NETWORK_PORT ?? (_NETWORK_PORT = new NETWORK_PORTValue()); + + /// number of the TCP/IP or UDP/IP port for the connection endpoint.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class NETWORK_PORTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NETWORK_PORT"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" number of the TCP/IP or UDP/IP port for the connection endpoint. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LEAK_DETECTValue _LEAK_DETECT; + /// + public LEAK_DETECTValue LEAK_DETECT => _LEAK_DETECT ?? (_LEAK_DETECT = new LEAK_DETECTValue()); + + /// indication designating whether a leak has been detected.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LEAK_DETECTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LEAK_DETECT"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" indication designating whether a leak has been detected. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BATTERY_STATEValue _BATTERY_STATE; + /// + public BATTERY_STATEValue BATTERY_STATE => _BATTERY_STATE ?? (_BATTERY_STATE = new BATTERY_STATEValue()); + + /// present status of the battery.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class BATTERY_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BATTERY_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" present status of the battery. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FEATURE_PERSISTENT_IDValue _FEATURE_PERSISTENT_ID; + /// + public FEATURE_PERSISTENT_IDValue FEATURE_PERSISTENT_ID => _FEATURE_PERSISTENT_ID ?? (_FEATURE_PERSISTENT_ID = new FEATURE_PERSISTENT_IDValue()); + + /// UUID of a feature. ISO 10303 AP 242/239.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FEATURE_PERSISTENT_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FEATURE_PERSISTENT_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(UUID)}} of a {{term(feature)}}. {{cite(ISO 10303 AP 242/239)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SENSOR_STATEValue _SENSOR_STATE; + /// + public SENSOR_STATEValue SENSOR_STATE => _SENSOR_STATE ?? (_SENSOR_STATE = new SENSOR_STATEValue()); + + /// detection result of a sensor.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SENSOR_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SENSOR_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" detection result of a sensor. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COMPONENT_DATAValue _COMPONENT_DATA; + /// + public COMPONENT_DATAValue COMPONENT_DATA => _COMPONENT_DATA ?? (_COMPONENT_DATA = new COMPONENT_DATAValue()); + + /// Event that represents a Component where the EntryDefinition identifies the Component and the CellDefinitions define the Component's observed DataItems.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class COMPONENT_DATAValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COMPONENT_DATA"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Event)}} that represents a {{block(Component)}} where the {{block(EntryDefinition)}} identifies the {{block(Component)}} and the {{block(CellDefinition)}}s define the {{block(Component)}}'s observed {{block(DataItem)}}s. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WORK_OFFSETSValue _WORK_OFFSETS; + /// + public WORK_OFFSETSValue WORK_OFFSETS => _WORK_OFFSETS ?? (_WORK_OFFSETS = new WORK_OFFSETSValue()); + + /// properties of each addressable work offset.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class WORK_OFFSETSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WORK_OFFSETS"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" properties of each addressable work offset. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOOL_OFFSETSValue _TOOL_OFFSETS; + /// + public TOOL_OFFSETSValue TOOL_OFFSETS => _TOOL_OFFSETS ?? (_TOOL_OFFSETS = new TOOL_OFFSETSValue()); + + /// properties of each addressable tool offset.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TOOL_OFFSETSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOOL_OFFSETS"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" properties of each addressable tool offset. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FEATURE_MEASUREMENTValue _FEATURE_MEASUREMENT; + /// + public FEATURE_MEASUREMENTValue FEATURE_MEASUREMENT => _FEATURE_MEASUREMENT ?? (_FEATURE_MEASUREMENT = new FEATURE_MEASUREMENTValue()); + + /// assessing elements of a feature.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FEATURE_MEASUREMENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FEATURE_MEASUREMENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" assessing elements of a {{term(feature)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CHARACTERISTIC_PERSISTENT_IDValue _CHARACTERISTIC_PERSISTENT_ID; + /// + public CHARACTERISTIC_PERSISTENT_IDValue CHARACTERISTIC_PERSISTENT_ID => _CHARACTERISTIC_PERSISTENT_ID ?? (_CHARACTERISTIC_PERSISTENT_ID = new CHARACTERISTIC_PERSISTENT_IDValue()); + + /// UUID of the characteristic.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CHARACTERISTIC_PERSISTENT_IDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CHARACTERISTIC_PERSISTENT_ID"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(UUID)}} of the {{term(characteristic)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MEASUREMENT_TYPEValue _MEASUREMENT_TYPE; + /// + public MEASUREMENT_TYPEValue MEASUREMENT_TYPE => _MEASUREMENT_TYPE ?? (_MEASUREMENT_TYPE = new MEASUREMENT_TYPEValue()); + + /// class of measurement being performed. QIF 3:2018 Section 6.3


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MEASUREMENT_TYPEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MEASUREMENT_TYPE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" class of measurement being performed. {{cite(QIF 3:2018 Section 6.3)}} +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MEASUREMENT_VALUEValue _MEASUREMENT_VALUE; + /// + public MEASUREMENT_VALUEValue MEASUREMENT_VALUE => _MEASUREMENT_VALUE ?? (_MEASUREMENT_VALUE = new MEASUREMENT_VALUEValue()); + + /// measurement based on the measurement type.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MEASUREMENT_VALUEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MEASUREMENT_VALUE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement based on the measurement type. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MEASUREMENT_UNITSValue _MEASUREMENT_UNITS; + /// + public MEASUREMENT_UNITSValue MEASUREMENT_UNITS => _MEASUREMENT_UNITS ?? (_MEASUREMENT_UNITS = new MEASUREMENT_UNITSValue()); + + /// engineering units of the measurement.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MEASUREMENT_UNITSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MEASUREMENT_UNITS"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" engineering units of the measurement. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CHARACTERISTIC_STATUSValue _CHARACTERISTIC_STATUS; + /// + public CHARACTERISTIC_STATUSValue CHARACTERISTIC_STATUS => _CHARACTERISTIC_STATUS ?? (_CHARACTERISTIC_STATUS = new CHARACTERISTIC_STATUSValue()); + + /// pass/fail result of the measurement.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CHARACTERISTIC_STATUSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CHARACTERISTIC_STATUS"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" pass/fail result of the measurement. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNCERTAINTY_TYPEValue _UNCERTAINTY_TYPE; + /// + public UNCERTAINTY_TYPEValue UNCERTAINTY_TYPE => _UNCERTAINTY_TYPE ?? (_UNCERTAINTY_TYPE = new UNCERTAINTY_TYPEValue()); + + /// method used to compute standard uncertainty.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class UNCERTAINTY_TYPEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNCERTAINTY_TYPE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" method used to compute {{term(standard uncertainty)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNCERTAINTYValue _UNCERTAINTY; + /// + public UNCERTAINTYValue UNCERTAINTY => _UNCERTAINTY ?? (_UNCERTAINTY = new UNCERTAINTYValue()); + + /// uncertainty specified by UncertaintyType.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class UNCERTAINTYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNCERTAINTY"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(uncertainty)}} specified by {{block(UncertaintyType)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SPECIFICATION_LIMITSValue _SPECIFICATION_LIMITS; + /// + public SPECIFICATION_LIMITSValue SPECIFICATION_LIMITS => _SPECIFICATION_LIMITS ?? (_SPECIFICATION_LIMITS = new SPECIFICATION_LIMITSValue()); + + /// set of limits defining a range of values designating acceptable performance for a variable.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SPECIFICATION_LIMITSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SPECIFICATION_LIMITS"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" set of limits defining a range of values designating acceptable performance for a variable. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CONTROL_LIMITSValue _CONTROL_LIMITS; + /// + public CONTROL_LIMITSValue CONTROL_LIMITS => _CONTROL_LIMITS ?? (_CONTROL_LIMITS = new CONTROL_LIMITSValue()); + + /// set of limits used to indicate whether a process variable is stable and in control.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CONTROL_LIMITSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONTROL_LIMITS"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" set of limits used to indicate whether a process variable is stable and in control. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ALARM_LIMITSValue _ALARM_LIMITS; + /// + public ALARM_LIMITSValue ALARM_LIMITS => _ALARM_LIMITS ?? (_ALARM_LIMITS = new ALARM_LIMITSValue()); + + /// set of limits used to trigger warning or alarm indicators.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ALARM_LIMITSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ALARM_LIMITS"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" set of limits used to trigger warning or alarm indicators. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOOL_CUTTING_ITEMValue _TOOL_CUTTING_ITEM; + /// + public TOOL_CUTTING_ITEMValue TOOL_CUTTING_ITEM => _TOOL_CUTTING_ITEM ?? (_TOOL_CUTTING_ITEM = new TOOL_CUTTING_ITEMValue()); + + /// references the CuttingToolLifeCycle CuttingItem index related to the indices in CuttingItem of the currently active cutting tool edge.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TOOL_CUTTING_ITEMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOOL_CUTTING_ITEM"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" references the {{block(CuttingToolLifeCycle)}} {{block(CuttingItem)}} index related to the {{property(CuttingItem::indices)}} of the currently active cutting tool edge. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LOCATION_ADDRESSValue _LOCATION_ADDRESS; + /// + public LOCATION_ADDRESSValue LOCATION_ADDRESS => _LOCATION_ADDRESS ?? (_LOCATION_ADDRESS = new LOCATION_ADDRESSValue()); + + /// structured information that allows the unambiguous determination of an object for purposes of identification and location. ISO 19160-4:2017


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LOCATION_ADDRESSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOCATION_ADDRESS"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" structured information that allows the unambiguous determination of an object for purposes of identification and location. {{cite(ISO 19160-4:2017)}} +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACTIVE_POWER_SOURCEValue _ACTIVE_POWER_SOURCE; + /// + public ACTIVE_POWER_SOURCEValue ACTIVE_POWER_SOURCE => _ACTIVE_POWER_SOURCE ?? (_ACTIVE_POWER_SOURCE = new ACTIVE_POWER_SOURCEValue()); + + /// active energy source for the Component.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ACTIVE_POWER_SOURCEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE_POWER_SOURCE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" active energy source for the {{block(Component)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LOCATION_NARRATIVEValue _LOCATION_NARRATIVE; + /// + public LOCATION_NARRATIVEValue LOCATION_NARRATIVE => _LOCATION_NARRATIVE ?? (_LOCATION_NARRATIVE = new LOCATION_NARRATIVEValue()); + + /// textual description of the location of an object or activity.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LOCATION_NARRATIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOCATION_NARRATIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" textual description of the location of an object or activity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private THICKNESSValue _THICKNESS; + /// + public THICKNESSValue THICKNESS => _THICKNESS ?? (_THICKNESS = new THICKNESSValue()); + + /// dimension between two surfaces of an object, usually the dimension of smallest measure, for example an additive layer, or a depth of cut.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class THICKNESSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "THICKNESS"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" dimension between two surfaces of an object, usually the dimension of smallest measure, for example an additive layer, or a depth of cut. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LOCATION_SPATIAL_GEOGRAPHICValue _LOCATION_SPATIAL_GEOGRAPHIC; + /// + public LOCATION_SPATIAL_GEOGRAPHICValue LOCATION_SPATIAL_GEOGRAPHIC => _LOCATION_SPATIAL_GEOGRAPHIC ?? (_LOCATION_SPATIAL_GEOGRAPHIC = new LOCATION_SPATIAL_GEOGRAPHICValue()); + + /// absolute geographic location defined by two coordinates, longitude and latitude and an elevation.


+ /// Value for EventEnum.
+ ///
See also EventEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LOCATION_SPATIAL_GEOGRAPHICValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOCATION_SPATIAL_GEOGRAPHIC"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" absolute geographic location defined by two coordinates, longitude and latitude and an elevation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ExecutionEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ExecutionEnum.cs new file mode 100644 index 00000000..5ec7ecd6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ExecutionEnum.cs @@ -0,0 +1,593 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ExecutionEnum + { + /// Component is ready to execute instructions.

It is currently idle.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + READY, + /// Component is actively executing an instruction.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ACTIVE, + /// Component suspends the execution of the program due to an external signal.

Action is required to resume execution.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + INTERRUPTED, + /// motion of the active axes are commanded to stop at their current position.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FEED_HOLD, + /// Component program is not READY to execute.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + STOPPED, + /// command from the program has intentionally interrupted execution.

The Component MAY have another state that indicates if the execution is interrupted or the execution ignores the interrupt instruction.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + OPTIONAL_STOP, + /// command from the program has intentionally interrupted execution.

Action is required to resume execution.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROGRAM_STOPPED, + /// program completed execution.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROGRAM_COMPLETED, + /// Component suspends execution while a secondary operation executes.

Execution resumes automatically once the secondary operation completes.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + WAIT, + /// program has been intentionally optionally stopped using an M01 or similar code.

DEPRECATED in version 1.4 and replaced with OPTIONAL_STOP.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROGRAM_OPTIONAL_STOP, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ExecutionEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417664_592980_2878"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417664_592980_2878"; + /// Constant value for + public const string NAME = "ExecutionEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ExecutionEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + READY, + ACTIVE, + INTERRUPTED, + FEED_HOLD, + STOPPED, + OPTIONAL_STOP, + PROGRAM_STOPPED, + PROGRAM_COMPLETED, + WAIT, + PROGRAM_OPTIONAL_STOP, + }; + + private READYValue _READY; + /// + public READYValue READY => _READY ?? (_READY = new READYValue()); + + /// Component is ready to execute instructions.

It is currently idle.


+ /// Value for ExecutionEnum.
+ ///
See also ExecutionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class READYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "READY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} is ready to execute instructions. + +It is currently idle. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACTIVEValue _ACTIVE; + /// + public ACTIVEValue ACTIVE => _ACTIVE ?? (_ACTIVE = new ACTIVEValue()); + + /// Component is actively executing an instruction.


+ /// Value for ExecutionEnum.
+ ///
See also ExecutionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} is actively executing an instruction. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INTERRUPTEDValue _INTERRUPTED; + /// + public INTERRUPTEDValue INTERRUPTED => _INTERRUPTED ?? (_INTERRUPTED = new INTERRUPTEDValue()); + + /// Component suspends the execution of the program due to an external signal.

Action is required to resume execution.


+ /// Value for ExecutionEnum.
+ ///
See also ExecutionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class INTERRUPTEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INTERRUPTED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} suspends the execution of the program due to an external signal. + +Action is required to resume execution. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FEED_HOLDValue _FEED_HOLD; + /// + public FEED_HOLDValue FEED_HOLD => _FEED_HOLD ?? (_FEED_HOLD = new FEED_HOLDValue()); + + /// motion of the active axes are commanded to stop at their current position.


+ /// Value for ExecutionEnum.
+ ///
See also ExecutionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FEED_HOLDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FEED_HOLD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" motion of the active axes are commanded to stop at their current position. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STOPPEDValue _STOPPED; + /// + public STOPPEDValue STOPPED => _STOPPED ?? (_STOPPED = new STOPPEDValue()); + + /// Component program is not READY to execute.


+ /// Value for ExecutionEnum.
+ ///
See also ExecutionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class STOPPEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STOPPED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} program is not `READY` to execute. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OPTIONAL_STOPValue _OPTIONAL_STOP; + /// + public OPTIONAL_STOPValue OPTIONAL_STOP => _OPTIONAL_STOP ?? (_OPTIONAL_STOP = new OPTIONAL_STOPValue()); + + /// command from the program has intentionally interrupted execution.

The Component MAY have another state that indicates if the execution is interrupted or the execution ignores the interrupt instruction.


+ /// Value for ExecutionEnum.
+ ///
See also ExecutionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class OPTIONAL_STOPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPTIONAL_STOP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" command from the program has intentionally interrupted execution. + +The {{block(Component)}} **MAY** have another state that indicates if the execution is interrupted or the execution ignores the interrupt instruction. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROGRAM_STOPPEDValue _PROGRAM_STOPPED; + /// + public PROGRAM_STOPPEDValue PROGRAM_STOPPED => _PROGRAM_STOPPED ?? (_PROGRAM_STOPPED = new PROGRAM_STOPPEDValue()); + + /// command from the program has intentionally interrupted execution.

Action is required to resume execution.


+ /// Value for ExecutionEnum.
+ ///
See also ExecutionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROGRAM_STOPPEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROGRAM_STOPPED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" command from the program has intentionally interrupted execution. + +Action is required to resume execution. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROGRAM_COMPLETEDValue _PROGRAM_COMPLETED; + /// + public PROGRAM_COMPLETEDValue PROGRAM_COMPLETED => _PROGRAM_COMPLETED ?? (_PROGRAM_COMPLETED = new PROGRAM_COMPLETEDValue()); + + /// program completed execution.


+ /// Value for ExecutionEnum.
+ ///
See also ExecutionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROGRAM_COMPLETEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROGRAM_COMPLETED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" program completed execution. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WAITValue _WAIT; + /// + public WAITValue WAIT => _WAIT ?? (_WAIT = new WAITValue()); + + /// Component suspends execution while a secondary operation executes.

Execution resumes automatically once the secondary operation completes.


+ /// Value for ExecutionEnum.
+ ///
See also ExecutionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class WAITValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WAIT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} suspends execution while a secondary operation executes. + +Execution resumes automatically once the secondary operation completes. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROGRAM_OPTIONAL_STOPValue _PROGRAM_OPTIONAL_STOP; + /// + public PROGRAM_OPTIONAL_STOPValue PROGRAM_OPTIONAL_STOP => _PROGRAM_OPTIONAL_STOP ?? (_PROGRAM_OPTIONAL_STOP = new PROGRAM_OPTIONAL_STOPValue()); + + /// program has been intentionally optionally stopped using an M01 or similar code.

DEPRECATED in version 1.4 and replaced with OPTIONAL_STOP.


+ /// Value for ExecutionEnum.
+ ///
See also ExecutionEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROGRAM_OPTIONAL_STOPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROGRAM_OPTIONAL_STOP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.4"; + /// Constant value for + public const string SUMMARY = @" program has been intentionally optionally stopped using an M01 or similar code. + +**DEPRECATED** in *version 1.4* and replaced with `OPTIONAL_STOP`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FileStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FileStateEnum.cs new file mode 100644 index 00000000..6dbe76ae --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FileStateEnum.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum FileStateEnum + { + /// used for processes other than production or otherwise defined.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + EXPERIMENTAL, + /// used for production processes.



+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + PRODUCTION, + /// content is modified from PRODUCTION or EXPERIMENTAL.



+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + REVISION, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FileStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605276722719_257725_310"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1605276722719_257725_310"; + /// Constant value for + public const string NAME = "FileStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(FileStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + EXPERIMENTAL, + PRODUCTION, + REVISION, + }; + + private EXPERIMENTALValue _EXPERIMENTAL; + /// + public EXPERIMENTALValue EXPERIMENTAL => _EXPERIMENTAL ?? (_EXPERIMENTAL = new EXPERIMENTALValue()); + + /// used for processes other than production or otherwise defined.


+ /// Value for FileStateEnum.
+ ///
See also FileStateEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class EXPERIMENTALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EXPERIMENTAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" used for processes other than production or otherwise defined. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PRODUCTIONValue _PRODUCTION; + /// + public PRODUCTIONValue PRODUCTION => _PRODUCTION ?? (_PRODUCTION = new PRODUCTIONValue()); + + /// used for production processes.



+ /// Value for FileStateEnum.
+ ///
See also FileStateEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class PRODUCTIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PRODUCTION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" used for production processes. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private REVISIONValue _REVISION; + /// + public REVISIONValue REVISION => _REVISION ?? (_REVISION = new REVISIONValue()); + + /// content is modified from PRODUCTION or EXPERIMENTAL.



+ /// Value for FileStateEnum.
+ ///
See also FileStateEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class REVISIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "REVISION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" content is modified from `PRODUCTION` or `EXPERIMENTAL`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FilterEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FilterEnum.cs new file mode 100644 index 00000000..4435a348 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FilterEnum.cs @@ -0,0 +1,177 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum FilterEnum + { + /// new value MUST NOT be reported for a data item unless the measured value has changed from the last reported value by at least the delta given as the value of this element.

The value of Filter MUST be an absolute value using the same units as the reported data.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + MINIMUM_DELTA, + /// data reported for a data item is provided on a periodic basis. The PERIOD for reporting data is defined in the value of the Filter.

The value of Filter MUST be an absolute value reported in seconds representing the time between reported samples of the value of the data item.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + PERIOD, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FilterEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_EF8EFACB_B3D8_4199_B5D5_84735797D463"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_EF8EFACB_B3D8_4199_B5D5_84735797D463"; + /// Constant value for + public const string NAME = "FilterEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(FilterEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + MINIMUM_DELTA, + PERIOD, + }; + + private MINIMUM_DELTAValue _MINIMUM_DELTA; + /// + public MINIMUM_DELTAValue MINIMUM_DELTA => _MINIMUM_DELTA ?? (_MINIMUM_DELTA = new MINIMUM_DELTAValue()); + + /// new value MUST NOT be reported for a data item unless the measured value has changed from the last reported value by at least the delta given as the value of this element.

The value of Filter MUST be an absolute value using the same units as the reported data.


+ /// Value for FilterEnum.
+ ///
See also FilterEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class MINIMUM_DELTAValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MINIMUM_DELTA"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" new value **MUST NOT** be reported for a data item unless the measured value has changed from the last reported value by at least the delta given as the value of this element. + +The value of {{block(Filter)}} **MUST** be an absolute value using the same units as the reported data. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PERIODValue _PERIOD; + /// + public PERIODValue PERIOD => _PERIOD ?? (_PERIOD = new PERIODValue()); + + /// data reported for a data item is provided on a periodic basis. The PERIOD for reporting data is defined in the value of the Filter.

The value of Filter MUST be an absolute value reported in seconds representing the time between reported samples of the value of the data item.


+ /// Value for FilterEnum.
+ ///
See also FilterEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class PERIODValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PERIOD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" data reported for a data item is provided on a periodic basis. The `PERIOD` for reporting data is defined in the value of the {{block(Filter)}}. + +The value of {{block(Filter)}} **MUST** be an absolute value reported in seconds representing the time between reported samples of the value of the data item. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FormEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FormEnum.cs new file mode 100644 index 00000000..05a1afa2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FormEnum.cs @@ -0,0 +1,521 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum FormEnum + { + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + BAR, + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + SHEET, + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + BLOCK, + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + CASTING, + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + POWDER, + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + LIQUID, + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + GEL, + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + FILAMENT, + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + GAS, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FormEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1618830616283_5956_278"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1618830616283_5956_278"; + /// Constant value for + public const string NAME = "FormEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(FormEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + BAR, + SHEET, + BLOCK, + CASTING, + POWDER, + LIQUID, + GEL, + FILAMENT, + GAS, + }; + + private BARValue _BAR; + /// + public BARValue BAR => _BAR ?? (_BAR = new BARValue()); + + ///  + /// Value for FormEnum.
+ ///
See also FormEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class BARValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BAR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SHEETValue _SHEET; + /// + public SHEETValue SHEET => _SHEET ?? (_SHEET = new SHEETValue()); + + ///  + /// Value for FormEnum.
+ ///
See also FormEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class SHEETValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SHEET"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BLOCKValue _BLOCK; + /// + public BLOCKValue BLOCK => _BLOCK ?? (_BLOCK = new BLOCKValue()); + + ///  + /// Value for FormEnum.
+ ///
See also FormEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class BLOCKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BLOCK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CASTINGValue _CASTING; + /// + public CASTINGValue CASTING => _CASTING ?? (_CASTING = new CASTINGValue()); + + ///  + /// Value for FormEnum.
+ ///
See also FormEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class CASTINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CASTING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POWDERValue _POWDER; + /// + public POWDERValue POWDER => _POWDER ?? (_POWDER = new POWDERValue()); + + ///  + /// Value for FormEnum.
+ ///
See also FormEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class POWDERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POWDER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LIQUIDValue _LIQUID; + /// + public LIQUIDValue LIQUID => _LIQUID ?? (_LIQUID = new LIQUIDValue()); + + ///  + /// Value for FormEnum.
+ ///
See also FormEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class LIQUIDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LIQUID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GELValue _GEL; + /// + public GELValue GEL => _GEL ?? (_GEL = new GELValue()); + + ///  + /// Value for FormEnum.
+ ///
See also FormEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class GELValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GEL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FILAMENTValue _FILAMENT; + /// + public FILAMENTValue FILAMENT => _FILAMENT ?? (_FILAMENT = new FILAMENTValue()); + + ///  + /// Value for FormEnum.
+ ///
See also FormEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class FILAMENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FILAMENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GASValue _GAS; + /// + public GASValue GAS => _GAS ?? (_GAS = new GASValue()); + + ///  + /// Value for FormEnum.
+ ///
See also FormEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class GASValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GAS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FormatTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FormatTypeEnum.cs new file mode 100644 index 00000000..181e7210 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FormatTypeEnum.cs @@ -0,0 +1,275 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum FormatTypeEnum + { + /// document will confirm to the ISO 10303 Part 21 standard.



+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + EXPRESS, + /// document will be a text representation of the tool data.



+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + TEXT, + /// document will be provided in an undefined format.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + UNDEFINED, + /// default value for the definition. The content will be an XML document.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + XML, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FormatTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1579537199908_332626_9197"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_91b028d_1579537199908_332626_9197"; + /// Constant value for + public const string NAME = "FormatTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(FormatTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + EXPRESS, + TEXT, + UNDEFINED, + XML, + }; + + private EXPRESSValue _EXPRESS; + /// + public EXPRESSValue EXPRESS => _EXPRESS ?? (_EXPRESS = new EXPRESSValue()); + + /// document will confirm to the ISO 10303 Part 21 standard.



+ /// Value for FormatTypeEnum.
+ ///
See also FormatTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class EXPRESSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EXPRESS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" document will confirm to the ISO 10303 Part 21 standard. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TEXTValue _TEXT; + /// + public TEXTValue TEXT => _TEXT ?? (_TEXT = new TEXTValue()); + + /// document will be a text representation of the tool data.



+ /// Value for FormatTypeEnum.
+ ///
See also FormatTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class TEXTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TEXT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" document will be a text representation of the tool data. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNDEFINEDValue _UNDEFINED; + /// + public UNDEFINEDValue UNDEFINED => _UNDEFINED ?? (_UNDEFINED = new UNDEFINEDValue()); + + /// document will be provided in an undefined format.


+ /// Value for FormatTypeEnum.
+ ///
See also FormatTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class UNDEFINEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNDEFINED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" document will be provided in an undefined format. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private XMLValue _XML; + /// + public XMLValue XML => _XML ?? (_XML = new XMLValue()); + + /// default value for the definition. The content will be an XML document.


+ /// Value for FormatTypeEnum.
+ ///
See also FormatTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class XMLValue : IEnumInstance + { + /// Constant value for + public const string NAME = "XML"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" default value for the definition. The content will be an {{term(XML)}} document. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FunctionalModeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FunctionalModeEnum.cs new file mode 100644 index 00000000..52a57c84 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/FunctionalModeEnum.cs @@ -0,0 +1,332 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum FunctionalModeEnum + { + /// Component is currently producing product, ready to produce product, or its current intended use is to be producing product.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + PRODUCTION, + /// Component is not currently producing product.

It is being prepared or modified to begin production of product.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + SETUP, + /// Component is not currently producing product.

Typically, it has completed the production of a product and is being modified or returned to a neutral state such that it may then be prepared to begin production of a different product.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + TEARDOWN, + /// Component is not currently producing product.

It is currently being repaired, waiting to be repaired, or has not yet been returned to a normal production status after maintenance has been performed.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + MAINTENANCE, + /// Component is being used to prove-out a new process, testing of equipment or processes, or any other active use that does not result in the production of product.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + PROCESS_DEVELOPMENT, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class FunctionalModeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417665_982246_2879"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417665_982246_2879"; + /// Constant value for + public const string NAME = "FunctionalModeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(FunctionalModeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + PRODUCTION, + SETUP, + TEARDOWN, + MAINTENANCE, + PROCESS_DEVELOPMENT, + }; + + private PRODUCTIONValue _PRODUCTION; + /// + public PRODUCTIONValue PRODUCTION => _PRODUCTION ?? (_PRODUCTION = new PRODUCTIONValue()); + + /// Component is currently producing product, ready to produce product, or its current intended use is to be producing product.


+ /// Value for FunctionalModeEnum.
+ ///
See also FunctionalModeEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class PRODUCTIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PRODUCTION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} is currently producing product, ready to produce product, or its current intended use is to be producing product. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SETUPValue _SETUP; + /// + public SETUPValue SETUP => _SETUP ?? (_SETUP = new SETUPValue()); + + /// Component is not currently producing product.

It is being prepared or modified to begin production of product.


+ /// Value for FunctionalModeEnum.
+ ///
See also FunctionalModeEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class SETUPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SETUP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} is not currently producing product. + +It is being prepared or modified to begin production of product. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TEARDOWNValue _TEARDOWN; + /// + public TEARDOWNValue TEARDOWN => _TEARDOWN ?? (_TEARDOWN = new TEARDOWNValue()); + + /// Component is not currently producing product.

Typically, it has completed the production of a product and is being modified or returned to a neutral state such that it may then be prepared to begin production of a different product.


+ /// Value for FunctionalModeEnum.
+ ///
See also FunctionalModeEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class TEARDOWNValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TEARDOWN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} is not currently producing product. + +Typically, it has completed the production of a product and is being modified or returned to a neutral state such that it may then be prepared to begin production of a different product. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MAINTENANCEValue _MAINTENANCE; + /// + public MAINTENANCEValue MAINTENANCE => _MAINTENANCE ?? (_MAINTENANCE = new MAINTENANCEValue()); + + /// Component is not currently producing product.

It is currently being repaired, waiting to be repaired, or has not yet been returned to a normal production status after maintenance has been performed.


+ /// Value for FunctionalModeEnum.
+ ///
See also FunctionalModeEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class MAINTENANCEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MAINTENANCE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} is not currently producing product. + +It is currently being repaired, waiting to be repaired, or has not yet been returned to a normal production status after maintenance has been performed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESS_DEVELOPMENTValue _PROCESS_DEVELOPMENT; + /// + public PROCESS_DEVELOPMENTValue PROCESS_DEVELOPMENT => _PROCESS_DEVELOPMENT ?? (_PROCESS_DEVELOPMENT = new PROCESS_DEVELOPMENTValue()); + + /// Component is being used to prove-out a new process, testing of equipment or processes, or any other active use that does not result in the production of product.


+ /// Value for FunctionalModeEnum.
+ ///
See also FunctionalModeEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class PROCESS_DEVELOPMENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESS_DEVELOPMENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Component)}} is being used to prove-out a new process, testing of equipment or processes, or any other active use that does not result in the production of product. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/InterfaceEventEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/InterfaceEventEnum.cs new file mode 100644 index 00000000..966b7523 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/InterfaceEventEnum.cs @@ -0,0 +1,517 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum InterfaceEventEnum + { + /// operational state of an Interface.


+ ///
+ + INTERFACE_STATE, + /// operating state of the service to advance material or feed product to a piece of equipment from a continuous or bulk source.


+ ///
+ + MATERIAL_FEED, + /// operating state of the service to change the type of material or product being loaded or fed to a piece of equipment.


+ ///
+ + MATERIAL_CHANGE, + /// operating state of the service to remove or retract material or product.


+ ///
+ + MATERIAL_RETRACT, + /// operating state of the service to change the part or product associated with a piece of equipment to a different part or product.


+ ///
+ + PART_CHANGE, + /// operating state of the service to load a piece of material or product.


+ ///
+ + MATERIAL_LOAD, + /// operating state of the service to unload a piece of material or product.


+ ///
+ + MATERIAL_UNLOAD, + /// operating state of the service to open a chuck.


+ ///
+ + OPEN_CHUCK, + /// operating state of the service to open a door.


+ ///
+ + OPEN_DOOR, + /// operating state of the service to close a chuck.


+ ///
+ + CLOSE_CHUCK, + /// operating state of the service to close a door.


+ ///
+ + CLOSE_DOOR, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class InterfaceEventEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1646992208875_933134_35"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1646992208875_933134_35"; + /// Constant value for + public const string NAME = "InterfaceEventEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(InterfaceEventEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + INTERFACE_STATE, + MATERIAL_FEED, + MATERIAL_CHANGE, + MATERIAL_RETRACT, + PART_CHANGE, + MATERIAL_LOAD, + MATERIAL_UNLOAD, + OPEN_CHUCK, + OPEN_DOOR, + CLOSE_CHUCK, + CLOSE_DOOR, + }; + + private INTERFACE_STATEValue _INTERFACE_STATE; + /// + public INTERFACE_STATEValue INTERFACE_STATE => _INTERFACE_STATE ?? (_INTERFACE_STATE = new INTERFACE_STATEValue()); + + /// operational state of an Interface.


+ /// Value for InterfaceEventEnum.
+ ///
See also InterfaceEventEnum + ///
+ + public sealed class INTERFACE_STATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INTERFACE_STATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operational state of an {{block(Interface)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MATERIAL_FEEDValue _MATERIAL_FEED; + /// + public MATERIAL_FEEDValue MATERIAL_FEED => _MATERIAL_FEED ?? (_MATERIAL_FEED = new MATERIAL_FEEDValue()); + + /// operating state of the service to advance material or feed product to a piece of equipment from a continuous or bulk source.


+ /// Value for InterfaceEventEnum.
+ ///
See also InterfaceEventEnum + ///
+ + public sealed class MATERIAL_FEEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MATERIAL_FEED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operating state of the service to advance material or feed product to a piece of equipment from a continuous or bulk source. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MATERIAL_CHANGEValue _MATERIAL_CHANGE; + /// + public MATERIAL_CHANGEValue MATERIAL_CHANGE => _MATERIAL_CHANGE ?? (_MATERIAL_CHANGE = new MATERIAL_CHANGEValue()); + + /// operating state of the service to change the type of material or product being loaded or fed to a piece of equipment.


+ /// Value for InterfaceEventEnum.
+ ///
See also InterfaceEventEnum + ///
+ + public sealed class MATERIAL_CHANGEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MATERIAL_CHANGE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operating state of the service to change the type of material or product being loaded or fed to a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MATERIAL_RETRACTValue _MATERIAL_RETRACT; + /// + public MATERIAL_RETRACTValue MATERIAL_RETRACT => _MATERIAL_RETRACT ?? (_MATERIAL_RETRACT = new MATERIAL_RETRACTValue()); + + /// operating state of the service to remove or retract material or product.


+ /// Value for InterfaceEventEnum.
+ ///
See also InterfaceEventEnum + ///
+ + public sealed class MATERIAL_RETRACTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MATERIAL_RETRACT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operating state of the service to remove or retract material or product. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_CHANGEValue _PART_CHANGE; + /// + public PART_CHANGEValue PART_CHANGE => _PART_CHANGE ?? (_PART_CHANGE = new PART_CHANGEValue()); + + /// operating state of the service to change the part or product associated with a piece of equipment to a different part or product.


+ /// Value for InterfaceEventEnum.
+ ///
See also InterfaceEventEnum + ///
+ + public sealed class PART_CHANGEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_CHANGE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operating state of the service to change the part or product associated with a piece of equipment to a different part or product. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MATERIAL_LOADValue _MATERIAL_LOAD; + /// + public MATERIAL_LOADValue MATERIAL_LOAD => _MATERIAL_LOAD ?? (_MATERIAL_LOAD = new MATERIAL_LOADValue()); + + /// operating state of the service to load a piece of material or product.


+ /// Value for InterfaceEventEnum.
+ ///
See also InterfaceEventEnum + ///
+ + public sealed class MATERIAL_LOADValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MATERIAL_LOAD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operating state of the service to load a piece of material or product. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MATERIAL_UNLOADValue _MATERIAL_UNLOAD; + /// + public MATERIAL_UNLOADValue MATERIAL_UNLOAD => _MATERIAL_UNLOAD ?? (_MATERIAL_UNLOAD = new MATERIAL_UNLOADValue()); + + /// operating state of the service to unload a piece of material or product.


+ /// Value for InterfaceEventEnum.
+ ///
See also InterfaceEventEnum + ///
+ + public sealed class MATERIAL_UNLOADValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MATERIAL_UNLOAD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operating state of the service to unload a piece of material or product. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OPEN_CHUCKValue _OPEN_CHUCK; + /// + public OPEN_CHUCKValue OPEN_CHUCK => _OPEN_CHUCK ?? (_OPEN_CHUCK = new OPEN_CHUCKValue()); + + /// operating state of the service to open a chuck.


+ /// Value for InterfaceEventEnum.
+ ///
See also InterfaceEventEnum + ///
+ + public sealed class OPEN_CHUCKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPEN_CHUCK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operating state of the service to open a chuck. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OPEN_DOORValue _OPEN_DOOR; + /// + public OPEN_DOORValue OPEN_DOOR => _OPEN_DOOR ?? (_OPEN_DOOR = new OPEN_DOORValue()); + + /// operating state of the service to open a door.


+ /// Value for InterfaceEventEnum.
+ ///
See also InterfaceEventEnum + ///
+ + public sealed class OPEN_DOORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPEN_DOOR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operating state of the service to open a door. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CLOSE_CHUCKValue _CLOSE_CHUCK; + /// + public CLOSE_CHUCKValue CLOSE_CHUCK => _CLOSE_CHUCK ?? (_CLOSE_CHUCK = new CLOSE_CHUCKValue()); + + /// operating state of the service to close a chuck.


+ /// Value for InterfaceEventEnum.
+ ///
See also InterfaceEventEnum + ///
+ + public sealed class CLOSE_CHUCKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CLOSE_CHUCK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operating state of the service to close a chuck. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CLOSE_DOORValue _CLOSE_DOOR; + /// + public CLOSE_DOORValue CLOSE_DOOR => _CLOSE_DOOR ?? (_CLOSE_DOOR = new CLOSE_DOORValue()); + + /// operating state of the service to close a door.


+ /// Value for InterfaceEventEnum.
+ ///
See also InterfaceEventEnum + ///
+ + public sealed class CLOSE_DOORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CLOSE_DOOR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" operating state of the service to close a door. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/InterfaceStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/InterfaceStateEnum.cs new file mode 100644 index 00000000..13a9d284 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/InterfaceStateEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum InterfaceStateEnum + { + /// Interface is currently operational and performing as expected.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + ENABLED, + /// Interface is currently not operational.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + DISABLED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class InterfaceStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417666_27713_2880"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417666_27713_2880"; + /// Constant value for + public const string NAME = "InterfaceStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(InterfaceStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ENABLED, + DISABLED, + }; + + private ENABLEDValue _ENABLED; + /// + public ENABLEDValue ENABLED => _ENABLED ?? (_ENABLED = new ENABLEDValue()); + + /// Interface is currently operational and performing as expected.


+ /// Value for InterfaceStateEnum.
+ ///
See also InterfaceStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class ENABLEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ENABLED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Interface)}} is currently operational and performing as expected. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DISABLEDValue _DISABLED; + /// + public DISABLEDValue DISABLED => _DISABLED ?? (_DISABLED = new DISABLEDValue()); + + /// Interface is currently not operational.


+ /// Value for InterfaceStateEnum.
+ ///
See also InterfaceStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class DISABLEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DISABLED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Interface)}} is currently not operational. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/LeakDetectEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/LeakDetectEnum.cs new file mode 100644 index 00000000..dfe86769 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/LeakDetectEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum LeakDetectEnum + { + /// leak is currently being detected.


+ ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + DETECTED, + /// leak is currently not being detected.


+ ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + NOT_DETECTED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LeakDetectEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1659073241126_204554_44"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1659073241126_204554_44"; + /// Constant value for + public const string NAME = "LeakDetectEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(LeakDetectEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + DETECTED, + NOT_DETECTED, + }; + + private DETECTEDValue _DETECTED; + /// + public DETECTEDValue DETECTED => _DETECTED ?? (_DETECTED = new DETECTEDValue()); + + /// leak is currently being detected.


+ /// Value for LeakDetectEnum.
+ ///
See also LeakDetectEnum + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + public sealed class DETECTEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DETECTED"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" leak is currently being detected. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NOT_DETECTEDValue _NOT_DETECTED; + /// + public NOT_DETECTEDValue NOT_DETECTED => _NOT_DETECTED ?? (_NOT_DETECTED = new NOT_DETECTEDValue()); + + /// leak is currently not being detected.


+ /// Value for LeakDetectEnum.
+ ///
See also LeakDetectEnum + ///
+ /// + /// + /// Introduced: v2.1 + /// + /// + + public sealed class NOT_DETECTEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NOT_DETECTED"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" leak is currently not being detected. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/LocationTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/LocationTypeEnum.cs new file mode 100644 index 00000000..a61f1dd3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/LocationTypeEnum.cs @@ -0,0 +1,581 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum LocationTypeEnum + { + /// number of the pot in the tool handling system.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + POT, + /// tool location in a horizontal turning machine.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + STATION, + /// location with regard to a tool crib.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + CRIB, + /// location associated with a spindle.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + SPINDLE, + /// location for a tool awaiting transfer from a tool magazine to spindle or a turret.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + TRANSFER_POT, + /// location for a tool removed from a spindle or turret and awaiting return to a tool magazine.



+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + RETURN_POT, + /// location for a tool awaiting transfer to a tool magazine or turret from outside of the piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + STAGING_POT, + /// location for a tool removed from a tool magazine or turret awaiting transfer to a location outside of the piece of equipment.



+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + REMOVAL_POT, + /// location for a tool that is no longer usable and is awaiting removal from a tool magazine or turret.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + EXPIRED_POT, + /// location associated with an end effector.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + END_EFFECTOR, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LocationTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_0167FC5F_C61F_4bc7_A1B3_C724FE8865BA"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_0167FC5F_C61F_4bc7_A1B3_C724FE8865BA"; + /// Constant value for + public const string NAME = "LocationTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(LocationTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + POT, + STATION, + CRIB, + SPINDLE, + TRANSFER_POT, + RETURN_POT, + STAGING_POT, + REMOVAL_POT, + EXPIRED_POT, + END_EFFECTOR, + }; + + private POTValue _POT; + /// + public POTValue POT => _POT ?? (_POT = new POTValue()); + + /// number of the pot in the tool handling system.


+ /// Value for LocationTypeEnum.
+ ///
See also LocationTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class POTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" number of the pot in the tool handling system. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STATIONValue _STATION; + /// + public STATIONValue STATION => _STATION ?? (_STATION = new STATIONValue()); + + /// tool location in a horizontal turning machine.


+ /// Value for LocationTypeEnum.
+ ///
See also LocationTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class STATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool location in a horizontal turning machine. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CRIBValue _CRIB; + /// + public CRIBValue CRIB => _CRIB ?? (_CRIB = new CRIBValue()); + + /// location with regard to a tool crib.


+ /// Value for LocationTypeEnum.
+ ///
See also LocationTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class CRIBValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CRIB"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" location with regard to a tool crib. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SPINDLEValue _SPINDLE; + /// + public SPINDLEValue SPINDLE => _SPINDLE ?? (_SPINDLE = new SPINDLEValue()); + + /// location associated with a spindle.


+ /// Value for LocationTypeEnum.
+ ///
See also LocationTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class SPINDLEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SPINDLE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" location associated with a {{term(spindle)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TRANSFER_POTValue _TRANSFER_POT; + /// + public TRANSFER_POTValue TRANSFER_POT => _TRANSFER_POT ?? (_TRANSFER_POT = new TRANSFER_POTValue()); + + /// location for a tool awaiting transfer from a tool magazine to spindle or a turret.


+ /// Value for LocationTypeEnum.
+ ///
See also LocationTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class TRANSFER_POTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TRANSFER_POT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" location for a tool awaiting transfer from a tool magazine to spindle or a turret. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RETURN_POTValue _RETURN_POT; + /// + public RETURN_POTValue RETURN_POT => _RETURN_POT ?? (_RETURN_POT = new RETURN_POTValue()); + + /// location for a tool removed from a spindle or turret and awaiting return to a tool magazine.



+ /// Value for LocationTypeEnum.
+ ///
See also LocationTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class RETURN_POTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RETURN_POT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" location for a tool removed from a {{term(spindle)}} or turret and awaiting return to a tool magazine. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STAGING_POTValue _STAGING_POT; + /// + public STAGING_POTValue STAGING_POT => _STAGING_POT ?? (_STAGING_POT = new STAGING_POTValue()); + + /// location for a tool awaiting transfer to a tool magazine or turret from outside of the piece of equipment.


+ /// Value for LocationTypeEnum.
+ ///
See also LocationTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class STAGING_POTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STAGING_POT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" location for a tool awaiting transfer to a tool magazine or turret from outside of the piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private REMOVAL_POTValue _REMOVAL_POT; + /// + public REMOVAL_POTValue REMOVAL_POT => _REMOVAL_POT ?? (_REMOVAL_POT = new REMOVAL_POTValue()); + + /// location for a tool removed from a tool magazine or turret awaiting transfer to a location outside of the piece of equipment.



+ /// Value for LocationTypeEnum.
+ ///
See also LocationTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class REMOVAL_POTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "REMOVAL_POT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" location for a tool removed from a tool magazine or turret awaiting transfer to a location outside of the piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private EXPIRED_POTValue _EXPIRED_POT; + /// + public EXPIRED_POTValue EXPIRED_POT => _EXPIRED_POT ?? (_EXPIRED_POT = new EXPIRED_POTValue()); + + /// location for a tool that is no longer usable and is awaiting removal from a tool magazine or turret.


+ /// Value for LocationTypeEnum.
+ ///
See also LocationTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class EXPIRED_POTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EXPIRED_POT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" location for a tool that is no longer usable and is awaiting removal from a tool magazine or turret. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private END_EFFECTORValue _END_EFFECTOR; + /// + public END_EFFECTORValue END_EFFECTOR => _END_EFFECTOR ?? (_END_EFFECTOR = new END_EFFECTORValue()); + + /// location associated with an end effector.


+ /// Value for LocationTypeEnum.
+ ///
See also LocationTypeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class END_EFFECTORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "END_EFFECTOR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" location associated with an end effector. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/LockStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/LockStateEnum.cs new file mode 100644 index 00000000..6e89b329 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/LockStateEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum LockStateEnum + { + /// mechanism is engaged and preventing the associated Component from being opened or operated.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + LOCKED, + /// mechanism is disengaged and the associated Component is able to be opened or operated.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + UNLOCKED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class LockStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622457615279_962450_700"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1622457615279_962450_700"; + /// Constant value for + public const string NAME = "LockStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(LockStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + LOCKED, + UNLOCKED, + }; + + private LOCKEDValue _LOCKED; + /// + public LOCKEDValue LOCKED => _LOCKED ?? (_LOCKED = new LOCKEDValue()); + + /// mechanism is engaged and preventing the associated Component from being opened or operated.


+ /// Value for LockStateEnum.
+ ///
See also LockStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class LOCKEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOCKED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" mechanism is engaged and preventing the associated {{block(Component)}} from being opened or operated. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNLOCKEDValue _UNLOCKED; + /// + public UNLOCKEDValue UNLOCKED => _UNLOCKED ?? (_UNLOCKED = new UNLOCKEDValue()); + + /// mechanism is disengaged and the associated Component is able to be opened or operated.


+ /// Value for LockStateEnum.
+ ///
See also LockStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class UNLOCKEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNLOCKED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" mechanism is disengaged and the associated {{block(Component)}} is able to be opened or operated. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MaintenanceListDirectionEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MaintenanceListDirectionEnum.cs new file mode 100644 index 00000000..63f3d311 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MaintenanceListDirectionEnum.cs @@ -0,0 +1,171 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum MaintenanceListDirectionEnum + { + ///  + /// + /// + /// + /// Introduced: v2.0 + /// + /// + + UP, + ///  + /// + /// + /// + /// Introduced: v2.0 + /// + /// + + DOWN, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaintenanceListDirectionEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640604423161_7561_376"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1640604423161_7561_376"; + /// Constant value for + public const string NAME = "MaintenanceListDirectionEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(MaintenanceListDirectionEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + UP, + DOWN, + }; + + private UPValue _UP; + /// + public UPValue UP => _UP ?? (_UP = new UPValue()); + + ///  + /// Value for MaintenanceListDirectionEnum.
+ ///
See also MaintenanceListDirectionEnum + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + public sealed class UPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UP"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DOWNValue _DOWN; + /// + public DOWNValue DOWN => _DOWN ?? (_DOWN = new DOWNValue()); + + ///  + /// Value for MaintenanceListDirectionEnum.
+ ///
See also MaintenanceListDirectionEnum + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + public sealed class DOWNValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DOWN"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MaintenanceListIntervalEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MaintenanceListIntervalEnum.cs new file mode 100644 index 00000000..1a48dab0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MaintenanceListIntervalEnum.cs @@ -0,0 +1,171 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum MaintenanceListIntervalEnum + { + ///  + /// + /// + /// + /// Introduced: v2.0 + /// + /// + + ABSOLUTE, + ///  + /// + /// + /// + /// Introduced: v2.0 + /// + /// + + INCREMENTAL, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MaintenanceListIntervalEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640604472459_23562_405"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1640604472459_23562_405"; + /// Constant value for + public const string NAME = "MaintenanceListIntervalEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(MaintenanceListIntervalEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ABSOLUTE, + INCREMENTAL, + }; + + private ABSOLUTEValue _ABSOLUTE; + /// + public ABSOLUTEValue ABSOLUTE => _ABSOLUTE ?? (_ABSOLUTE = new ABSOLUTEValue()); + + ///  + /// Value for MaintenanceListIntervalEnum.
+ ///
See also MaintenanceListIntervalEnum + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + public sealed class ABSOLUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ABSOLUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INCREMENTALValue _INCREMENTAL; + /// + public INCREMENTALValue INCREMENTAL => _INCREMENTAL ?? (_INCREMENTAL = new INCREMENTALValue()); + + ///  + /// Value for MaintenanceListIntervalEnum.
+ ///
See also MaintenanceListIntervalEnum + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + public sealed class INCREMENTALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INCREMENTAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MediaTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MediaTypeEnum.cs new file mode 100644 index 00000000..3c702d9e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MediaTypeEnum.cs @@ -0,0 +1,530 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum MediaTypeEnum + { + /// ISO 10303 STEP AP203 or AP242 format.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + STEP, + /// STereoLithography file format.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + STL, + /// Geometry Description Markup Language.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + GDML, + /// Wavefront OBJ file format.



+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + OBJ, + /// ISO 17506.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + COLLADA, + /// Initial Graphics Exchange Specification.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + IGES, + /// Autodesk file format.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + _3DS, + /// Dassault file format.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + ACIS, + /// Parasolid XT Siemens data interchange format.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + X_T, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MediaTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605297694306_501792_610"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1605297694306_501792_610"; + /// Constant value for + public const string NAME = "MediaTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(MediaTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + STEP, + STL, + GDML, + OBJ, + COLLADA, + IGES, + _3DS, + ACIS, + X_T, + }; + + private STEPValue _STEP; + /// + public STEPValue STEP => _STEP ?? (_STEP = new STEPValue()); + + /// ISO 10303 STEP AP203 or AP242 format.


+ /// Value for MediaTypeEnum.
+ ///
See also MediaTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class STEPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STEP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" ISO 10303 STEP AP203 or AP242 format. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STLValue _STL; + /// + public STLValue STL => _STL ?? (_STL = new STLValue()); + + /// STereoLithography file format.


+ /// Value for MediaTypeEnum.
+ ///
See also MediaTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class STLValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" STereoLithography file format. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GDMLValue _GDML; + /// + public GDMLValue GDML => _GDML ?? (_GDML = new GDMLValue()); + + /// Geometry Description Markup Language.


+ /// Value for MediaTypeEnum.
+ ///
See also MediaTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class GDMLValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GDML"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" Geometry Description Markup Language. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OBJValue _OBJ; + /// + public OBJValue OBJ => _OBJ ?? (_OBJ = new OBJValue()); + + /// Wavefront OBJ file format.



+ /// Value for MediaTypeEnum.
+ ///
See also MediaTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class OBJValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OBJ"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" Wavefront OBJ file format. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COLLADAValue _COLLADA; + /// + public COLLADAValue COLLADA => _COLLADA ?? (_COLLADA = new COLLADAValue()); + + /// ISO 17506.


+ /// Value for MediaTypeEnum.
+ ///
See also MediaTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class COLLADAValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COLLADA"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" ISO 17506. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private IGESValue _IGES; + /// + public IGESValue IGES => _IGES ?? (_IGES = new IGESValue()); + + /// Initial Graphics Exchange Specification.


+ /// Value for MediaTypeEnum.
+ ///
See also MediaTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class IGESValue : IEnumInstance + { + /// Constant value for + public const string NAME = "IGES"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" Initial Graphics Exchange Specification. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private _3DSValue __3DS; + /// + public _3DSValue _3DS => __3DS ?? (__3DS = new _3DSValue()); + + /// Autodesk file format.


+ /// Value for MediaTypeEnum.
+ ///
See also MediaTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class _3DSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "3DS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" Autodesk file format. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACISValue _ACIS; + /// + public ACISValue ACIS => _ACIS ?? (_ACIS = new ACISValue()); + + /// Dassault file format.


+ /// Value for MediaTypeEnum.
+ ///
See also MediaTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class ACISValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACIS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" Dassault file format. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private X_TValue _X_T; + /// + public X_TValue X_T => _X_T ?? (_X_T = new X_TValue()); + + /// Parasolid XT Siemens data interchange format.


+ /// Value for MediaTypeEnum.
+ ///
See also MediaTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class X_TValue : IEnumInstance + { + /// Constant value for + public const string NAME = "X_T"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" Parasolid XT Siemens data interchange format. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MotionActuationTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MotionActuationTypeEnum.cs new file mode 100644 index 00000000..822bfb75 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MotionActuationTypeEnum.cs @@ -0,0 +1,226 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum MotionActuationTypeEnum + { + /// movement is initiated by the component.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + DIRECT, + /// motion is computed and is used for expressing an imaginary movement.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + VIRTUAL, + /// no actuation of this axis.

> Note: Actuation of NONE can be either a derived REVOLUTE or PRISMATIC motion or static FIXED relationship.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + NONE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MotionActuationTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_C5CA1571_EA21_4123_942E_7329B6C61618"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_C5CA1571_EA21_4123_942E_7329B6C61618"; + /// Constant value for + public const string NAME = "MotionActuationTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(MotionActuationTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + DIRECT, + VIRTUAL, + NONE, + }; + + private DIRECTValue _DIRECT; + /// + public DIRECTValue DIRECT => _DIRECT ?? (_DIRECT = new DIRECTValue()); + + /// movement is initiated by the component.


+ /// Value for MotionActuationTypeEnum.
+ ///
See also MotionActuationTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class DIRECTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DIRECT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" movement is initiated by the component. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VIRTUALValue _VIRTUAL; + /// + public VIRTUALValue VIRTUAL => _VIRTUAL ?? (_VIRTUAL = new VIRTUALValue()); + + /// motion is computed and is used for expressing an imaginary movement.


+ /// Value for MotionActuationTypeEnum.
+ ///
See also MotionActuationTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class VIRTUALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VIRTUAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" motion is computed and is used for expressing an imaginary movement. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NONEValue _NONE; + /// + public NONEValue NONE => _NONE ?? (_NONE = new NONEValue()); + + /// no actuation of this axis.

> Note: Actuation of NONE can be either a derived REVOLUTE or PRISMATIC motion or static FIXED relationship.


+ /// Value for MotionActuationTypeEnum.
+ ///
See also MotionActuationTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class NONEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NONE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" no actuation of this axis. + +> Note: Actuation of `NONE` can be either a derived `REVOLUTE` or `PRISMATIC` motion or static `FIXED` relationship. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MotionTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MotionTypeEnum.cs new file mode 100644 index 00000000..d2e4ffce --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/MotionTypeEnum.cs @@ -0,0 +1,275 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum MotionTypeEnum + { + /// sliding linear motion along an axis with a fixed range of motion.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + PRISMATIC, + /// revolves around an axis with a continuous range of motion.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + CONTINUOUS, + /// rotates around an axis with a fixed range of motion.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + REVOLUTE, + /// axis does not move.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + FIXED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class MotionTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_4BA8528B_F152_49aa_BEFD_2574649F9F1A"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_4BA8528B_F152_49aa_BEFD_2574649F9F1A"; + /// Constant value for + public const string NAME = "MotionTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(MotionTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + PRISMATIC, + CONTINUOUS, + REVOLUTE, + FIXED, + }; + + private PRISMATICValue _PRISMATIC; + /// + public PRISMATICValue PRISMATIC => _PRISMATIC ?? (_PRISMATIC = new PRISMATICValue()); + + /// sliding linear motion along an axis with a fixed range of motion.


+ /// Value for MotionTypeEnum.
+ ///
See also MotionTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class PRISMATICValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PRISMATIC"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" sliding linear motion along an axis with a fixed range of motion. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CONTINUOUSValue _CONTINUOUS; + /// + public CONTINUOUSValue CONTINUOUS => _CONTINUOUS ?? (_CONTINUOUS = new CONTINUOUSValue()); + + /// revolves around an axis with a continuous range of motion.


+ /// Value for MotionTypeEnum.
+ ///
See also MotionTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class CONTINUOUSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONTINUOUS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" revolves around an axis with a continuous range of motion. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private REVOLUTEValue _REVOLUTE; + /// + public REVOLUTEValue REVOLUTE => _REVOLUTE ?? (_REVOLUTE = new REVOLUTEValue()); + + /// rotates around an axis with a fixed range of motion.


+ /// Value for MotionTypeEnum.
+ ///
See also MotionTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class REVOLUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "REVOLUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" rotates around an axis with a fixed range of motion. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FIXEDValue _FIXED; + /// + public FIXEDValue FIXED => _FIXED ?? (_FIXED = new FIXEDValue()); + + /// axis does not move.


+ /// Value for MotionTypeEnum.
+ ///
See also MotionTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class FIXEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FIXED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axis does not move. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/NativeUnitEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/NativeUnitEnum.cs new file mode 100644 index 00000000..cd4748fc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/NativeUnitEnum.cs @@ -0,0 +1,2166 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum NativeUnitEnum + { + /// measure of viscosity.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + CENTIPOISE, + /// rotational velocity in degrees per minute.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + DEGREE_PER_MINUTE, + /// temperature in Fahrenheit.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + FAHRENHEIT, + /// feet.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + FOOT, + /// feet per minute.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + FOOT_PER_MINUTE, + /// feet per second.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + FOOT_PER_SECOND, + /// acceleration in feet per second squared.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + FOOT_PER_SECOND_SQUARED, + /// point in space identified by X, Y, and Z positions and represented by a space-delimited set of numbers each expressed in feet.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + FOOT_3D, + /// gallons per minute.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + GALLON_PER_MINUTE, + /// measurement of time in hours.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + HOUR, + /// inches.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + INCH, + /// inches per minute.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + INCH_PER_MINUTE, + /// inches per second.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + INCH_PER_SECOND, + /// acceleration in inches per second squared.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + INCH_PER_SECOND_SQUARED, + /// measure of torque in inch pounds.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + INCH_POUND, + /// point in space identified by X, Y, and Z positions and represented by a space-delimited set of numbers each expressed in inches.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + INCH_3D, + /// measurement of temperature.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + KELVIN, + /// measurement in kilowatt.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + KILOWATT, + /// kilowatt hours which is 3.6 mega joules.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + KILOWATT_HOUR, + /// measurement of rate of flow of a fluid.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + LITER_PER_MINUTE, + /// velocity in millimeters per minute.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + MILLIMETER_PER_MINUTE, + /// measurement of time in minutes.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + MINUTE, + /// unsupported unit.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + OTHER, + /// US pounds.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + POUND, + /// pressure in pounds per square inch (PSI).


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + POUND_PER_INCH_SQUARED, + /// angle in radians.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + RADIAN, + /// velocity in radians per minute.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + RADIAN_PER_MINUTE, + /// velocity in radians per second.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + RADIAN_PER_SECOND, + /// acceleration in radians per second squared.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + RADIAN_PER_SECOND_SQUARED, + /// pressure in Bar.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + BAR, + /// pressure in Torr.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + TORR, + /// pressure in Millimeter of Mercury (mmHg).


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + MILLIMETER_MERCURY, + /// pascal per minute.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + PASCAL_PER_MINUTE, + /// MASS\times GRAVITATIONAL_ACCELERATION (g) given in METER/SECOND^2.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + GRAVITATIONAL_FORCE, + /// acceleration relative to earth's gravity given in METER/SECOND^2.

> Note 1 to entry: At different points on Earth's surface, the free-fall acceleration ranges from 9.764 to 9.834 m/s2 (Wikipedia: Gravitational Acceleration). The constant can be customized depending on the location in the universe.

> Note 2 to entry: In the standard, it is assumed that Earth's average value of gravitational acceleration is 9.90665 m/s2.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + GRAVITATIONAL_ACCELERATION, + /// electric charge in ampere hour.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + AMPERE_HOUR, + /// change of geometric volume in cubic foot per hour.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + CUBIC_FOOT_PER_HOUR, + /// change of geometric volume in cubic foot per minute.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + CUBIC_FOOT_PER_MINUTE, + /// geometric area in inches.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + SQUARE_INCH, + /// geometric volume in feet.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + CUBIC_FOOT, + /// inch per revolution.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + INCH_PER_REVOLUTION, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NativeUnitEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_678122A4_E8FD_4243_8427_6B7E0E78D5F5"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_678122A4_E8FD_4243_8427_6B7E0E78D5F5"; + /// Constant value for + public const string NAME = "NativeUnitEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(NativeUnitEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + CENTIPOISE, + DEGREE_PER_MINUTE, + FAHRENHEIT, + FOOT, + FOOT_PER_MINUTE, + FOOT_PER_SECOND, + FOOT_PER_SECOND_SQUARED, + FOOT_3D, + GALLON_PER_MINUTE, + HOUR, + INCH, + INCH_PER_MINUTE, + INCH_PER_SECOND, + INCH_PER_SECOND_SQUARED, + INCH_POUND, + INCH_3D, + KELVIN, + KILOWATT, + KILOWATT_HOUR, + LITER_PER_MINUTE, + MILLIMETER_PER_MINUTE, + MINUTE, + OTHER, + POUND, + POUND_PER_INCH_SQUARED, + RADIAN, + RADIAN_PER_MINUTE, + RADIAN_PER_SECOND, + RADIAN_PER_SECOND_SQUARED, + BAR, + TORR, + MILLIMETER_MERCURY, + PASCAL_PER_MINUTE, + GRAVITATIONAL_FORCE, + GRAVITATIONAL_ACCELERATION, + AMPERE_HOUR, + CUBIC_FOOT_PER_HOUR, + CUBIC_FOOT_PER_MINUTE, + SQUARE_INCH, + CUBIC_FOOT, + INCH_PER_REVOLUTION, + }; + + private CENTIPOISEValue _CENTIPOISE; + /// + public CENTIPOISEValue CENTIPOISE => _CENTIPOISE ?? (_CENTIPOISE = new CENTIPOISEValue()); + + /// measure of viscosity.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class CENTIPOISEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CENTIPOISE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measure of viscosity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEGREE_PER_MINUTEValue _DEGREE_PER_MINUTE; + /// + public DEGREE_PER_MINUTEValue DEGREE_PER_MINUTE => _DEGREE_PER_MINUTE ?? (_DEGREE_PER_MINUTE = new DEGREE_PER_MINUTEValue()); + + /// rotational velocity in degrees per minute.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class DEGREE_PER_MINUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEGREE/MINUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" rotational velocity in degrees per minute. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FAHRENHEITValue _FAHRENHEIT; + /// + public FAHRENHEITValue FAHRENHEIT => _FAHRENHEIT ?? (_FAHRENHEIT = new FAHRENHEITValue()); + + /// temperature in Fahrenheit.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class FAHRENHEITValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FAHRENHEIT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" temperature in Fahrenheit. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FOOTValue _FOOT; + /// + public FOOTValue FOOT => _FOOT ?? (_FOOT = new FOOTValue()); + + /// feet.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class FOOTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FOOT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" feet. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FOOT_PER_MINUTEValue _FOOT_PER_MINUTE; + /// + public FOOT_PER_MINUTEValue FOOT_PER_MINUTE => _FOOT_PER_MINUTE ?? (_FOOT_PER_MINUTE = new FOOT_PER_MINUTEValue()); + + /// feet per minute.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class FOOT_PER_MINUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FOOT/MINUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" feet per minute. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FOOT_PER_SECONDValue _FOOT_PER_SECOND; + /// + public FOOT_PER_SECONDValue FOOT_PER_SECOND => _FOOT_PER_SECOND ?? (_FOOT_PER_SECOND = new FOOT_PER_SECONDValue()); + + /// feet per second.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class FOOT_PER_SECONDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FOOT/SECOND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" feet per second. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FOOT_PER_SECOND_SQUAREDValue _FOOT_PER_SECOND_SQUARED; + /// + public FOOT_PER_SECOND_SQUAREDValue FOOT_PER_SECOND_SQUARED => _FOOT_PER_SECOND_SQUARED ?? (_FOOT_PER_SECOND_SQUARED = new FOOT_PER_SECOND_SQUAREDValue()); + + /// acceleration in feet per second squared.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class FOOT_PER_SECOND_SQUAREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FOOT/SECOND^2"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" acceleration in feet per second squared. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FOOT_3DValue _FOOT_3D; + /// + public FOOT_3DValue FOOT_3D => _FOOT_3D ?? (_FOOT_3D = new FOOT_3DValue()); + + /// point in space identified by X, Y, and Z positions and represented by a space-delimited set of numbers each expressed in feet.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class FOOT_3DValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FOOT_3D"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" point in space identified by X, Y, and Z positions and represented by a space-delimited set of numbers each expressed in feet. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GALLON_PER_MINUTEValue _GALLON_PER_MINUTE; + /// + public GALLON_PER_MINUTEValue GALLON_PER_MINUTE => _GALLON_PER_MINUTE ?? (_GALLON_PER_MINUTE = new GALLON_PER_MINUTEValue()); + + /// gallons per minute.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class GALLON_PER_MINUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GALLON/MINUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" gallons per minute. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private HOURValue _HOUR; + /// + public HOURValue HOUR => _HOUR ?? (_HOUR = new HOURValue()); + + /// measurement of time in hours.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class HOURValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HOUR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement of time in hours. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INCHValue _INCH; + /// + public INCHValue INCH => _INCH ?? (_INCH = new INCHValue()); + + /// inches.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class INCHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INCH"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" inches. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INCH_PER_MINUTEValue _INCH_PER_MINUTE; + /// + public INCH_PER_MINUTEValue INCH_PER_MINUTE => _INCH_PER_MINUTE ?? (_INCH_PER_MINUTE = new INCH_PER_MINUTEValue()); + + /// inches per minute.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class INCH_PER_MINUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INCH/MINUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" inches per minute. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INCH_PER_SECONDValue _INCH_PER_SECOND; + /// + public INCH_PER_SECONDValue INCH_PER_SECOND => _INCH_PER_SECOND ?? (_INCH_PER_SECOND = new INCH_PER_SECONDValue()); + + /// inches per second.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class INCH_PER_SECONDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INCH/SECOND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" inches per second. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INCH_PER_SECOND_SQUAREDValue _INCH_PER_SECOND_SQUARED; + /// + public INCH_PER_SECOND_SQUAREDValue INCH_PER_SECOND_SQUARED => _INCH_PER_SECOND_SQUARED ?? (_INCH_PER_SECOND_SQUARED = new INCH_PER_SECOND_SQUAREDValue()); + + /// acceleration in inches per second squared.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class INCH_PER_SECOND_SQUAREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INCH/SECOND^2"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" acceleration in inches per second squared. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INCH_POUNDValue _INCH_POUND; + /// + public INCH_POUNDValue INCH_POUND => _INCH_POUND ?? (_INCH_POUND = new INCH_POUNDValue()); + + /// measure of torque in inch pounds.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class INCH_POUNDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INCH_POUND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measure of torque in inch pounds. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INCH_3DValue _INCH_3D; + /// + public INCH_3DValue INCH_3D => _INCH_3D ?? (_INCH_3D = new INCH_3DValue()); + + /// point in space identified by X, Y, and Z positions and represented by a space-delimited set of numbers each expressed in inches.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class INCH_3DValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INCH_3D"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" point in space identified by X, Y, and Z positions and represented by a space-delimited set of numbers each expressed in inches. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private KELVINValue _KELVIN; + /// + public KELVINValue KELVIN => _KELVIN ?? (_KELVIN = new KELVINValue()); + + /// measurement of temperature.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class KELVINValue : IEnumInstance + { + /// Constant value for + public const string NAME = "KELVIN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement of temperature. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private KILOWATTValue _KILOWATT; + /// + public KILOWATTValue KILOWATT => _KILOWATT ?? (_KILOWATT = new KILOWATTValue()); + + /// measurement in kilowatt.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class KILOWATTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "KILOWATT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement in kilowatt. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private KILOWATT_HOURValue _KILOWATT_HOUR; + /// + public KILOWATT_HOURValue KILOWATT_HOUR => _KILOWATT_HOUR ?? (_KILOWATT_HOUR = new KILOWATT_HOURValue()); + + /// kilowatt hours which is 3.6 mega joules.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class KILOWATT_HOURValue : IEnumInstance + { + /// Constant value for + public const string NAME = "KILOWATT_HOUR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" kilowatt hours which is 3.6 mega joules. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LITER_PER_MINUTEValue _LITER_PER_MINUTE; + /// + public LITER_PER_MINUTEValue LITER_PER_MINUTE => _LITER_PER_MINUTE ?? (_LITER_PER_MINUTE = new LITER_PER_MINUTEValue()); + + /// measurement of rate of flow of a fluid.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class LITER_PER_MINUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LITER/MINUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement of rate of flow of a fluid. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MILLIMETER_PER_MINUTEValue _MILLIMETER_PER_MINUTE; + /// + public MILLIMETER_PER_MINUTEValue MILLIMETER_PER_MINUTE => _MILLIMETER_PER_MINUTE ?? (_MILLIMETER_PER_MINUTE = new MILLIMETER_PER_MINUTEValue()); + + /// velocity in millimeters per minute.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class MILLIMETER_PER_MINUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MILLIMETER/MINUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" velocity in millimeters per minute. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MINUTEValue _MINUTE; + /// + public MINUTEValue MINUTE => _MINUTE ?? (_MINUTE = new MINUTEValue()); + + /// measurement of time in minutes.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class MINUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MINUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement of time in minutes. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OTHERValue _OTHER; + /// + public OTHERValue OTHER => _OTHER ?? (_OTHER = new OTHERValue()); + + /// unsupported unit.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class OTHERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OTHER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" unsupported unit. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POUNDValue _POUND; + /// + public POUNDValue POUND => _POUND ?? (_POUND = new POUNDValue()); + + /// US pounds.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class POUNDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POUND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" US pounds. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POUND_PER_INCH_SQUAREDValue _POUND_PER_INCH_SQUARED; + /// + public POUND_PER_INCH_SQUAREDValue POUND_PER_INCH_SQUARED => _POUND_PER_INCH_SQUARED ?? (_POUND_PER_INCH_SQUARED = new POUND_PER_INCH_SQUAREDValue()); + + /// pressure in pounds per square inch (PSI).


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class POUND_PER_INCH_SQUAREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POUND/INCH^2"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" pressure in pounds per square inch (PSI). +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RADIANValue _RADIAN; + /// + public RADIANValue RADIAN => _RADIAN ?? (_RADIAN = new RADIANValue()); + + /// angle in radians.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class RADIANValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RADIAN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angle in radians. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RADIAN_PER_MINUTEValue _RADIAN_PER_MINUTE; + /// + public RADIAN_PER_MINUTEValue RADIAN_PER_MINUTE => _RADIAN_PER_MINUTE ?? (_RADIAN_PER_MINUTE = new RADIAN_PER_MINUTEValue()); + + /// velocity in radians per minute.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class RADIAN_PER_MINUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RADIAN/MINUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" velocity in radians per minute. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RADIAN_PER_SECONDValue _RADIAN_PER_SECOND; + /// + public RADIAN_PER_SECONDValue RADIAN_PER_SECOND => _RADIAN_PER_SECOND ?? (_RADIAN_PER_SECOND = new RADIAN_PER_SECONDValue()); + + /// velocity in radians per second.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class RADIAN_PER_SECONDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RADIAN/SECOND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" velocity in radians per second. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RADIAN_PER_SECOND_SQUAREDValue _RADIAN_PER_SECOND_SQUARED; + /// + public RADIAN_PER_SECOND_SQUAREDValue RADIAN_PER_SECOND_SQUARED => _RADIAN_PER_SECOND_SQUARED ?? (_RADIAN_PER_SECOND_SQUARED = new RADIAN_PER_SECOND_SQUAREDValue()); + + /// acceleration in radians per second squared.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class RADIAN_PER_SECOND_SQUAREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RADIAN/SECOND^2"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" acceleration in radians per second squared. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BARValue _BAR; + /// + public BARValue BAR => _BAR ?? (_BAR = new BARValue()); + + /// pressure in Bar.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class BARValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BAR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" pressure in Bar. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TORRValue _TORR; + /// + public TORRValue TORR => _TORR ?? (_TORR = new TORRValue()); + + /// pressure in Torr.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class TORRValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TORR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" pressure in Torr. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MILLIMETER_MERCURYValue _MILLIMETER_MERCURY; + /// + public MILLIMETER_MERCURYValue MILLIMETER_MERCURY => _MILLIMETER_MERCURY ?? (_MILLIMETER_MERCURY = new MILLIMETER_MERCURYValue()); + + /// pressure in Millimeter of Mercury (mmHg).


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class MILLIMETER_MERCURYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MILLIMETER_MERCURY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" pressure in Millimeter of Mercury (mmHg). +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PASCAL_PER_MINUTEValue _PASCAL_PER_MINUTE; + /// + public PASCAL_PER_MINUTEValue PASCAL_PER_MINUTE => _PASCAL_PER_MINUTE ?? (_PASCAL_PER_MINUTE = new PASCAL_PER_MINUTEValue()); + + /// pascal per minute.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class PASCAL_PER_MINUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PASCAL/MINUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" pascal per minute. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GRAVITATIONAL_FORCEValue _GRAVITATIONAL_FORCE; + /// + public GRAVITATIONAL_FORCEValue GRAVITATIONAL_FORCE => _GRAVITATIONAL_FORCE ?? (_GRAVITATIONAL_FORCE = new GRAVITATIONAL_FORCEValue()); + + /// MASS\times GRAVITATIONAL_ACCELERATION (g) given in METER/SECOND^2.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class GRAVITATIONAL_FORCEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GRAVITATIONAL_FORCE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" $$MASS\\times GRAVITATIONAL_ACCELERATION$$ (g) given in `METER/SECOND^2`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GRAVITATIONAL_ACCELERATIONValue _GRAVITATIONAL_ACCELERATION; + /// + public GRAVITATIONAL_ACCELERATIONValue GRAVITATIONAL_ACCELERATION => _GRAVITATIONAL_ACCELERATION ?? (_GRAVITATIONAL_ACCELERATION = new GRAVITATIONAL_ACCELERATIONValue()); + + /// acceleration relative to earth's gravity given in METER/SECOND^2.

> Note 1 to entry: At different points on Earth's surface, the free-fall acceleration ranges from 9.764 to 9.834 m/s2 (Wikipedia: Gravitational Acceleration). The constant can be customized depending on the location in the universe.

> Note 2 to entry: In the standard, it is assumed that Earth's average value of gravitational acceleration is 9.90665 m/s2.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class GRAVITATIONAL_ACCELERATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GRAVITATIONAL_ACCELERATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" acceleration relative to earth's gravity given in `METER/SECOND^2`. + +> Note 1 to entry: At different points on Earth's surface, the free-fall acceleration ranges from 9.764 to 9.834 m/s2 (Wikipedia: Gravitational Acceleration). The constant can be customized depending on the location in the universe. + +> Note 2 to entry: In the standard, it is assumed that Earth's average value of gravitational acceleration is 9.90665 m/s2. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AMPERE_HOURValue _AMPERE_HOUR; + /// + public AMPERE_HOURValue AMPERE_HOUR => _AMPERE_HOUR ?? (_AMPERE_HOUR = new AMPERE_HOURValue()); + + /// electric charge in ampere hour.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class AMPERE_HOURValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AMPERE_HOUR"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" electric charge in ampere hour. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CUBIC_FOOT_PER_HOURValue _CUBIC_FOOT_PER_HOUR; + /// + public CUBIC_FOOT_PER_HOURValue CUBIC_FOOT_PER_HOUR => _CUBIC_FOOT_PER_HOUR ?? (_CUBIC_FOOT_PER_HOUR = new CUBIC_FOOT_PER_HOURValue()); + + /// change of geometric volume in cubic foot per hour.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class CUBIC_FOOT_PER_HOURValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CUBIC_FOOT/HOUR"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" change of geometric volume in cubic foot per hour. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CUBIC_FOOT_PER_MINUTEValue _CUBIC_FOOT_PER_MINUTE; + /// + public CUBIC_FOOT_PER_MINUTEValue CUBIC_FOOT_PER_MINUTE => _CUBIC_FOOT_PER_MINUTE ?? (_CUBIC_FOOT_PER_MINUTE = new CUBIC_FOOT_PER_MINUTEValue()); + + /// change of geometric volume in cubic foot per minute.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class CUBIC_FOOT_PER_MINUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CUBIC_FOOT/MINUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" change of geometric volume in cubic foot per minute. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SQUARE_INCHValue _SQUARE_INCH; + /// + public SQUARE_INCHValue SQUARE_INCH => _SQUARE_INCH ?? (_SQUARE_INCH = new SQUARE_INCHValue()); + + /// geometric area in inches.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class SQUARE_INCHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SQUARE_INCH"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" geometric area in inches. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CUBIC_FOOTValue _CUBIC_FOOT; + /// + public CUBIC_FOOTValue CUBIC_FOOT => _CUBIC_FOOT ?? (_CUBIC_FOOT = new CUBIC_FOOTValue()); + + /// geometric volume in feet.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class CUBIC_FOOTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CUBIC_FOOT"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" geometric volume in feet. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INCH_PER_REVOLUTIONValue _INCH_PER_REVOLUTION; + /// + public INCH_PER_REVOLUTIONValue INCH_PER_REVOLUTION => _INCH_PER_REVOLUTION ?? (_INCH_PER_REVOLUTION = new INCH_PER_REVOLUTIONValue()); + + /// inch per revolution.


+ /// Value for NativeUnitEnum.
+ ///
See also NativeUnitEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class INCH_PER_REVOLUTIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INCH/REVOLUTION"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" inch per revolution. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/NetworkWirelessEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/NetworkWirelessEnum.cs new file mode 100644 index 00000000..c13b6189 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/NetworkWirelessEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum NetworkWirelessEnum + { + /// 


+ ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + YES, + /// 


+ ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + NO, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class NetworkWirelessEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643979384902_745208_1916"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1643979384902_745208_1916"; + /// Constant value for + public const string NAME = "NetworkWirelessEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(NetworkWirelessEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + YES, + NO, + }; + + private YESValue _YES; + /// + public YESValue YES => _YES ?? (_YES = new YESValue()); + + /// 


+ /// Value for NetworkWirelessEnum.
+ ///
See also NetworkWirelessEnum + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + public sealed class YESValue : IEnumInstance + { + /// Constant value for + public const string NAME = "YES"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NOValue _NO; + /// + public NOValue NO => _NO ?? (_NO = new NOValue()); + + /// 


+ /// Value for NetworkWirelessEnum.
+ ///
See also NetworkWirelessEnum + ///
+ /// + /// + /// Introduced: v1.6 + /// + /// + + public sealed class NOValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NO"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/OperatingModeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/OperatingModeEnum.cs new file mode 100644 index 00000000..134d41c7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/OperatingModeEnum.cs @@ -0,0 +1,236 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum OperatingModeEnum + { + /// automatically execute instructions from a recipe or program.

> Note: Setpoint comes from a recipe.


+ ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + AUTOMATIC, + /// execute instructions from an external agent or person.

> Note 1 to entry: Valve or switch is manipulated by an agent/person.

> Note 2 to entry: Direct control of the PID output. % of the range: A user manually sets the % output, not the setpoint.


+ ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + MANUAL, + /// executes a single instruction from a recipe or program.

> Note 1 to entry: Setpoint is entered and fixed, but the PID is controlling.

> Note 2 to entry: Still goes through the PID control system.

> Note 3 to entry: Manual fixed entry from a recipe.


+ ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + SEMI_AUTOMATIC, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OperatingModeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1637936591972_920420_100"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1637936591972_920420_100"; + /// Constant value for + public const string NAME = "OperatingModeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(OperatingModeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + AUTOMATIC, + MANUAL, + SEMI_AUTOMATIC, + }; + + private AUTOMATICValue _AUTOMATIC; + /// + public AUTOMATICValue AUTOMATIC => _AUTOMATIC ?? (_AUTOMATIC = new AUTOMATICValue()); + + /// automatically execute instructions from a recipe or program.

> Note: Setpoint comes from a recipe.


+ /// Value for OperatingModeEnum.
+ ///
See also OperatingModeEnum + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + public sealed class AUTOMATICValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AUTOMATIC"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" automatically execute instructions from a recipe or program. + +> Note: Setpoint comes from a recipe. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MANUALValue _MANUAL; + /// + public MANUALValue MANUAL => _MANUAL ?? (_MANUAL = new MANUALValue()); + + /// execute instructions from an external agent or person.

> Note 1 to entry: Valve or switch is manipulated by an agent/person.

> Note 2 to entry: Direct control of the PID output. % of the range: A user manually sets the % output, not the setpoint.


+ /// Value for OperatingModeEnum.
+ ///
See also OperatingModeEnum + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + public sealed class MANUALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MANUAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" execute instructions from an external agent or person. + +> Note 1 to entry: Valve or switch is manipulated by an agent/person. + +> Note 2 to entry: Direct control of the PID output. % of the range: A user manually sets the % output, not the setpoint. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SEMI_AUTOMATICValue _SEMI_AUTOMATIC; + /// + public SEMI_AUTOMATICValue SEMI_AUTOMATIC => _SEMI_AUTOMATIC ?? (_SEMI_AUTOMATIC = new SEMI_AUTOMATICValue()); + + /// executes a single instruction from a recipe or program.

> Note 1 to entry: Setpoint is entered and fixed, but the PID is controlling.

> Note 2 to entry: Still goes through the PID control system.

> Note 3 to entry: Manual fixed entry from a recipe.


+ /// Value for OperatingModeEnum.
+ ///
See also OperatingModeEnum + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + public sealed class SEMI_AUTOMATICValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SEMI_AUTOMATIC"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" executes a single instruction from a recipe or program. + +> Note 1 to entry: Setpoint is entered and fixed, but the PID is controlling. + +> Note 2 to entry: Still goes through the PID control system. + +> Note 3 to entry: Manual fixed entry from a recipe. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/OriginatorEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/OriginatorEnum.cs new file mode 100644 index 00000000..d9ace71f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/OriginatorEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum OriginatorEnum + { + /// manufacturer of a piece of equipment or Component.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + MANUFACTURER, + /// owner or implementer of a piece of equipment or Component.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + USER, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class OriginatorEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605643327599_586044_593"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1605643327599_586044_593"; + /// Constant value for + public const string NAME = "OriginatorEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(OriginatorEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + MANUFACTURER, + USER, + }; + + private MANUFACTURERValue _MANUFACTURER; + /// + public MANUFACTURERValue MANUFACTURER => _MANUFACTURER ?? (_MANUFACTURER = new MANUFACTURERValue()); + + /// manufacturer of a piece of equipment or Component.


+ /// Value for OriginatorEnum.
+ ///
See also OriginatorEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class MANUFACTURERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MANUFACTURER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" manufacturer of a piece of equipment or {{block(Component)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private USERValue _USER; + /// + public USERValue USER => _USER ?? (_USER = new USERValue()); + + /// owner or implementer of a piece of equipment or Component.


+ /// Value for OriginatorEnum.
+ ///
See also OriginatorEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class USERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "USER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" owner or implementer of a piece of equipment or {{block(Component)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartCountTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartCountTypeEnum.cs new file mode 100644 index 00000000..7cb66709 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartCountTypeEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum PartCountTypeEnum + { + /// count is of individual items.


+ ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + EACH, + /// pre-specified group of items.


+ ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + BATCH, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartCountTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1640702052373_905765_57"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1640702052373_905765_57"; + /// Constant value for + public const string NAME = "PartCountTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(PartCountTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + EACH, + BATCH, + }; + + private EACHValue _EACH; + /// + public EACHValue EACH => _EACH ?? (_EACH = new EACHValue()); + + /// count is of individual items.


+ /// Value for PartCountTypeEnum.
+ ///
See also PartCountTypeEnum + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + public sealed class EACHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EACH"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" count is of individual items. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BATCHValue _BATCH; + /// + public BATCHValue BATCH => _BATCH ?? (_BATCH = new BATCHValue()); + + /// pre-specified group of items.


+ /// Value for PartCountTypeEnum.
+ ///
See also PartCountTypeEnum + ///
+ /// + /// + /// Introduced: v2.0 + /// + /// + + public sealed class BATCHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BATCH"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" pre-specified group of items. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartDetectEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartDetectEnum.cs new file mode 100644 index 00000000..6c19d25c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartDetectEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum PartDetectEnum + { + /// part or work piece is detected or is present.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + PRESENT, + /// part or work piece is not detected or is not present.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + NOT_PRESENT, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartDetectEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581206093299_877100_76"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1581206093299_877100_76"; + /// Constant value for + public const string NAME = "PartDetectEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(PartDetectEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + PRESENT, + NOT_PRESENT, + }; + + private PRESENTValue _PRESENT; + /// + public PRESENTValue PRESENT => _PRESENT ?? (_PRESENT = new PRESENTValue()); + + /// part or work piece is detected or is present.


+ /// Value for PartDetectEnum.
+ ///
See also PartDetectEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class PRESENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PRESENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" part or work piece is detected or is present. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NOT_PRESENTValue _NOT_PRESENT; + /// + public NOT_PRESENTValue NOT_PRESENT => _NOT_PRESENT ?? (_NOT_PRESENT = new NOT_PRESENTValue()); + + /// part or work piece is not detected or is not present.


+ /// Value for PartDetectEnum.
+ ///
See also PartDetectEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class NOT_PRESENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NOT_PRESENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" part or work piece is not detected or is not present. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartProcessingStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartProcessingStateEnum.cs new file mode 100644 index 00000000..44a3c6bf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartProcessingStateEnum.cs @@ -0,0 +1,689 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum PartProcessingStateEnum + { + /// part occurrence is not actively being processed, but the processing has not ended.

Processing requirements exist that have not yet been fulfilled. This is the default entry state when the part occurrence is originally received. In some cases, the part occurrence may return to this state while it waits for additional processing to be performed.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + NEEDS_PROCESSING, + /// part occurrence is actively being processed.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + IN_PROCESS, + /// part occurrence is no longer being processed.

A general state when the reason for termination is unknown.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + PROCESSING_ENDED, + /// part occurrence has completed processing successfully.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + PROCESSING_ENDED_COMPLETE, + /// process has been stopped during the processing.

The part occurrence will require special treatment.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + PROCESSING_ENDED_STOPPED, + /// processing of the part occurrence has come to a premature end.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + PROCESSING_ENDED_ABORTED, + /// terminal state when the part occurrence has been removed from the equipment by an external entity and it no longer exists at the equipment.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + PROCESSING_ENDED_LOST, + /// part occurrence has been skipped for processing on the piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + PROCESSING_ENDED_SKIPPED, + /// part occurrence has been processed completely. However, the processing may have a problem.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + PROCESSING_ENDED_REJECTED, + /// part occurrence is waiting for transit.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + WAITING_FOR_TRANSIT, + /// part occurrence is being transported to its destination.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + IN_TRANSIT, + /// part occurrence has been placed at its designated destination.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + TRANSIT_COMPLETE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartProcessingStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622460092329_383445_1384"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1622460092329_383445_1384"; + /// Constant value for + public const string NAME = "PartProcessingStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(PartProcessingStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + NEEDS_PROCESSING, + IN_PROCESS, + PROCESSING_ENDED, + PROCESSING_ENDED_COMPLETE, + PROCESSING_ENDED_STOPPED, + PROCESSING_ENDED_ABORTED, + PROCESSING_ENDED_LOST, + PROCESSING_ENDED_SKIPPED, + PROCESSING_ENDED_REJECTED, + WAITING_FOR_TRANSIT, + IN_TRANSIT, + TRANSIT_COMPLETE, + }; + + private NEEDS_PROCESSINGValue _NEEDS_PROCESSING; + /// + public NEEDS_PROCESSINGValue NEEDS_PROCESSING => _NEEDS_PROCESSING ?? (_NEEDS_PROCESSING = new NEEDS_PROCESSINGValue()); + + /// part occurrence is not actively being processed, but the processing has not ended.

Processing requirements exist that have not yet been fulfilled. This is the default entry state when the part occurrence is originally received. In some cases, the part occurrence may return to this state while it waits for additional processing to be performed.


+ /// Value for PartProcessingStateEnum.
+ ///
See also PartProcessingStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class NEEDS_PROCESSINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NEEDS_PROCESSING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" part occurrence is not actively being processed, but the processing has not ended. + +Processing requirements exist that have not yet been fulfilled. This is the default entry state when the part occurrence is originally received. In some cases, the part occurrence may return to this state while it waits for additional processing to be performed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private IN_PROCESSValue _IN_PROCESS; + /// + public IN_PROCESSValue IN_PROCESS => _IN_PROCESS ?? (_IN_PROCESS = new IN_PROCESSValue()); + + /// part occurrence is actively being processed.


+ /// Value for PartProcessingStateEnum.
+ ///
See also PartProcessingStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class IN_PROCESSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "IN_PROCESS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" part occurrence is actively being processed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESSING_ENDEDValue _PROCESSING_ENDED; + /// + public PROCESSING_ENDEDValue PROCESSING_ENDED => _PROCESSING_ENDED ?? (_PROCESSING_ENDED = new PROCESSING_ENDEDValue()); + + /// part occurrence is no longer being processed.

A general state when the reason for termination is unknown.


+ /// Value for PartProcessingStateEnum.
+ ///
See also PartProcessingStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class PROCESSING_ENDEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESSING_ENDED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" part occurrence is no longer being processed. + +A general state when the reason for termination is unknown. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESSING_ENDED_COMPLETEValue _PROCESSING_ENDED_COMPLETE; + /// + public PROCESSING_ENDED_COMPLETEValue PROCESSING_ENDED_COMPLETE => _PROCESSING_ENDED_COMPLETE ?? (_PROCESSING_ENDED_COMPLETE = new PROCESSING_ENDED_COMPLETEValue()); + + /// part occurrence has completed processing successfully.


+ /// Value for PartProcessingStateEnum.
+ ///
See also PartProcessingStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class PROCESSING_ENDED_COMPLETEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESSING_ENDED_COMPLETE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" part occurrence has completed processing successfully. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESSING_ENDED_STOPPEDValue _PROCESSING_ENDED_STOPPED; + /// + public PROCESSING_ENDED_STOPPEDValue PROCESSING_ENDED_STOPPED => _PROCESSING_ENDED_STOPPED ?? (_PROCESSING_ENDED_STOPPED = new PROCESSING_ENDED_STOPPEDValue()); + + /// process has been stopped during the processing.

The part occurrence will require special treatment.


+ /// Value for PartProcessingStateEnum.
+ ///
See also PartProcessingStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class PROCESSING_ENDED_STOPPEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESSING_ENDED_STOPPED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" process has been stopped during the processing. + +The part occurrence will require special treatment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESSING_ENDED_ABORTEDValue _PROCESSING_ENDED_ABORTED; + /// + public PROCESSING_ENDED_ABORTEDValue PROCESSING_ENDED_ABORTED => _PROCESSING_ENDED_ABORTED ?? (_PROCESSING_ENDED_ABORTED = new PROCESSING_ENDED_ABORTEDValue()); + + /// processing of the part occurrence has come to a premature end.


+ /// Value for PartProcessingStateEnum.
+ ///
See also PartProcessingStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class PROCESSING_ENDED_ABORTEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESSING_ENDED_ABORTED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" processing of the part occurrence has come to a premature end. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESSING_ENDED_LOSTValue _PROCESSING_ENDED_LOST; + /// + public PROCESSING_ENDED_LOSTValue PROCESSING_ENDED_LOST => _PROCESSING_ENDED_LOST ?? (_PROCESSING_ENDED_LOST = new PROCESSING_ENDED_LOSTValue()); + + /// terminal state when the part occurrence has been removed from the equipment by an external entity and it no longer exists at the equipment.


+ /// Value for PartProcessingStateEnum.
+ ///
See also PartProcessingStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class PROCESSING_ENDED_LOSTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESSING_ENDED_LOST"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" terminal state when the part occurrence has been removed from the equipment by an external entity and it no longer exists at the equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESSING_ENDED_SKIPPEDValue _PROCESSING_ENDED_SKIPPED; + /// + public PROCESSING_ENDED_SKIPPEDValue PROCESSING_ENDED_SKIPPED => _PROCESSING_ENDED_SKIPPED ?? (_PROCESSING_ENDED_SKIPPED = new PROCESSING_ENDED_SKIPPEDValue()); + + /// part occurrence has been skipped for processing on the piece of equipment.


+ /// Value for PartProcessingStateEnum.
+ ///
See also PartProcessingStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class PROCESSING_ENDED_SKIPPEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESSING_ENDED_SKIPPED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" part occurrence has been skipped for processing on the piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESSING_ENDED_REJECTEDValue _PROCESSING_ENDED_REJECTED; + /// + public PROCESSING_ENDED_REJECTEDValue PROCESSING_ENDED_REJECTED => _PROCESSING_ENDED_REJECTED ?? (_PROCESSING_ENDED_REJECTED = new PROCESSING_ENDED_REJECTEDValue()); + + /// part occurrence has been processed completely. However, the processing may have a problem.


+ /// Value for PartProcessingStateEnum.
+ ///
See also PartProcessingStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class PROCESSING_ENDED_REJECTEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESSING_ENDED_REJECTED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" part occurrence has been processed completely. However, the processing may have a problem. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WAITING_FOR_TRANSITValue _WAITING_FOR_TRANSIT; + /// + public WAITING_FOR_TRANSITValue WAITING_FOR_TRANSIT => _WAITING_FOR_TRANSIT ?? (_WAITING_FOR_TRANSIT = new WAITING_FOR_TRANSITValue()); + + /// part occurrence is waiting for transit.


+ /// Value for PartProcessingStateEnum.
+ ///
See also PartProcessingStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class WAITING_FOR_TRANSITValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WAITING_FOR_TRANSIT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" part occurrence is waiting for transit. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private IN_TRANSITValue _IN_TRANSIT; + /// + public IN_TRANSITValue IN_TRANSIT => _IN_TRANSIT ?? (_IN_TRANSIT = new IN_TRANSITValue()); + + /// part occurrence is being transported to its destination.


+ /// Value for PartProcessingStateEnum.
+ ///
See also PartProcessingStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class IN_TRANSITValue : IEnumInstance + { + /// Constant value for + public const string NAME = "IN_TRANSIT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" part occurrence is being transported to its destination. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TRANSIT_COMPLETEValue _TRANSIT_COMPLETE; + /// + public TRANSIT_COMPLETEValue TRANSIT_COMPLETE => _TRANSIT_COMPLETE ?? (_TRANSIT_COMPLETE = new TRANSIT_COMPLETEValue()); + + /// part occurrence has been placed at its designated destination.


+ /// Value for PartProcessingStateEnum.
+ ///
See also PartProcessingStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class TRANSIT_COMPLETEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TRANSIT_COMPLETE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" part occurrence has been placed at its designated destination. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartStatusEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartStatusEnum.cs new file mode 100644 index 00000000..55a0e809 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PartStatusEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum PartStatusEnum + { + /// part conforms to given requirements.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + PASS, + /// part does not conform to some given requirements.


+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + FAIL, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PartStatusEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605550250815_880755_1896"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1605550250815_880755_1896"; + /// Constant value for + public const string NAME = "PartStatusEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(PartStatusEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + PASS, + FAIL, + }; + + private PASSValue _PASS; + /// + public PASSValue PASS => _PASS ?? (_PASS = new PASSValue()); + + /// part conforms to given requirements.


+ /// Value for PartStatusEnum.
+ ///
See also PartStatusEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class PASSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PASS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" part conforms to given requirements. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FAILValue _FAIL; + /// + public FAILValue FAIL => _FAIL ?? (_FAIL = new FAILValue()); + + /// part does not conform to some given requirements.


+ /// Value for PartStatusEnum.
+ ///
See also PartStatusEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class FAILValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FAIL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" part does not conform to some given requirements. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PathModeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PathModeEnum.cs new file mode 100644 index 00000000..a37b62ee --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PathModeEnum.cs @@ -0,0 +1,275 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum PathModeEnum + { + /// path is operating independently and without the influence of another path.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + INDEPENDENT, + /// path provides information or state values that influences the operation of other DataItem of similar type.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + MASTER, + /// physical or logical parts which are not physically connected to each other but are operating together.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + SYNCHRONOUS, + /// axes associated with the path are mirroring the motion of the MASTER path.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + MIRROR, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PathModeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417667_174664_2881"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417667_174664_2881"; + /// Constant value for + public const string NAME = "PathModeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(PathModeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + INDEPENDENT, + MASTER, + SYNCHRONOUS, + MIRROR, + }; + + private INDEPENDENTValue _INDEPENDENT; + /// + public INDEPENDENTValue INDEPENDENT => _INDEPENDENT ?? (_INDEPENDENT = new INDEPENDENTValue()); + + /// path is operating independently and without the influence of another path.


+ /// Value for PathModeEnum.
+ ///
See also PathModeEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class INDEPENDENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INDEPENDENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" path is operating independently and without the influence of another path. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MASTERValue _MASTER; + /// + public MASTERValue MASTER => _MASTER ?? (_MASTER = new MASTERValue()); + + /// path provides information or state values that influences the operation of other DataItem of similar type.


+ /// Value for PathModeEnum.
+ ///
See also PathModeEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class MASTERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MASTER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" path provides information or state values that influences the operation of other {{block(DataItem)}} of similar type. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SYNCHRONOUSValue _SYNCHRONOUS; + /// + public SYNCHRONOUSValue SYNCHRONOUS => _SYNCHRONOUS ?? (_SYNCHRONOUS = new SYNCHRONOUSValue()); + + /// physical or logical parts which are not physically connected to each other but are operating together.


+ /// Value for PathModeEnum.
+ ///
See also PathModeEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class SYNCHRONOUSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SYNCHRONOUS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" physical or logical parts which are not physically connected to each other but are operating together. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MIRRORValue _MIRROR; + /// + public MIRRORValue MIRROR => _MIRROR ?? (_MIRROR = new MIRRORValue()); + + /// axes associated with the path are mirroring the motion of the MASTER path.


+ /// Value for PathModeEnum.
+ ///
See also PathModeEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class MIRRORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MIRROR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axes associated with the path are mirroring the motion of the `MASTER` path. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PowerSourceTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PowerSourceTypeEnum.cs new file mode 100644 index 00000000..261a8fd5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PowerSourceTypeEnum.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum PowerSourceTypeEnum + { + /// main or principle.


+ ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + PRIMARY, + /// alternate or not primary.


+ ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + SECONDARY, + /// held near at hand and ready for use and is uninterruptible.


+ ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + STANDBY, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PowerSourceTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1696871537426_335818_3541"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1696871537426_335818_3541"; + /// Constant value for + public const string NAME = "PowerSourceTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(PowerSourceTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + PRIMARY, + SECONDARY, + STANDBY, + }; + + private PRIMARYValue _PRIMARY; + /// + public PRIMARYValue PRIMARY => _PRIMARY ?? (_PRIMARY = new PRIMARYValue()); + + /// main or principle.


+ /// Value for PowerSourceTypeEnum.
+ ///
See also PowerSourceTypeEnum + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + public sealed class PRIMARYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PRIMARY"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" main or principle. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SECONDARYValue _SECONDARY; + /// + public SECONDARYValue SECONDARY => _SECONDARY ?? (_SECONDARY = new SECONDARYValue()); + + /// alternate or not primary.


+ /// Value for PowerSourceTypeEnum.
+ ///
See also PowerSourceTypeEnum + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + public sealed class SECONDARYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SECONDARY"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" alternate or not primary. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STANDBYValue _STANDBY; + /// + public STANDBYValue STANDBY => _STANDBY ?? (_STANDBY = new STANDBYValue()); + + /// held near at hand and ready for use and is uninterruptible.


+ /// Value for PowerSourceTypeEnum.
+ ///
See also PowerSourceTypeEnum + ///
+ /// + /// + /// Introduced: v2.3 + /// + /// + + public sealed class STANDBYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STANDBY"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" held near at hand and ready for use and is uninterruptible. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PowerStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PowerStateEnum.cs new file mode 100644 index 00000000..92725890 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PowerStateEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum PowerStateEnum + { + /// source of energy for an entity or the enabling signal providing permission for the entity to perform its function(s) is present and active.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + ON, + /// source of energy for an entity or the enabling signal providing permission for the entity to perform its function(s) is not present or is disconnected.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + OFF, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PowerStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1632489430362_282150_112"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1632489430362_282150_112"; + /// Constant value for + public const string NAME = "PowerStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(PowerStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ON, + OFF, + }; + + private ONValue _ON; + /// + public ONValue ON => _ON ?? (_ON = new ONValue()); + + /// source of energy for an entity or the enabling signal providing permission for the entity to perform its function(s) is present and active.


+ /// Value for PowerStateEnum.
+ ///
See also PowerStateEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class ONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ON"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" source of energy for an entity or the enabling signal providing permission for the entity to perform its function(s) is present and active. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OFFValue _OFF; + /// + public OFFValue OFF => _OFF ?? (_OFF = new OFFValue()); + + /// source of energy for an entity or the enabling signal providing permission for the entity to perform its function(s) is not present or is disconnected.


+ /// Value for PowerStateEnum.
+ ///
See also PowerStateEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class OFFValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OFF"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" source of energy for an entity or the enabling signal providing permission for the entity to perform its function(s) is not present or is disconnected. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PowerStatusEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PowerStatusEnum.cs new file mode 100644 index 00000000..e36d11be --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/PowerStatusEnum.cs @@ -0,0 +1,181 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum PowerStatusEnum + { + ///  + /// + /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + ON, + ///  + /// + /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + OFF, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class PowerStatusEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643978215664_962279_1402"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1643978215664_962279_1402"; + /// Constant value for + public const string NAME = "PowerStatusEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(PowerStatusEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ON, + OFF, + }; + + private ONValue _ON; + /// + public ONValue ON => _ON ?? (_ON = new ONValue()); + + ///  + /// Value for PowerStatusEnum.
+ ///
See also PowerStatusEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class ONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ON"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OFFValue _OFF; + /// + public OFFValue OFF => _OFF ?? (_OFF = new OFFValue()); + + ///  + /// Value for PowerStatusEnum.
+ ///
See also PowerStatusEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// Deprecated: v1.1 + /// + /// + [Obsolete("Deprecated in v1.1 according to https://model.mtconnect.org/#_Version_1.1")] + + public sealed class OFFValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OFF"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ProcessStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ProcessStateEnum.cs new file mode 100644 index 00000000..e7f513df --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ProcessStateEnum.cs @@ -0,0 +1,377 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ProcessStateEnum + { + /// device is preparing to execute the process occurrence.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + INITIALIZING, + /// process occurrence is ready to be executed.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + READY, + /// process occurrence is actively executing.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + ACTIVE, + /// process occurrence is now finished.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + COMPLETE, + /// process occurrence has been stopped and may be resumed.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + INTERRUPTED, + /// process occurrence has come to a premature end and cannot be resumed.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + ABORTED, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProcessStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605550283222_680737_1925"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1605550283222_680737_1925"; + /// Constant value for + public const string NAME = "ProcessStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ProcessStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + INITIALIZING, + READY, + ACTIVE, + COMPLETE, + INTERRUPTED, + ABORTED, + }; + + private INITIALIZINGValue _INITIALIZING; + /// + public INITIALIZINGValue INITIALIZING => _INITIALIZING ?? (_INITIALIZING = new INITIALIZINGValue()); + + /// device is preparing to execute the process occurrence.


+ /// Value for ProcessStateEnum.
+ ///
See also ProcessStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class INITIALIZINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INITIALIZING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" device is preparing to execute the process occurrence. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private READYValue _READY; + /// + public READYValue READY => _READY ?? (_READY = new READYValue()); + + /// process occurrence is ready to be executed.


+ /// Value for ProcessStateEnum.
+ ///
See also ProcessStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class READYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "READY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" process occurrence is ready to be executed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACTIVEValue _ACTIVE; + /// + public ACTIVEValue ACTIVE => _ACTIVE ?? (_ACTIVE = new ACTIVEValue()); + + /// process occurrence is actively executing.


+ /// Value for ProcessStateEnum.
+ ///
See also ProcessStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class ACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" process occurrence is actively executing. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COMPLETEValue _COMPLETE; + /// + public COMPLETEValue COMPLETE => _COMPLETE ?? (_COMPLETE = new COMPLETEValue()); + + /// process occurrence is now finished.


+ /// Value for ProcessStateEnum.
+ ///
See also ProcessStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class COMPLETEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COMPLETE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" process occurrence is now finished. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INTERRUPTEDValue _INTERRUPTED; + /// + public INTERRUPTEDValue INTERRUPTED => _INTERRUPTED ?? (_INTERRUPTED = new INTERRUPTEDValue()); + + /// process occurrence has been stopped and may be resumed.


+ /// Value for ProcessStateEnum.
+ ///
See also ProcessStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class INTERRUPTEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INTERRUPTED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" process occurrence has been stopped and may be resumed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ABORTEDValue _ABORTED; + /// + public ABORTEDValue ABORTED => _ABORTED ?? (_ABORTED = new ABORTEDValue()); + + /// process occurrence has come to a premature end and cannot be resumed.


+ /// Value for ProcessStateEnum.
+ ///
See also ProcessStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class ABORTEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ABORTED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" process occurrence has come to a premature end and cannot be resumed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ProgramEditEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ProgramEditEnum.cs new file mode 100644 index 00000000..02c75acf --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ProgramEditEnum.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ProgramEditEnum + { + /// Controller is in the program edit mode.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + ACTIVE, + /// Controller is capable of entering the program edit mode and no function is inhibiting a change to that mode.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + READY, + /// Controller is being inhibited by a function from entering the program edit mode.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + NOT_READY, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramEditEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417667_46066_2882"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417667_46066_2882"; + /// Constant value for + public const string NAME = "ProgramEditEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ProgramEditEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ACTIVE, + READY, + NOT_READY, + }; + + private ACTIVEValue _ACTIVE; + /// + public ACTIVEValue ACTIVE => _ACTIVE ?? (_ACTIVE = new ACTIVEValue()); + + /// Controller is in the program edit mode.


+ /// Value for ProgramEditEnum.
+ ///
See also ProgramEditEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class ACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Controller)}} is in the program edit mode. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private READYValue _READY; + /// + public READYValue READY => _READY ?? (_READY = new READYValue()); + + /// Controller is capable of entering the program edit mode and no function is inhibiting a change to that mode.


+ /// Value for ProgramEditEnum.
+ ///
See also ProgramEditEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class READYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "READY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Controller)}} is capable of entering the program edit mode and no function is inhibiting a change to that mode. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NOT_READYValue _NOT_READY; + /// + public NOT_READYValue NOT_READY => _NOT_READY ?? (_NOT_READY = new NOT_READYValue()); + + /// Controller is being inhibited by a function from entering the program edit mode.


+ /// Value for ProgramEditEnum.
+ ///
See also ProgramEditEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class NOT_READYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NOT_READY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Controller)}} is being inhibited by a function from entering the program edit mode. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ProgramLocationTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ProgramLocationTypeEnum.cs new file mode 100644 index 00000000..b14377f9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ProgramLocationTypeEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ProgramLocationTypeEnum + { + /// managed by the controller.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + LOCAL, + /// not managed by the controller.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + EXTERNAL, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ProgramLocationTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1643980698480_209668_2427"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1643980698480_209668_2427"; + /// Constant value for + public const string NAME = "ProgramLocationTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ProgramLocationTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + LOCAL, + EXTERNAL, + }; + + private LOCALValue _LOCAL; + /// + public LOCALValue LOCAL => _LOCAL ?? (_LOCAL = new LOCALValue()); + + /// managed by the controller.


+ /// Value for ProgramLocationTypeEnum.
+ ///
See also ProgramLocationTypeEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class LOCALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOCAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" managed by the controller. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private EXTERNALValue _EXTERNAL; + /// + public EXTERNALValue EXTERNAL => _EXTERNAL ?? (_EXTERNAL = new EXTERNALValue()); + + /// not managed by the controller.


+ /// Value for ProgramLocationTypeEnum.
+ ///
See also ProgramLocationTypeEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class EXTERNALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EXTERNAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" not managed by the controller. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/QIFDocumentTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/QIFDocumentTypeEnum.cs new file mode 100644 index 00000000..a983a684 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/QIFDocumentTypeEnum.cs @@ -0,0 +1,371 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum QIFDocumentTypeEnum + { + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + MEASUREMENT_RESOURCE, + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + PLAN, + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + PRODUCT, + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + RESULTS, + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + RULES, + ///  + /// + /// + /// + /// Introduced: v1.8 + /// + /// + + STATISTICS, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class QIFDocumentTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622119656767_412574_1812"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1622119656767_412574_1812"; + /// Constant value for + public const string NAME = "QIFDocumentTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(QIFDocumentTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + MEASUREMENT_RESOURCE, + PLAN, + PRODUCT, + RESULTS, + RULES, + STATISTICS, + }; + + private MEASUREMENT_RESOURCEValue _MEASUREMENT_RESOURCE; + /// + public MEASUREMENT_RESOURCEValue MEASUREMENT_RESOURCE => _MEASUREMENT_RESOURCE ?? (_MEASUREMENT_RESOURCE = new MEASUREMENT_RESOURCEValue()); + + ///  + /// Value for QIFDocumentTypeEnum.
+ ///
See also QIFDocumentTypeEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class MEASUREMENT_RESOURCEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MEASUREMENT_RESOURCE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PLANValue _PLAN; + /// + public PLANValue PLAN => _PLAN ?? (_PLAN = new PLANValue()); + + ///  + /// Value for QIFDocumentTypeEnum.
+ ///
See also QIFDocumentTypeEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class PLANValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PLAN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PRODUCTValue _PRODUCT; + /// + public PRODUCTValue PRODUCT => _PRODUCT ?? (_PRODUCT = new PRODUCTValue()); + + ///  + /// Value for QIFDocumentTypeEnum.
+ ///
See also QIFDocumentTypeEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class PRODUCTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PRODUCT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RESULTSValue _RESULTS; + /// + public RESULTSValue RESULTS => _RESULTS ?? (_RESULTS = new RESULTSValue()); + + ///  + /// Value for QIFDocumentTypeEnum.
+ ///
See also QIFDocumentTypeEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class RESULTSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RESULTS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RULESValue _RULES; + /// + public RULESValue RULES => _RULES ?? (_RULES = new RULESValue()); + + ///  + /// Value for QIFDocumentTypeEnum.
+ ///
See also QIFDocumentTypeEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class RULESValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RULES"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STATISTICSValue _STATISTICS; + /// + public STATISTICSValue STATISTICS => _STATISTICS ?? (_STATISTICS = new STATISTICSValue()); + + ///  + /// Value for QIFDocumentTypeEnum.
+ ///
See also QIFDocumentTypeEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class STATISTICSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STATISTICS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/QualifierEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/QualifierEnum.cs new file mode 100644 index 00000000..8212032f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/QualifierEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum QualifierEnum + { + /// measured value is greater than the expected value for a process variable.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + HIGH, + /// measured value is less than the expected value for a process variable.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + LOW, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class QualifierEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579566531117_877396_25735"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1579566531117_877396_25735"; + /// Constant value for + public const string NAME = "QualifierEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(QualifierEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + HIGH, + LOW, + }; + + private HIGHValue _HIGH; + /// + public HIGHValue HIGH => _HIGH ?? (_HIGH = new HIGHValue()); + + /// measured value is greater than the expected value for a process variable.


+ /// Value for QualifierEnum.
+ ///
See also QualifierEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class HIGHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HIGH"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measured value is greater than the expected value for a process variable. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LOWValue _LOW; + /// + public LOWValue LOW => _LOW ?? (_LOW = new LOWValue()); + + /// measured value is less than the expected value for a process variable.


+ /// Value for QualifierEnum.
+ ///
See also QualifierEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class LOWValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOW"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measured value is less than the expected value for a process variable. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RelationshipTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RelationshipTypeEnum.cs new file mode 100644 index 00000000..819316a1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RelationshipTypeEnum.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum RelationshipTypeEnum + { + /// functions as a parent in the relationship with the associated element.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + PARENT, + /// functions as a child in the relationship with the associated element.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + CHILD, + /// functions as a peer which provides equal functionality and capabilities in the relationship with the associated element.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + PEER, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RelationshipTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_17E78CC7_671B_40bb_91A0_1F7CC06799BF"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_17E78CC7_671B_40bb_91A0_1F7CC06799BF"; + /// Constant value for + public const string NAME = "RelationshipTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(RelationshipTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + PARENT, + CHILD, + PEER, + }; + + private PARENTValue _PARENT; + /// + public PARENTValue PARENT => _PARENT ?? (_PARENT = new PARENTValue()); + + /// functions as a parent in the relationship with the associated element.


+ /// Value for RelationshipTypeEnum.
+ ///
See also RelationshipTypeEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class PARENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PARENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" functions as a parent in the relationship with the associated element. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CHILDValue _CHILD; + /// + public CHILDValue CHILD => _CHILD ?? (_CHILD = new CHILDValue()); + + /// functions as a child in the relationship with the associated element.


+ /// Value for RelationshipTypeEnum.
+ ///
See also RelationshipTypeEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class CHILDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CHILD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" functions as a child in the relationship with the associated element. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PEERValue _PEER; + /// + public PEERValue PEER => _PEER ?? (_PEER = new PEERValue()); + + /// functions as a peer which provides equal functionality and capabilities in the relationship with the associated element.


+ /// Value for RelationshipTypeEnum.
+ ///
See also RelationshipTypeEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class PEERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PEER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" functions as a peer which provides equal functionality and capabilities in the relationship with the associated element. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RepresentationEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RepresentationEnum.cs new file mode 100644 index 00000000..b552a0b6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RepresentationEnum.cs @@ -0,0 +1,340 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum RepresentationEnum + { + /// series of sampled data.

The data is reported for a specified number of samples and each sample is reported with a fixed period.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + TIME_SERIES, + /// measured value of the sample data.

If no representation in DataItem is specified for a data item, the representation in DataItem MUST be determined to be VALUE.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + VALUE, + /// reported value(s) are represented as a set of key-value pairs.

Each reported value in the data set MUST have a unique key.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + DATA_SET, + /// DEPRECATED as representation in DataItem type in MTConnect Version 1.5. Replaced by the discrete in DataItem.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + DISCRETE, + /// two dimensional set of key-value pairs where the Entry represents a row, and the value is a set of key-value pair Cell elements.

A table follows the same behavior as the data set for change tracking, clearing, and history. When an Entry changes, all Cell elements update as a single unit following the behavior of a data set.

> Note: It is best to use Variable if the Cell entities represent multiple semantic types.

Each Entry in the table MUST have a unique key. Each Cell of each Entry in the table MUST have a unique key.

See Representation in Observation Information Model, for a description of Entry and Cell elements.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + TABLE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RepresentationEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_67CD6E1B_53E3_45c1_B84F_B0732F79528D"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_67CD6E1B_53E3_45c1_B84F_B0732F79528D"; + /// Constant value for + public const string NAME = "RepresentationEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(RepresentationEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + TIME_SERIES, + VALUE, + DATA_SET, + DISCRETE, + TABLE, + }; + + private TIME_SERIESValue _TIME_SERIES; + /// + public TIME_SERIESValue TIME_SERIES => _TIME_SERIES ?? (_TIME_SERIES = new TIME_SERIESValue()); + + /// series of sampled data.

The data is reported for a specified number of samples and each sample is reported with a fixed period.


+ /// Value for RepresentationEnum.
+ ///
See also RepresentationEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class TIME_SERIESValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TIME_SERIES"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" series of sampled data. + +The data is reported for a specified number of samples and each sample is reported with a fixed period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VALUEValue _VALUE; + /// + public VALUEValue VALUE => _VALUE ?? (_VALUE = new VALUEValue()); + + /// measured value of the sample data.

If no representation in DataItem is specified for a data item, the representation in DataItem MUST be determined to be VALUE.


+ /// Value for RepresentationEnum.
+ ///
See also RepresentationEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class VALUEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VALUE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measured value of the sample data. + +If no {{property(DataItem::representation)}} is specified for a data item, the {{property(DataItem::representation)}} **MUST** be determined to be `VALUE`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DATA_SETValue _DATA_SET; + /// + public DATA_SETValue DATA_SET => _DATA_SET ?? (_DATA_SET = new DATA_SETValue()); + + /// reported value(s) are represented as a set of key-value pairs.

Each reported value in the data set MUST have a unique key.


+ /// Value for RepresentationEnum.
+ ///
See also RepresentationEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class DATA_SETValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DATA_SET"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" reported value(s) are represented as a set of {{termplural(key-value pair)}}. + +Each reported value in the {{term(data set)}} **MUST** have a unique key. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DISCRETEValue _DISCRETE; + /// + public DISCRETEValue DISCRETE => _DISCRETE ?? (_DISCRETE = new DISCRETEValue()); + + /// DEPRECATED as representation in DataItem type in MTConnect Version 1.5. Replaced by the discrete in DataItem.


+ /// Value for RepresentationEnum.
+ ///
See also RepresentationEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class DISCRETEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DISCRETE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.5"; + /// Constant value for + public const string SUMMARY = @" **DEPRECATED** as {{property(DataItem::representation)}} type in *MTConnect Version 1.5*. Replaced by the {{property(DataItem::discrete)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TABLEValue _TABLE; + /// + public TABLEValue TABLE => _TABLE ?? (_TABLE = new TABLEValue()); + + /// two dimensional set of key-value pairs where the Entry represents a row, and the value is a set of key-value pair Cell elements.

A table follows the same behavior as the data set for change tracking, clearing, and history. When an Entry changes, all Cell elements update as a single unit following the behavior of a data set.

> Note: It is best to use Variable if the Cell entities represent multiple semantic types.

Each Entry in the table MUST have a unique key. Each Cell of each Entry in the table MUST have a unique key.

See Representation in Observation Information Model, for a description of Entry and Cell elements.


+ /// Value for RepresentationEnum.
+ ///
See also RepresentationEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class TABLEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TABLE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" two dimensional set of {{termplural(key-value pair)}} where the {{block(Entry)}} represents a row, and the value is a set of {{term(key-value pair)}} {{block(Cell)}} elements. + +A {{term(table)}} follows the same behavior as the {{term(data set)}} for change tracking, clearing, and history. When an {{block(Entry)}} changes, all {{block(Cell)}} elements update as a single unit following the behavior of a {{term(data set)}}. + +> Note: It is best to use {{block(Variable)}} if the {{block(Cell)}} entities represent multiple semantic types. + +Each {{block(Entry)}} in the {{term(table)}} **MUST** have a unique key. Each {{block(Cell)}} of each {{block(Entry)}} in the {{term(table)}} **MUST** have a unique key. + +See {{block(Representation)}} in {{package(Observation Information Model)}}, for a description of {{block(Entry)}} and {{block(Cell)}} elements. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RequestStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RequestStateEnum.cs new file mode 100644 index 00000000..f4eddb8a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RequestStateEnum.cs @@ -0,0 +1,275 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum RequestStateEnum + { + /// requester is not ready to make a request.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + NOT_READY, + /// requester is prepared to make a request, but no request for service is required.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + READY, + /// requester has initiated a request for a service and the service has not yet been completed by the responder.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + ACTIVE, + /// requester has detected a failure condition.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + FAIL, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RequestStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623845125853_44708_2341"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1623845125853_44708_2341"; + /// Constant value for + public const string NAME = "RequestStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(RequestStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + NOT_READY, + READY, + ACTIVE, + FAIL, + }; + + private NOT_READYValue _NOT_READY; + /// + public NOT_READYValue NOT_READY => _NOT_READY ?? (_NOT_READY = new NOT_READYValue()); + + /// requester is not ready to make a request.


+ /// Value for RequestStateEnum.
+ ///
See also RequestStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class NOT_READYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NOT_READY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(requester)}} is not ready to make a {{term(request)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private READYValue _READY; + /// + public READYValue READY => _READY ?? (_READY = new READYValue()); + + /// requester is prepared to make a request, but no request for service is required.


+ /// Value for RequestStateEnum.
+ ///
See also RequestStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class READYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "READY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(requester)}} is prepared to make a {{term(request)}}, but no {{term(request)}} for service is required. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACTIVEValue _ACTIVE; + /// + public ACTIVEValue ACTIVE => _ACTIVE ?? (_ACTIVE = new ACTIVEValue()); + + /// requester has initiated a request for a service and the service has not yet been completed by the responder.


+ /// Value for RequestStateEnum.
+ ///
See also RequestStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class ACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(requester)}} has initiated a {{term(request)}} for a service and the service has not yet been completed by the {{term(responder)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FAILValue _FAIL; + /// + public FAILValue FAIL => _FAIL ?? (_FAIL = new FAILValue()); + + /// requester has detected a failure condition.


+ /// Value for RequestStateEnum.
+ ///
See also RequestStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class FAILValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FAIL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(requester)}} has detected a failure condition. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ResetTriggerEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ResetTriggerEnum.cs new file mode 100644 index 00000000..c580b5f1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ResetTriggerEnum.cs @@ -0,0 +1,530 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ResetTriggerEnum + { + /// observation of the DataItem that is measuring an action or operation is to be reset upon completion of that action or operation.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + ACTION_COMPLETE, + /// observation of the DataItem is to be reset at the end of a 12-month period.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + ANNUAL, + /// observation of the DataItem is to be reset at the end of a 24-hour period.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + DAY, + /// observation of the DataItem is not reset and accumulates for the entire life of the piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + LIFE, + /// observation of the DataItem is to be reset upon completion of a maintenance event.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + MAINTENANCE, + /// observation of the DataItem is to be reset at the end of a monthly period.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + MONTH, + /// observation of the DataItem is to be reset when power was applied to the piece of equipment after a planned or unplanned interruption of power has occurred.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + POWER_ON, + /// observation of the DataItem is to be reset at the end of a work shift.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + SHIFT, + /// observation of the DataItem is to be reset at the end of a 7-day period.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + WEEK, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ResetTriggerEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_8616CF52_2918_4462_A494_9F4A3EEFD597"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_8616CF52_2918_4462_A494_9F4A3EEFD597"; + /// Constant value for + public const string NAME = "ResetTriggerEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ResetTriggerEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ACTION_COMPLETE, + ANNUAL, + DAY, + LIFE, + MAINTENANCE, + MONTH, + POWER_ON, + SHIFT, + WEEK, + }; + + private ACTION_COMPLETEValue _ACTION_COMPLETE; + /// + public ACTION_COMPLETEValue ACTION_COMPLETE => _ACTION_COMPLETE ?? (_ACTION_COMPLETE = new ACTION_COMPLETEValue()); + + /// observation of the DataItem that is measuring an action or operation is to be reset upon completion of that action or operation.


+ /// Value for ResetTriggerEnum.
+ ///
See also ResetTriggerEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class ACTION_COMPLETEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTION_COMPLETE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(observation)}} of the {{block(DataItem)}} that is measuring an action or operation is to be reset upon completion of that action or operation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ANNUALValue _ANNUAL; + /// + public ANNUALValue ANNUAL => _ANNUAL ?? (_ANNUAL = new ANNUALValue()); + + /// observation of the DataItem is to be reset at the end of a 12-month period.


+ /// Value for ResetTriggerEnum.
+ ///
See also ResetTriggerEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class ANNUALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ANNUAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(observation)}} of the {{block(DataItem)}} is to be reset at the end of a 12-month period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DAYValue _DAY; + /// + public DAYValue DAY => _DAY ?? (_DAY = new DAYValue()); + + /// observation of the DataItem is to be reset at the end of a 24-hour period.


+ /// Value for ResetTriggerEnum.
+ ///
See also ResetTriggerEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class DAYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DAY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(observation)}} of the {{block(DataItem)}} is to be reset at the end of a 24-hour period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LIFEValue _LIFE; + /// + public LIFEValue LIFE => _LIFE ?? (_LIFE = new LIFEValue()); + + /// observation of the DataItem is not reset and accumulates for the entire life of the piece of equipment.


+ /// Value for ResetTriggerEnum.
+ ///
See also ResetTriggerEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class LIFEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LIFE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(observation)}} of the {{block(DataItem)}} is not reset and accumulates for the entire life of the piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MAINTENANCEValue _MAINTENANCE; + /// + public MAINTENANCEValue MAINTENANCE => _MAINTENANCE ?? (_MAINTENANCE = new MAINTENANCEValue()); + + /// observation of the DataItem is to be reset upon completion of a maintenance event.


+ /// Value for ResetTriggerEnum.
+ ///
See also ResetTriggerEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class MAINTENANCEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MAINTENANCE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(observation)}} of the {{block(DataItem)}} is to be reset upon completion of a maintenance event. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MONTHValue _MONTH; + /// + public MONTHValue MONTH => _MONTH ?? (_MONTH = new MONTHValue()); + + /// observation of the DataItem is to be reset at the end of a monthly period.


+ /// Value for ResetTriggerEnum.
+ ///
See also ResetTriggerEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class MONTHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MONTH"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(observation)}} of the {{block(DataItem)}} is to be reset at the end of a monthly period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POWER_ONValue _POWER_ON; + /// + public POWER_ONValue POWER_ON => _POWER_ON ?? (_POWER_ON = new POWER_ONValue()); + + /// observation of the DataItem is to be reset when power was applied to the piece of equipment after a planned or unplanned interruption of power has occurred.


+ /// Value for ResetTriggerEnum.
+ ///
See also ResetTriggerEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class POWER_ONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POWER_ON"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(observation)}} of the {{block(DataItem)}} is to be reset when power was applied to the piece of equipment after a planned or unplanned interruption of power has occurred. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SHIFTValue _SHIFT; + /// + public SHIFTValue SHIFT => _SHIFT ?? (_SHIFT = new SHIFTValue()); + + /// observation of the DataItem is to be reset at the end of a work shift.


+ /// Value for ResetTriggerEnum.
+ ///
See also ResetTriggerEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class SHIFTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SHIFT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(observation)}} of the {{block(DataItem)}} is to be reset at the end of a work shift. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WEEKValue _WEEK; + /// + public WEEKValue WEEK => _WEEK ?? (_WEEK = new WEEKValue()); + + /// observation of the DataItem is to be reset at the end of a 7-day period.


+ /// Value for ResetTriggerEnum.
+ ///
See also ResetTriggerEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class WEEKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WEEK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(observation)}} of the {{block(DataItem)}} is to be reset at the end of a 7-day period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ResetTriggeredEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ResetTriggeredEnum.cs new file mode 100644 index 00000000..360c62e6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ResetTriggeredEnum.cs @@ -0,0 +1,530 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ResetTriggeredEnum + { + /// result in Observation is measuring an action or operation was reset upon completion of that action or operation.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + ACTION_COMPLETE, + /// result in Observation was reset at the end of a 12-month period.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + ANNUAL, + /// result in Observation was reset at the end of a 24-hour period.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + DAY, + /// result in Observation was reset upon completion of a maintenance event.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + MAINTENANCE, + /// result in Observation was reset based on a physical reset action.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + MANUAL, + /// result in Observation was reset at the end of a monthly period.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + MONTH, + /// result in Observation was reset when power was applied to the piece of equipment after a planned or unplanned interruption of power has occurred.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + POWER_ON, + /// result in Observation was reset at the end of a work shift.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + SHIFT, + /// result in Observation was reset at the end of a 7-day period.


+ ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + WEEK, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ResetTriggeredEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579566531118_10952_25736"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1579566531118_10952_25736"; + /// Constant value for + public const string NAME = "ResetTriggeredEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ResetTriggeredEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ACTION_COMPLETE, + ANNUAL, + DAY, + MAINTENANCE, + MANUAL, + MONTH, + POWER_ON, + SHIFT, + WEEK, + }; + + private ACTION_COMPLETEValue _ACTION_COMPLETE; + /// + public ACTION_COMPLETEValue ACTION_COMPLETE => _ACTION_COMPLETE ?? (_ACTION_COMPLETE = new ACTION_COMPLETEValue()); + + /// result in Observation is measuring an action or operation was reset upon completion of that action or operation.


+ /// Value for ResetTriggeredEnum.
+ ///
See also ResetTriggeredEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class ACTION_COMPLETEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTION_COMPLETE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{property(Observation::result)}} is measuring an action or operation was reset upon completion of that action or operation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ANNUALValue _ANNUAL; + /// + public ANNUALValue ANNUAL => _ANNUAL ?? (_ANNUAL = new ANNUALValue()); + + /// result in Observation was reset at the end of a 12-month period.


+ /// Value for ResetTriggeredEnum.
+ ///
See also ResetTriggeredEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class ANNUALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ANNUAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{property(Observation::result)}} was reset at the end of a 12-month period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DAYValue _DAY; + /// + public DAYValue DAY => _DAY ?? (_DAY = new DAYValue()); + + /// result in Observation was reset at the end of a 24-hour period.


+ /// Value for ResetTriggeredEnum.
+ ///
See also ResetTriggeredEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class DAYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DAY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{property(Observation::result)}} was reset at the end of a 24-hour period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MAINTENANCEValue _MAINTENANCE; + /// + public MAINTENANCEValue MAINTENANCE => _MAINTENANCE ?? (_MAINTENANCE = new MAINTENANCEValue()); + + /// result in Observation was reset upon completion of a maintenance event.


+ /// Value for ResetTriggeredEnum.
+ ///
See also ResetTriggeredEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class MAINTENANCEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MAINTENANCE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{property(Observation::result)}} was reset upon completion of a maintenance event. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MANUALValue _MANUAL; + /// + public MANUALValue MANUAL => _MANUAL ?? (_MANUAL = new MANUALValue()); + + /// result in Observation was reset based on a physical reset action.


+ /// Value for ResetTriggeredEnum.
+ ///
See also ResetTriggeredEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class MANUALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MANUAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{property(Observation::result)}} was reset based on a physical reset action. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MONTHValue _MONTH; + /// + public MONTHValue MONTH => _MONTH ?? (_MONTH = new MONTHValue()); + + /// result in Observation was reset at the end of a monthly period.


+ /// Value for ResetTriggeredEnum.
+ ///
See also ResetTriggeredEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class MONTHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MONTH"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{property(Observation::result)}} was reset at the end of a monthly period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POWER_ONValue _POWER_ON; + /// + public POWER_ONValue POWER_ON => _POWER_ON ?? (_POWER_ON = new POWER_ONValue()); + + /// result in Observation was reset when power was applied to the piece of equipment after a planned or unplanned interruption of power has occurred.


+ /// Value for ResetTriggeredEnum.
+ ///
See also ResetTriggeredEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class POWER_ONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POWER_ON"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{property(Observation::result)}} was reset when power was applied to the piece of equipment after a planned or unplanned interruption of power has occurred. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SHIFTValue _SHIFT; + /// + public SHIFTValue SHIFT => _SHIFT ?? (_SHIFT = new SHIFTValue()); + + /// result in Observation was reset at the end of a work shift.


+ /// Value for ResetTriggeredEnum.
+ ///
See also ResetTriggeredEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class SHIFTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SHIFT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{property(Observation::result)}} was reset at the end of a work shift. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WEEKValue _WEEK; + /// + public WEEKValue WEEK => _WEEK ?? (_WEEK = new WEEKValue()); + + /// result in Observation was reset at the end of a 7-day period.


+ /// Value for ResetTriggeredEnum.
+ ///
See also ResetTriggeredEnum + ///
+ /// + /// + /// Introduced: v1.4 + /// + /// + + public sealed class WEEKValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WEEK"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{property(Observation::result)}} was reset at the end of a 7-day period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ResponseStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ResponseStateEnum.cs new file mode 100644 index 00000000..1c65ddf0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ResponseStateEnum.cs @@ -0,0 +1,327 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ResponseStateEnum + { + /// responder is not ready to perform a service.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + NOT_READY, + /// responder is prepared to react to a request, but no request for service has been detected.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + READY, + /// responder has detected and accepted a request for a service and is in the process of performing the service, but the service has not yet
been completed.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + ACTIVE, + /// responder has completed the actions required to perform the service.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + COMPLETE, + /// responder has detected a failure condition.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + FAIL, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ResponseStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623845159692_780642_2366"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1623845159692_780642_2366"; + /// Constant value for + public const string NAME = "ResponseStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ResponseStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + NOT_READY, + READY, + ACTIVE, + COMPLETE, + FAIL, + }; + + private NOT_READYValue _NOT_READY; + /// + public NOT_READYValue NOT_READY => _NOT_READY ?? (_NOT_READY = new NOT_READYValue()); + + /// responder is not ready to perform a service.


+ /// Value for ResponseStateEnum.
+ ///
See also ResponseStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class NOT_READYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NOT_READY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(responder)}} is not ready to perform a service. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private READYValue _READY; + /// + public READYValue READY => _READY ?? (_READY = new READYValue()); + + /// responder is prepared to react to a request, but no request for service has been detected.


+ /// Value for ResponseStateEnum.
+ ///
See also ResponseStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class READYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "READY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(responder)}} is prepared to react to a {{term(request)}}, but no {{term(request)}} for service has been detected. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACTIVEValue _ACTIVE; + /// + public ACTIVEValue ACTIVE => _ACTIVE ?? (_ACTIVE = new ACTIVEValue()); + + /// responder has detected and accepted a request for a service and is in the process of performing the service, but the service has not yet
been completed.


+ /// Value for ResponseStateEnum.
+ ///
See also ResponseStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class ACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(responder)}} has detected and accepted a {{term(request)}} for a service and is in the process of performing the service, but the service has not yet +been completed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COMPLETEValue _COMPLETE; + /// + public COMPLETEValue COMPLETE => _COMPLETE ?? (_COMPLETE = new COMPLETEValue()); + + /// responder has completed the actions required to perform the service.


+ /// Value for ResponseStateEnum.
+ ///
See also ResponseStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class COMPLETEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COMPLETE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(responder)}} has completed the actions required to perform the service. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FAILValue _FAIL; + /// + public FAILValue FAIL => _FAIL ?? (_FAIL = new FAILValue()); + + /// responder has detected a failure condition.


+ /// Value for ResponseStateEnum.
+ ///
See also ResponseStateEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class FAILValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FAIL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(responder)}} has detected a failure condition. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RoleTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RoleTypeEnum.cs new file mode 100644 index 00000000..a9ecc2de --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RoleTypeEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum RoleTypeEnum + { + /// associated element performs the functions of a System for this element.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + SYSTEM, + /// associated element performs the functions as an Auxiliary for this element.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + AUXILIARY, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RoleTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1579301039819_63145_6975"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_91b028d_1579301039819_63145_6975"; + /// Constant value for + public const string NAME = "RoleTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(RoleTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + SYSTEM, + AUXILIARY, + }; + + private SYSTEMValue _SYSTEM; + /// + public SYSTEMValue SYSTEM => _SYSTEM ?? (_SYSTEM = new SYSTEMValue()); + + /// associated element performs the functions of a System for this element.


+ /// Value for RoleTypeEnum.
+ ///
See also RoleTypeEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class SYSTEMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SYSTEM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" associated element performs the functions of a {{block(System)}} for this element. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AUXILIARYValue _AUXILIARY; + /// + public AUXILIARYValue AUXILIARY => _AUXILIARY ?? (_AUXILIARY = new AUXILIARYValue()); + + /// associated element performs the functions as an Auxiliary for this element.


+ /// Value for RoleTypeEnum.
+ ///
See also RoleTypeEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class AUXILIARYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AUXILIARY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" associated element performs the functions as an `Auxiliary` for this element. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RotaryModeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RotaryModeEnum.cs new file mode 100644 index 00000000..02bbe87b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/RotaryModeEnum.cs @@ -0,0 +1,224 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum RotaryModeEnum + { + /// axis is functioning as a spindle.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + SPINDLE, + /// axis is configured to index.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + INDEX, + /// position of the axis is being interpolated.


+ ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + CONTOUR, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class RotaryModeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580378417668_463137_2883"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580378417668_463137_2883"; + /// Constant value for + public const string NAME = "RotaryModeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(RotaryModeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + SPINDLE, + INDEX, + CONTOUR, + }; + + private SPINDLEValue _SPINDLE; + /// + public SPINDLEValue SPINDLE => _SPINDLE ?? (_SPINDLE = new SPINDLEValue()); + + /// axis is functioning as a spindle.


+ /// Value for RotaryModeEnum.
+ ///
See also RotaryModeEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class SPINDLEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SPINDLE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axis is functioning as a spindle. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INDEXValue _INDEX; + /// + public INDEXValue INDEX => _INDEX ?? (_INDEX = new INDEXValue()); + + /// axis is configured to index.


+ /// Value for RotaryModeEnum.
+ ///
See also RotaryModeEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class INDEXValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INDEX"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" axis is configured to index. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CONTOURValue _CONTOUR; + /// + public CONTOURValue CONTOUR => _CONTOUR ?? (_CONTOUR = new CONTOURValue()); + + /// position of the axis is being interpolated.


+ /// Value for RotaryModeEnum.
+ ///
See also RotaryModeEnum + ///
+ /// + /// + /// Introduced: v1.1 + /// + /// + + public sealed class CONTOURValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONTOUR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" position of the axis is being interpolated. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SampleEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SampleEnum.cs new file mode 100644 index 00000000..f3499820 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SampleEnum.cs @@ -0,0 +1,4675 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum SampleEnum + { + /// positive rate of change of velocity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ACCELERATION, + /// accumulated time for an activity or event.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ACCUMULATED_TIME, + /// strength of electrical current.

DEPRECATED in Version 1.6. Replaced by AMPERAGE_AC and AMPERAGE_DC.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + AMPERAGE, + /// angular position.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ANGLE, + /// positive rate of change of angular velocity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ANGULAR_ACCELERATION, + /// rate of change of angular position.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ANGULAR_VELOCITY, + /// feedrate of a linear axis.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + AXIS_FEEDRATE, + /// fluid capacity of an object or container.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CAPACITY_FLUID, + /// geometric capacity of an object or container.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CAPACITY_SPATIAL, + /// percentage of one component within a mixture of components.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CONCENTRATION, + /// ability of a material to conduct electricity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CONDUCTIVITY, + /// speed difference (relative velocity) between the cutting mechanism and the surface of the workpiece it is operating on.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CUTTING_SPEED, + /// volumetric mass of a material per unit volume of that material.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DENSITY, + /// rate of change in spatial volume of material deposited in an additive manufacturing process.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEPOSITION_ACCELERATION_VOLUMETRIC, + /// density of the material deposited in an additive manufacturing process per unit of volume.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEPOSITION_DENSITY, + /// mass of the material deposited in an additive manufacturing process.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEPOSITION_MASS, + /// rate at which a spatial volume of material is deposited in an additive manufacturing process.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEPOSITION_RATE_VOLUMETRIC, + /// spatial volume of material to be deposited in an additive manufacturing process.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEPOSITION_VOLUME, + /// change in position of an object.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DISPLACEMENT, + /// Wattage used or generated by a component over an interval of time.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ELECTRICAL_ENERGY, + /// amount of time a piece of equipment or a sub-part of a piece of equipment has performed specific activities.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + EQUIPMENT_TIMER, + /// amount of a substance remaining compared to the planned maximum amount of that substance.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FILL_LEVEL, + /// rate of flow of a fluid.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FLOW, + /// number of occurrences of a repeating event per unit time.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FREQUENCY, + /// position in three-dimensional space.

DEPRECATED in Version 1.1.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + GLOBAL_POSITION, + /// length of an object.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LENGTH, + /// level of a resource.

DEPRECATED in Version 1.2. See FILL_LEVEL.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LEVEL, + /// force applied to a mass in one direction only.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LINEAR_FORCE, + /// actual versus the standard rating of a piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LOAD, + /// mass of an object(s) or an amount of material.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MASS, + /// feedrate for the axes, or a single axis, associated with a Path component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PATH_FEEDRATE, + /// feedrate for the axes, or a single axis.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PATH_FEEDRATE_PER_REVOLUTION, + /// position of a control point associated with a Controller or a Path.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PATH_POSITION, + /// acidity or alkalinity of a solution.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PH, + /// point along an axis in a cartesian coordinate system.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + POSITION, + /// ratio of real power flowing to a load to the apparent power in that AC circuit.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + POWER_FACTOR, + /// force per unit area measured relative to atmospheric pressure.

Commonly referred to as gauge pressure.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PRESSURE, + /// amount of time a piece of equipment has performed different types of activities associated with the process being performed at that piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PROCESS_TIMER, + /// degree to which a substance opposes the passage of an electric current.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + RESISTANCE, + /// rotational speed of a rotary axis.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ROTARY_VELOCITY, + /// sound level or sound pressure level relative to atmospheric pressure.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SOUND_LEVEL, + /// rotational speed of the rotary axis.

DEPRECATED in Version 1.2. Replaced by ROTARY_VELOCITY.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SPINDLE_SPEED, + /// amount of deformation per unit length of an object when a load is applied.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + STRAIN, + /// degree of hotness or coldness measured on a definite scale.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TEMPERATURE, + /// force that stretches or elongates an object.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TENSION, + /// angular displacement.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TILT, + /// turning force exerted on an object or by an object.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + TORQUE, + /// rate of change of position of a Component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VELOCITY, + /// fluid's resistance to flow.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VISCOSITY, + /// electrical potential between two points.

DEPRECATED in Version 1.6. Replaced by VOLTAGE_AC and VOLTAGE_DC.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VOLTAGE, + /// apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current (commonly referred to as VA).


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VOLT_AMPERE, + /// reactive power in an AC electrical circuit (commonly referred to as VAR).


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VOLT_AMPERE_REACTIVE, + /// fluid volume of an object or container.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VOLUME_FLUID, + /// geometric volume of an object or container.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VOLUME_SPATIAL, + /// power flowing through or dissipated by an electrical circuit or piece of equipment.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + WATTAGE, + /// electrical current that reverses direction at regular short intervals.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + AMPERAGE_AC, + /// electric current flowing in one direction only.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + AMPERAGE_DC, + /// electrical potential between two points in an electrical circuit in which the current periodically reverses direction.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VOLTAGE_AC, + /// electrical potential between two points in an electrical circuit in which the current is unidirectional.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VOLTAGE_DC, + /// dimension of an entity relative to the X direction of the referenced coordinate system.



+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + X_DIMENSION, + /// dimension of an entity relative to the Y direction of the referenced coordinate system.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + Y_DIMENSION, + /// dimension of an entity relative to the Z direction of the referenced coordinate system.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + Z_DIMENSION, + /// dimension of a diameter.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DIAMETER, + /// angular position of a plane or vector relative to a cartesian coordinate system


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ORIENTATION, + /// amount of water vapor present expressed as a percent to reach saturation at the same temperature.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + HUMIDITY_RELATIVE, + /// amount of water vapor expressed in grams per cubic meter.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + HUMIDITY_ABSOLUTE, + /// ratio of the water vapor present over the total weight of the water vapor and air present expressed as a percent.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + HUMIDITY_SPECIFIC, + /// average rate of change of values for data items in the MTConnect streams. The average is computed over a rolling window defined by the implementation.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + OBSERVATION_UPDATE_RATE, + /// average rate of change of values for assets in the MTConnect streams.

The average is computed over a rolling window defined by the implementation.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ASSET_UPDATE_RATE, + /// change of pressure per unit time.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PRESSURIZATION_RATE, + /// negative rate of change of velocity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DECELERATION, + /// negative rate of change of angular velocity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + ANGULAR_DECELERATION, + /// force per unit area measured relative to a vacuum.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PRESSURE_ABSOLUTE, + /// percentage open where 100% is fully open and 0% is fully closed.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + OPENNESS, + /// temperature at which moisture begins to condense, corresponding to saturation for a given absolute humidity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEW_POINT, + /// force relative to earth's gravity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + GRAVITATIONAL_FORCE, + /// acceleration relative to Earth's gravity of 9.80665 METER/SECOND^2.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + GRAVITATIONAL_ACCELERATION, + /// maximum rated charge a battery is capable of maintaining based on the battery discharging at a specified current over a specified time period.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + BATTERY_CAPACITY, + /// value of current being drawn from the Component.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DISCHARGE_RATE, + /// value of the current being supplied to the Component for the purpose of charging.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CHARGE_RATE, + /// value of the battery's present capacity expressed as a percentage of the battery's maximum rated capacity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + BATTERY_CHARGE, + /// difference between actual and commanded position at the end of a motion.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SETTLING_ERROR, + /// difference between actual and commanded position at any specific point in time during a motion.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FOLLOWING_ERROR, + /// difference between the commanded encoder/resolver position, and the actual encoder/resolver position when motion is complete.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SETTLING_ERROR_LINEAR, + /// angular difference between the commanded encoder/resolver position, and the actual encoder/resolver position when motion is complete.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SETTLING_ERROR_ANGULAR, + /// difference between the commanded encoder/resolver position and the actual encoder/resolver position at any specified point in time during a motion.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FOLLOWING_ERROR_LINEAR, + /// angular difference between the commanded encoder/resolver position and the actual encoder/resolver position at any specified point in time during a motion.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + FOLLOWING_ERROR_ANGULAR, + /// absolute value of the change in position along a vector.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DISPLACEMENT_LINEAR, + /// absolute value of the change in angular position around a vector


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DISPLACEMENT_ANGULAR, + /// point in a cartesian coordinate system.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + POSITION_CARTESIAN, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SampleEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580398370126_672808_12777"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1580398370126_672808_12777"; + /// Constant value for + public const string NAME = "SampleEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(SampleEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ACCELERATION, + ACCUMULATED_TIME, + AMPERAGE, + ANGLE, + ANGULAR_ACCELERATION, + ANGULAR_VELOCITY, + AXIS_FEEDRATE, + CAPACITY_FLUID, + CAPACITY_SPATIAL, + CONCENTRATION, + CONDUCTIVITY, + CUTTING_SPEED, + DENSITY, + DEPOSITION_ACCELERATION_VOLUMETRIC, + DEPOSITION_DENSITY, + DEPOSITION_MASS, + DEPOSITION_RATE_VOLUMETRIC, + DEPOSITION_VOLUME, + DISPLACEMENT, + ELECTRICAL_ENERGY, + EQUIPMENT_TIMER, + FILL_LEVEL, + FLOW, + FREQUENCY, + GLOBAL_POSITION, + LENGTH, + LEVEL, + LINEAR_FORCE, + LOAD, + MASS, + PATH_FEEDRATE, + PATH_FEEDRATE_PER_REVOLUTION, + PATH_POSITION, + PH, + POSITION, + POWER_FACTOR, + PRESSURE, + PROCESS_TIMER, + RESISTANCE, + ROTARY_VELOCITY, + SOUND_LEVEL, + SPINDLE_SPEED, + STRAIN, + TEMPERATURE, + TENSION, + TILT, + TORQUE, + VELOCITY, + VISCOSITY, + VOLTAGE, + VOLT_AMPERE, + VOLT_AMPERE_REACTIVE, + VOLUME_FLUID, + VOLUME_SPATIAL, + WATTAGE, + AMPERAGE_AC, + AMPERAGE_DC, + VOLTAGE_AC, + VOLTAGE_DC, + X_DIMENSION, + Y_DIMENSION, + Z_DIMENSION, + DIAMETER, + ORIENTATION, + HUMIDITY_RELATIVE, + HUMIDITY_ABSOLUTE, + HUMIDITY_SPECIFIC, + OBSERVATION_UPDATE_RATE, + ASSET_UPDATE_RATE, + PRESSURIZATION_RATE, + DECELERATION, + ANGULAR_DECELERATION, + PRESSURE_ABSOLUTE, + OPENNESS, + DEW_POINT, + GRAVITATIONAL_FORCE, + GRAVITATIONAL_ACCELERATION, + BATTERY_CAPACITY, + DISCHARGE_RATE, + CHARGE_RATE, + BATTERY_CHARGE, + SETTLING_ERROR, + FOLLOWING_ERROR, + SETTLING_ERROR_LINEAR, + SETTLING_ERROR_ANGULAR, + FOLLOWING_ERROR_LINEAR, + FOLLOWING_ERROR_ANGULAR, + DISPLACEMENT_LINEAR, + DISPLACEMENT_ANGULAR, + POSITION_CARTESIAN, + }; + + private ACCELERATIONValue _ACCELERATION; + /// + public ACCELERATIONValue ACCELERATION => _ACCELERATION ?? (_ACCELERATION = new ACCELERATIONValue()); + + /// positive rate of change of velocity.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ACCELERATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACCELERATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" positive rate of change of velocity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ACCUMULATED_TIMEValue _ACCUMULATED_TIME; + /// + public ACCUMULATED_TIMEValue ACCUMULATED_TIME => _ACCUMULATED_TIME ?? (_ACCUMULATED_TIME = new ACCUMULATED_TIMEValue()); + + /// accumulated time for an activity or event.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ACCUMULATED_TIMEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACCUMULATED_TIME"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" accumulated time for an activity or event. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AMPERAGEValue _AMPERAGE; + /// + public AMPERAGEValue AMPERAGE => _AMPERAGE ?? (_AMPERAGE = new AMPERAGEValue()); + + /// strength of electrical current.

DEPRECATED in Version 1.6. Replaced by AMPERAGE_AC and AMPERAGE_DC.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class AMPERAGEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AMPERAGE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + /// Constant value for + public const string SUMMARY = @" strength of electrical current. + +**DEPRECATED** in *Version 1.6*. Replaced by `AMPERAGE_AC` and `AMPERAGE_DC`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ANGLEValue _ANGLE; + /// + public ANGLEValue ANGLE => _ANGLE ?? (_ANGLE = new ANGLEValue()); + + /// angular position.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ANGLEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ANGLE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angular position. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ANGULAR_ACCELERATIONValue _ANGULAR_ACCELERATION; + /// + public ANGULAR_ACCELERATIONValue ANGULAR_ACCELERATION => _ANGULAR_ACCELERATION ?? (_ANGULAR_ACCELERATION = new ANGULAR_ACCELERATIONValue()); + + /// positive rate of change of angular velocity.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ANGULAR_ACCELERATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ANGULAR_ACCELERATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" positive rate of change of angular velocity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ANGULAR_VELOCITYValue _ANGULAR_VELOCITY; + /// + public ANGULAR_VELOCITYValue ANGULAR_VELOCITY => _ANGULAR_VELOCITY ?? (_ANGULAR_VELOCITY = new ANGULAR_VELOCITYValue()); + + /// rate of change of angular position.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ANGULAR_VELOCITYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ANGULAR_VELOCITY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" rate of change of angular position. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AXIS_FEEDRATEValue _AXIS_FEEDRATE; + /// + public AXIS_FEEDRATEValue AXIS_FEEDRATE => _AXIS_FEEDRATE ?? (_AXIS_FEEDRATE = new AXIS_FEEDRATEValue()); + + /// feedrate of a linear axis.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class AXIS_FEEDRATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AXIS_FEEDRATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" feedrate of a linear axis. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CAPACITY_FLUIDValue _CAPACITY_FLUID; + /// + public CAPACITY_FLUIDValue CAPACITY_FLUID => _CAPACITY_FLUID ?? (_CAPACITY_FLUID = new CAPACITY_FLUIDValue()); + + /// fluid capacity of an object or container.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CAPACITY_FLUIDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CAPACITY_FLUID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" fluid capacity of an object or container. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CAPACITY_SPATIALValue _CAPACITY_SPATIAL; + /// + public CAPACITY_SPATIALValue CAPACITY_SPATIAL => _CAPACITY_SPATIAL ?? (_CAPACITY_SPATIAL = new CAPACITY_SPATIALValue()); + + /// geometric capacity of an object or container.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CAPACITY_SPATIALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CAPACITY_SPATIAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" geometric capacity of an object or container. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CONCENTRATIONValue _CONCENTRATION; + /// + public CONCENTRATIONValue CONCENTRATION => _CONCENTRATION ?? (_CONCENTRATION = new CONCENTRATIONValue()); + + /// percentage of one component within a mixture of components.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CONCENTRATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONCENTRATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" percentage of one component within a mixture of components. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CONDUCTIVITYValue _CONDUCTIVITY; + /// + public CONDUCTIVITYValue CONDUCTIVITY => _CONDUCTIVITY ?? (_CONDUCTIVITY = new CONDUCTIVITYValue()); + + /// ability of a material to conduct electricity.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CONDUCTIVITYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONDUCTIVITY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" ability of a material to conduct electricity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CUTTING_SPEEDValue _CUTTING_SPEED; + /// + public CUTTING_SPEEDValue CUTTING_SPEED => _CUTTING_SPEED ?? (_CUTTING_SPEED = new CUTTING_SPEEDValue()); + + /// speed difference (relative velocity) between the cutting mechanism and the surface of the workpiece it is operating on.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CUTTING_SPEEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CUTTING_SPEED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" speed difference (relative velocity) between the cutting mechanism and the surface of the workpiece it is operating on. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DENSITYValue _DENSITY; + /// + public DENSITYValue DENSITY => _DENSITY ?? (_DENSITY = new DENSITYValue()); + + /// volumetric mass of a material per unit volume of that material.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DENSITYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DENSITY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" volumetric mass of a material per unit volume of that material. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEPOSITION_ACCELERATION_VOLUMETRICValue _DEPOSITION_ACCELERATION_VOLUMETRIC; + /// + public DEPOSITION_ACCELERATION_VOLUMETRICValue DEPOSITION_ACCELERATION_VOLUMETRIC => _DEPOSITION_ACCELERATION_VOLUMETRIC ?? (_DEPOSITION_ACCELERATION_VOLUMETRIC = new DEPOSITION_ACCELERATION_VOLUMETRICValue()); + + /// rate of change in spatial volume of material deposited in an additive manufacturing process.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEPOSITION_ACCELERATION_VOLUMETRICValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEPOSITION_ACCELERATION_VOLUMETRIC"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" rate of change in spatial volume of material deposited in an additive manufacturing process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEPOSITION_DENSITYValue _DEPOSITION_DENSITY; + /// + public DEPOSITION_DENSITYValue DEPOSITION_DENSITY => _DEPOSITION_DENSITY ?? (_DEPOSITION_DENSITY = new DEPOSITION_DENSITYValue()); + + /// density of the material deposited in an additive manufacturing process per unit of volume.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEPOSITION_DENSITYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEPOSITION_DENSITY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" density of the material deposited in an additive manufacturing process per unit of volume. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEPOSITION_MASSValue _DEPOSITION_MASS; + /// + public DEPOSITION_MASSValue DEPOSITION_MASS => _DEPOSITION_MASS ?? (_DEPOSITION_MASS = new DEPOSITION_MASSValue()); + + /// mass of the material deposited in an additive manufacturing process.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEPOSITION_MASSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEPOSITION_MASS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" mass of the material deposited in an additive manufacturing process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEPOSITION_RATE_VOLUMETRICValue _DEPOSITION_RATE_VOLUMETRIC; + /// + public DEPOSITION_RATE_VOLUMETRICValue DEPOSITION_RATE_VOLUMETRIC => _DEPOSITION_RATE_VOLUMETRIC ?? (_DEPOSITION_RATE_VOLUMETRIC = new DEPOSITION_RATE_VOLUMETRICValue()); + + /// rate at which a spatial volume of material is deposited in an additive manufacturing process.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEPOSITION_RATE_VOLUMETRICValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEPOSITION_RATE_VOLUMETRIC"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" rate at which a spatial volume of material is deposited in an additive manufacturing process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEPOSITION_VOLUMEValue _DEPOSITION_VOLUME; + /// + public DEPOSITION_VOLUMEValue DEPOSITION_VOLUME => _DEPOSITION_VOLUME ?? (_DEPOSITION_VOLUME = new DEPOSITION_VOLUMEValue()); + + /// spatial volume of material to be deposited in an additive manufacturing process.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEPOSITION_VOLUMEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEPOSITION_VOLUME"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" spatial volume of material to be deposited in an additive manufacturing process. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DISPLACEMENTValue _DISPLACEMENT; + /// + public DISPLACEMENTValue DISPLACEMENT => _DISPLACEMENT ?? (_DISPLACEMENT = new DISPLACEMENTValue()); + + /// change in position of an object.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DISPLACEMENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DISPLACEMENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" change in position of an object. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ELECTRICAL_ENERGYValue _ELECTRICAL_ENERGY; + /// + public ELECTRICAL_ENERGYValue ELECTRICAL_ENERGY => _ELECTRICAL_ENERGY ?? (_ELECTRICAL_ENERGY = new ELECTRICAL_ENERGYValue()); + + /// Wattage used or generated by a component over an interval of time.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ELECTRICAL_ENERGYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ELECTRICAL_ENERGY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(Wattage)}} used or generated by a component over an interval of time. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private EQUIPMENT_TIMERValue _EQUIPMENT_TIMER; + /// + public EQUIPMENT_TIMERValue EQUIPMENT_TIMER => _EQUIPMENT_TIMER ?? (_EQUIPMENT_TIMER = new EQUIPMENT_TIMERValue()); + + /// amount of time a piece of equipment or a sub-part of a piece of equipment has performed specific activities.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class EQUIPMENT_TIMERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "EQUIPMENT_TIMER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" amount of time a piece of equipment or a sub-part of a piece of equipment has performed specific activities. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FILL_LEVELValue _FILL_LEVEL; + /// + public FILL_LEVELValue FILL_LEVEL => _FILL_LEVEL ?? (_FILL_LEVEL = new FILL_LEVELValue()); + + /// amount of a substance remaining compared to the planned maximum amount of that substance.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FILL_LEVELValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FILL_LEVEL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" amount of a substance remaining compared to the planned maximum amount of that substance. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FLOWValue _FLOW; + /// + public FLOWValue FLOW => _FLOW ?? (_FLOW = new FLOWValue()); + + /// rate of flow of a fluid.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FLOWValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FLOW"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" rate of flow of a fluid. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FREQUENCYValue _FREQUENCY; + /// + public FREQUENCYValue FREQUENCY => _FREQUENCY ?? (_FREQUENCY = new FREQUENCYValue()); + + /// number of occurrences of a repeating event per unit time.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FREQUENCYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FREQUENCY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" number of occurrences of a repeating event per unit time. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GLOBAL_POSITIONValue _GLOBAL_POSITION; + /// + public GLOBAL_POSITIONValue GLOBAL_POSITION => _GLOBAL_POSITION ?? (_GLOBAL_POSITION = new GLOBAL_POSITIONValue()); + + /// position in three-dimensional space.

DEPRECATED in Version 1.1.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class GLOBAL_POSITIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GLOBAL_POSITION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.1"; + /// Constant value for + public const string SUMMARY = @" position in three-dimensional space. + +**DEPRECATED** in Version 1.1. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LENGTHValue _LENGTH; + /// + public LENGTHValue LENGTH => _LENGTH ?? (_LENGTH = new LENGTHValue()); + + /// length of an object.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LENGTHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LENGTH"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" length of an object. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LEVELValue _LEVEL; + /// + public LEVELValue LEVEL => _LEVEL ?? (_LEVEL = new LEVELValue()); + + /// level of a resource.

DEPRECATED in Version 1.2. See FILL_LEVEL.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LEVELValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LEVEL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + /// Constant value for + public const string SUMMARY = @" level of a resource. + +**DEPRECATED** in *Version 1.2*. See `FILL_LEVEL`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LINEAR_FORCEValue _LINEAR_FORCE; + /// + public LINEAR_FORCEValue LINEAR_FORCE => _LINEAR_FORCE ?? (_LINEAR_FORCE = new LINEAR_FORCEValue()); + + /// force applied to a mass in one direction only.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LINEAR_FORCEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LINEAR_FORCE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(force)}} applied to a mass in one direction only. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LOADValue _LOAD; + /// + public LOADValue LOAD => _LOAD ?? (_LOAD = new LOADValue()); + + /// actual versus the standard rating of a piece of equipment.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LOADValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOAD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" actual versus the standard rating of a piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MASSValue _MASS; + /// + public MASSValue MASS => _MASS ?? (_MASS = new MASSValue()); + + /// mass of an object(s) or an amount of material.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MASSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MASS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" mass of an object(s) or an amount of material. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PATH_FEEDRATEValue _PATH_FEEDRATE; + /// + public PATH_FEEDRATEValue PATH_FEEDRATE => _PATH_FEEDRATE ?? (_PATH_FEEDRATE = new PATH_FEEDRATEValue()); + + /// feedrate for the axes, or a single axis, associated with a Path component.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PATH_FEEDRATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PATH_FEEDRATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" feedrate for the axes, or a single axis, associated with a {{block(Path)}} component. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PATH_FEEDRATE_PER_REVOLUTIONValue _PATH_FEEDRATE_PER_REVOLUTION; + /// + public PATH_FEEDRATE_PER_REVOLUTIONValue PATH_FEEDRATE_PER_REVOLUTION => _PATH_FEEDRATE_PER_REVOLUTION ?? (_PATH_FEEDRATE_PER_REVOLUTION = new PATH_FEEDRATE_PER_REVOLUTIONValue()); + + /// feedrate for the axes, or a single axis.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PATH_FEEDRATE_PER_REVOLUTIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PATH_FEEDRATE_PER_REVOLUTION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" feedrate for the axes, or a single axis. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PATH_POSITIONValue _PATH_POSITION; + /// + public PATH_POSITIONValue PATH_POSITION => _PATH_POSITION ?? (_PATH_POSITION = new PATH_POSITIONValue()); + + /// position of a control point associated with a Controller or a Path.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PATH_POSITIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PATH_POSITION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" position of a control point associated with a {{block(Controller)}} or a {{block(Path)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PHValue _PH; + /// + public PHValue PH => _PH ?? (_PH = new PHValue()); + + /// acidity or alkalinity of a solution.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PH"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" acidity or alkalinity of a solution. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POSITIONValue _POSITION; + /// + public POSITIONValue POSITION => _POSITION ?? (_POSITION = new POSITIONValue()); + + /// point along an axis in a cartesian coordinate system.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class POSITIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POSITION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" point along an axis in a {{term(cartesian coordinate system)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POWER_FACTORValue _POWER_FACTOR; + /// + public POWER_FACTORValue POWER_FACTOR => _POWER_FACTOR ?? (_POWER_FACTOR = new POWER_FACTORValue()); + + /// ratio of real power flowing to a load to the apparent power in that AC circuit.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class POWER_FACTORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POWER_FACTOR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" ratio of real power flowing to a load to the apparent power in that AC circuit. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PRESSUREValue _PRESSURE; + /// + public PRESSUREValue PRESSURE => _PRESSURE ?? (_PRESSURE = new PRESSUREValue()); + + /// force per unit area measured relative to atmospheric pressure.

Commonly referred to as gauge pressure.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PRESSUREValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PRESSURE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" force per unit area measured relative to atmospheric pressure. + +Commonly referred to as gauge pressure. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PROCESS_TIMERValue _PROCESS_TIMER; + /// + public PROCESS_TIMERValue PROCESS_TIMER => _PROCESS_TIMER ?? (_PROCESS_TIMER = new PROCESS_TIMERValue()); + + /// amount of time a piece of equipment has performed different types of activities associated with the process being performed at that piece of equipment.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PROCESS_TIMERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PROCESS_TIMER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" amount of time a piece of equipment has performed different types of activities associated with the process being performed at that piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RESISTANCEValue _RESISTANCE; + /// + public RESISTANCEValue RESISTANCE => _RESISTANCE ?? (_RESISTANCE = new RESISTANCEValue()); + + /// degree to which a substance opposes the passage of an electric current.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class RESISTANCEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RESISTANCE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" degree to which a substance opposes the passage of an electric current. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ROTARY_VELOCITYValue _ROTARY_VELOCITY; + /// + public ROTARY_VELOCITYValue ROTARY_VELOCITY => _ROTARY_VELOCITY ?? (_ROTARY_VELOCITY = new ROTARY_VELOCITYValue()); + + /// rotational speed of a rotary axis.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ROTARY_VELOCITYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ROTARY_VELOCITY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" rotational speed of a rotary axis. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SOUND_LEVELValue _SOUND_LEVEL; + /// + public SOUND_LEVELValue SOUND_LEVEL => _SOUND_LEVEL ?? (_SOUND_LEVEL = new SOUND_LEVELValue()); + + /// sound level or sound pressure level relative to atmospheric pressure.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SOUND_LEVELValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SOUND_LEVEL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" sound level or sound pressure level relative to atmospheric pressure. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SPINDLE_SPEEDValue _SPINDLE_SPEED; + /// + public SPINDLE_SPEEDValue SPINDLE_SPEED => _SPINDLE_SPEED ?? (_SPINDLE_SPEED = new SPINDLE_SPEEDValue()); + + /// rotational speed of the rotary axis.

DEPRECATED in Version 1.2. Replaced by ROTARY_VELOCITY.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SPINDLE_SPEEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SPINDLE_SPEED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.2"; + /// Constant value for + public const string SUMMARY = @" rotational speed of the rotary axis. + +**DEPRECATED** in *Version 1.2*. Replaced by `ROTARY_VELOCITY`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STRAINValue _STRAIN; + /// + public STRAINValue STRAIN => _STRAIN ?? (_STRAIN = new STRAINValue()); + + /// amount of deformation per unit length of an object when a load is applied.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class STRAINValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STRAIN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" amount of deformation per unit length of an object when a load is applied. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TEMPERATUREValue _TEMPERATURE; + /// + public TEMPERATUREValue TEMPERATURE => _TEMPERATURE ?? (_TEMPERATURE = new TEMPERATUREValue()); + + /// degree of hotness or coldness measured on a definite scale.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TEMPERATUREValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TEMPERATURE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" degree of hotness or coldness measured on a definite scale. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TENSIONValue _TENSION; + /// + public TENSIONValue TENSION => _TENSION ?? (_TENSION = new TENSIONValue()); + + /// force that stretches or elongates an object.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TENSIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TENSION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" force that stretches or elongates an object. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TILTValue _TILT; + /// + public TILTValue TILT => _TILT ?? (_TILT = new TILTValue()); + + /// angular displacement.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TILTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TILT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angular displacement. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TORQUEValue _TORQUE; + /// + public TORQUEValue TORQUE => _TORQUE ?? (_TORQUE = new TORQUEValue()); + + /// turning force exerted on an object or by an object.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class TORQUEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TORQUE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" turning force exerted on an object or by an object. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VELOCITYValue _VELOCITY; + /// + public VELOCITYValue VELOCITY => _VELOCITY ?? (_VELOCITY = new VELOCITYValue()); + + /// rate of change of position of a Component.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VELOCITYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VELOCITY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" rate of change of position of a {{block(Component)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VISCOSITYValue _VISCOSITY; + /// + public VISCOSITYValue VISCOSITY => _VISCOSITY ?? (_VISCOSITY = new VISCOSITYValue()); + + /// fluid's resistance to flow.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VISCOSITYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VISCOSITY"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" fluid's resistance to flow. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VOLTAGEValue _VOLTAGE; + /// + public VOLTAGEValue VOLTAGE => _VOLTAGE ?? (_VOLTAGE = new VOLTAGEValue()); + + /// electrical potential between two points.

DEPRECATED in Version 1.6. Replaced by VOLTAGE_AC and VOLTAGE_DC.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VOLTAGEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VOLTAGE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + /// Constant value for + public const string SUMMARY = @" electrical potential between two points. + +**DEPRECATED** in *Version 1.6*. Replaced by `VOLTAGE_AC` and `VOLTAGE_DC`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VOLT_AMPEREValue _VOLT_AMPERE; + /// + public VOLT_AMPEREValue VOLT_AMPERE => _VOLT_AMPERE ?? (_VOLT_AMPERE = new VOLT_AMPEREValue()); + + /// apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current (commonly referred to as VA).


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VOLT_AMPEREValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VOLT_AMPERE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current (commonly referred to as VA). +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VOLT_AMPERE_REACTIVEValue _VOLT_AMPERE_REACTIVE; + /// + public VOLT_AMPERE_REACTIVEValue VOLT_AMPERE_REACTIVE => _VOLT_AMPERE_REACTIVE ?? (_VOLT_AMPERE_REACTIVE = new VOLT_AMPERE_REACTIVEValue()); + + /// reactive power in an AC electrical circuit (commonly referred to as VAR).


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VOLT_AMPERE_REACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VOLT_AMPERE_REACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" reactive power in an AC electrical circuit (commonly referred to as VAR). +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VOLUME_FLUIDValue _VOLUME_FLUID; + /// + public VOLUME_FLUIDValue VOLUME_FLUID => _VOLUME_FLUID ?? (_VOLUME_FLUID = new VOLUME_FLUIDValue()); + + /// fluid volume of an object or container.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VOLUME_FLUIDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VOLUME_FLUID"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" fluid volume of an object or container. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VOLUME_SPATIALValue _VOLUME_SPATIAL; + /// + public VOLUME_SPATIALValue VOLUME_SPATIAL => _VOLUME_SPATIAL ?? (_VOLUME_SPATIAL = new VOLUME_SPATIALValue()); + + /// geometric volume of an object or container.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VOLUME_SPATIALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VOLUME_SPATIAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" geometric volume of an object or container. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WATTAGEValue _WATTAGE; + /// + public WATTAGEValue WATTAGE => _WATTAGE ?? (_WATTAGE = new WATTAGEValue()); + + /// power flowing through or dissipated by an electrical circuit or piece of equipment.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class WATTAGEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WATTAGE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" power flowing through or dissipated by an electrical circuit or piece of equipment. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AMPERAGE_ACValue _AMPERAGE_AC; + /// + public AMPERAGE_ACValue AMPERAGE_AC => _AMPERAGE_AC ?? (_AMPERAGE_AC = new AMPERAGE_ACValue()); + + /// electrical current that reverses direction at regular short intervals.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class AMPERAGE_ACValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AMPERAGE_AC"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" electrical current that reverses direction at regular short intervals. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private AMPERAGE_DCValue _AMPERAGE_DC; + /// + public AMPERAGE_DCValue AMPERAGE_DC => _AMPERAGE_DC ?? (_AMPERAGE_DC = new AMPERAGE_DCValue()); + + /// electric current flowing in one direction only.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class AMPERAGE_DCValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AMPERAGE_DC"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" electric current flowing in one direction only. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VOLTAGE_ACValue _VOLTAGE_AC; + /// + public VOLTAGE_ACValue VOLTAGE_AC => _VOLTAGE_AC ?? (_VOLTAGE_AC = new VOLTAGE_ACValue()); + + /// electrical potential between two points in an electrical circuit in which the current periodically reverses direction.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VOLTAGE_ACValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VOLTAGE_AC"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" electrical potential between two points in an electrical circuit in which the current periodically reverses direction. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VOLTAGE_DCValue _VOLTAGE_DC; + /// + public VOLTAGE_DCValue VOLTAGE_DC => _VOLTAGE_DC ?? (_VOLTAGE_DC = new VOLTAGE_DCValue()); + + /// electrical potential between two points in an electrical circuit in which the current is unidirectional.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VOLTAGE_DCValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VOLTAGE_DC"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" electrical potential between two points in an electrical circuit in which the current is unidirectional. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private X_DIMENSIONValue _X_DIMENSION; + /// + public X_DIMENSIONValue X_DIMENSION => _X_DIMENSION ?? (_X_DIMENSION = new X_DIMENSIONValue()); + + /// dimension of an entity relative to the X direction of the referenced coordinate system.



+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class X_DIMENSIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "X_DIMENSION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" dimension of an entity relative to the X direction of the referenced coordinate system. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private Y_DIMENSIONValue _Y_DIMENSION; + /// + public Y_DIMENSIONValue Y_DIMENSION => _Y_DIMENSION ?? (_Y_DIMENSION = new Y_DIMENSIONValue()); + + /// dimension of an entity relative to the Y direction of the referenced coordinate system.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class Y_DIMENSIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "Y_DIMENSION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" dimension of an entity relative to the Y direction of the referenced coordinate system. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private Z_DIMENSIONValue _Z_DIMENSION; + /// + public Z_DIMENSIONValue Z_DIMENSION => _Z_DIMENSION ?? (_Z_DIMENSION = new Z_DIMENSIONValue()); + + /// dimension of an entity relative to the Z direction of the referenced coordinate system.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class Z_DIMENSIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "Z_DIMENSION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" dimension of an entity relative to the Z direction of the referenced coordinate system. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DIAMETERValue _DIAMETER; + /// + public DIAMETERValue DIAMETER => _DIAMETER ?? (_DIAMETER = new DIAMETERValue()); + + /// dimension of a diameter.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DIAMETERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DIAMETER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" dimension of a diameter. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ORIENTATIONValue _ORIENTATION; + /// + public ORIENTATIONValue ORIENTATION => _ORIENTATION ?? (_ORIENTATION = new ORIENTATIONValue()); + + /// angular position of a plane or vector relative to a cartesian coordinate system


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ORIENTATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ORIENTATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angular position of a plane or vector relative to a {{term(cartesian coordinate system)}} +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private HUMIDITY_RELATIVEValue _HUMIDITY_RELATIVE; + /// + public HUMIDITY_RELATIVEValue HUMIDITY_RELATIVE => _HUMIDITY_RELATIVE ?? (_HUMIDITY_RELATIVE = new HUMIDITY_RELATIVEValue()); + + /// amount of water vapor present expressed as a percent to reach saturation at the same temperature.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class HUMIDITY_RELATIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HUMIDITY_RELATIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" amount of water vapor present expressed as a percent to reach saturation at the same temperature. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private HUMIDITY_ABSOLUTEValue _HUMIDITY_ABSOLUTE; + /// + public HUMIDITY_ABSOLUTEValue HUMIDITY_ABSOLUTE => _HUMIDITY_ABSOLUTE ?? (_HUMIDITY_ABSOLUTE = new HUMIDITY_ABSOLUTEValue()); + + /// amount of water vapor expressed in grams per cubic meter.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class HUMIDITY_ABSOLUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HUMIDITY_ABSOLUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" amount of water vapor expressed in grams per cubic meter. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private HUMIDITY_SPECIFICValue _HUMIDITY_SPECIFIC; + /// + public HUMIDITY_SPECIFICValue HUMIDITY_SPECIFIC => _HUMIDITY_SPECIFIC ?? (_HUMIDITY_SPECIFIC = new HUMIDITY_SPECIFICValue()); + + /// ratio of the water vapor present over the total weight of the water vapor and air present expressed as a percent.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class HUMIDITY_SPECIFICValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HUMIDITY_SPECIFIC"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" ratio of the water vapor present over the total weight of the water vapor and air present expressed as a percent. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OBSERVATION_UPDATE_RATEValue _OBSERVATION_UPDATE_RATE; + /// + public OBSERVATION_UPDATE_RATEValue OBSERVATION_UPDATE_RATE => _OBSERVATION_UPDATE_RATE ?? (_OBSERVATION_UPDATE_RATE = new OBSERVATION_UPDATE_RATEValue()); + + /// average rate of change of values for data items in the MTConnect streams. The average is computed over a rolling window defined by the implementation.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class OBSERVATION_UPDATE_RATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OBSERVATION_UPDATE_RATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" average rate of change of values for data items in the MTConnect streams. The average is computed over a rolling window defined by the implementation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ASSET_UPDATE_RATEValue _ASSET_UPDATE_RATE; + /// + public ASSET_UPDATE_RATEValue ASSET_UPDATE_RATE => _ASSET_UPDATE_RATE ?? (_ASSET_UPDATE_RATE = new ASSET_UPDATE_RATEValue()); + + /// average rate of change of values for assets in the MTConnect streams.

The average is computed over a rolling window defined by the implementation.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ASSET_UPDATE_RATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ASSET_UPDATE_RATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" average rate of change of values for assets in the MTConnect streams. + +The average is computed over a rolling window defined by the implementation. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PRESSURIZATION_RATEValue _PRESSURIZATION_RATE; + /// + public PRESSURIZATION_RATEValue PRESSURIZATION_RATE => _PRESSURIZATION_RATE ?? (_PRESSURIZATION_RATE = new PRESSURIZATION_RATEValue()); + + /// change of pressure per unit time.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PRESSURIZATION_RATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PRESSURIZATION_RATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" change of pressure per unit time. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DECELERATIONValue _DECELERATION; + /// + public DECELERATIONValue DECELERATION => _DECELERATION ?? (_DECELERATION = new DECELERATIONValue()); + + /// negative rate of change of velocity.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DECELERATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DECELERATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" negative rate of change of velocity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ANGULAR_DECELERATIONValue _ANGULAR_DECELERATION; + /// + public ANGULAR_DECELERATIONValue ANGULAR_DECELERATION => _ANGULAR_DECELERATION ?? (_ANGULAR_DECELERATION = new ANGULAR_DECELERATIONValue()); + + /// negative rate of change of angular velocity.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class ANGULAR_DECELERATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ANGULAR_DECELERATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" negative rate of change of angular velocity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PRESSURE_ABSOLUTEValue _PRESSURE_ABSOLUTE; + /// + public PRESSURE_ABSOLUTEValue PRESSURE_ABSOLUTE => _PRESSURE_ABSOLUTE ?? (_PRESSURE_ABSOLUTE = new PRESSURE_ABSOLUTEValue()); + + /// force per unit area measured relative to a vacuum.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PRESSURE_ABSOLUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PRESSURE_ABSOLUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" force per unit area measured relative to a vacuum. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OPENNESSValue _OPENNESS; + /// + public OPENNESSValue OPENNESS => _OPENNESS ?? (_OPENNESS = new OPENNESSValue()); + + /// percentage open where 100% is fully open and 0% is fully closed.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class OPENNESSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPENNESS"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" percentage open where 100% is fully open and 0% is fully closed. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEW_POINTValue _DEW_POINT; + /// + public DEW_POINTValue DEW_POINT => _DEW_POINT ?? (_DEW_POINT = new DEW_POINTValue()); + + /// temperature at which moisture begins to condense, corresponding to saturation for a given absolute humidity.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEW_POINTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEW_POINT"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" temperature at which moisture begins to condense, corresponding to saturation for a given absolute humidity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GRAVITATIONAL_FORCEValue _GRAVITATIONAL_FORCE; + /// + public GRAVITATIONAL_FORCEValue GRAVITATIONAL_FORCE => _GRAVITATIONAL_FORCE ?? (_GRAVITATIONAL_FORCE = new GRAVITATIONAL_FORCEValue()); + + /// force relative to earth's gravity.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class GRAVITATIONAL_FORCEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GRAVITATIONAL_FORCE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" force relative to earth's gravity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GRAVITATIONAL_ACCELERATIONValue _GRAVITATIONAL_ACCELERATION; + /// + public GRAVITATIONAL_ACCELERATIONValue GRAVITATIONAL_ACCELERATION => _GRAVITATIONAL_ACCELERATION ?? (_GRAVITATIONAL_ACCELERATION = new GRAVITATIONAL_ACCELERATIONValue()); + + /// acceleration relative to Earth's gravity of 9.80665 METER/SECOND^2.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class GRAVITATIONAL_ACCELERATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GRAVITATIONAL_ACCELERATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" acceleration relative to Earth's gravity of 9.80665 `METER/SECOND^2`. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BATTERY_CAPACITYValue _BATTERY_CAPACITY; + /// + public BATTERY_CAPACITYValue BATTERY_CAPACITY => _BATTERY_CAPACITY ?? (_BATTERY_CAPACITY = new BATTERY_CAPACITYValue()); + + /// maximum rated charge a battery is capable of maintaining based on the battery discharging at a specified current over a specified time period.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class BATTERY_CAPACITYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BATTERY_CAPACITY"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" maximum rated charge a battery is capable of maintaining based on the battery discharging at a specified current over a specified time period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DISCHARGE_RATEValue _DISCHARGE_RATE; + /// + public DISCHARGE_RATEValue DISCHARGE_RATE => _DISCHARGE_RATE ?? (_DISCHARGE_RATE = new DISCHARGE_RATEValue()); + + /// value of current being drawn from the Component.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DISCHARGE_RATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DISCHARGE_RATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" value of current being drawn from the {{block(Component)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CHARGE_RATEValue _CHARGE_RATE; + /// + public CHARGE_RATEValue CHARGE_RATE => _CHARGE_RATE ?? (_CHARGE_RATE = new CHARGE_RATEValue()); + + /// value of the current being supplied to the Component for the purpose of charging.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CHARGE_RATEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CHARGE_RATE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" value of the current being supplied to the {{block(Component)}} for the purpose of charging. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BATTERY_CHARGEValue _BATTERY_CHARGE; + /// + public BATTERY_CHARGEValue BATTERY_CHARGE => _BATTERY_CHARGE ?? (_BATTERY_CHARGE = new BATTERY_CHARGEValue()); + + /// value of the battery's present capacity expressed as a percentage of the battery's maximum rated capacity.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class BATTERY_CHARGEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BATTERY_CHARGE"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" value of the battery's present capacity expressed as a percentage of the battery's maximum rated capacity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SETTLING_ERRORValue _SETTLING_ERROR; + /// + public SETTLING_ERRORValue SETTLING_ERROR => _SETTLING_ERROR ?? (_SETTLING_ERROR = new SETTLING_ERRORValue()); + + /// difference between actual and commanded position at the end of a motion.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SETTLING_ERRORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SETTLING_ERROR"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" difference between actual and commanded position at the end of a motion. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FOLLOWING_ERRORValue _FOLLOWING_ERROR; + /// + public FOLLOWING_ERRORValue FOLLOWING_ERROR => _FOLLOWING_ERROR ?? (_FOLLOWING_ERROR = new FOLLOWING_ERRORValue()); + + /// difference between actual and commanded position at any specific point in time during a motion.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FOLLOWING_ERRORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FOLLOWING_ERROR"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" difference between actual and commanded position at any specific point in time during a motion. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SETTLING_ERROR_LINEARValue _SETTLING_ERROR_LINEAR; + /// + public SETTLING_ERROR_LINEARValue SETTLING_ERROR_LINEAR => _SETTLING_ERROR_LINEAR ?? (_SETTLING_ERROR_LINEAR = new SETTLING_ERROR_LINEARValue()); + + /// difference between the commanded encoder/resolver position, and the actual encoder/resolver position when motion is complete.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SETTLING_ERROR_LINEARValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SETTLING_ERROR_LINEAR"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" difference between the commanded encoder/resolver position, and the actual encoder/resolver position when motion is complete. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SETTLING_ERROR_ANGULARValue _SETTLING_ERROR_ANGULAR; + /// + public SETTLING_ERROR_ANGULARValue SETTLING_ERROR_ANGULAR => _SETTLING_ERROR_ANGULAR ?? (_SETTLING_ERROR_ANGULAR = new SETTLING_ERROR_ANGULARValue()); + + /// angular difference between the commanded encoder/resolver position, and the actual encoder/resolver position when motion is complete.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SETTLING_ERROR_ANGULARValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SETTLING_ERROR_ANGULAR"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angular difference between the commanded encoder/resolver position, and the actual encoder/resolver position when motion is complete. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FOLLOWING_ERROR_LINEARValue _FOLLOWING_ERROR_LINEAR; + /// + public FOLLOWING_ERROR_LINEARValue FOLLOWING_ERROR_LINEAR => _FOLLOWING_ERROR_LINEAR ?? (_FOLLOWING_ERROR_LINEAR = new FOLLOWING_ERROR_LINEARValue()); + + /// difference between the commanded encoder/resolver position and the actual encoder/resolver position at any specified point in time during a motion.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FOLLOWING_ERROR_LINEARValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FOLLOWING_ERROR_LINEAR"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" difference between the commanded encoder/resolver position and the actual encoder/resolver position at any specified point in time during a motion. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FOLLOWING_ERROR_ANGULARValue _FOLLOWING_ERROR_ANGULAR; + /// + public FOLLOWING_ERROR_ANGULARValue FOLLOWING_ERROR_ANGULAR => _FOLLOWING_ERROR_ANGULAR ?? (_FOLLOWING_ERROR_ANGULAR = new FOLLOWING_ERROR_ANGULARValue()); + + /// angular difference between the commanded encoder/resolver position and the actual encoder/resolver position at any specified point in time during a motion.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class FOLLOWING_ERROR_ANGULARValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FOLLOWING_ERROR_ANGULAR"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angular difference between the commanded encoder/resolver position and the actual encoder/resolver position at any specified point in time during a motion. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DISPLACEMENT_LINEARValue _DISPLACEMENT_LINEAR; + /// + public DISPLACEMENT_LINEARValue DISPLACEMENT_LINEAR => _DISPLACEMENT_LINEAR ?? (_DISPLACEMENT_LINEAR = new DISPLACEMENT_LINEARValue()); + + /// absolute value of the change in position along a vector.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DISPLACEMENT_LINEARValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DISPLACEMENT_LINEAR"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" absolute value of the change in position along a vector. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DISPLACEMENT_ANGULARValue _DISPLACEMENT_ANGULAR; + /// + public DISPLACEMENT_ANGULARValue DISPLACEMENT_ANGULAR => _DISPLACEMENT_ANGULAR ?? (_DISPLACEMENT_ANGULAR = new DISPLACEMENT_ANGULARValue()); + + /// absolute value of the change in angular position around a vector


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DISPLACEMENT_ANGULARValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DISPLACEMENT_ANGULAR"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" absolute value of the change in angular position around a vector +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POSITION_CARTESIANValue _POSITION_CARTESIAN; + /// + public POSITION_CARTESIANValue POSITION_CARTESIAN => _POSITION_CARTESIAN ?? (_POSITION_CARTESIAN = new POSITION_CARTESIANValue()); + + /// point in a cartesian coordinate system.


+ /// Value for SampleEnum.
+ ///
See also SampleEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class POSITION_CARTESIANValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POSITION_CARTESIAN"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" point in a {{term(cartesian coordinate system)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SensorStateDetectEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SensorStateDetectEnum.cs new file mode 100644 index 00000000..6e4ed294 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SensorStateDetectEnum.cs @@ -0,0 +1,226 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum SensorStateDetectEnum + { + /// sensor is active and the threshold has been met.


+ ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + DETECTED, + /// sensor is active and ready but the threshold has not been met.


+ ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + NOT_DETECTED, + /// sensor is active, but the state cannot be determined.

> Note: unknown covers situations where the sensor reading is unstable.


+ ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + UNKNOWN, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SensorStateDetectEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1677589978293_52377_922"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1677589978293_52377_922"; + /// Constant value for + public const string NAME = "SensorStateDetectEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(SensorStateDetectEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + DETECTED, + NOT_DETECTED, + UNKNOWN, + }; + + private DETECTEDValue _DETECTED; + /// + public DETECTEDValue DETECTED => _DETECTED ?? (_DETECTED = new DETECTEDValue()); + + /// sensor is active and the threshold has been met.


+ /// Value for SensorStateDetectEnum.
+ ///
See also SensorStateDetectEnum + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + public sealed class DETECTEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DETECTED"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" sensor is active and the threshold has been met. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NOT_DETECTEDValue _NOT_DETECTED; + /// + public NOT_DETECTEDValue NOT_DETECTED => _NOT_DETECTED ?? (_NOT_DETECTED = new NOT_DETECTEDValue()); + + /// sensor is active and ready but the threshold has not been met.


+ /// Value for SensorStateDetectEnum.
+ ///
See also SensorStateDetectEnum + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + public sealed class NOT_DETECTEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NOT_DETECTED"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" sensor is active and ready but the threshold has not been met. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNKNOWNValue _UNKNOWN; + /// + public UNKNOWNValue UNKNOWN => _UNKNOWN ?? (_UNKNOWN = new UNKNOWNValue()); + + /// sensor is active, but the state cannot be determined.

> Note: unknown covers situations where the sensor reading is unstable.


+ /// Value for SensorStateDetectEnum.
+ ///
See also SensorStateDetectEnum + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + public sealed class UNKNOWNValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNKNOWN"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" sensor is active, but the state cannot be determined. + +> Note: unknown covers situations where the sensor reading is unstable. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SpecificationRelationshipTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SpecificationRelationshipTypeEnum.cs new file mode 100644 index 00000000..2df4a926 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SpecificationRelationshipTypeEnum.cs @@ -0,0 +1,122 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum SpecificationRelationshipTypeEnum + { + /// referenced Specification provides process limits.



+ ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + LIMIT, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpecificationRelationshipTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605646000929_248969_3052"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1605646000929_248969_3052"; + /// Constant value for + public const string NAME = "SpecificationRelationshipTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(SpecificationRelationshipTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + LIMIT, + }; + + private LIMITValue _LIMIT; + /// + public LIMITValue LIMIT => _LIMIT ?? (_LIMIT = new LIMITValue()); + + /// referenced Specification provides process limits.



+ /// Value for SpecificationRelationshipTypeEnum.
+ ///
See also SpecificationRelationshipTypeEnum + ///
+ /// + /// + /// Introduced: v1.7 + /// + /// + + public sealed class LIMITValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LIMIT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" referenced {{block(Specification)}} provides process limits. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SpindleInterlockEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SpindleInterlockEnum.cs new file mode 100644 index 00000000..2df549e4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/SpindleInterlockEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum SpindleInterlockEnum + { + /// power has been removed and the spindle cannot be operated.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + ACTIVE, + /// spindle has not been deactivated.


+ ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + INACTIVE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class SpindleInterlockEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1632486690924_270312_65"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1632486690924_270312_65"; + /// Constant value for + public const string NAME = "SpindleInterlockEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(SpindleInterlockEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ACTIVE, + INACTIVE, + }; + + private ACTIVEValue _ACTIVE; + /// + public ACTIVEValue ACTIVE => _ACTIVE ?? (_ACTIVE = new ACTIVEValue()); + + /// power has been removed and the spindle cannot be operated.


+ /// Value for SpindleInterlockEnum.
+ ///
See also SpindleInterlockEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class ACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" power has been removed and the spindle cannot be operated. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private INACTIVEValue _INACTIVE; + /// + public INACTIVEValue INACTIVE => _INACTIVE ?? (_INACTIVE = new INACTIVEValue()); + + /// spindle has not been deactivated.


+ /// Value for SpindleInterlockEnum.
+ ///
See also SpindleInterlockEnum + ///
+ /// + /// + /// Introduced: v1.3 + /// + /// + + public sealed class INACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.3"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" spindle has not been deactivated. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/StatisticEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/StatisticEnum.cs new file mode 100644 index 00000000..b9dd4399 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/StatisticEnum.cs @@ -0,0 +1,530 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum StatisticEnum + { + /// mathematical average value calculated for the data item during the calculation period.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + AVERAGE, + /// DEPRECATED in Version 1.6. ~~A measure of the "peakedness" of a probability distribution; i.e., the shape of the distribution curve.~~


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + KURTOSIS, + /// maximum or peak value recorded for the data item during the calculation period.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + MAXIMUM, + /// middle number of a series of numbers.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + MEDIAN, + /// minimum value recorded for the data item during the calculation period.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + MINIMUM, + /// number in a series of numbers that occurs most often.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + MODE, + /// difference between the maximum and minimum value of a data item during the calculation period. Also represents Peak-to-Peak measurement in a waveform.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + RANGE, + /// mathematical Root Mean Square (RMS) value calculated for the data item during the calculation period.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + ROOT_MEAN_SQUARE, + /// statistical Standard Deviation value calculated for the data item during the calculation period.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + STANDARD_DEVIATION, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class StatisticEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_51F1600E_2F14_4045_86C0_42B336850079"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_51F1600E_2F14_4045_86C0_42B336850079"; + /// Constant value for + public const string NAME = "StatisticEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(StatisticEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + AVERAGE, + KURTOSIS, + MAXIMUM, + MEDIAN, + MINIMUM, + MODE, + RANGE, + ROOT_MEAN_SQUARE, + STANDARD_DEVIATION, + }; + + private AVERAGEValue _AVERAGE; + /// + public AVERAGEValue AVERAGE => _AVERAGE ?? (_AVERAGE = new AVERAGEValue()); + + /// mathematical average value calculated for the data item during the calculation period.


+ /// Value for StatisticEnum.
+ ///
See also StatisticEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class AVERAGEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AVERAGE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" mathematical average value calculated for the data item during the calculation period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private KURTOSISValue _KURTOSIS; + /// + public KURTOSISValue KURTOSIS => _KURTOSIS ?? (_KURTOSIS = new KURTOSISValue()); + + /// DEPRECATED in Version 1.6. ~~A measure of the "peakedness" of a probability distribution; i.e., the shape of the distribution curve.~~


+ /// Value for StatisticEnum.
+ ///
See also StatisticEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class KURTOSISValue : IEnumInstance + { + /// Constant value for + public const string NAME = "KURTOSIS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = "1.6"; + /// Constant value for + public const string SUMMARY = @" **DEPRECATED** in *Version 1.6*. ~~A measure of the ""peakedness"" of a probability distribution; i.e., the shape of the distribution curve.~~ +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MAXIMUMValue _MAXIMUM; + /// + public MAXIMUMValue MAXIMUM => _MAXIMUM ?? (_MAXIMUM = new MAXIMUMValue()); + + /// maximum or peak value recorded for the data item during the calculation period.


+ /// Value for StatisticEnum.
+ ///
See also StatisticEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class MAXIMUMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MAXIMUM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" maximum or peak value recorded for the data item during the calculation period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MEDIANValue _MEDIAN; + /// + public MEDIANValue MEDIAN => _MEDIAN ?? (_MEDIAN = new MEDIANValue()); + + /// middle number of a series of numbers.


+ /// Value for StatisticEnum.
+ ///
See also StatisticEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class MEDIANValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MEDIAN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" middle number of a series of numbers. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MINIMUMValue _MINIMUM; + /// + public MINIMUMValue MINIMUM => _MINIMUM ?? (_MINIMUM = new MINIMUMValue()); + + /// minimum value recorded for the data item during the calculation period.


+ /// Value for StatisticEnum.
+ ///
See also StatisticEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class MINIMUMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MINIMUM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" minimum value recorded for the data item during the calculation period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MODEValue _MODE; + /// + public MODEValue MODE => _MODE ?? (_MODE = new MODEValue()); + + /// number in a series of numbers that occurs most often.


+ /// Value for StatisticEnum.
+ ///
See also StatisticEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class MODEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MODE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" number in a series of numbers that occurs most often. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RANGEValue _RANGE; + /// + public RANGEValue RANGE => _RANGE ?? (_RANGE = new RANGEValue()); + + /// difference between the maximum and minimum value of a data item during the calculation period. Also represents Peak-to-Peak measurement in a waveform.


+ /// Value for StatisticEnum.
+ ///
See also StatisticEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class RANGEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RANGE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" difference between the maximum and minimum value of a data item during the calculation period. Also represents Peak-to-Peak measurement in a waveform. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ROOT_MEAN_SQUAREValue _ROOT_MEAN_SQUARE; + /// + public ROOT_MEAN_SQUAREValue ROOT_MEAN_SQUARE => _ROOT_MEAN_SQUARE ?? (_ROOT_MEAN_SQUARE = new ROOT_MEAN_SQUAREValue()); + + /// mathematical Root Mean Square (RMS) value calculated for the data item during the calculation period.


+ /// Value for StatisticEnum.
+ ///
See also StatisticEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class ROOT_MEAN_SQUAREValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ROOT_MEAN_SQUARE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" mathematical Root Mean Square (RMS) value calculated for the data item during the calculation period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private STANDARD_DEVIATIONValue _STANDARD_DEVIATION; + /// + public STANDARD_DEVIATIONValue STANDARD_DEVIATION => _STANDARD_DEVIATION ?? (_STANDARD_DEVIATION = new STANDARD_DEVIATIONValue()); + + /// statistical Standard Deviation value calculated for the data item during the calculation period.


+ /// Value for StatisticEnum.
+ ///
See also StatisticEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class STANDARD_DEVIATIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "STANDARD_DEVIATION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" statistical Standard Deviation value calculated for the data item during the calculation period. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ToolLifeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ToolLifeEnum.cs new file mode 100644 index 00000000..d3b20500 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ToolLifeEnum.cs @@ -0,0 +1,231 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ToolLifeEnum + { + /// tool life measured in minutes.

All units for minimum, maximum, and nominal MUST be provided in minutes.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + MINUTES, + /// tool life measured in parts.

All units for minimum, maximum, and nominal MUST be provided as the number of parts.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + PART_COUNT, + /// tool life measured in tool wear.

Wear MUST be provided in millimeters as an offset to nominal. All units for minimum, maximum, and nominal MUST be given as millimeter offsets as
well. The standard will only consider dimensional wear at this time.


+ ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + WEAR, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ToolLifeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1634824001211_966890_187"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1634824001211_966890_187"; + /// Constant value for + public const string NAME = "ToolLifeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ToolLifeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + MINUTES, + PART_COUNT, + WEAR, + }; + + private MINUTESValue _MINUTES; + /// + public MINUTESValue MINUTES => _MINUTES ?? (_MINUTES = new MINUTESValue()); + + /// tool life measured in minutes.

All units for minimum, maximum, and nominal MUST be provided in minutes.


+ /// Value for ToolLifeEnum.
+ ///
See also ToolLifeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class MINUTESValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MINUTES"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool life measured in minutes. + +All units for minimum, maximum, and nominal **MUST** be provided in minutes. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_COUNTValue _PART_COUNT; + /// + public PART_COUNTValue PART_COUNT => _PART_COUNT ?? (_PART_COUNT = new PART_COUNTValue()); + + /// tool life measured in parts.

All units for minimum, maximum, and nominal MUST be provided as the number of parts.


+ /// Value for ToolLifeEnum.
+ ///
See also ToolLifeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class PART_COUNTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_COUNT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool life measured in parts. + +All units for minimum, maximum, and nominal **MUST** be provided as the number of parts. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WEARValue _WEAR; + /// + public WEARValue WEAR => _WEAR ?? (_WEAR = new WEARValue()); + + /// tool life measured in tool wear.

Wear MUST be provided in millimeters as an offset to nominal. All units for minimum, maximum, and nominal MUST be given as millimeter offsets as
well. The standard will only consider dimensional wear at this time.


+ /// Value for ToolLifeEnum.
+ ///
See also ToolLifeEnum + ///
+ /// + /// + /// Introduced: v1.2 + /// + /// + + public sealed class WEARValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WEAR"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" tool life measured in tool wear. + +Wear **MUST** be provided in millimeters as an offset to nominal. All units for minimum, maximum, and nominal **MUST** be given as millimeter offsets as +well. The standard will only consider dimensional wear at this time. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/UncertaintyTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/UncertaintyTypeEnum.cs new file mode 100644 index 00000000..8e515762 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/UncertaintyTypeEnum.cs @@ -0,0 +1,173 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum UncertaintyTypeEnum + { + /// combined standard uncertainty.


+ ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + COMBINED, + /// standard uncertainty using arithmetic mean or average the observations. JCGM 100:2008 4.2


+ ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + MEAN, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UncertaintyTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678195766304_380006_17434"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1678195766304_380006_17434"; + /// Constant value for + public const string NAME = "UncertaintyTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(UncertaintyTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + COMBINED, + MEAN, + }; + + private COMBINEDValue _COMBINED; + /// + public COMBINEDValue COMBINED => _COMBINED ?? (_COMBINED = new COMBINEDValue()); + + /// combined standard uncertainty.


+ /// Value for UncertaintyTypeEnum.
+ ///
See also UncertaintyTypeEnum + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + public sealed class COMBINEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COMBINED"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(combined standard uncertainty)}}. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MEANValue _MEAN; + /// + public MEANValue MEAN => _MEAN ?? (_MEAN = new MEANValue()); + + /// standard uncertainty using arithmetic mean or average the observations. JCGM 100:2008 4.2


+ /// Value for UncertaintyTypeEnum.
+ ///
See also UncertaintyTypeEnum + ///
+ /// + /// + /// Introduced: v2.2 + /// + /// + + public sealed class MEANValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MEAN"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{term(standard uncertainty)}} using arithmetic mean or average the observations. {{cite(JCGM 100:2008 4.2)}} +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/UnitEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/UnitEnum.cs new file mode 100644 index 00000000..10c9149d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/UnitEnum.cs @@ -0,0 +1,2676 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum UnitEnum + { + /// amps.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + AMPERE, + /// degrees Celsius.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CELSIUS, + /// count of something.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + COUNT, + /// sound level.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DECIBEL, + /// angle in degrees.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEGREE, + /// space-delimited, floating-point representation of the angular rotation in degrees around the X, Y, and Z axes relative to a cartesian coordinate system respectively in order as A, B, and C.

If any of the rotations is not known, it MUST be zero (0).


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEGREE_3D, + /// angular degrees per second.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEGREE_PER_SECOND, + /// angular acceleration in degrees per second squared.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + DEGREE_PER_SECOND_SQUARED, + /// frequency measured in cycles per second.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + HERTZ, + /// measurement of energy.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + JOULE, + /// kilograms.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + KILOGRAM, + /// measurement of volume of a fluid.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LITER, + /// liters per second.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + LITER_PER_SECOND, + /// measurement of tilt.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MICRO_RADIAN, + /// millimeters.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MILLIMETER, + /// point in space identified by X, Y, and Z positions and represented by a space-delimited set of numbers each expressed in millimeters.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MILLIMETER_3D, + /// millimeters per revolution.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MILLIMETER_PER_REVOLUTION, + /// millimeters per second.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MILLIMETER_PER_SECOND, + /// acceleration in millimeters per second squared.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MILLIMETER_PER_SECOND_SQUARED, + /// force in Newtons.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + NEWTON, + /// torque, a unit for force times distance.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + NEWTON_METER, + /// measure of electrical resistance.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + OHM, + /// pressure in Newtons per square meter.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PASCAL, + /// measurement of viscosity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PASCAL_SECOND, + /// percentage.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PERCENT, + /// measure of the acidity or alkalinity of a solution.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PH, + /// revolutions per minute.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + REVOLUTION_PER_MINUTE, + /// measurement of time.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SECOND, + /// measurement of electrical conductivity.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SIEMENS_PER_METER, + /// volts.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VOLT, + /// measurement of the apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current (commonly referred to as VA).


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VOLT_AMPERE, + /// measurement of reactive power in an AC electrical circuit (commonly referred to as VAR).


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + VOLT_AMPERE_REACTIVE, + /// watts.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + WATT, + /// measurement of electrical energy, equal to one Joule.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + WATT_SECOND, + /// gram per cubic meter.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + GRAM_PER_CUBIC_METER, + /// geometric volume in millimeters.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CUBIC_MILLIMETER, + /// change of geometric volume per second.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CUBIC_MILLIMETER_PER_SECOND, + /// change in geometric volume per second squared.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CUBIC_MILLIMETER_PER_SECOND_SQUARED, + /// milligram.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MILLIGRAM, + /// milligram per cubic millimeter.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MILLIGRAM_PER_CUBIC_MILLIMETER, + /// milliliter.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + MILLILITER, + /// counts per second.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + COUNT_PER_SECOND, + /// pascal per second.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + PASCAL_PER_SECOND, + /// 3D Unit Vector.

Space delimited list of three floating point numbers.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + UNIT_VECTOR_3D, + /// revolutions per second squared.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + REVOLUTION_PER_SECOND_SQUARED, + /// rotational velocity in revolution per second.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + REVOLUTION_PER_SECOND, + /// gram.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + GRAM, + /// acceleration in meters per second squared.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + METER_PER_SECOND_SQUARED, + /// electric charge in coulombs (C).


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + COULOMB, + /// geometric volume in meters.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + CUBIC_METER, + /// geometric area in millimeters.


+ ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + SQUARE_MILLIMETER, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class UnitEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "EAID_8FEC81E4_8E1F_4f45_820B_F9F25DD83F9A"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration__EAID_8FEC81E4_8E1F_4f45_820B_F9F25DD83F9A"; + /// Constant value for + public const string NAME = "UnitEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(UnitEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + AMPERE, + CELSIUS, + COUNT, + DECIBEL, + DEGREE, + DEGREE_3D, + DEGREE_PER_SECOND, + DEGREE_PER_SECOND_SQUARED, + HERTZ, + JOULE, + KILOGRAM, + LITER, + LITER_PER_SECOND, + MICRO_RADIAN, + MILLIMETER, + MILLIMETER_3D, + MILLIMETER_PER_REVOLUTION, + MILLIMETER_PER_SECOND, + MILLIMETER_PER_SECOND_SQUARED, + NEWTON, + NEWTON_METER, + OHM, + PASCAL, + PASCAL_SECOND, + PERCENT, + PH, + REVOLUTION_PER_MINUTE, + SECOND, + SIEMENS_PER_METER, + VOLT, + VOLT_AMPERE, + VOLT_AMPERE_REACTIVE, + WATT, + WATT_SECOND, + GRAM_PER_CUBIC_METER, + CUBIC_MILLIMETER, + CUBIC_MILLIMETER_PER_SECOND, + CUBIC_MILLIMETER_PER_SECOND_SQUARED, + MILLIGRAM, + MILLIGRAM_PER_CUBIC_MILLIMETER, + MILLILITER, + COUNT_PER_SECOND, + PASCAL_PER_SECOND, + UNIT_VECTOR_3D, + REVOLUTION_PER_SECOND_SQUARED, + REVOLUTION_PER_SECOND, + GRAM, + METER_PER_SECOND_SQUARED, + COULOMB, + CUBIC_METER, + SQUARE_MILLIMETER, + }; + + private AMPEREValue _AMPERE; + /// + public AMPEREValue AMPERE => _AMPERE ?? (_AMPERE = new AMPEREValue()); + + /// amps.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class AMPEREValue : IEnumInstance + { + /// Constant value for + public const string NAME = "AMPERE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" amps. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CELSIUSValue _CELSIUS; + /// + public CELSIUSValue CELSIUS => _CELSIUS ?? (_CELSIUS = new CELSIUSValue()); + + /// degrees Celsius.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CELSIUSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CELSIUS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" degrees Celsius. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COUNTValue _COUNT; + /// + public COUNTValue COUNT => _COUNT ?? (_COUNT = new COUNTValue()); + + /// count of something.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class COUNTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COUNT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" count of something. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DECIBELValue _DECIBEL; + /// + public DECIBELValue DECIBEL => _DECIBEL ?? (_DECIBEL = new DECIBELValue()); + + /// sound level.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DECIBELValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DECIBEL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" sound level. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEGREEValue _DEGREE; + /// + public DEGREEValue DEGREE => _DEGREE ?? (_DEGREE = new DEGREEValue()); + + /// angle in degrees.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEGREEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEGREE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angle in degrees. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEGREE_3DValue _DEGREE_3D; + /// + public DEGREE_3DValue DEGREE_3D => _DEGREE_3D ?? (_DEGREE_3D = new DEGREE_3DValue()); + + /// space-delimited, floating-point representation of the angular rotation in degrees around the X, Y, and Z axes relative to a cartesian coordinate system respectively in order as A, B, and C.

If any of the rotations is not known, it MUST be zero (0).


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEGREE_3DValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEGREE_3D"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" space-delimited, floating-point representation of the angular rotation in degrees around the X, Y, and Z axes relative to a cartesian coordinate system respectively in order as A, B, and C. + +If any of the rotations is not known, it **MUST** be zero (0). +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEGREE_PER_SECONDValue _DEGREE_PER_SECOND; + /// + public DEGREE_PER_SECONDValue DEGREE_PER_SECOND => _DEGREE_PER_SECOND ?? (_DEGREE_PER_SECOND = new DEGREE_PER_SECONDValue()); + + /// angular degrees per second.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEGREE_PER_SECONDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEGREE/SECOND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angular degrees per second. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private DEGREE_PER_SECOND_SQUAREDValue _DEGREE_PER_SECOND_SQUARED; + /// + public DEGREE_PER_SECOND_SQUAREDValue DEGREE_PER_SECOND_SQUARED => _DEGREE_PER_SECOND_SQUARED ?? (_DEGREE_PER_SECOND_SQUARED = new DEGREE_PER_SECOND_SQUAREDValue()); + + /// angular acceleration in degrees per second squared.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class DEGREE_PER_SECOND_SQUAREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "DEGREE/SECOND^2"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" angular acceleration in degrees per second squared. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private HERTZValue _HERTZ; + /// + public HERTZValue HERTZ => _HERTZ ?? (_HERTZ = new HERTZValue()); + + /// frequency measured in cycles per second.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class HERTZValue : IEnumInstance + { + /// Constant value for + public const string NAME = "HERTZ"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" frequency measured in cycles per second. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private JOULEValue _JOULE; + /// + public JOULEValue JOULE => _JOULE ?? (_JOULE = new JOULEValue()); + + /// measurement of energy.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class JOULEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "JOULE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement of energy. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private KILOGRAMValue _KILOGRAM; + /// + public KILOGRAMValue KILOGRAM => _KILOGRAM ?? (_KILOGRAM = new KILOGRAMValue()); + + /// kilograms.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class KILOGRAMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "KILOGRAM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" kilograms. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LITERValue _LITER; + /// + public LITERValue LITER => _LITER ?? (_LITER = new LITERValue()); + + /// measurement of volume of a fluid.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LITERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LITER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement of volume of a fluid. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LITER_PER_SECONDValue _LITER_PER_SECOND; + /// + public LITER_PER_SECONDValue LITER_PER_SECOND => _LITER_PER_SECOND ?? (_LITER_PER_SECOND = new LITER_PER_SECONDValue()); + + /// liters per second.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class LITER_PER_SECONDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LITER/SECOND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" liters per second. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MICRO_RADIANValue _MICRO_RADIAN; + /// + public MICRO_RADIANValue MICRO_RADIAN => _MICRO_RADIAN ?? (_MICRO_RADIAN = new MICRO_RADIANValue()); + + /// measurement of tilt.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MICRO_RADIANValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MICRO_RADIAN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement of tilt. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MILLIMETERValue _MILLIMETER; + /// + public MILLIMETERValue MILLIMETER => _MILLIMETER ?? (_MILLIMETER = new MILLIMETERValue()); + + /// millimeters.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MILLIMETERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MILLIMETER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" millimeters. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MILLIMETER_3DValue _MILLIMETER_3D; + /// + public MILLIMETER_3DValue MILLIMETER_3D => _MILLIMETER_3D ?? (_MILLIMETER_3D = new MILLIMETER_3DValue()); + + /// point in space identified by X, Y, and Z positions and represented by a space-delimited set of numbers each expressed in millimeters.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MILLIMETER_3DValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MILLIMETER_3D"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" point in space identified by X, Y, and Z positions and represented by a space-delimited set of numbers each expressed in millimeters. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MILLIMETER_PER_REVOLUTIONValue _MILLIMETER_PER_REVOLUTION; + /// + public MILLIMETER_PER_REVOLUTIONValue MILLIMETER_PER_REVOLUTION => _MILLIMETER_PER_REVOLUTION ?? (_MILLIMETER_PER_REVOLUTION = new MILLIMETER_PER_REVOLUTIONValue()); + + /// millimeters per revolution.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MILLIMETER_PER_REVOLUTIONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MILLIMETER/REVOLUTION"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" millimeters per revolution. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MILLIMETER_PER_SECONDValue _MILLIMETER_PER_SECOND; + /// + public MILLIMETER_PER_SECONDValue MILLIMETER_PER_SECOND => _MILLIMETER_PER_SECOND ?? (_MILLIMETER_PER_SECOND = new MILLIMETER_PER_SECONDValue()); + + /// millimeters per second.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MILLIMETER_PER_SECONDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MILLIMETER/SECOND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" millimeters per second. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MILLIMETER_PER_SECOND_SQUAREDValue _MILLIMETER_PER_SECOND_SQUARED; + /// + public MILLIMETER_PER_SECOND_SQUAREDValue MILLIMETER_PER_SECOND_SQUARED => _MILLIMETER_PER_SECOND_SQUARED ?? (_MILLIMETER_PER_SECOND_SQUARED = new MILLIMETER_PER_SECOND_SQUAREDValue()); + + /// acceleration in millimeters per second squared.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MILLIMETER_PER_SECOND_SQUAREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MILLIMETER/SECOND^2"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" acceleration in millimeters per second squared. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NEWTONValue _NEWTON; + /// + public NEWTONValue NEWTON => _NEWTON ?? (_NEWTON = new NEWTONValue()); + + /// force in Newtons.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class NEWTONValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NEWTON"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" force in Newtons. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private NEWTON_METERValue _NEWTON_METER; + /// + public NEWTON_METERValue NEWTON_METER => _NEWTON_METER ?? (_NEWTON_METER = new NEWTON_METERValue()); + + /// torque, a unit for force times distance.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class NEWTON_METERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "NEWTON_METER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" torque, a unit for force times distance. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OHMValue _OHM; + /// + public OHMValue OHM => _OHM ?? (_OHM = new OHMValue()); + + /// measure of electrical resistance.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class OHMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OHM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measure of electrical resistance. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PASCALValue _PASCAL; + /// + public PASCALValue PASCAL => _PASCAL ?? (_PASCAL = new PASCALValue()); + + /// pressure in Newtons per square meter.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PASCALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PASCAL"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" pressure in Newtons per square meter. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PASCAL_SECONDValue _PASCAL_SECOND; + /// + public PASCAL_SECONDValue PASCAL_SECOND => _PASCAL_SECOND ?? (_PASCAL_SECOND = new PASCAL_SECONDValue()); + + /// measurement of viscosity.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PASCAL_SECONDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PASCAL_SECOND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement of viscosity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PERCENTValue _PERCENT; + /// + public PERCENTValue PERCENT => _PERCENT ?? (_PERCENT = new PERCENTValue()); + + /// percentage.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PERCENTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PERCENT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" percentage. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PHValue _PH; + /// + public PHValue PH => _PH ?? (_PH = new PHValue()); + + /// measure of the acidity or alkalinity of a solution.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PH"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measure of the acidity or alkalinity of a solution. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private REVOLUTION_PER_MINUTEValue _REVOLUTION_PER_MINUTE; + /// + public REVOLUTION_PER_MINUTEValue REVOLUTION_PER_MINUTE => _REVOLUTION_PER_MINUTE ?? (_REVOLUTION_PER_MINUTE = new REVOLUTION_PER_MINUTEValue()); + + /// revolutions per minute.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class REVOLUTION_PER_MINUTEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "REVOLUTION/MINUTE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" revolutions per minute. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SECONDValue _SECOND; + /// + public SECONDValue SECOND => _SECOND ?? (_SECOND = new SECONDValue()); + + /// measurement of time.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SECONDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SECOND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement of time. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SIEMENS_PER_METERValue _SIEMENS_PER_METER; + /// + public SIEMENS_PER_METERValue SIEMENS_PER_METER => _SIEMENS_PER_METER ?? (_SIEMENS_PER_METER = new SIEMENS_PER_METERValue()); + + /// measurement of electrical conductivity.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SIEMENS_PER_METERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SIEMENS/METER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement of electrical conductivity. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VOLTValue _VOLT; + /// + public VOLTValue VOLT => _VOLT ?? (_VOLT = new VOLTValue()); + + /// volts.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VOLTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VOLT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" volts. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VOLT_AMPEREValue _VOLT_AMPERE; + /// + public VOLT_AMPEREValue VOLT_AMPERE => _VOLT_AMPERE ?? (_VOLT_AMPERE = new VOLT_AMPEREValue()); + + /// measurement of the apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current (commonly referred to as VA).


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VOLT_AMPEREValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VOLT_AMPERE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement of the apparent power in an electrical circuit, equal to the product of root-mean-square (RMS) voltage and RMS current (commonly referred to as VA). +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VOLT_AMPERE_REACTIVEValue _VOLT_AMPERE_REACTIVE; + /// + public VOLT_AMPERE_REACTIVEValue VOLT_AMPERE_REACTIVE => _VOLT_AMPERE_REACTIVE ?? (_VOLT_AMPERE_REACTIVE = new VOLT_AMPERE_REACTIVEValue()); + + /// measurement of reactive power in an AC electrical circuit (commonly referred to as VAR).


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class VOLT_AMPERE_REACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VOLT_AMPERE_REACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement of reactive power in an AC electrical circuit (commonly referred to as VAR). +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WATTValue _WATT; + /// + public WATTValue WATT => _WATT ?? (_WATT = new WATTValue()); + + /// watts.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class WATTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WATT"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.0"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" watts. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private WATT_SECONDValue _WATT_SECOND; + /// + public WATT_SECONDValue WATT_SECOND => _WATT_SECOND ?? (_WATT_SECOND = new WATT_SECONDValue()); + + /// measurement of electrical energy, equal to one Joule.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class WATT_SECONDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "WATT_SECOND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" measurement of electrical energy, equal to one Joule. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GRAM_PER_CUBIC_METERValue _GRAM_PER_CUBIC_METER; + /// + public GRAM_PER_CUBIC_METERValue GRAM_PER_CUBIC_METER => _GRAM_PER_CUBIC_METER ?? (_GRAM_PER_CUBIC_METER = new GRAM_PER_CUBIC_METERValue()); + + /// gram per cubic meter.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class GRAM_PER_CUBIC_METERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GRAM/CUBIC_METER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" gram per cubic meter. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CUBIC_MILLIMETERValue _CUBIC_MILLIMETER; + /// + public CUBIC_MILLIMETERValue CUBIC_MILLIMETER => _CUBIC_MILLIMETER ?? (_CUBIC_MILLIMETER = new CUBIC_MILLIMETERValue()); + + /// geometric volume in millimeters.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CUBIC_MILLIMETERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CUBIC_MILLIMETER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" geometric volume in millimeters. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CUBIC_MILLIMETER_PER_SECONDValue _CUBIC_MILLIMETER_PER_SECOND; + /// + public CUBIC_MILLIMETER_PER_SECONDValue CUBIC_MILLIMETER_PER_SECOND => _CUBIC_MILLIMETER_PER_SECOND ?? (_CUBIC_MILLIMETER_PER_SECOND = new CUBIC_MILLIMETER_PER_SECONDValue()); + + /// change of geometric volume per second.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CUBIC_MILLIMETER_PER_SECONDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CUBIC_MILLIMETER/SECOND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" change of geometric volume per second. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CUBIC_MILLIMETER_PER_SECOND_SQUAREDValue _CUBIC_MILLIMETER_PER_SECOND_SQUARED; + /// + public CUBIC_MILLIMETER_PER_SECOND_SQUAREDValue CUBIC_MILLIMETER_PER_SECOND_SQUARED => _CUBIC_MILLIMETER_PER_SECOND_SQUARED ?? (_CUBIC_MILLIMETER_PER_SECOND_SQUARED = new CUBIC_MILLIMETER_PER_SECOND_SQUAREDValue()); + + /// change in geometric volume per second squared.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CUBIC_MILLIMETER_PER_SECOND_SQUAREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CUBIC_MILLIMETER/SECOND^2"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" change in geometric volume per second squared. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MILLIGRAMValue _MILLIGRAM; + /// + public MILLIGRAMValue MILLIGRAM => _MILLIGRAM ?? (_MILLIGRAM = new MILLIGRAMValue()); + + /// milligram.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MILLIGRAMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MILLIGRAM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" milligram. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MILLIGRAM_PER_CUBIC_MILLIMETERValue _MILLIGRAM_PER_CUBIC_MILLIMETER; + /// + public MILLIGRAM_PER_CUBIC_MILLIMETERValue MILLIGRAM_PER_CUBIC_MILLIMETER => _MILLIGRAM_PER_CUBIC_MILLIMETER ?? (_MILLIGRAM_PER_CUBIC_MILLIMETER = new MILLIGRAM_PER_CUBIC_MILLIMETERValue()); + + /// milligram per cubic millimeter.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MILLIGRAM_PER_CUBIC_MILLIMETERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MILLIGRAM/CUBIC_MILLIMETER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" milligram per cubic millimeter. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MILLILITERValue _MILLILITER; + /// + public MILLILITERValue MILLILITER => _MILLILITER ?? (_MILLILITER = new MILLILITERValue()); + + /// milliliter.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class MILLILITERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MILLILITER"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" milliliter. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COUNT_PER_SECONDValue _COUNT_PER_SECOND; + /// + public COUNT_PER_SECONDValue COUNT_PER_SECOND => _COUNT_PER_SECOND ?? (_COUNT_PER_SECOND = new COUNT_PER_SECONDValue()); + + /// counts per second.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class COUNT_PER_SECONDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COUNT/SECOND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" counts per second. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PASCAL_PER_SECONDValue _PASCAL_PER_SECOND; + /// + public PASCAL_PER_SECONDValue PASCAL_PER_SECOND => _PASCAL_PER_SECOND ?? (_PASCAL_PER_SECOND = new PASCAL_PER_SECONDValue()); + + /// pascal per second.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class PASCAL_PER_SECONDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PASCAL/SECOND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" pascal per second. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private UNIT_VECTOR_3DValue _UNIT_VECTOR_3D; + /// + public UNIT_VECTOR_3DValue UNIT_VECTOR_3D => _UNIT_VECTOR_3D ?? (_UNIT_VECTOR_3D = new UNIT_VECTOR_3DValue()); + + /// 3D Unit Vector.

Space delimited list of three floating point numbers.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class UNIT_VECTOR_3DValue : IEnumInstance + { + /// Constant value for + public const string NAME = "UNIT_VECTOR_3D"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.7"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" 3D Unit Vector. + +Space delimited list of three floating point numbers. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private REVOLUTION_PER_SECOND_SQUAREDValue _REVOLUTION_PER_SECOND_SQUARED; + /// + public REVOLUTION_PER_SECOND_SQUAREDValue REVOLUTION_PER_SECOND_SQUARED => _REVOLUTION_PER_SECOND_SQUARED ?? (_REVOLUTION_PER_SECOND_SQUARED = new REVOLUTION_PER_SECOND_SQUAREDValue()); + + /// revolutions per second squared.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class REVOLUTION_PER_SECOND_SQUAREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "REVOLUTION/SECOND^2"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.6"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" revolutions per second squared. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private REVOLUTION_PER_SECONDValue _REVOLUTION_PER_SECOND; + /// + public REVOLUTION_PER_SECONDValue REVOLUTION_PER_SECOND => _REVOLUTION_PER_SECOND ?? (_REVOLUTION_PER_SECOND = new REVOLUTION_PER_SECONDValue()); + + /// rotational velocity in revolution per second.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class REVOLUTION_PER_SECONDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "REVOLUTION/SECOND"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" rotational velocity in revolution per second. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private GRAMValue _GRAM; + /// + public GRAMValue GRAM => _GRAM ?? (_GRAM = new GRAMValue()); + + /// gram.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class GRAMValue : IEnumInstance + { + /// Constant value for + public const string NAME = "GRAM"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.2"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" gram. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private METER_PER_SECOND_SQUAREDValue _METER_PER_SECOND_SQUARED; + /// + public METER_PER_SECOND_SQUAREDValue METER_PER_SECOND_SQUARED => _METER_PER_SECOND_SQUARED ?? (_METER_PER_SECOND_SQUARED = new METER_PER_SECOND_SQUAREDValue()); + + /// acceleration in meters per second squared.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class METER_PER_SECOND_SQUAREDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "METER/SECOND^2"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" acceleration in meters per second squared. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COULOMBValue _COULOMB; + /// + public COULOMBValue COULOMB => _COULOMB ?? (_COULOMB = new COULOMBValue()); + + /// electric charge in coulombs (C).


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class COULOMBValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COULOMB"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.1"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" electric charge in coulombs (C). +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CUBIC_METERValue _CUBIC_METER; + /// + public CUBIC_METERValue CUBIC_METER => _CUBIC_METER ?? (_CUBIC_METER = new CUBIC_METERValue()); + + /// geometric volume in meters.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class CUBIC_METERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CUBIC_METER"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" geometric volume in meters. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SQUARE_MILLIMETERValue _SQUARE_MILLIMETER; + /// + public SQUARE_MILLIMETERValue SQUARE_MILLIMETER => _SQUARE_MILLIMETER ?? (_SQUARE_MILLIMETER = new SQUARE_MILLIMETERValue()); + + /// geometric area in millimeters.


+ /// Value for UnitEnum.
+ ///
See also UnitEnum + ///
+ /// + /// + /// Introduced: v1.0 + /// + /// + + public sealed class SQUARE_MILLIMETERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SQUARE_MILLIMETER"; + /// Constant value for + public const string NORMATIVE_VERSION = "2.4"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" geometric area in millimeters. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ValveStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ValveStateEnum.cs new file mode 100644 index 00000000..8b1bc03d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/ValveStateEnum.cs @@ -0,0 +1,277 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum ValveStateEnum + { + /// ValveState where flow is allowed and the aperture is static.

> Note: For a binary value, OPEN indicates the valve has the maximum possible aperture.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + OPEN, + /// valve is transitioning from a CLOSED state to an OPEN state.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + OPENING, + /// ValveState where flow is not possible, the aperture is static, and the valve is completely shut.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + CLOSED, + /// valve is transitioning from an OPEN state to a CLOSED state.


+ ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + CLOSING, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class ValveStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622456100008_63209_110"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1622456100008_63209_110"; + /// Constant value for + public const string NAME = "ValveStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(ValveStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + OPEN, + OPENING, + CLOSED, + CLOSING, + }; + + private OPENValue _OPEN; + /// + public OPENValue OPEN => _OPEN ?? (_OPEN = new OPENValue()); + + /// ValveState where flow is allowed and the aperture is static.

> Note: For a binary value, OPEN indicates the valve has the maximum possible aperture.


+ /// Value for ValveStateEnum.
+ ///
See also ValveStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class OPENValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPEN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(ValveState)}} where flow is allowed and the aperture is static. + +> Note: For a binary value, `OPEN` indicates the valve has the maximum possible aperture. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private OPENINGValue _OPENING; + /// + public OPENINGValue OPENING => _OPENING ?? (_OPENING = new OPENINGValue()); + + /// valve is transitioning from a CLOSED state to an OPEN state.


+ /// Value for ValveStateEnum.
+ ///
See also ValveStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class OPENINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "OPENING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" valve is transitioning from a `CLOSED` state to an `OPEN` state. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CLOSEDValue _CLOSED; + /// + public CLOSEDValue CLOSED => _CLOSED ?? (_CLOSED = new CLOSEDValue()); + + /// ValveState where flow is not possible, the aperture is static, and the valve is completely shut.


+ /// Value for ValveStateEnum.
+ ///
See also ValveStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class CLOSEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CLOSED"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" {{block(ValveState)}} where flow is not possible, the aperture is static, and the valve is completely shut. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CLOSINGValue _CLOSING; + /// + public CLOSINGValue CLOSING => _CLOSING ?? (_CLOSING = new CLOSINGValue()); + + /// valve is transitioning from an OPEN state to a CLOSED state.


+ /// Value for ValveStateEnum.
+ ///
See also ValveStateEnum + ///
+ /// + /// + /// Introduced: v1.8 + /// + /// + + public sealed class CLOSINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CLOSING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.8"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" valve is transitioning from an `OPEN` state to a `CLOSED` state. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/WaitStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/WaitStateEnum.cs new file mode 100644 index 00000000..276f5c2c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/DataTypes/WaitStateEnum.cs @@ -0,0 +1,632 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DataTypes +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum WaitStateEnum + { + /// execution is waiting while the equipment is powering up and is not currently available to begin producing parts or products.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + POWERING_UP, + /// execution is waiting while the equipment is powering down but has not fully reached a stopped state.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + POWERING_DOWN, + /// execution is waiting while one or more discrete workpieces are being loaded.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + PART_LOAD, + /// execution is waiting while one or more discrete workpieces are being unloaded.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + PART_UNLOAD, + /// execution is waiting while a tool or tooling is being loaded.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + TOOL_LOAD, + /// execution is waiting while a tool or tooling is being unloaded.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + TOOL_UNLOAD, + /// execution is waiting while material is being loaded.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + MATERIAL_LOAD, + /// execution is waiting while material is being unloaded.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + MATERIAL_UNLOAD, + /// execution is waiting while another process is completed before the execution can resume.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + SECONDARY_PROCESS, + /// execution is waiting while the equipment is pausing but the piece of equipment has not yet reached a fully paused state.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + PAUSING, + /// execution is waiting while the equipment is resuming the production cycle but has not yet resumed execution.


+ ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + RESUMING, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class WaitStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581143980612_724749_76"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_45f01b9_1581143980612_724749_76"; + /// Constant value for + public const string NAME = "WaitStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(WaitStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + POWERING_UP, + POWERING_DOWN, + PART_LOAD, + PART_UNLOAD, + TOOL_LOAD, + TOOL_UNLOAD, + MATERIAL_LOAD, + MATERIAL_UNLOAD, + SECONDARY_PROCESS, + PAUSING, + RESUMING, + }; + + private POWERING_UPValue _POWERING_UP; + /// + public POWERING_UPValue POWERING_UP => _POWERING_UP ?? (_POWERING_UP = new POWERING_UPValue()); + + /// execution is waiting while the equipment is powering up and is not currently available to begin producing parts or products.


+ /// Value for WaitStateEnum.
+ ///
See also WaitStateEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class POWERING_UPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POWERING_UP"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" execution is waiting while the equipment is powering up and is not currently available to begin producing parts or products. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private POWERING_DOWNValue _POWERING_DOWN; + /// + public POWERING_DOWNValue POWERING_DOWN => _POWERING_DOWN ?? (_POWERING_DOWN = new POWERING_DOWNValue()); + + /// execution is waiting while the equipment is powering down but has not fully reached a stopped state.


+ /// Value for WaitStateEnum.
+ ///
See also WaitStateEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class POWERING_DOWNValue : IEnumInstance + { + /// Constant value for + public const string NAME = "POWERING_DOWN"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" execution is waiting while the equipment is powering down but has not fully reached a stopped state. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_LOADValue _PART_LOAD; + /// + public PART_LOADValue PART_LOAD => _PART_LOAD ?? (_PART_LOAD = new PART_LOADValue()); + + /// execution is waiting while one or more discrete workpieces are being loaded.


+ /// Value for WaitStateEnum.
+ ///
See also WaitStateEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class PART_LOADValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_LOAD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" execution is waiting while one or more discrete workpieces are being loaded. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PART_UNLOADValue _PART_UNLOAD; + /// + public PART_UNLOADValue PART_UNLOAD => _PART_UNLOAD ?? (_PART_UNLOAD = new PART_UNLOADValue()); + + /// execution is waiting while one or more discrete workpieces are being unloaded.


+ /// Value for WaitStateEnum.
+ ///
See also WaitStateEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class PART_UNLOADValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PART_UNLOAD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" execution is waiting while one or more discrete workpieces are being unloaded. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOOL_LOADValue _TOOL_LOAD; + /// + public TOOL_LOADValue TOOL_LOAD => _TOOL_LOAD ?? (_TOOL_LOAD = new TOOL_LOADValue()); + + /// execution is waiting while a tool or tooling is being loaded.


+ /// Value for WaitStateEnum.
+ ///
See also WaitStateEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class TOOL_LOADValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOOL_LOAD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" execution is waiting while a tool or tooling is being loaded. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOOL_UNLOADValue _TOOL_UNLOAD; + /// + public TOOL_UNLOADValue TOOL_UNLOAD => _TOOL_UNLOAD ?? (_TOOL_UNLOAD = new TOOL_UNLOADValue()); + + /// execution is waiting while a tool or tooling is being unloaded.


+ /// Value for WaitStateEnum.
+ ///
See also WaitStateEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class TOOL_UNLOADValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOOL_UNLOAD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" execution is waiting while a tool or tooling is being unloaded. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MATERIAL_LOADValue _MATERIAL_LOAD; + /// + public MATERIAL_LOADValue MATERIAL_LOAD => _MATERIAL_LOAD ?? (_MATERIAL_LOAD = new MATERIAL_LOADValue()); + + /// execution is waiting while material is being loaded.


+ /// Value for WaitStateEnum.
+ ///
See also WaitStateEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class MATERIAL_LOADValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MATERIAL_LOAD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" execution is waiting while material is being loaded. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MATERIAL_UNLOADValue _MATERIAL_UNLOAD; + /// + public MATERIAL_UNLOADValue MATERIAL_UNLOAD => _MATERIAL_UNLOAD ?? (_MATERIAL_UNLOAD = new MATERIAL_UNLOADValue()); + + /// execution is waiting while material is being unloaded.


+ /// Value for WaitStateEnum.
+ ///
See also WaitStateEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class MATERIAL_UNLOADValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MATERIAL_UNLOAD"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" execution is waiting while material is being unloaded. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SECONDARY_PROCESSValue _SECONDARY_PROCESS; + /// + public SECONDARY_PROCESSValue SECONDARY_PROCESS => _SECONDARY_PROCESS ?? (_SECONDARY_PROCESS = new SECONDARY_PROCESSValue()); + + /// execution is waiting while another process is completed before the execution can resume.


+ /// Value for WaitStateEnum.
+ ///
See also WaitStateEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class SECONDARY_PROCESSValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SECONDARY_PROCESS"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" execution is waiting while another process is completed before the execution can resume. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PAUSINGValue _PAUSING; + /// + public PAUSINGValue PAUSING => _PAUSING ?? (_PAUSING = new PAUSINGValue()); + + /// execution is waiting while the equipment is pausing but the piece of equipment has not yet reached a fully paused state.


+ /// Value for WaitStateEnum.
+ ///
See also WaitStateEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class PAUSINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PAUSING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" execution is waiting while the equipment is pausing but the piece of equipment has not yet reached a fully paused state. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RESUMINGValue _RESUMING; + /// + public RESUMINGValue RESUMING => _RESUMING ?? (_RESUMING = new RESUMINGValue()); + + /// execution is waiting while the equipment is resuming the production cycle but has not yet resumed execution.


+ /// Value for WaitStateEnum.
+ ///
See also WaitStateEnum + ///
+ /// + /// + /// Introduced: v1.5 + /// + /// + + public sealed class RESUMINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RESUMING"; + /// Constant value for + public const string NORMATIVE_VERSION = "1.5"; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @" execution is waiting while the equipment is resuming the production cycle but has not yet resumed execution. +"; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/Pipelines/GuardResult.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/Pipelines/GuardResult.cs new file mode 100644 index 00000000..d906e96c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/Pipelines/GuardResult.cs @@ -0,0 +1,186 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture.Pipelines +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum GuardResult + { + ///  + /// + + CONTINUE, + ///  + /// + + SKIP, + ///  + /// + + RUN, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class GuardResultMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1674413987997_312842_3519"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_4_45f01b9_1674413987997_312842_3519"; + /// Constant value for + public const string NAME = "GuardResult"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(GuardResult); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + CONTINUE, + SKIP, + RUN, + }; + + private CONTINUEValue _CONTINUE; + /// + public CONTINUEValue CONTINUE => _CONTINUE ?? (_CONTINUE = new CONTINUEValue()); + + ///  + /// Value for GuardResult.
+ ///
See also GuardResult + ///
+ + public sealed class CONTINUEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONTINUE"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private SKIPValue _SKIP; + /// + public SKIPValue SKIP => _SKIP ?? (_SKIP = new SKIPValue()); + + ///  + /// Value for GuardResult.
+ ///
See also GuardResult + ///
+ + public sealed class SKIPValue : IEnumInstance + { + /// Constant value for + public const string NAME = "SKIP"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private RUNValue _RUN; + /// + public RUNValue RUN => _RUN ?? (_RUN = new RUNValue()); + + ///  + /// Value for GuardResult.
+ ///
See also GuardResult + ///
+ + public sealed class RUNValue : IEnumInstance + { + /// Constant value for + public const string NAME = "RUN"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/CapabilityTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/CapabilityTypeEnum.cs new file mode 100644 index 00000000..a8b721d8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/CapabilityTypeEnum.cs @@ -0,0 +1,306 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CapabilityTypeEnum + { + ///  + /// + + REACH, + ///  + /// + + LOAD, + ///  + /// + + CAPACITY, + ///  + /// + + VOLUME, + ///  + /// + + ROTARY_VELOCITY, + ///  + /// + + TOLERANCE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CapabilityTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622723044206_884589_3064"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1622723044206_884589_3064"; + /// Constant value for + public const string NAME = "CapabilityTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CapabilityTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + REACH, + LOAD, + CAPACITY, + VOLUME, + ROTARY_VELOCITY, + TOLERANCE, + }; + + private REACHValue _REACH; + /// + public REACHValue REACH => _REACH ?? (_REACH = new REACHValue()); + + ///  + /// Value for CapabilityTypeEnum.
+ ///
See also CapabilityTypeEnum + ///
+ + public sealed class REACHValue : IEnumInstance + { + /// Constant value for + public const string NAME = "REACH"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private LOADValue _LOAD; + /// + public LOADValue LOAD => _LOAD ?? (_LOAD = new LOADValue()); + + ///  + /// Value for CapabilityTypeEnum.
+ ///
See also CapabilityTypeEnum + ///
+ + public sealed class LOADValue : IEnumInstance + { + /// Constant value for + public const string NAME = "LOAD"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CAPACITYValue _CAPACITY; + /// + public CAPACITYValue CAPACITY => _CAPACITY ?? (_CAPACITY = new CAPACITYValue()); + + ///  + /// Value for CapabilityTypeEnum.
+ ///
See also CapabilityTypeEnum + ///
+ + public sealed class CAPACITYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CAPACITY"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private VOLUMEValue _VOLUME; + /// + public VOLUMEValue VOLUME => _VOLUME ?? (_VOLUME = new VOLUMEValue()); + + ///  + /// Value for CapabilityTypeEnum.
+ ///
See also CapabilityTypeEnum + ///
+ + public sealed class VOLUMEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "VOLUME"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private ROTARY_VELOCITYValue _ROTARY_VELOCITY; + /// + public ROTARY_VELOCITYValue ROTARY_VELOCITY => _ROTARY_VELOCITY ?? (_ROTARY_VELOCITY = new ROTARY_VELOCITYValue()); + + ///  + /// Value for CapabilityTypeEnum.
+ ///
See also CapabilityTypeEnum + ///
+ + public sealed class ROTARY_VELOCITYValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ROTARY_VELOCITY"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOLERANCEValue _TOLERANCE; + /// + public TOLERANCEValue TOLERANCE => _TOLERANCE ?? (_TOLERANCE = new TOLERANCEValue()); + + ///  + /// Value for CapabilityTypeEnum.
+ ///
See also CapabilityTypeEnum + ///
+ + public sealed class TOLERANCEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOLERANCE"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/CollaboratorTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/CollaboratorTypeEnum.cs new file mode 100644 index 00000000..54ac3546 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/CollaboratorTypeEnum.cs @@ -0,0 +1,226 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum CollaboratorTypeEnum + { + ///  + /// + + ROBOT, + ///  + /// + + CONVEYOR, + ///  + /// + + CNC, + ///  + /// + + BUFFER, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class CollaboratorTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622723031886_684761_3039"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1622723031886_684761_3039"; + /// Constant value for + public const string NAME = "CollaboratorTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(CollaboratorTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + ROBOT, + CONVEYOR, + CNC, + BUFFER, + }; + + private ROBOTValue _ROBOT; + /// + public ROBOTValue ROBOT => _ROBOT ?? (_ROBOT = new ROBOTValue()); + + ///  + /// Value for CollaboratorTypeEnum.
+ ///
See also CollaboratorTypeEnum + ///
+ + public sealed class ROBOTValue : IEnumInstance + { + /// Constant value for + public const string NAME = "ROBOT"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CONVEYORValue _CONVEYOR; + /// + public CONVEYORValue CONVEYOR => _CONVEYOR ?? (_CONVEYOR = new CONVEYORValue()); + + ///  + /// Value for CollaboratorTypeEnum.
+ ///
See also CollaboratorTypeEnum + ///
+ + public sealed class CONVEYORValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CONVEYOR"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private CNCValue _CNC; + /// + public CNCValue CNC => _CNC ?? (_CNC = new CNCValue()); + + ///  + /// Value for CollaboratorTypeEnum.
+ ///
See also CollaboratorTypeEnum + ///
+ + public sealed class CNCValue : IEnumInstance + { + /// Constant value for + public const string NAME = "CNC"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private BUFFERValue _BUFFER; + /// + public BUFFERValue BUFFER => _BUFFER ?? (_BUFFER = new BUFFERValue()); + + ///  + /// Value for CollaboratorTypeEnum.
+ ///
See also CollaboratorTypeEnum + ///
+ + public sealed class BUFFERValue : IEnumInstance + { + /// Constant value for + public const string NAME = "BUFFER"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/TaskStateEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/TaskStateEnum.cs new file mode 100644 index 00000000..053debc2 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/TaskStateEnum.cs @@ -0,0 +1,306 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum TaskStateEnum + { + ///  + /// + + INACTIVE, + ///  + /// + + PREPARING, + ///  + /// + + COMMITTING, + ///  + /// + + COMMITTED, + ///  + /// + + COMPLETE, + ///  + /// + + FAIL, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TaskStateEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622721899109_23146_2663"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1622721899109_23146_2663"; + /// Constant value for + public const string NAME = "TaskStateEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(TaskStateEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + INACTIVE, + PREPARING, + COMMITTING, + COMMITTED, + COMPLETE, + FAIL, + }; + + private INACTIVEValue _INACTIVE; + /// + public INACTIVEValue INACTIVE => _INACTIVE ?? (_INACTIVE = new INACTIVEValue()); + + ///  + /// Value for TaskStateEnum.
+ ///
See also TaskStateEnum + ///
+ + public sealed class INACTIVEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "INACTIVE"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private PREPARINGValue _PREPARING; + /// + public PREPARINGValue PREPARING => _PREPARING ?? (_PREPARING = new PREPARINGValue()); + + ///  + /// Value for TaskStateEnum.
+ ///
See also TaskStateEnum + ///
+ + public sealed class PREPARINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "PREPARING"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COMMITTINGValue _COMMITTING; + /// + public COMMITTINGValue COMMITTING => _COMMITTING ?? (_COMMITTING = new COMMITTINGValue()); + + ///  + /// Value for TaskStateEnum.
+ ///
See also TaskStateEnum + ///
+ + public sealed class COMMITTINGValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COMMITTING"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COMMITTEDValue _COMMITTED; + /// + public COMMITTEDValue COMMITTED => _COMMITTED ?? (_COMMITTED = new COMMITTEDValue()); + + ///  + /// Value for TaskStateEnum.
+ ///
See also TaskStateEnum + ///
+ + public sealed class COMMITTEDValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COMMITTED"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private COMPLETEValue _COMPLETE; + /// + public COMPLETEValue COMPLETE => _COMPLETE ?? (_COMPLETE = new COMPLETEValue()); + + ///  + /// Value for TaskStateEnum.
+ ///
See also TaskStateEnum + ///
+ + public sealed class COMPLETEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "COMPLETE"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private FAILValue _FAIL; + /// + public FAILValue FAIL => _FAIL ?? (_FAIL = new FAILValue()); + + ///  + /// Value for TaskStateEnum.
+ ///
See also TaskStateEnum + ///
+ + public sealed class FAILValue : IEnumInstance + { + /// Constant value for + public const string NAME = "FAIL"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/TaskTypeEnum.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/TaskTypeEnum.cs new file mode 100644 index 00000000..9be4e114 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Enums/TasksInformationModel/TaskTypeEnum.cs @@ -0,0 +1,186 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler;using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public enum TaskTypeEnum + { + ///  + /// + + MOVE_MATERIAL, + ///  + /// + + MATERIAL_UNLOAD, + ///  + /// + + TOOL_CHANGE, + } + + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public sealed class TaskTypeEnumMetaClass : IEnum + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622719977582_803160_1892"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Enumeration___19_0_3_68e0225_1622719977582_803160_1892"; + /// Constant value for + public const string NAME = "TaskTypeEnum"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public Type DataType => null; + + /// + public Type Instance => typeof(TaskTypeEnum); + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + + /// + public IEnumInstance[] Values => new IEnumInstance[] { + MOVE_MATERIAL, + MATERIAL_UNLOAD, + TOOL_CHANGE, + }; + + private MOVE_MATERIALValue _MOVE_MATERIAL; + /// + public MOVE_MATERIALValue MOVE_MATERIAL => _MOVE_MATERIAL ?? (_MOVE_MATERIAL = new MOVE_MATERIALValue()); + + ///  + /// Value for TaskTypeEnum.
+ ///
See also TaskTypeEnum + ///
+ + public sealed class MOVE_MATERIALValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MOVE_MATERIAL"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private MATERIAL_UNLOADValue _MATERIAL_UNLOAD; + /// + public MATERIAL_UNLOADValue MATERIAL_UNLOAD => _MATERIAL_UNLOAD ?? (_MATERIAL_UNLOAD = new MATERIAL_UNLOADValue()); + + ///  + /// Value for TaskTypeEnum.
+ ///
See also TaskTypeEnum + ///
+ + public sealed class MATERIAL_UNLOADValue : IEnumInstance + { + /// Constant value for + public const string NAME = "MATERIAL_UNLOAD"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + private TOOL_CHANGEValue _TOOL_CHANGE; + /// + public TOOL_CHANGEValue TOOL_CHANGE => _TOOL_CHANGE ?? (_TOOL_CHANGE = new TOOL_CHANGEValue()); + + ///  + /// Value for TaskTypeEnum.
+ ///
See also TaskTypeEnum + ///
+ + public sealed class TOOL_CHANGEValue : IEnumInstance + { + /// Constant value for + public const string NAME = "TOOL_CHANGE"; + /// Constant value for + public const string NORMATIVE_VERSION = ""; + /// Constant value for + public const string DEPRECATED_VERSION = ""; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string Name => NAME; + + /// + public object Value => null; // TODO: Add value, based on type. + + /// + public string NormativeVersion => NORMATIVE_VERSION; + + /// + public string DeprecatedVersion => DEPRECATED_VERSION; + + /// + public string Summary => SUMMARY; + } + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/MtconnectModel.cs b/MtconnectTranspiler.Sinks.CSharp/Models/MtconnectModel.cs new file mode 100644 index 00000000..2ae74700 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/MtconnectModel.cs @@ -0,0 +1,127 @@ +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect +{ + /// + /// Static root for the MTConnect SysML model. + /// + [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public static class MtconnectModel + { + /// + /// Collection of root s. + /// + public static IPackage[] Packages => new IPackage[] { + AssetInformationModelPackage, + FundamentalsPackage, + ObservationInformationModelPackage, + GlossaryPackage, + ReferenceAgentArchitecturePackage, + DevelopmentProcessPackage, + SupportingDocumentsPackage, + WIP_DeviceExamplesPackage, + MTConnectDeviceValidationSuitePackage, + InterfaceInteractionModelPackage, + DeviceInformationModelPackage, + ImportsPackage, + WIP_UseCasesPackage, + DataTypesPackage, + StereotypesPackage, + }; + + #region Packages + private static AssetInformationModelPackage _AssetInformationModelPackage; + /// + /// + /// + public static AssetInformationModelPackage AssetInformationModelPackage => _AssetInformationModelPackage ?? (_AssetInformationModelPackage = new AssetInformationModelPackage()); + + private static FundamentalsPackage _FundamentalsPackage; + /// + /// + /// + public static FundamentalsPackage FundamentalsPackage => _FundamentalsPackage ?? (_FundamentalsPackage = new FundamentalsPackage()); + + private static ObservationInformationModelPackage _ObservationInformationModelPackage; + /// + /// + /// + public static ObservationInformationModelPackage ObservationInformationModelPackage => _ObservationInformationModelPackage ?? (_ObservationInformationModelPackage = new ObservationInformationModelPackage()); + + private static GlossaryPackage _GlossaryPackage; + /// + /// + /// + public static GlossaryPackage GlossaryPackage => _GlossaryPackage ?? (_GlossaryPackage = new GlossaryPackage()); + + private static ReferenceAgentArchitecturePackage _ReferenceAgentArchitecturePackage; + /// + /// + /// + public static ReferenceAgentArchitecturePackage ReferenceAgentArchitecturePackage => _ReferenceAgentArchitecturePackage ?? (_ReferenceAgentArchitecturePackage = new ReferenceAgentArchitecturePackage()); + + private static DevelopmentProcessPackage _DevelopmentProcessPackage; + /// + /// + /// + public static DevelopmentProcessPackage DevelopmentProcessPackage => _DevelopmentProcessPackage ?? (_DevelopmentProcessPackage = new DevelopmentProcessPackage()); + + private static SupportingDocumentsPackage _SupportingDocumentsPackage; + /// + /// + /// + public static SupportingDocumentsPackage SupportingDocumentsPackage => _SupportingDocumentsPackage ?? (_SupportingDocumentsPackage = new SupportingDocumentsPackage()); + + private static WIP_DeviceExamplesPackage _WIP_DeviceExamplesPackage; + /// + /// + /// + public static WIP_DeviceExamplesPackage WIP_DeviceExamplesPackage => _WIP_DeviceExamplesPackage ?? (_WIP_DeviceExamplesPackage = new WIP_DeviceExamplesPackage()); + + private static MTConnectDeviceValidationSuitePackage _MTConnectDeviceValidationSuitePackage; + /// + /// + /// + public static MTConnectDeviceValidationSuitePackage MTConnectDeviceValidationSuitePackage => _MTConnectDeviceValidationSuitePackage ?? (_MTConnectDeviceValidationSuitePackage = new MTConnectDeviceValidationSuitePackage()); + + private static InterfaceInteractionModelPackage _InterfaceInteractionModelPackage; + /// + /// + /// + public static InterfaceInteractionModelPackage InterfaceInteractionModelPackage => _InterfaceInteractionModelPackage ?? (_InterfaceInteractionModelPackage = new InterfaceInteractionModelPackage()); + + private static DeviceInformationModelPackage _DeviceInformationModelPackage; + /// + /// + /// + public static DeviceInformationModelPackage DeviceInformationModelPackage => _DeviceInformationModelPackage ?? (_DeviceInformationModelPackage = new DeviceInformationModelPackage()); + + private static ImportsPackage _ImportsPackage; + /// + /// + /// + public static ImportsPackage ImportsPackage => _ImportsPackage ?? (_ImportsPackage = new ImportsPackage()); + + private static WIP_UseCasesPackage _WIP_UseCasesPackage; + /// + /// + /// + public static WIP_UseCasesPackage WIP_UseCasesPackage => _WIP_UseCasesPackage ?? (_WIP_UseCasesPackage = new WIP_UseCasesPackage()); + + private static DataTypesPackage _DataTypesPackage; + /// + /// + /// + public static DataTypesPackage DataTypesPackage => _DataTypesPackage ?? (_DataTypesPackage = new DataTypesPackage()); + + private static StereotypesPackage _StereotypesPackage; + /// + /// + /// + public static StereotypesPackage StereotypesPackage => _StereotypesPackage ?? (_StereotypesPackage = new StereotypesPackage()); + + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/ComponentConfigurationParameters.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/ComponentConfigurationParameters.cs new file mode 100644 index 00000000..d1822bd6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/ComponentConfigurationParameters.cs @@ -0,0 +1,84 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.AssetInformationModel.ComponentConfigurationParameters; + +namespace Mtconnect.AssetInformationModel +{ + /// This section provides semantic information for the ComponentConfigurationParameters model.

![ComponentConfigurationParameters](figures/ComponentConfigurationParameters.png "ComponentConfigurationParameters"){: width="0.8"}



+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ComponentConfigurationParametersPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1678197141009_35817_17749"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1678197141009_35817_17749"; + /// Constant value for + public const string NAME = "Component Configuration Parameters"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(ComponentConfigurationParameters)}} model. + +![ComponentConfigurationParameters](figures/ComponentConfigurationParameters.png ""ComponentConfigurationParameters""){: width=""0.8""} + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + ComponentConfigurationParametersClass, + ParameterSetClass, + ParameterClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.ComponentConfigurationParametersClass _ComponentConfigurationParametersClass; + /// + /// + /// + public Package.ComponentConfigurationParametersClass ComponentConfigurationParametersClass => _ComponentConfigurationParametersClass ?? (_ComponentConfigurationParametersClass = new Package.ComponentConfigurationParametersClass()); + + private Package.ParameterSetClass _ParameterSetClass; + /// + /// + /// + public Package.ParameterSetClass ParameterSetClass => _ParameterSetClass ?? (_ParameterSetClass = new Package.ParameterSetClass()); + + private Package.ParameterClass _ParameterClass; + /// + /// + /// + public Package.ParameterClass ParameterClass => _ParameterClass ?? (_ParameterClass = new Package.ParameterClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/CuttingTool.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/CuttingTool.cs new file mode 100644 index 00000000..ff562f9f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/CuttingTool.cs @@ -0,0 +1,139 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.AssetInformationModel.CuttingTool; + +namespace Mtconnect.AssetInformationModel +{ + /// This section provides semantic information for the CuttingTool and CuttingToolArchetype models.

![CuttingTool](figures/CuttingTool.png "CuttingTool"){: width="0.8"}

> Note: See CuttingTool Schema Diagrams for XML schema.



Cutting Tool Asset Information Model

There are two information models used to represent a cutting tool, CuttingToolArchetype and CuttingTool. The CuttingToolArchetype represents the static cutting tool geometries and nominal values as one would expect from a tool catalog and the CuttingTool represents the use or application of the tool on the shop floor with actual measured values and process data. In Version 1.3.0 of the MTConnect Standard it was decided to separate out these two concerns since not all pieces of equipment will have access to both sets of information. In this way, a generic definition of the cutting tool can coexist with a specific assembly information model with minimal redundancy of data.

MTConnect Standard will adopt the ISO 13399 structure when formulating the vocabulary for Cutting Tool geometries and structure to be represented in the CuttingToolArchetype. The nominal values provided in the CuttingToolLifeCycle section are only concerned with two aspects of the Cutting Tool; the Cutting Tool and the cutting item. The tool item, Adaptive Item, and Assembly Item will only be covered in the CuttingToolDefinition section of this document since this section contains the full ISO 13399 information about a Cutting Tool.

![Cutting Tool Parts](figures/Cutting%20Tool%20Parts.png "Cutting Tool Parts"){: width="0.8"}

The {{figure(Cutting Tool Parts)}} illustrates the parts of a Cutting Tool. The Cutting Tool is the aggregate of all the components and the cutting item is the part of the tool that removes the material from the workpiece. These are the primary focus of the MTConnect Standard.

![Cutting Tool Composition](figures/Cutting%20Tool%20Composition.png "Cutting Tool Composition"){: width="0.8"}

{{figure(Cutting Tool Composition)}} provides another view of the composition of a Cutting Tool. The Adaptive Items and tool items will be used for measurements, but will not be modeled as separate entities. When we are referencing the Cutting Tool we are referring to the entirety of the assembly and when we provide data regarding the cutting item we are referencing each individual item as illustrated on the left of the previous diagram.

![Cutting Tool, Tool Item, and Cutting Item](figures/Cutting%20Tool,%20Tool%20Item,%20and%20Cutting%20Item.png "Cutting Tool, Tool Item, and Cutting Item"){: width="0.8"}

![Cutting Tool, Tool Item, and Cutting Item 2](figures/Cutting%20Tool,%20Tool%20Item,%20and%20Cutting%20Item%202.png "Cutting Tool, Tool Item, and Cutting Item 2"){: width="0.8"}


{{figure(Cutting Tool, Tool Item, and Cutting Item)}} and {{figure(Cutting Tool, Tool Item, and Cutting Item 2)}} further illustrates the components of the Cutting Tool. As we compose the tool item, cutting item, Adaptive Item, we get a Cutting Tool. The tool item, Adaptive Item, and Assembly Item will only be in the CuttingToolDefinition section that will contain the full ISO 13399 information. These figures also use the ISO 13399 codes for each of the measurements. These codes will be translated into the MTConnect Standard vocabulary as illustrated below. The measurements will have a maximum, minimum, and nominal value representing the tolerance of allowable values for this dimension.

The MTConnect Standard will not define the entire geometry of the Cutting Tool, but will provide the information necessary to use the tool in the manufacturing process. Additional information can be added to the definition of the Cutting Tool by means of schema extensions.

Additional diagrams will reference these dimensions by their codes that will be defined in the measurement tables. The codes are consistent with the codes used in ISO 13399 and have been standardized. MTConnect Standard will use the full text name for clarity in the response documents.







+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class CuttingToolPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_E48B3DBE_1F88_44a2_A30D_869E9C800DEB"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_E48B3DBE_1F88_44a2_A30D_869E9C800DEB"; + /// Constant value for + public const string NAME = "Cutting Tool"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(CuttingTool)}} and {{block(CuttingToolArchetype)}} models. + +![CuttingTool](figures/CuttingTool.png ""CuttingTool""){: width=""0.8""} + +> Note: See {{sect(CuttingTool Schema Diagrams)}} for XML schema. + + Cutting Tool Asset Information Model There are two {{termplural(information model)}} used to represent a cutting tool, {{block(CuttingToolArchetype)}} and {{block(CuttingTool)}}. The {{block(CuttingToolArchetype)}} represents the static cutting tool geometries and nominal values as one would expect from a tool catalog and the {{block(CuttingTool)}} represents the use or application of the tool on the shop floor with actual measured values and process data. In Version 1.3.0 of the MTConnect Standard it was decided to separate out these two concerns since not all pieces of equipment will have access to both sets of information. In this way, a generic definition of the cutting tool can coexist with a specific assembly {{term(information model)}} with minimal redundancy of data. + +MTConnect Standard will adopt the ISO 13399 structure when formulating the vocabulary for Cutting Tool geometries and structure to be represented in the {{block(CuttingToolArchetype)}}. The nominal values provided in the {{block(CuttingToolLifeCycle)}} section are only concerned with two aspects of the Cutting Tool; the Cutting Tool and the cutting item. The tool item, Adaptive Item, and Assembly Item will only be covered in the {{block(CuttingToolDefinition)}} section of this document since this section contains the full ISO 13399 information about a Cutting Tool. + +![Cutting Tool Parts](figures/Cutting%20Tool%20Parts.png ""Cutting Tool Parts""){: width=""0.8""} + +The {{figure(Cutting Tool Parts)}} illustrates the parts of a Cutting Tool. The Cutting Tool is the aggregate of all the components and the cutting item is the part of the tool that removes the material from the workpiece. These are the primary focus of the MTConnect Standard. + +![Cutting Tool Composition](figures/Cutting%20Tool%20Composition.png ""Cutting Tool Composition""){: width=""0.8""} + +{{figure(Cutting Tool Composition)}} provides another view of the composition of a Cutting Tool. The Adaptive Items and tool items will be used for measurements, but will not be modeled as separate entities. When we are referencing the Cutting Tool we are referring to the entirety of the assembly and when we provide data regarding the cutting item we are referencing each individual item as illustrated on the left of the previous diagram. + +![Cutting Tool, Tool Item, and Cutting Item](figures/Cutting%20Tool,%20Tool%20Item,%20and%20Cutting%20Item.png ""Cutting Tool, Tool Item, and Cutting Item""){: width=""0.8""} + +![Cutting Tool, Tool Item, and Cutting Item 2](figures/Cutting%20Tool,%20Tool%20Item,%20and%20Cutting%20Item%202.png ""Cutting Tool, Tool Item, and Cutting Item 2""){: width=""0.8""} + + +{{figure(Cutting Tool, Tool Item, and Cutting Item)}} and {{figure(Cutting Tool, Tool Item, and Cutting Item 2)}} further illustrates the components of the Cutting Tool. As we compose the tool item, cutting item, Adaptive Item, we get a Cutting Tool. The tool item, Adaptive Item, and Assembly Item will only be in the {{block(CuttingToolDefinition)}} section that will contain the full ISO 13399 information. These figures also use the ISO 13399 codes for each of the measurements. These codes will be translated into the MTConnect Standard vocabulary as illustrated below. The measurements will have a maximum, minimum, and nominal value representing the tolerance of allowable values for this dimension. + +The MTConnect Standard will not define the entire geometry of the Cutting Tool, but will provide the information necessary to use the tool in the manufacturing process. Additional information can be added to the definition of the Cutting Tool by means of schema extensions. + +Additional diagrams will reference these dimensions by their codes that will be defined in the measurement tables. The codes are consistent with the codes used in ISO 13399 and have been standardized. MTConnect Standard will use the full text name for clarity in the {{termplural(response document)}}. + + + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + CuttingItemPackage, + CuttingToolMeasurementSubtypesPackage, + CuttingToolLifeCyclePackage, + }; + + /// + public IClass[] Classes => new IClass[] { + CuttingToolClass, + CuttingToolArchetypeClass, + CuttingToolArchetypeReferenceClass, + CuttingToolDefinitionClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.CuttingItemPackage _CuttingItemPackage; + /// + /// + /// + public Package.CuttingItemPackage CuttingItemPackage => _CuttingItemPackage ?? (_CuttingItemPackage = new Package.CuttingItemPackage()); + + private Package.CuttingToolMeasurementSubtypesPackage _CuttingToolMeasurementSubtypesPackage; + /// + /// + /// + public Package.CuttingToolMeasurementSubtypesPackage CuttingToolMeasurementSubtypesPackage => _CuttingToolMeasurementSubtypesPackage ?? (_CuttingToolMeasurementSubtypesPackage = new Package.CuttingToolMeasurementSubtypesPackage()); + + private Package.CuttingToolLifeCyclePackage _CuttingToolLifeCyclePackage; + /// + /// + /// + public Package.CuttingToolLifeCyclePackage CuttingToolLifeCyclePackage => _CuttingToolLifeCyclePackage ?? (_CuttingToolLifeCyclePackage = new Package.CuttingToolLifeCyclePackage()); + + #endregion + + #region Classes + private Package.CuttingToolClass _CuttingToolClass; + /// + /// + /// + public Package.CuttingToolClass CuttingToolClass => _CuttingToolClass ?? (_CuttingToolClass = new Package.CuttingToolClass()); + + private Package.CuttingToolArchetypeClass _CuttingToolArchetypeClass; + /// + /// + /// + public Package.CuttingToolArchetypeClass CuttingToolArchetypeClass => _CuttingToolArchetypeClass ?? (_CuttingToolArchetypeClass = new Package.CuttingToolArchetypeClass()); + + private Package.CuttingToolArchetypeReferenceClass _CuttingToolArchetypeReferenceClass; + /// + /// + /// + public Package.CuttingToolArchetypeReferenceClass CuttingToolArchetypeReferenceClass => _CuttingToolArchetypeReferenceClass ?? (_CuttingToolArchetypeReferenceClass = new Package.CuttingToolArchetypeReferenceClass()); + + private Package.CuttingToolDefinitionClass _CuttingToolDefinitionClass; + /// + /// + /// + public Package.CuttingToolDefinitionClass CuttingToolDefinitionClass => _CuttingToolDefinitionClass ?? (_CuttingToolDefinitionClass = new Package.CuttingToolDefinitionClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/Files.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/Files.cs new file mode 100644 index 00000000..ed0bb443 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/Files.cs @@ -0,0 +1,117 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.AssetInformationModel.Files; + +namespace Mtconnect.AssetInformationModel +{ + /// This section provides semantic information for the File model.

![Files](figures/Files.png "Files"){: width="0.8"}

> Note: See File Schema Diagrams for XML schema.



Files Asset Information Model

Manufacturing processes require various documents, programs, setup sheets, and digital media available at the device for a given process. The File and FileArchetype Assets provide a mechanism to communicate specific "Files" that are relevant to a process where the media is located on a server and represented by a Universal Resource Locator (URL).

The FileArchetype contains metadata common to all File Assets for a certain purpose. The File Asset references the file specific to a given device or set of devices. The File Asset does not hold the contents of the file, it contains a reference to the location (URL) used to access the information. The metadata associated with the File provides semantic information about the representation (mime-type) and the application associated with the File. The application of the file is an extensible controlled vocabulary with common manufacturing uses provided.




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class FilesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1589825226627_349226_496"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1589825226627_349226_496"; + /// Constant value for + public const string NAME = "Files"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(File)}} model. + +![Files](figures/Files.png ""Files""){: width=""0.8""} + +> Note: See {{sect(File Schema Diagrams)}} for XML schema. + + Files Asset Information Model Manufacturing processes require various documents, programs, setup sheets, and digital media available at the device for a given process. The {{block(File)}} and {{block(FileArchetype)}} {{block(Asset)}}s provide a mechanism to communicate specific ""Files"" that are relevant to a process where the media is located on a server and represented by a Universal Resource Locator (URL). + +The {{block(FileArchetype)}} contains metadata common to all {{block(File)}} {{block(Asset)}}s for a certain purpose. The {{block(File)}} {{block(Asset)}} references the file specific to a given device or set of devices. The {{block(File)}} {{block(Asset)}} does not hold the contents of the file, it contains a reference to the location (URL) used to access the information. The metadata associated with the {{block(File)}} provides semantic information about the representation (mime-type) and the application associated with the {{block(File)}}. The application of the file is an extensible controlled vocabulary with common manufacturing uses provided. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + AbstractFileClass, + FileClass, + FileArchetypeClass, + FilePropertyClass, + FileCommentClass, + FileLocationClass, + DestinationClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.AbstractFileClass _AbstractFileClass; + /// + /// + /// + public Package.AbstractFileClass AbstractFileClass => _AbstractFileClass ?? (_AbstractFileClass = new Package.AbstractFileClass()); + + private Package.FileClass _FileClass; + /// + /// + /// + public Package.FileClass FileClass => _FileClass ?? (_FileClass = new Package.FileClass()); + + private Package.FileArchetypeClass _FileArchetypeClass; + /// + /// + /// + public Package.FileArchetypeClass FileArchetypeClass => _FileArchetypeClass ?? (_FileArchetypeClass = new Package.FileArchetypeClass()); + + private Package.FilePropertyClass _FilePropertyClass; + /// + /// + /// + public Package.FilePropertyClass FilePropertyClass => _FilePropertyClass ?? (_FilePropertyClass = new Package.FilePropertyClass()); + + private Package.FileCommentClass _FileCommentClass; + /// + /// + /// + public Package.FileCommentClass FileCommentClass => _FileCommentClass ?? (_FileCommentClass = new Package.FileCommentClass()); + + private Package.FileLocationClass _FileLocationClass; + /// + /// + /// + public Package.FileLocationClass FileLocationClass => _FileLocationClass ?? (_FileLocationClass = new Package.FileLocationClass()); + + private Package.DestinationClass _DestinationClass; + /// + /// + /// + public Package.DestinationClass DestinationClass => _DestinationClass ?? (_DestinationClass = new Package.DestinationClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/QIF.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/QIF.cs new file mode 100644 index 00000000..f2c132f0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/QIF.cs @@ -0,0 +1,83 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.AssetInformationModel.QIF; + +namespace Mtconnect.AssetInformationModel +{ + /// This section provides semantic information for the QIFDocumentWrapper model.

![QIFDocumentWrapper](figures/QIFDocumentWrapper.png "QIFDocumentWrapper"){: width="0.8"}

> Note: See QIFDocumentWrapper Schema Diagrams for XML schema.


QIF Asset Information Model

The QIF is an American National Standards Institute (ANSI) accredited standard developed by the Digital Metrology Standards Consortium (DMSC) standards development organization. The DMSC is an A-liaison to the International Standards Organization (ISO) Technical Committee (TC) 184. QIF addresses the needs of the metrology community to have a semantic information model for the exchange of metrology data throughout the verification lifecycle from product design to execution, analysis, and reporting.

The MTConnect QIF Asset Information Model provides a wrapper around a QIF document (i.e., a dataset conforming to the QIF Information model) in its native XML representation. The MTConnect standard does not alter or extend the QIF standard and regards the QIF standard as a passthrough.

Information about the QIF standards is at the following location: https://qifstandards.org




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class QIFPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622119427718_488449_1678"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1622119427718_488449_1678"; + /// Constant value for + public const string NAME = "QIF"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(QIFDocumentWrapper)}} model. + +![QIFDocumentWrapper](figures/QIFDocumentWrapper.png ""QIFDocumentWrapper""){: width=""0.8""} + +> Note: See {{sect(QIFDocumentWrapper Schema Diagrams)}} for XML schema. + QIF Asset Information Model The {{term(QIF)}} is an American National Standards Institute (ANSI) accredited standard developed by the Digital Metrology Standards Consortium (DMSC) standards development organization. The DMSC is an A-liaison to the International Standards Organization (ISO) Technical Committee (TC) 184. {{term(QIF)}} addresses the needs of the metrology community to have a semantic information model for the exchange of metrology data throughout the verification lifecycle from product design to execution, analysis, and reporting. + +The MTConnect {{term(QIF)}} {{term(Asset Information Model)}} provides a wrapper around a {{term(QIF)}} document (i.e., a dataset conforming to the QIF Information model) in its native XML representation. The MTConnect standard does not alter or extend the {{term(QIF)}} standard and regards the {{term(QIF)}} standard as a passthrough. + +Information about the {{term(QIF)}} standards is at the following location: https://qifstandards.org +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + QIFDocumentClass, + QIFDocumentWrapperClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.QIFDocumentClass _QIFDocumentClass; + /// + /// + /// + public Package.QIFDocumentClass QIFDocumentClass => _QIFDocumentClass ?? (_QIFDocumentClass = new Package.QIFDocumentClass()); + + private Package.QIFDocumentWrapperClass _QIFDocumentWrapperClass; + /// + /// + /// + public Package.QIFDocumentWrapperClass QIFDocumentWrapperClass => _QIFDocumentWrapperClass ?? (_QIFDocumentWrapperClass = new Package.QIFDocumentWrapperClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/RawMaterial.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/RawMaterial.cs new file mode 100644 index 00000000..bb5d2988 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/AssetInformationModel/RawMaterial.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.AssetInformationModel.RawMaterial; + +namespace Mtconnect.AssetInformationModel +{ + /// This section provides semantic information for the RawMaterial model.

![RawMaterial](figures/RawMaterial.png "RawMaterial"){: width="0.5"}

> Note: See RawMaterial Schema Diagrams for XML schema.


Raw Material Asset Information Model

Raw material represents the source of material for immediate use and sources of material that may or may not be used during the manufacturing process.

The RawMaterial Asset holds the references to the content stored in the actual RawMaterial container or derived about the RawMaterial by the system during operation.




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class RawMaterialPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1618829862497_960144_123"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1618829862497_960144_123"; + /// Constant value for + public const string NAME = "Raw Material"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(RawMaterial)}} model. + +![RawMaterial](figures/RawMaterial.png ""RawMaterial""){: width=""0.5""} + +> Note: See {{sect(RawMaterial Schema Diagrams)}} for XML schema. + Raw Material Asset Information Model Raw material represents the source of material for immediate use and sources of material that may or may not be used during the manufacturing process. + +The {{block(RawMaterial)}} {{block(Asset)}} holds the references to the content stored in the actual {{block(RawMaterial)}} container or derived about the {{block(RawMaterial)}} by the system during operation. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + RawMaterialClass, + MaterialClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.RawMaterialClass _RawMaterialClass; + /// + /// + /// + public Package.RawMaterialClass RawMaterialClass => _RawMaterialClass ?? (_RawMaterialClass = new Package.RawMaterialClass()); + + private Package.MaterialClass _MaterialClass; + /// + /// + /// + public Package.MaterialClass MaterialClass => _MaterialClass ?? (_MaterialClass = new Package.MaterialClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicAcceleration.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicAcceleration.cs new file mode 100644 index 00000000..6594e863 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicAcceleration.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicAccelerationPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790710_717960_163191"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790710_717960_163191"; + /// Constant value for + public const string NAME = "Basic Acceleration"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicAmountOfSubstance.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicAmountOfSubstance.cs new file mode 100644 index 00000000..3f82e304 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicAmountOfSubstance.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicAmountOfSubstancePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790701_746446_162982"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790701_746446_162982"; + /// Constant value for + public const string NAME = "Basic Amount of Substance"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicAmountOfSubstanceConcentration.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicAmountOfSubstanceConcentration.cs new file mode 100644 index 00000000..fbfa1585 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicAmountOfSubstanceConcentration.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicAmountOfSubstanceConcentrationPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790697_906422_162854"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790697_906422_162854"; + /// Constant value for + public const string NAME = "Basic Amount of Substance Concentration"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicArea.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicArea.cs new file mode 100644 index 00000000..3d9ab596 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicArea.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicAreaPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790705_382351_163072"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790705_382351_163072"; + /// Constant value for + public const string NAME = "Basic Area"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicElectricCurrent.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicElectricCurrent.cs new file mode 100644 index 00000000..17228842 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicElectricCurrent.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicElectricCurrentPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790702_649058_163005"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790702_649058_163005"; + /// Constant value for + public const string NAME = "Basic Electric Current"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicElectricCurrentDensity.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicElectricCurrentDensity.cs new file mode 100644 index 00000000..fe1dc45a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicElectricCurrentDensity.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicElectricCurrentDensityPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790691_45260_162718"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790691_45260_162718"; + /// Constant value for + public const string NAME = "Basic Electric Current Density"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicLength.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicLength.cs new file mode 100644 index 00000000..65d12991 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicLength.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicLengthPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790698_331490_162876"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790698_331490_162876"; + /// Constant value for + public const string NAME = "Basic Length"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicLuminance.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicLuminance.cs new file mode 100644 index 00000000..d9977f3c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicLuminance.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicLuminancePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790710_824663_163207"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790710_824663_163207"; + /// Constant value for + public const string NAME = "Basic Luminance"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicLuminousIntensity.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicLuminousIntensity.cs new file mode 100644 index 00000000..9e63e7dd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicLuminousIntensity.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicLuminousIntensityPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790696_634992_162827"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790696_634992_162827"; + /// Constant value for + public const string NAME = "Basic Luminous Intensity"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicMagneticFieldStrength.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicMagneticFieldStrength.cs new file mode 100644 index 00000000..1883d074 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicMagneticFieldStrength.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicMagneticFieldStrengthPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790700_590856_162930"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790700_590856_162930"; + /// Constant value for + public const string NAME = "Basic Magnetic Field Strength"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicMass.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicMass.cs new file mode 100644 index 00000000..f13e6671 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicMass.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicMassPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790710_210585_163192"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790710_210585_163192"; + /// Constant value for + public const string NAME = "Basic Mass"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicMassDensity.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicMassDensity.cs new file mode 100644 index 00000000..e7a3812b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicMassDensity.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicMassDensityPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790696_245804_162807"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790696_245804_162807"; + /// Constant value for + public const string NAME = "Basic Mass Density"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicSpeedAndVelocity.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicSpeedAndVelocity.cs new file mode 100644 index 00000000..9b32e542 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicSpeedAndVelocity.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicSpeedAndVelocityPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790696_985314_162830"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790696_985314_162830"; + /// Constant value for + public const string NAME = "Basic Speed and Velocity"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicThermodynamicTemperature.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicThermodynamicTemperature.cs new file mode 100644 index 00000000..901ab10a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicThermodynamicTemperature.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicThermodynamicTemperaturePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790698_38973_162860"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790698_38973_162860"; + /// Constant value for + public const string NAME = "Basic Thermodynamic Temperature"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicTime.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicTime.cs new file mode 100644 index 00000000..93a5ade3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicTime.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicTimePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790701_727688_162966"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790701_727688_162966"; + /// Constant value for + public const string NAME = "Basic Time"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicVolume.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicVolume.cs new file mode 100644 index 00000000..04ac169c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/BasicUnits/BasicVolume.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.Imports.UnitImports.BasicUnits +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicVolumePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790700_15924_162934"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790700_15924_162934"; + /// Constant value for + public const string NAME = "Basic Volume"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ComponentTypes/ComponentOrganizerTypes.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ComponentTypes/ComponentOrganizerTypes.cs new file mode 100644 index 00000000..92b99402 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ComponentTypes/ComponentOrganizerTypes.cs @@ -0,0 +1,59 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.DeviceInformationModel.Components.ComponentTypes +{ + /// This section provides semantic information for the types of Component that are used to organize other Component types.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ComponentOrganizerTypesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1629981910583_240995_47"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1629981910583_240995_47"; + /// Constant value for + public const string NAME = "Component Organizer Types"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the types of {{block(Component)}} that are used to {{term(organize)}} other {{block(Component)}} types. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Components/ComponentTypes.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Components/ComponentTypes.cs new file mode 100644 index 00000000..35fd694a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Components/ComponentTypes.cs @@ -0,0 +1,805 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.Components.ComponentTypes; + +namespace Mtconnect.DeviceInformationModel.Components +{ + /// This section provides semantic information for the types of Component.

> Note: In the XML representation, Component entities are defined into two major categories:

> * top level Component entities that organizes the most significant physical or logical functions of a piece of equipment (see Part Properties of Device). They MAY also be used as lower level Component entities; as required. See Component Organizer Types.

> * lower level Component entities composed of the sub-parts of the parent Component to provide more clarity and granularity to the physical or logical structure of the top level Component entities.

This section provides guidance for the most common relationships between Component types. However, all Component types MAY be used in any configuration, as required, to fully describe a piece of equipment.

As described in Components, Component is an abstract entity and will be always realized by a specific Component type.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ComponentTypesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_6BEE6977_1698_498c_87A6_34B5E656F773"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_6BEE6977_1698_498c_87A6_34B5E656F773"; + /// Constant value for + public const string NAME = "Component Types"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the types of {{block(Component)}}. + +> Note: In the {{term(XML)}} representation, {{block(Component)}} entities are defined into two major categories: + +> * {{term(top level)}} {{block(Component)}} entities that {{termplural(organize)}} the most significant physical or logical functions of a piece of equipment (see {{sect(Part Properties of Device)}}). They **MAY** also be used as {{term(lower level)}} {{block(Component)}} entities; as required. See {{package(Component Organizer Types)}}. + +> * {{term(lower level)}} {{block(Component)}} entities composed of the sub-parts of the parent {{block(Component)}} to provide more clarity and granularity to the physical or logical structure of the {{term(top level)}} {{block(Component)}} entities. + +This section provides guidance for the most common relationships between {{block(Component)}} types. However, all {{block(Component)}} types **MAY** be used in any configuration, as required, to fully describe a piece of equipment. + +As described in {{package(Components)}}, {{block(Component)}} is an abstract entity and will be always realized by a specific {{block(Component)}} type. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + ComponentOrganizerTypesPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + ActuatorClass, + AuxiliaryClass, + AxisClass, + BarFeederClass, + ControllerClass, + CoolantClass, + DepositionClass, + DielectricClass, + DoorClass, + ElectricClass, + EnclosureClass, + EndEffectorClass, + EnvironmentalClass, + FeederClass, + HydraulicClass, + LinearClass, + LoaderClass, + LubricationClass, + MaterialClass, + PathClass, + PersonnelClass, + PneumaticClass, + PowerClass, + ProcessPowerClass, + ProtectiveClass, + ResourceClass, + RotaryClass, + SensorClass, + StockClass, + SystemClass, + ToolingDeliveryClass, + WasteDisposalClass, + StructureClass, + LinkClass, + GangToolBarClass, + HeatingClass, + AutomaticToolChangerClass, + ProcessClass, + ToolMagazineClass, + PartOccurrenceClass, + AdapterClass, + ToolRackClass, + TurretClass, + VacuumClass, + CoolingClass, + ProcessOccurrenceClass, + PressureClass, + PartClass, + LockClass, + SpindleClass, + ThermostatClass, + VibrationClass, + ChuckClass, + FanClass, + SpreaderClass, + PulleyClass, + TransferPotClass, + PowerSupplyClass, + DrainClass, + BallscrewClass, + CompressorClass, + ChuteClass, + SwitchClass, + TensionerClass, + WaterClass, + WireClass, + SensingElementClass, + CoolingTowerClass, + RemovalPotClass, + GripperClass, + StagingPotClass, + BrakeClass, + StationClass, + HopperClass, + BeltClass, + TransferArmClass, + ReelClass, + FilterClass, + ReturnPotClass, + ChainClass, + AmplifierClass, + VatClass, + ExpiredPotClass, + OilClass, + TableClass, + ChopperClass, + ValveClass, + PotClass, + TransformerClass, + ExposureUnitClass, + TankClass, + EncoderClass, + StorageBatteryClass, + CircuitBreakerClass, + MotorClass, + ExtrusionUnitClass, + GalvanomotorClass, + PumpClass, + ClampClass, + LinearPositionFeedbackClass, + WorkpieceClass, + WorkEnvelopeClass, + FeatureOccurrenceClass, + AirHandlerClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.ComponentOrganizerTypesPackage _ComponentOrganizerTypesPackage; + /// + /// + /// + public Package.ComponentOrganizerTypesPackage ComponentOrganizerTypesPackage => _ComponentOrganizerTypesPackage ?? (_ComponentOrganizerTypesPackage = new Package.ComponentOrganizerTypesPackage()); + + #endregion + + #region Classes + private Package.ActuatorClass _ActuatorClass; + /// + /// + /// + public Package.ActuatorClass ActuatorClass => _ActuatorClass ?? (_ActuatorClass = new Package.ActuatorClass()); + + private Package.AuxiliaryClass _AuxiliaryClass; + /// + /// + /// + public Package.AuxiliaryClass AuxiliaryClass => _AuxiliaryClass ?? (_AuxiliaryClass = new Package.AuxiliaryClass()); + + private Package.AxisClass _AxisClass; + /// + /// + /// + public Package.AxisClass AxisClass => _AxisClass ?? (_AxisClass = new Package.AxisClass()); + + private Package.BarFeederClass _BarFeederClass; + /// + /// + /// + public Package.BarFeederClass BarFeederClass => _BarFeederClass ?? (_BarFeederClass = new Package.BarFeederClass()); + + private Package.ControllerClass _ControllerClass; + /// + /// + /// + public Package.ControllerClass ControllerClass => _ControllerClass ?? (_ControllerClass = new Package.ControllerClass()); + + private Package.CoolantClass _CoolantClass; + /// + /// + /// + public Package.CoolantClass CoolantClass => _CoolantClass ?? (_CoolantClass = new Package.CoolantClass()); + + private Package.DepositionClass _DepositionClass; + /// + /// + /// + public Package.DepositionClass DepositionClass => _DepositionClass ?? (_DepositionClass = new Package.DepositionClass()); + + private Package.DielectricClass _DielectricClass; + /// + /// + /// + public Package.DielectricClass DielectricClass => _DielectricClass ?? (_DielectricClass = new Package.DielectricClass()); + + private Package.DoorClass _DoorClass; + /// + /// + /// + public Package.DoorClass DoorClass => _DoorClass ?? (_DoorClass = new Package.DoorClass()); + + private Package.ElectricClass _ElectricClass; + /// + /// + /// + public Package.ElectricClass ElectricClass => _ElectricClass ?? (_ElectricClass = new Package.ElectricClass()); + + private Package.EnclosureClass _EnclosureClass; + /// + /// + /// + public Package.EnclosureClass EnclosureClass => _EnclosureClass ?? (_EnclosureClass = new Package.EnclosureClass()); + + private Package.EndEffectorClass _EndEffectorClass; + /// + /// + /// + public Package.EndEffectorClass EndEffectorClass => _EndEffectorClass ?? (_EndEffectorClass = new Package.EndEffectorClass()); + + private Package.EnvironmentalClass _EnvironmentalClass; + /// + /// + /// + public Package.EnvironmentalClass EnvironmentalClass => _EnvironmentalClass ?? (_EnvironmentalClass = new Package.EnvironmentalClass()); + + private Package.FeederClass _FeederClass; + /// + /// + /// + public Package.FeederClass FeederClass => _FeederClass ?? (_FeederClass = new Package.FeederClass()); + + private Package.HydraulicClass _HydraulicClass; + /// + /// + /// + public Package.HydraulicClass HydraulicClass => _HydraulicClass ?? (_HydraulicClass = new Package.HydraulicClass()); + + private Package.LinearClass _LinearClass; + /// + /// + /// + public Package.LinearClass LinearClass => _LinearClass ?? (_LinearClass = new Package.LinearClass()); + + private Package.LoaderClass _LoaderClass; + /// + /// + /// + public Package.LoaderClass LoaderClass => _LoaderClass ?? (_LoaderClass = new Package.LoaderClass()); + + private Package.LubricationClass _LubricationClass; + /// + /// + /// + public Package.LubricationClass LubricationClass => _LubricationClass ?? (_LubricationClass = new Package.LubricationClass()); + + private Package.MaterialClass _MaterialClass; + /// + /// + /// + public Package.MaterialClass MaterialClass => _MaterialClass ?? (_MaterialClass = new Package.MaterialClass()); + + private Package.PathClass _PathClass; + /// + /// + /// + public Package.PathClass PathClass => _PathClass ?? (_PathClass = new Package.PathClass()); + + private Package.PersonnelClass _PersonnelClass; + /// + /// + /// + public Package.PersonnelClass PersonnelClass => _PersonnelClass ?? (_PersonnelClass = new Package.PersonnelClass()); + + private Package.PneumaticClass _PneumaticClass; + /// + /// + /// + public Package.PneumaticClass PneumaticClass => _PneumaticClass ?? (_PneumaticClass = new Package.PneumaticClass()); + + private Package.PowerClass _PowerClass; + /// + /// + /// + public Package.PowerClass PowerClass => _PowerClass ?? (_PowerClass = new Package.PowerClass()); + + private Package.ProcessPowerClass _ProcessPowerClass; + /// + /// + /// + public Package.ProcessPowerClass ProcessPowerClass => _ProcessPowerClass ?? (_ProcessPowerClass = new Package.ProcessPowerClass()); + + private Package.ProtectiveClass _ProtectiveClass; + /// + /// + /// + public Package.ProtectiveClass ProtectiveClass => _ProtectiveClass ?? (_ProtectiveClass = new Package.ProtectiveClass()); + + private Package.ResourceClass _ResourceClass; + /// + /// + /// + public Package.ResourceClass ResourceClass => _ResourceClass ?? (_ResourceClass = new Package.ResourceClass()); + + private Package.RotaryClass _RotaryClass; + /// + /// + /// + public Package.RotaryClass RotaryClass => _RotaryClass ?? (_RotaryClass = new Package.RotaryClass()); + + private Package.SensorClass _SensorClass; + /// + /// + /// + public Package.SensorClass SensorClass => _SensorClass ?? (_SensorClass = new Package.SensorClass()); + + private Package.StockClass _StockClass; + /// + /// + /// + public Package.StockClass StockClass => _StockClass ?? (_StockClass = new Package.StockClass()); + + private Package.SystemClass _SystemClass; + /// + /// + /// + public Package.SystemClass SystemClass => _SystemClass ?? (_SystemClass = new Package.SystemClass()); + + private Package.ToolingDeliveryClass _ToolingDeliveryClass; + /// + /// + /// + public Package.ToolingDeliveryClass ToolingDeliveryClass => _ToolingDeliveryClass ?? (_ToolingDeliveryClass = new Package.ToolingDeliveryClass()); + + private Package.WasteDisposalClass _WasteDisposalClass; + /// + /// + /// + public Package.WasteDisposalClass WasteDisposalClass => _WasteDisposalClass ?? (_WasteDisposalClass = new Package.WasteDisposalClass()); + + private Package.StructureClass _StructureClass; + /// + /// + /// + public Package.StructureClass StructureClass => _StructureClass ?? (_StructureClass = new Package.StructureClass()); + + private Package.LinkClass _LinkClass; + /// + /// + /// + public Package.LinkClass LinkClass => _LinkClass ?? (_LinkClass = new Package.LinkClass()); + + private Package.GangToolBarClass _GangToolBarClass; + /// + /// + /// + public Package.GangToolBarClass GangToolBarClass => _GangToolBarClass ?? (_GangToolBarClass = new Package.GangToolBarClass()); + + private Package.HeatingClass _HeatingClass; + /// + /// + /// + public Package.HeatingClass HeatingClass => _HeatingClass ?? (_HeatingClass = new Package.HeatingClass()); + + private Package.AutomaticToolChangerClass _AutomaticToolChangerClass; + /// + /// + /// + public Package.AutomaticToolChangerClass AutomaticToolChangerClass => _AutomaticToolChangerClass ?? (_AutomaticToolChangerClass = new Package.AutomaticToolChangerClass()); + + private Package.ProcessClass _ProcessClass; + /// + /// + /// + public Package.ProcessClass ProcessClass => _ProcessClass ?? (_ProcessClass = new Package.ProcessClass()); + + private Package.ToolMagazineClass _ToolMagazineClass; + /// + /// + /// + public Package.ToolMagazineClass ToolMagazineClass => _ToolMagazineClass ?? (_ToolMagazineClass = new Package.ToolMagazineClass()); + + private Package.PartOccurrenceClass _PartOccurrenceClass; + /// + /// + /// + public Package.PartOccurrenceClass PartOccurrenceClass => _PartOccurrenceClass ?? (_PartOccurrenceClass = new Package.PartOccurrenceClass()); + + private Package.AdapterClass _AdapterClass; + /// + /// + /// + public Package.AdapterClass AdapterClass => _AdapterClass ?? (_AdapterClass = new Package.AdapterClass()); + + private Package.ToolRackClass _ToolRackClass; + /// + /// + /// + public Package.ToolRackClass ToolRackClass => _ToolRackClass ?? (_ToolRackClass = new Package.ToolRackClass()); + + private Package.TurretClass _TurretClass; + /// + /// + /// + public Package.TurretClass TurretClass => _TurretClass ?? (_TurretClass = new Package.TurretClass()); + + private Package.VacuumClass _VacuumClass; + /// + /// + /// + public Package.VacuumClass VacuumClass => _VacuumClass ?? (_VacuumClass = new Package.VacuumClass()); + + private Package.CoolingClass _CoolingClass; + /// + /// + /// + public Package.CoolingClass CoolingClass => _CoolingClass ?? (_CoolingClass = new Package.CoolingClass()); + + private Package.ProcessOccurrenceClass _ProcessOccurrenceClass; + /// + /// + /// + public Package.ProcessOccurrenceClass ProcessOccurrenceClass => _ProcessOccurrenceClass ?? (_ProcessOccurrenceClass = new Package.ProcessOccurrenceClass()); + + private Package.PressureClass _PressureClass; + /// + /// + /// + public Package.PressureClass PressureClass => _PressureClass ?? (_PressureClass = new Package.PressureClass()); + + private Package.PartClass _PartClass; + /// + /// + /// + public Package.PartClass PartClass => _PartClass ?? (_PartClass = new Package.PartClass()); + + private Package.LockClass _LockClass; + /// + /// + /// + public Package.LockClass LockClass => _LockClass ?? (_LockClass = new Package.LockClass()); + + private Package.SpindleClass _SpindleClass; + /// + /// + /// + public Package.SpindleClass SpindleClass => _SpindleClass ?? (_SpindleClass = new Package.SpindleClass()); + + private Package.ThermostatClass _ThermostatClass; + /// + /// + /// + public Package.ThermostatClass ThermostatClass => _ThermostatClass ?? (_ThermostatClass = new Package.ThermostatClass()); + + private Package.VibrationClass _VibrationClass; + /// + /// + /// + public Package.VibrationClass VibrationClass => _VibrationClass ?? (_VibrationClass = new Package.VibrationClass()); + + private Package.ChuckClass _ChuckClass; + /// + /// + /// + public Package.ChuckClass ChuckClass => _ChuckClass ?? (_ChuckClass = new Package.ChuckClass()); + + private Package.FanClass _FanClass; + /// + /// + /// + public Package.FanClass FanClass => _FanClass ?? (_FanClass = new Package.FanClass()); + + private Package.SpreaderClass _SpreaderClass; + /// + /// + /// + public Package.SpreaderClass SpreaderClass => _SpreaderClass ?? (_SpreaderClass = new Package.SpreaderClass()); + + private Package.PulleyClass _PulleyClass; + /// + /// + /// + public Package.PulleyClass PulleyClass => _PulleyClass ?? (_PulleyClass = new Package.PulleyClass()); + + private Package.TransferPotClass _TransferPotClass; + /// + /// + /// + public Package.TransferPotClass TransferPotClass => _TransferPotClass ?? (_TransferPotClass = new Package.TransferPotClass()); + + private Package.PowerSupplyClass _PowerSupplyClass; + /// + /// + /// + public Package.PowerSupplyClass PowerSupplyClass => _PowerSupplyClass ?? (_PowerSupplyClass = new Package.PowerSupplyClass()); + + private Package.DrainClass _DrainClass; + /// + /// + /// + public Package.DrainClass DrainClass => _DrainClass ?? (_DrainClass = new Package.DrainClass()); + + private Package.BallscrewClass _BallscrewClass; + /// + /// + /// + public Package.BallscrewClass BallscrewClass => _BallscrewClass ?? (_BallscrewClass = new Package.BallscrewClass()); + + private Package.CompressorClass _CompressorClass; + /// + /// + /// + public Package.CompressorClass CompressorClass => _CompressorClass ?? (_CompressorClass = new Package.CompressorClass()); + + private Package.ChuteClass _ChuteClass; + /// + /// + /// + public Package.ChuteClass ChuteClass => _ChuteClass ?? (_ChuteClass = new Package.ChuteClass()); + + private Package.SwitchClass _SwitchClass; + /// + /// + /// + public Package.SwitchClass SwitchClass => _SwitchClass ?? (_SwitchClass = new Package.SwitchClass()); + + private Package.TensionerClass _TensionerClass; + /// + /// + /// + public Package.TensionerClass TensionerClass => _TensionerClass ?? (_TensionerClass = new Package.TensionerClass()); + + private Package.WaterClass _WaterClass; + /// + /// + /// + public Package.WaterClass WaterClass => _WaterClass ?? (_WaterClass = new Package.WaterClass()); + + private Package.WireClass _WireClass; + /// + /// + /// + public Package.WireClass WireClass => _WireClass ?? (_WireClass = new Package.WireClass()); + + private Package.SensingElementClass _SensingElementClass; + /// + /// + /// + public Package.SensingElementClass SensingElementClass => _SensingElementClass ?? (_SensingElementClass = new Package.SensingElementClass()); + + private Package.CoolingTowerClass _CoolingTowerClass; + /// + /// + /// + public Package.CoolingTowerClass CoolingTowerClass => _CoolingTowerClass ?? (_CoolingTowerClass = new Package.CoolingTowerClass()); + + private Package.RemovalPotClass _RemovalPotClass; + /// + /// + /// + public Package.RemovalPotClass RemovalPotClass => _RemovalPotClass ?? (_RemovalPotClass = new Package.RemovalPotClass()); + + private Package.GripperClass _GripperClass; + /// + /// + /// + public Package.GripperClass GripperClass => _GripperClass ?? (_GripperClass = new Package.GripperClass()); + + private Package.StagingPotClass _StagingPotClass; + /// + /// + /// + public Package.StagingPotClass StagingPotClass => _StagingPotClass ?? (_StagingPotClass = new Package.StagingPotClass()); + + private Package.BrakeClass _BrakeClass; + /// + /// + /// + public Package.BrakeClass BrakeClass => _BrakeClass ?? (_BrakeClass = new Package.BrakeClass()); + + private Package.StationClass _StationClass; + /// + /// + /// + public Package.StationClass StationClass => _StationClass ?? (_StationClass = new Package.StationClass()); + + private Package.HopperClass _HopperClass; + /// + /// + /// + public Package.HopperClass HopperClass => _HopperClass ?? (_HopperClass = new Package.HopperClass()); + + private Package.BeltClass _BeltClass; + /// + /// + /// + public Package.BeltClass BeltClass => _BeltClass ?? (_BeltClass = new Package.BeltClass()); + + private Package.TransferArmClass _TransferArmClass; + /// + /// + /// + public Package.TransferArmClass TransferArmClass => _TransferArmClass ?? (_TransferArmClass = new Package.TransferArmClass()); + + private Package.ReelClass _ReelClass; + /// + /// + /// + public Package.ReelClass ReelClass => _ReelClass ?? (_ReelClass = new Package.ReelClass()); + + private Package.FilterClass _FilterClass; + /// + /// + /// + public Package.FilterClass FilterClass => _FilterClass ?? (_FilterClass = new Package.FilterClass()); + + private Package.ReturnPotClass _ReturnPotClass; + /// + /// + /// + public Package.ReturnPotClass ReturnPotClass => _ReturnPotClass ?? (_ReturnPotClass = new Package.ReturnPotClass()); + + private Package.ChainClass _ChainClass; + /// + /// + /// + public Package.ChainClass ChainClass => _ChainClass ?? (_ChainClass = new Package.ChainClass()); + + private Package.AmplifierClass _AmplifierClass; + /// + /// + /// + public Package.AmplifierClass AmplifierClass => _AmplifierClass ?? (_AmplifierClass = new Package.AmplifierClass()); + + private Package.VatClass _VatClass; + /// + /// + /// + public Package.VatClass VatClass => _VatClass ?? (_VatClass = new Package.VatClass()); + + private Package.ExpiredPotClass _ExpiredPotClass; + /// + /// + /// + public Package.ExpiredPotClass ExpiredPotClass => _ExpiredPotClass ?? (_ExpiredPotClass = new Package.ExpiredPotClass()); + + private Package.OilClass _OilClass; + /// + /// + /// + public Package.OilClass OilClass => _OilClass ?? (_OilClass = new Package.OilClass()); + + private Package.TableClass _TableClass; + /// + /// + /// + public Package.TableClass TableClass => _TableClass ?? (_TableClass = new Package.TableClass()); + + private Package.ChopperClass _ChopperClass; + /// + /// + /// + public Package.ChopperClass ChopperClass => _ChopperClass ?? (_ChopperClass = new Package.ChopperClass()); + + private Package.ValveClass _ValveClass; + /// + /// + /// + public Package.ValveClass ValveClass => _ValveClass ?? (_ValveClass = new Package.ValveClass()); + + private Package.PotClass _PotClass; + /// + /// + /// + public Package.PotClass PotClass => _PotClass ?? (_PotClass = new Package.PotClass()); + + private Package.TransformerClass _TransformerClass; + /// + /// + /// + public Package.TransformerClass TransformerClass => _TransformerClass ?? (_TransformerClass = new Package.TransformerClass()); + + private Package.ExposureUnitClass _ExposureUnitClass; + /// + /// + /// + public Package.ExposureUnitClass ExposureUnitClass => _ExposureUnitClass ?? (_ExposureUnitClass = new Package.ExposureUnitClass()); + + private Package.TankClass _TankClass; + /// + /// + /// + public Package.TankClass TankClass => _TankClass ?? (_TankClass = new Package.TankClass()); + + private Package.EncoderClass _EncoderClass; + /// + /// + /// + public Package.EncoderClass EncoderClass => _EncoderClass ?? (_EncoderClass = new Package.EncoderClass()); + + private Package.StorageBatteryClass _StorageBatteryClass; + /// + /// + /// + public Package.StorageBatteryClass StorageBatteryClass => _StorageBatteryClass ?? (_StorageBatteryClass = new Package.StorageBatteryClass()); + + private Package.CircuitBreakerClass _CircuitBreakerClass; + /// + /// + /// + public Package.CircuitBreakerClass CircuitBreakerClass => _CircuitBreakerClass ?? (_CircuitBreakerClass = new Package.CircuitBreakerClass()); + + private Package.MotorClass _MotorClass; + /// + /// + /// + public Package.MotorClass MotorClass => _MotorClass ?? (_MotorClass = new Package.MotorClass()); + + private Package.ExtrusionUnitClass _ExtrusionUnitClass; + /// + /// + /// + public Package.ExtrusionUnitClass ExtrusionUnitClass => _ExtrusionUnitClass ?? (_ExtrusionUnitClass = new Package.ExtrusionUnitClass()); + + private Package.GalvanomotorClass _GalvanomotorClass; + /// + /// + /// + public Package.GalvanomotorClass GalvanomotorClass => _GalvanomotorClass ?? (_GalvanomotorClass = new Package.GalvanomotorClass()); + + private Package.PumpClass _PumpClass; + /// + /// + /// + public Package.PumpClass PumpClass => _PumpClass ?? (_PumpClass = new Package.PumpClass()); + + private Package.ClampClass _ClampClass; + /// + /// + /// + public Package.ClampClass ClampClass => _ClampClass ?? (_ClampClass = new Package.ClampClass()); + + private Package.LinearPositionFeedbackClass _LinearPositionFeedbackClass; + /// + /// + /// + public Package.LinearPositionFeedbackClass LinearPositionFeedbackClass => _LinearPositionFeedbackClass ?? (_LinearPositionFeedbackClass = new Package.LinearPositionFeedbackClass()); + + private Package.WorkpieceClass _WorkpieceClass; + /// + /// + /// + public Package.WorkpieceClass WorkpieceClass => _WorkpieceClass ?? (_WorkpieceClass = new Package.WorkpieceClass()); + + private Package.WorkEnvelopeClass _WorkEnvelopeClass; + /// + /// + /// + public Package.WorkEnvelopeClass WorkEnvelopeClass => _WorkEnvelopeClass ?? (_WorkEnvelopeClass = new Package.WorkEnvelopeClass()); + + private Package.FeatureOccurrenceClass _FeatureOccurrenceClass; + /// + /// + /// + public Package.FeatureOccurrenceClass FeatureOccurrenceClass => _FeatureOccurrenceClass ?? (_FeatureOccurrenceClass = new Package.FeatureOccurrenceClass()); + + private Package.AirHandlerClass _AirHandlerClass; + /// + /// + /// + public Package.AirHandlerClass AirHandlerClass => _AirHandlerClass ?? (_AirHandlerClass = new Package.AirHandlerClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Components/Devices.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Components/Devices.cs new file mode 100644 index 00000000..e6329c38 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Components/Devices.cs @@ -0,0 +1,67 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.Components.Devices; + +namespace Mtconnect.DeviceInformationModel.Components +{ + /// This section provides semantic information for the Device types.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class DevicesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1588604708900_376505_13"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_91b028d_1588604708900_376505_13"; + /// Constant value for + public const string NAME = "Devices"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(Device)}} types. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + AgentClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.AgentClass _AgentClass; + /// + /// + /// + public Package.AgentClass AgentClass => _AgentClass ?? (_AgentClass = new Package.AgentClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/CoordinateSystems.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/CoordinateSystems.cs new file mode 100644 index 00000000..6f6c0b06 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/CoordinateSystems.cs @@ -0,0 +1,103 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.Configurations.CoordinateSystems; + +namespace Mtconnect.DeviceInformationModel.Configurations +{ + /// This section provides semantic information for the CoordinateSystem entity.

![CoordinateSystem](figures/CoordinateSystem.png "CoordinateSystem"){: width="0.8"}

> Note: See Configuration Schema Diagrams for XML schema.

![CoordinateSystem Example](figures/CoordinateSystem%20Example.png "CoordinateSystem Example"){: width="0.8"}

> Note: See {{lst(coordinatesystem-example)}} for the XML representation of the same example.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class CoordinateSystemsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579100640484_17380_16262"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579100640484_17380_16262"; + /// Constant value for + public const string NAME = "CoordinateSystems"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(CoordinateSystem)}} entity. + +![CoordinateSystem](figures/CoordinateSystem.png ""CoordinateSystem""){: width=""0.8""} + +> Note: See {{sect(Configuration Schema Diagrams)}} for XML schema. + +![CoordinateSystem Example](figures/CoordinateSystem%20Example.png ""CoordinateSystem Example""){: width=""0.8""} + +> Note: See {{lst(coordinatesystem-example)}} for the {{term(XML)}} representation of the same example. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + CoordinateSystemClass, + OriginClass, + TransformationClass, + RotationClass, + TranslationClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.CoordinateSystemClass _CoordinateSystemClass; + /// + /// + /// + public Package.CoordinateSystemClass CoordinateSystemClass => _CoordinateSystemClass ?? (_CoordinateSystemClass = new Package.CoordinateSystemClass()); + + private Package.OriginClass _OriginClass; + /// + /// + /// + public Package.OriginClass OriginClass => _OriginClass ?? (_OriginClass = new Package.OriginClass()); + + private Package.TransformationClass _TransformationClass; + /// + /// + /// + public Package.TransformationClass TransformationClass => _TransformationClass ?? (_TransformationClass = new Package.TransformationClass()); + + private Package.RotationClass _RotationClass; + /// + /// + /// + public Package.RotationClass RotationClass => _RotationClass ?? (_RotationClass = new Package.RotationClass()); + + private Package.TranslationClass _TranslationClass; + /// + /// + /// + public Package.TranslationClass TranslationClass => _TranslationClass ?? (_TranslationClass = new Package.TranslationClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/ImageFiles.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/ImageFiles.cs new file mode 100644 index 00000000..9b2f573c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/ImageFiles.cs @@ -0,0 +1,67 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.Configurations.ImageFiles; + +namespace Mtconnect.DeviceInformationModel.Configurations +{ + /// This section provides semantic information for the ImageFile entity.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ImageFilesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1677586007782_145120_733"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1677586007782_145120_733"; + /// Constant value for + public const string NAME = "ImageFiles"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(ImageFile)}} entity. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + ImageFileClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.ImageFileClass _ImageFileClass; + /// + /// + /// + public Package.ImageFileClass ImageFileClass => _ImageFileClass ?? (_ImageFileClass = new Package.ImageFileClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Motion.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Motion.cs new file mode 100644 index 00000000..28ce5ea5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Motion.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.Configurations.Motion; + +namespace Mtconnect.DeviceInformationModel.Configurations +{ + /// This section provides semantic information for the Motion entity.

![Motion](figures/Motion.png "Motion"){: width="0.8"}

> Note: See Configuration Schema Diagrams for XML schema.

![Motion Example](figures/Motion%20Example.png "Motion Example"){: width="0.8"}

> Note: See {{lst(motion-example)}} for the XML representation of the same example.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class MotionPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1579526830201_236256_7625"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_91b028d_1579526830201_236256_7625"; + /// Constant value for + public const string NAME = "Motion"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(Motion)}} entity. + +![Motion](figures/Motion.png ""Motion""){: width=""0.8""} + +> Note: See {{sect(Configuration Schema Diagrams)}} for XML schema. + +![Motion Example](figures/Motion%20Example.png ""Motion Example""){: width=""0.8""} + +> Note: See {{lst(motion-example)}} for the {{term(XML)}} representation of the same example. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + MotionClass, + AxisClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.MotionClass _MotionClass; + /// + /// + /// + public Package.MotionClass MotionClass => _MotionClass ?? (_MotionClass = new Package.MotionClass()); + + private Package.AxisClass _AxisClass; + /// + /// + /// + public Package.AxisClass AxisClass => _AxisClass ?? (_AxisClass = new Package.AxisClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/PowerSources.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/PowerSources.cs new file mode 100644 index 00000000..e4a542b0 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/PowerSources.cs @@ -0,0 +1,71 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.Configurations.PowerSources; + +namespace Mtconnect.DeviceInformationModel.Configurations +{ + /// This section provides semantic information for the PowerSource entity.

![PowerSources](figures/PowerSources.png "PowerSources"){: width="0.8"}




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class PowerSourcesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1696870885238_252064_3316"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1696870885238_252064_3316"; + /// Constant value for + public const string NAME = "PowerSources"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(PowerSource)}} entity. + +![PowerSources](figures/PowerSources.png ""PowerSources""){: width=""0.8""} + + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + PowerSourceClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.PowerSourceClass _PowerSourceClass; + /// + /// + /// + public Package.PowerSourceClass PowerSourceClass => _PowerSourceClass ?? (_PowerSourceClass = new Package.PowerSourceClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Relationships.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Relationships.cs new file mode 100644 index 00000000..8017f742 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Relationships.cs @@ -0,0 +1,96 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.Configurations.Relationships; + +namespace Mtconnect.DeviceInformationModel.Configurations +{ + /// This section provides semantic information for the ConfigurationRelationship entity.

![Relationships](figures/Relationships.png "Relationships"){: width="0.8"}

> Note: See Configuration Schema Diagrams for XML schema.

![Relationship Example](figures/Relationship%20Example.png "Relationship Example"){: width="0.8"}

> Note: See {{lst(relationship-example)}} for the XML representation of the same example.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class RelationshipsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_A055F7A8_3D2C_4a01_8D09_072F34E65044"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_A055F7A8_3D2C_4a01_8D09_072F34E65044"; + /// Constant value for + public const string NAME = "Relationships"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(ConfigurationRelationship)}} entity. + +![Relationships](figures/Relationships.png ""Relationships""){: width=""0.8""} + +> Note: See {{sect(Configuration Schema Diagrams)}} for XML schema. + +![Relationship Example](figures/Relationship%20Example.png ""Relationship Example""){: width=""0.8""} + +> Note: See {{lst(relationship-example)}} for the {{term(XML)}} representation of the same example. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + ConfigurationRelationshipClass, + ComponentRelationshipClass, + DeviceRelationshipClass, + AssetRelationshipClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.ConfigurationRelationshipClass _ConfigurationRelationshipClass; + /// + /// + /// + public Package.ConfigurationRelationshipClass ConfigurationRelationshipClass => _ConfigurationRelationshipClass ?? (_ConfigurationRelationshipClass = new Package.ConfigurationRelationshipClass()); + + private Package.ComponentRelationshipClass _ComponentRelationshipClass; + /// + /// + /// + public Package.ComponentRelationshipClass ComponentRelationshipClass => _ComponentRelationshipClass ?? (_ComponentRelationshipClass = new Package.ComponentRelationshipClass()); + + private Package.DeviceRelationshipClass _DeviceRelationshipClass; + /// + /// + /// + public Package.DeviceRelationshipClass DeviceRelationshipClass => _DeviceRelationshipClass ?? (_DeviceRelationshipClass = new Package.DeviceRelationshipClass()); + + private Package.AssetRelationshipClass _AssetRelationshipClass; + /// + /// + /// + public Package.AssetRelationshipClass AssetRelationshipClass => _AssetRelationshipClass ?? (_AssetRelationshipClass = new Package.AssetRelationshipClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Sensor.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Sensor.cs new file mode 100644 index 00000000..900bf59e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Sensor.cs @@ -0,0 +1,101 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.Configurations.Sensor; + +namespace Mtconnect.DeviceInformationModel.Configurations +{ + /// This section provides semantic information for the SensorConfiguration entity.

sensor is a unique type of a piece of equipment. A sensor is typically comprised of two major components: a sensor unit that provides signal processing, conversion, and communications and the sensing elements that provides a signal or measured value.

The sensor unit is modeled as a lower level Component called Sensor. The sensing element may be modeled as a Composition element of a Sensor element and the measured value would be modeled as a DataItem (See DataItems for more information on DataItem elements). Each sensor unit may have multiple sensing elements; each representing the data for a variety of measured values.

![Sensing Element provided as a DataItem Example](figures/Sensing%20Element%20provided%20as%20a%20DataItem%20Example.png "Sensing Element provided as a DataItem Example"){: width="0.8"}

> Note: See {{lst(example-of-sensing-element-provided-as-data-item-associated-with-a-component)}} for an XML example.

When a sensor unit is modeled as a Component or as a separate piece of equipment, it may provide additional configuration information for the sensor elements and the sensor unit itself.

![Sensor for Rotary Axis Example](figures/Sensor%20for%20Rotary%20Axis%20Example.png "Sensor for Rotary Axis Example"){: width="0.8"}

> Note: If a Sensor provides vibration measurement data for the spindle on a piece of equipment, it could be modeled as a Sensor for rotary axis named C. See {{lst(example-of-sensor-for-rotary-axis)}} for an XML example.

![Sensor unit with Sensing Elements Example](figures/Sensor%20unit%20with%20Sensing%20Elements%20Example.png "Sensor unit with Sensing Elements Example"){: width="0.8"}

> Note: If a Sensor provides measurement data for multiple Component elements within a piece of equipment and is not associated with any particular Component, it MAY be modeled as an independent Component and the data associated with measurements are associated with their associated Component entities. See {{lst(example-of-sensor-unit-with-sensing-element)}} for an XML example.

Configuration data provides information required for maintenance and support of the sensor.

When Sensor represents the sensor unit for multiple sensing element(s), each sensing element is represented by a Channel. The sensor unit itself and each Channel representing one sensing element MAY have its own configuration data.

![Sensor Configuration Example](figures/Sensor%20Configuration%20Example.png "Sensor Configuration Example"){: width="0.8"}

> Note: See {{lst(example-of-configuration-data-for-sensor)}} for an XML example.



+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class SensorPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_2799F394_9540_4e1f_8171_D8E5BC08A63E"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_2799F394_9540_4e1f_8171_D8E5BC08A63E"; + /// Constant value for + public const string NAME = "Sensor"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(SensorConfiguration)}} entity. + +{{term(sensor)}} is a unique type of a piece of equipment. A {{term(sensor)}} is typically comprised of two major components: a {{term(sensor unit)}} that provides signal processing, conversion, and communications and the {{termplural(sensing element)}} that provides a signal or measured value. + +The {{term(sensor unit)}} is modeled as a {{term(lower level)}} {{block(Component)}} called {{block(Sensor)}}. The {{term(sensing element)}} may be modeled as a {{block(Composition)}} element of a {{block(Sensor)}} element and the measured value would be modeled as a {{block(DataItem)}} (See {{sect(DataItems)}} for more information on {{block(DataItem)}} elements). Each {{term(sensor unit)}} may have multiple {{termplural(sensing element)}}; each representing the data for a variety of measured values. + +![Sensing Element provided as a DataItem Example](figures/Sensing%20Element%20provided%20as%20a%20DataItem%20Example.png ""Sensing Element provided as a DataItem Example""){: width=""0.8""} + +> Note: See {{lst(example-of-sensing-element-provided-as-data-item-associated-with-a-component)}} for an {{term(XML)}} example. + +When a {{term(sensor unit)}} is modeled as a {{block(Component)}} or as a separate piece of equipment, it may provide additional configuration information for the {{termplural(sensor element)}} and the {{term(sensor unit)}} itself. + +![Sensor for Rotary Axis Example](figures/Sensor%20for%20Rotary%20Axis%20Example.png ""Sensor for Rotary Axis Example""){: width=""0.8""} + +> Note: If a {{block(Sensor)}} provides vibration measurement data for the spindle on a piece of equipment, it could be modeled as a {{block(Sensor)}} for rotary axis named `C`. See {{lst(example-of-sensor-for-rotary-axis)}} for an {{term(XML)}} example. + +![Sensor unit with Sensing Elements Example](figures/Sensor%20unit%20with%20Sensing%20Elements%20Example.png ""Sensor unit with Sensing Elements Example""){: width=""0.8""} + +> Note: If a {{block(Sensor)}} provides measurement data for multiple {{block(Component)}} elements within a piece of equipment and is not associated with any particular {{block(Component)}}, it **MAY** be modeled as an independent {{block(Component)}} and the data associated with measurements are associated with their associated {{block(Component)}} entities. See {{lst(example-of-sensor-unit-with-sensing-element)}} for an {{term(XML)}} example. + +{{block(Configuration)}} data provides information required for maintenance and support of the sensor. + +When {{block(Sensor)}} represents the {{term(sensor unit)}} for multiple {{term(sensing element)}}(s), each sensing element is represented by a {{block(Channel)}}. The {{term(sensor unit)}} itself and each {{block(Channel)}} representing one {{term(sensing element)}} **MAY** have its own configuration data. + +![Sensor Configuration Example](figures/Sensor%20Configuration%20Example.png ""Sensor Configuration Example""){: width=""0.8""} + +> Note: See {{lst(example-of-configuration-data-for-sensor)}} for an {{term(XML)}} example. + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + SensorConfigurationClass, + ChannelClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.SensorConfigurationClass _SensorConfigurationClass; + /// + /// + /// + public Package.SensorConfigurationClass SensorConfigurationClass => _SensorConfigurationClass ?? (_SensorConfigurationClass = new Package.SensorConfigurationClass()); + + private Package.ChannelClass _ChannelClass; + /// + /// + /// + public Package.ChannelClass ChannelClass => _ChannelClass ?? (_ChannelClass = new Package.ChannelClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/SolidModel.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/SolidModel.cs new file mode 100644 index 00000000..1a3f6f12 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/SolidModel.cs @@ -0,0 +1,82 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.Configurations.SolidModel; + +namespace Mtconnect.DeviceInformationModel.Configurations +{ + /// This section provides semantic information for the SolidModel entity.

![SolidModel](figures/SolidModel.png "SolidModel"){: width="0.8"}

> Note: See Configuration Schema Diagrams for XML schema.

![SolidModel Example](figures/SolidModel%20Example.png "SolidModel Example"){: width="0.8"}

> Note: See {{lst(solidmodel-example)}} for the XML representation of the same example.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class SolidModelPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1587596036608_721900_298"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1587596036608_721900_298"; + /// Constant value for + public const string NAME = "SolidModel"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(SolidModel)}} entity. + +![SolidModel](figures/SolidModel.png ""SolidModel""){: width=""0.8""} + +> Note: See {{sect(Configuration Schema Diagrams)}} for XML schema. + +![SolidModel Example](figures/SolidModel%20Example.png ""SolidModel Example""){: width=""0.8""} + +> Note: See {{lst(solidmodel-example)}} for the {{term(XML)}} representation of the same example. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + SolidModelClass, + ScaleClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.SolidModelClass _SolidModelClass; + /// + /// + /// + public Package.SolidModelClass SolidModelClass => _SolidModelClass ?? (_SolidModelClass = new Package.SolidModelClass()); + + private Package.ScaleClass _ScaleClass; + /// + /// + /// + public Package.ScaleClass ScaleClass => _ScaleClass ?? (_ScaleClass = new Package.ScaleClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Specifications.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Specifications.cs new file mode 100644 index 00000000..9cf421d4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Configurations/Specifications.cs @@ -0,0 +1,152 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.Configurations.Specifications; + +namespace Mtconnect.DeviceInformationModel.Configurations +{ + /// This section provides semantic information for the Specification entity.

![Specifications](figures/Specifications.png "Specifications"){: width="0.8"}

> Note: See Configuration Schema Diagrams for XML schema.

![Specification Example](figures/Specification%20Example.png "Specification Example"){: width="0.8"}

> Note: See {{lst(specification-example)}} for the XML representation of the same example.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class SpecificationsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1579301667133_392891_7355"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_91b028d_1579301667133_392891_7355"; + /// Constant value for + public const string NAME = "Specifications"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(Specification)}} entity. + +![Specifications](figures/Specifications.png ""Specifications""){: width=""0.8""} + +> Note: See {{sect(Configuration Schema Diagrams)}} for XML schema. + +![Specification Example](figures/Specification%20Example.png ""Specification Example""){: width=""0.8""} + +> Note: See {{lst(specification-example)}} for the {{term(XML)}} representation of the same example. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + SpecificationClass, + ProcessSpecificationGeneralization, + ControlLimitsClass, + AlarmLimitsClass, + SpecificationLimitsClass, + UpperWarningClass, + UpperLimitClass, + MaximumClass, + LowerLimitClass, + LowerWarningClass, + MinimumClass, + NominalClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.SpecificationClass _SpecificationClass; + /// + /// + /// + public Package.SpecificationClass SpecificationClass => _SpecificationClass ?? (_SpecificationClass = new Package.SpecificationClass()); + + private Package.ProcessSpecificationGeneralization _ProcessSpecificationGeneralization; + /// + /// + /// + public Package.ProcessSpecificationGeneralization ProcessSpecificationGeneralization => _ProcessSpecificationGeneralization ?? (_ProcessSpecificationGeneralization = new Package.ProcessSpecificationGeneralization()); + + private Package.ControlLimitsClass _ControlLimitsClass; + /// + /// + /// + public Package.ControlLimitsClass ControlLimitsClass => _ControlLimitsClass ?? (_ControlLimitsClass = new Package.ControlLimitsClass()); + + private Package.AlarmLimitsClass _AlarmLimitsClass; + /// + /// + /// + public Package.AlarmLimitsClass AlarmLimitsClass => _AlarmLimitsClass ?? (_AlarmLimitsClass = new Package.AlarmLimitsClass()); + + private Package.SpecificationLimitsClass _SpecificationLimitsClass; + /// + /// + /// + public Package.SpecificationLimitsClass SpecificationLimitsClass => _SpecificationLimitsClass ?? (_SpecificationLimitsClass = new Package.SpecificationLimitsClass()); + + private Package.UpperWarningClass _UpperWarningClass; + /// + /// + /// + public Package.UpperWarningClass UpperWarningClass => _UpperWarningClass ?? (_UpperWarningClass = new Package.UpperWarningClass()); + + private Package.UpperLimitClass _UpperLimitClass; + /// + /// + /// + public Package.UpperLimitClass UpperLimitClass => _UpperLimitClass ?? (_UpperLimitClass = new Package.UpperLimitClass()); + + private Package.MaximumClass _MaximumClass; + /// + /// + /// + public Package.MaximumClass MaximumClass => _MaximumClass ?? (_MaximumClass = new Package.MaximumClass()); + + private Package.LowerLimitClass _LowerLimitClass; + /// + /// + /// + public Package.LowerLimitClass LowerLimitClass => _LowerLimitClass ?? (_LowerLimitClass = new Package.LowerLimitClass()); + + private Package.LowerWarningClass _LowerWarningClass; + /// + /// + /// + public Package.LowerWarningClass LowerWarningClass => _LowerWarningClass ?? (_LowerWarningClass = new Package.LowerWarningClass()); + + private Package.MinimumClass _MinimumClass; + /// + /// + /// + public Package.MinimumClass MinimumClass => _MinimumClass ?? (_MinimumClass = new Package.MinimumClass()); + + private Package.NominalClass _NominalClass; + /// + /// + /// + public Package.NominalClass NominalClass => _NominalClass ?? (_NominalClass = new Package.NominalClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingItem/CuttingItemMeasurementSubtypes.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingItem/CuttingItemMeasurementSubtypes.cs new file mode 100644 index 00000000..ebe03273 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingItem/CuttingItemMeasurementSubtypes.cs @@ -0,0 +1,217 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.AssetInformationModel.CuttingTool.CuttingItem.CuttingItemMeasurementSubtypes; + +namespace Mtconnect.AssetInformationModel.CuttingTool.CuttingItem +{ + /// This section lists the Measurement subtypes for CuttingItem.

These Measurement subtypes for CuttingItem are specific to an individual CuttingItem and MUST NOT be used for the Measurement pertaining to an assembly. Figures below will be used to for reference for the CuttingItem specific Measurement types.

![Cutting Tool](figures/Cutting%20Tool.png "Cutting Tool"){: width="0.8"}

![Cutting Item](figures/Cutting%20Item.png "Cutting Item"){: width="0.8"}

![Cutting Item Measurement](figures/Cutting%20Item%20Measurement.png "Cutting Item Measurement"){: width="0.8"}

![Cutting Item Drive Angle](figures/Cutting%20Item%20Drive%20Angle.png "Cutting Item Drive Angle"){: width="0.8"}


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class CuttingItemMeasurementSubtypesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582919154044_31808_1537"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1582919154044_31808_1537"; + /// Constant value for + public const string NAME = "Cutting Item Measurement Subtypes"; + /// Constant value for + public const string SUMMARY = @" This section lists the {{block(Measurement)}} subtypes for {{block(CuttingItem)}}. + +These {{block(Measurement)}} subtypes for {{block(CuttingItem)}} are specific to an individual {{block(CuttingItem)}} and **MUST NOT** be used for the {{block(Measurement)}} pertaining to an assembly. Figures below will be used to for reference for the {{block(CuttingItem)}} specific {{block(Measurement)}} types. + +![Cutting Tool](figures/Cutting%20Tool.png ""Cutting Tool""){: width=""0.8""} + +![Cutting Item](figures/Cutting%20Item.png ""Cutting Item""){: width=""0.8""} + +![Cutting Item Measurement](figures/Cutting%20Item%20Measurement.png ""Cutting Item Measurement""){: width=""0.8""} + +![Cutting Item Drive Angle](figures/Cutting%20Item%20Drive%20Angle.png ""Cutting Item Drive Angle""){: width=""0.8""} +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + FunctionalLengthClass, + CuttingReferencePointClass, + CuttingEdgeLengthClass, + DriveAngleClass, + FlangeDiameterClass, + FunctionalWidthClass, + IncribedCircleDiameterClass, + PointAngleClass, + ToolCuttingEdgeAngleClass, + ToolLeadAngleClass, + ToolOrientationClass, + StepDiameterLengthClass, + StepIncludedAngleClass, + WiperEdgeLengthClass, + CuttingDiameterClass, + CuttingHeightClass, + CornerRadiusClass, + WeightClass, + ChamferFlatLengthClass, + ChamferWidthClass, + InsertWidthClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.FunctionalLengthClass _FunctionalLengthClass; + /// + /// + /// + public Package.FunctionalLengthClass FunctionalLengthClass => _FunctionalLengthClass ?? (_FunctionalLengthClass = new Package.FunctionalLengthClass()); + + private Package.CuttingReferencePointClass _CuttingReferencePointClass; + /// + /// + /// + public Package.CuttingReferencePointClass CuttingReferencePointClass => _CuttingReferencePointClass ?? (_CuttingReferencePointClass = new Package.CuttingReferencePointClass()); + + private Package.CuttingEdgeLengthClass _CuttingEdgeLengthClass; + /// + /// + /// + public Package.CuttingEdgeLengthClass CuttingEdgeLengthClass => _CuttingEdgeLengthClass ?? (_CuttingEdgeLengthClass = new Package.CuttingEdgeLengthClass()); + + private Package.DriveAngleClass _DriveAngleClass; + /// + /// + /// + public Package.DriveAngleClass DriveAngleClass => _DriveAngleClass ?? (_DriveAngleClass = new Package.DriveAngleClass()); + + private Package.FlangeDiameterClass _FlangeDiameterClass; + /// + /// + /// + public Package.FlangeDiameterClass FlangeDiameterClass => _FlangeDiameterClass ?? (_FlangeDiameterClass = new Package.FlangeDiameterClass()); + + private Package.FunctionalWidthClass _FunctionalWidthClass; + /// + /// + /// + public Package.FunctionalWidthClass FunctionalWidthClass => _FunctionalWidthClass ?? (_FunctionalWidthClass = new Package.FunctionalWidthClass()); + + private Package.IncribedCircleDiameterClass _IncribedCircleDiameterClass; + /// + /// + /// + public Package.IncribedCircleDiameterClass IncribedCircleDiameterClass => _IncribedCircleDiameterClass ?? (_IncribedCircleDiameterClass = new Package.IncribedCircleDiameterClass()); + + private Package.PointAngleClass _PointAngleClass; + /// + /// + /// + public Package.PointAngleClass PointAngleClass => _PointAngleClass ?? (_PointAngleClass = new Package.PointAngleClass()); + + private Package.ToolCuttingEdgeAngleClass _ToolCuttingEdgeAngleClass; + /// + /// + /// + public Package.ToolCuttingEdgeAngleClass ToolCuttingEdgeAngleClass => _ToolCuttingEdgeAngleClass ?? (_ToolCuttingEdgeAngleClass = new Package.ToolCuttingEdgeAngleClass()); + + private Package.ToolLeadAngleClass _ToolLeadAngleClass; + /// + /// + /// + public Package.ToolLeadAngleClass ToolLeadAngleClass => _ToolLeadAngleClass ?? (_ToolLeadAngleClass = new Package.ToolLeadAngleClass()); + + private Package.ToolOrientationClass _ToolOrientationClass; + /// + /// + /// + public Package.ToolOrientationClass ToolOrientationClass => _ToolOrientationClass ?? (_ToolOrientationClass = new Package.ToolOrientationClass()); + + private Package.StepDiameterLengthClass _StepDiameterLengthClass; + /// + /// + /// + public Package.StepDiameterLengthClass StepDiameterLengthClass => _StepDiameterLengthClass ?? (_StepDiameterLengthClass = new Package.StepDiameterLengthClass()); + + private Package.StepIncludedAngleClass _StepIncludedAngleClass; + /// + /// + /// + public Package.StepIncludedAngleClass StepIncludedAngleClass => _StepIncludedAngleClass ?? (_StepIncludedAngleClass = new Package.StepIncludedAngleClass()); + + private Package.WiperEdgeLengthClass _WiperEdgeLengthClass; + /// + /// + /// + public Package.WiperEdgeLengthClass WiperEdgeLengthClass => _WiperEdgeLengthClass ?? (_WiperEdgeLengthClass = new Package.WiperEdgeLengthClass()); + + private Package.CuttingDiameterClass _CuttingDiameterClass; + /// + /// + /// + public Package.CuttingDiameterClass CuttingDiameterClass => _CuttingDiameterClass ?? (_CuttingDiameterClass = new Package.CuttingDiameterClass()); + + private Package.CuttingHeightClass _CuttingHeightClass; + /// + /// + /// + public Package.CuttingHeightClass CuttingHeightClass => _CuttingHeightClass ?? (_CuttingHeightClass = new Package.CuttingHeightClass()); + + private Package.CornerRadiusClass _CornerRadiusClass; + /// + /// + /// + public Package.CornerRadiusClass CornerRadiusClass => _CornerRadiusClass ?? (_CornerRadiusClass = new Package.CornerRadiusClass()); + + private Package.WeightClass _WeightClass; + /// + /// + /// + public Package.WeightClass WeightClass => _WeightClass ?? (_WeightClass = new Package.WeightClass()); + + private Package.ChamferFlatLengthClass _ChamferFlatLengthClass; + /// + /// + /// + public Package.ChamferFlatLengthClass ChamferFlatLengthClass => _ChamferFlatLengthClass ?? (_ChamferFlatLengthClass = new Package.ChamferFlatLengthClass()); + + private Package.ChamferWidthClass _ChamferWidthClass; + /// + /// + /// + public Package.ChamferWidthClass ChamferWidthClass => _ChamferWidthClass ?? (_ChamferWidthClass = new Package.ChamferWidthClass()); + + private Package.InsertWidthClass _InsertWidthClass; + /// + /// + /// + public Package.InsertWidthClass InsertWidthClass => _InsertWidthClass ?? (_InsertWidthClass = new Package.InsertWidthClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingTool/CuttingItem.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingTool/CuttingItem.cs new file mode 100644 index 00000000..6793efff --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingTool/CuttingItem.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.AssetInformationModel.CuttingTool.CuttingItem; + +namespace Mtconnect.AssetInformationModel.CuttingTool +{ + /// A CuttingItem is the portion of the tool that physically removes the material from the workpiece by shear deformation. The cutting item can be either a single piece of material attached to the CuttingTool or it can be one or more separate pieces of material attached to the CuttingTool using a permanent or removable attachment. A CuttingItem can be comprised of one or more cutting edges. Cutting items include: replaceable inserts, brazed tips and the cutting portions of solid CuttingTools.

MTConnect Standard considers CuttingItems as part of the CuttingTool. A CuttingItems MUST NOT exist in MTConnect unless it is attached to a CuttingTool. Some of the measurements, such as FunctionalLength, MUST be made with reference to the entire CuttingTool to be meaningful.

![CuttingItem](figures/CuttingItem.png "CuttingItem"){: width="0.8"}

> Note: See CuttingItem Schema Diagrams for XML schema.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class CuttingItemPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_2734C012_030C_44a6_8CE6_559328AFDCB9"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_2734C012_030C_44a6_8CE6_559328AFDCB9"; + /// Constant value for + public const string NAME = "Cutting Item"; + /// Constant value for + public const string SUMMARY = @" A {{block(CuttingItem)}} is the portion of the tool that physically removes the material from the workpiece by shear deformation. The cutting item can be either a single piece of material attached to the {{block(CuttingTool)}} or it can be one or more separate pieces of material attached to the {{block(CuttingTool)}} using a permanent or removable attachment. A {{block(CuttingItem)}} can be comprised of one or more cutting edges. Cutting items include: replaceable inserts, brazed tips and the cutting portions of solid {{block(CuttingTools)}}. + +MTConnect Standard considers {{block(CuttingItems)}} as part of the {{block(CuttingTool)}}. A {{block(CuttingItems)}} **MUST NOT** exist in MTConnect unless it is attached to a {{block(CuttingTool)}}. Some of the measurements, such as {{block(FunctionalLength)}}, **MUST** be made with reference to the entire {{block(CuttingTool)}} to be meaningful. + +![CuttingItem](figures/CuttingItem.png ""CuttingItem""){: width=""0.8""} + +> Note: See {{sect(CuttingItem Schema Diagrams)}} for XML schema. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + CuttingItemMeasurementSubtypesPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + CuttingItemClass, + ItemLifeClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.CuttingItemMeasurementSubtypesPackage _CuttingItemMeasurementSubtypesPackage; + /// + /// + /// + public Package.CuttingItemMeasurementSubtypesPackage CuttingItemMeasurementSubtypesPackage => _CuttingItemMeasurementSubtypesPackage ?? (_CuttingItemMeasurementSubtypesPackage = new Package.CuttingItemMeasurementSubtypesPackage()); + + #endregion + + #region Classes + private Package.CuttingItemClass _CuttingItemClass; + /// + /// + /// + public Package.CuttingItemClass CuttingItemClass => _CuttingItemClass ?? (_CuttingItemClass = new Package.CuttingItemClass()); + + private Package.ItemLifeClass _ItemLifeClass; + /// + /// + /// + public Package.ItemLifeClass ItemLifeClass => _ItemLifeClass ?? (_ItemLifeClass = new Package.ItemLifeClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingTool/CuttingToolLifeCycle.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingTool/CuttingToolLifeCycle.cs new file mode 100644 index 00000000..b6246ac6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingTool/CuttingToolLifeCycle.cs @@ -0,0 +1,121 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.AssetInformationModel.CuttingTool.CuttingToolLifeCycle; + +namespace Mtconnect.AssetInformationModel.CuttingTool +{ + /// This section provides semantic information for the CuttingToolLifeCycle model.

![CuttingToolLifeCycle](figures/CuttingToolLifeCycle.png "CuttingToolLifeCycle"){: width="0.8"}

> Note: See CuttingToolLifeCycle Schema Diagrams for XML schema.



+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class CuttingToolLifeCyclePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1612424133851_339632_344"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1612424133851_339632_344"; + /// Constant value for + public const string NAME = "Cutting Tool Life Cycle"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(CuttingToolLifeCycle)}} model. + +![CuttingToolLifeCycle](figures/CuttingToolLifeCycle.png ""CuttingToolLifeCycle""){: width=""0.8""} + +> Note: See {{sect(CuttingToolLifeCycle Schema Diagrams)}} for XML schema. + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + CuttingToolLifeCycleClass, + ToolLifeClass, + LocationClass, + ReconditionCountClass, + ProcessSpindleSpeedClass, + ProcessFeedRateClass, + StatusClass, + MeasurementClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.CuttingToolLifeCycleClass _CuttingToolLifeCycleClass; + /// + /// + /// + public Package.CuttingToolLifeCycleClass CuttingToolLifeCycleClass => _CuttingToolLifeCycleClass ?? (_CuttingToolLifeCycleClass = new Package.CuttingToolLifeCycleClass()); + + private Package.ToolLifeClass _ToolLifeClass; + /// + /// + /// + public Package.ToolLifeClass ToolLifeClass => _ToolLifeClass ?? (_ToolLifeClass = new Package.ToolLifeClass()); + + private Package.LocationClass _LocationClass; + /// + /// + /// + public Package.LocationClass LocationClass => _LocationClass ?? (_LocationClass = new Package.LocationClass()); + + private Package.ReconditionCountClass _ReconditionCountClass; + /// + /// + /// + public Package.ReconditionCountClass ReconditionCountClass => _ReconditionCountClass ?? (_ReconditionCountClass = new Package.ReconditionCountClass()); + + private Package.ProcessSpindleSpeedClass _ProcessSpindleSpeedClass; + /// + /// + /// + public Package.ProcessSpindleSpeedClass ProcessSpindleSpeedClass => _ProcessSpindleSpeedClass ?? (_ProcessSpindleSpeedClass = new Package.ProcessSpindleSpeedClass()); + + private Package.ProcessFeedRateClass _ProcessFeedRateClass; + /// + /// + /// + public Package.ProcessFeedRateClass ProcessFeedRateClass => _ProcessFeedRateClass ?? (_ProcessFeedRateClass = new Package.ProcessFeedRateClass()); + + private Package.StatusClass _StatusClass; + /// + /// + /// + public Package.StatusClass StatusClass => _StatusClass ?? (_StatusClass = new Package.StatusClass()); + + private Package.MeasurementClass _MeasurementClass; + /// + /// + /// + public Package.MeasurementClass MeasurementClass => _MeasurementClass ?? (_MeasurementClass = new Package.MeasurementClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingTool/CuttingToolMeasurementSubtypes.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingTool/CuttingToolMeasurementSubtypes.cs new file mode 100644 index 00000000..6964b6e3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/CuttingTool/CuttingToolMeasurementSubtypes.cs @@ -0,0 +1,158 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.AssetInformationModel.CuttingTool.CuttingToolMeasurementSubtypes; + +namespace Mtconnect.AssetInformationModel.CuttingTool +{ + /// This section lists the Measurement subtypes for CuttingTool.

These Measurement subtypes for CuttingTool are specific to the entire assembly and MUST NOT be used for the Measurement pertaining to a CuttingItem. {{figure(Cutting Tool Measurement 1)}} and {{figure(Cutting Tool Measurement 2)}} will be used to reference the assembly specific Measurement subtypes.

![Cutting Tool Measurement 1](figures/Cutting%20Tool%20Measurement%201.png "Cutting Tool Measurement 1"){: width="0.8"}

![Cutting Tool Measurement 2](figures/Cutting%20Tool%20Measurement%202.png "Cutting Tool Measurement 2"){: width="0.8"}



+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class CuttingToolMeasurementSubtypesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1582918427874_472723_1238"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1582918427874_472723_1238"; + /// Constant value for + public const string NAME = "Cutting Tool Measurement Subtypes"; + /// Constant value for + public const string SUMMARY = @" This section lists the {{block(Measurement)}} subtypes for {{block(CuttingTool)}}. + +These {{block(Measurement)}} subtypes for {{block(CuttingTool)}} are specific to the entire assembly and **MUST NOT** be used for the {{block(Measurement)}} pertaining to a {{block(CuttingItem)}}. {{figure(Cutting Tool Measurement 1)}} and {{figure(Cutting Tool Measurement 2)}} will be used to reference the assembly specific {{block(Measurement)}} subtypes. + +![Cutting Tool Measurement 1](figures/Cutting%20Tool%20Measurement%201.png ""Cutting Tool Measurement 1""){: width=""0.8""} + +![Cutting Tool Measurement 2](figures/Cutting%20Tool%20Measurement%202.png ""Cutting Tool Measurement 2""){: width=""0.8""} + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + BodyDiameterMaxClass, + BodyLengthMaxClass, + DepthOfCutMaxClass, + CuttingDiameterMaxClass, + FlangeDiameterMaxClass, + OverallToolLengthClass, + ShankDiameterClass, + ShankHeightClass, + ShankLengthClass, + UsableLengthMaxClass, + ProtrudingLengthClass, + FunctionalLengthClass, + WeightClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.BodyDiameterMaxClass _BodyDiameterMaxClass; + /// + /// + /// + public Package.BodyDiameterMaxClass BodyDiameterMaxClass => _BodyDiameterMaxClass ?? (_BodyDiameterMaxClass = new Package.BodyDiameterMaxClass()); + + private Package.BodyLengthMaxClass _BodyLengthMaxClass; + /// + /// + /// + public Package.BodyLengthMaxClass BodyLengthMaxClass => _BodyLengthMaxClass ?? (_BodyLengthMaxClass = new Package.BodyLengthMaxClass()); + + private Package.DepthOfCutMaxClass _DepthOfCutMaxClass; + /// + /// + /// + public Package.DepthOfCutMaxClass DepthOfCutMaxClass => _DepthOfCutMaxClass ?? (_DepthOfCutMaxClass = new Package.DepthOfCutMaxClass()); + + private Package.CuttingDiameterMaxClass _CuttingDiameterMaxClass; + /// + /// + /// + public Package.CuttingDiameterMaxClass CuttingDiameterMaxClass => _CuttingDiameterMaxClass ?? (_CuttingDiameterMaxClass = new Package.CuttingDiameterMaxClass()); + + private Package.FlangeDiameterMaxClass _FlangeDiameterMaxClass; + /// + /// + /// + public Package.FlangeDiameterMaxClass FlangeDiameterMaxClass => _FlangeDiameterMaxClass ?? (_FlangeDiameterMaxClass = new Package.FlangeDiameterMaxClass()); + + private Package.OverallToolLengthClass _OverallToolLengthClass; + /// + /// + /// + public Package.OverallToolLengthClass OverallToolLengthClass => _OverallToolLengthClass ?? (_OverallToolLengthClass = new Package.OverallToolLengthClass()); + + private Package.ShankDiameterClass _ShankDiameterClass; + /// + /// + /// + public Package.ShankDiameterClass ShankDiameterClass => _ShankDiameterClass ?? (_ShankDiameterClass = new Package.ShankDiameterClass()); + + private Package.ShankHeightClass _ShankHeightClass; + /// + /// + /// + public Package.ShankHeightClass ShankHeightClass => _ShankHeightClass ?? (_ShankHeightClass = new Package.ShankHeightClass()); + + private Package.ShankLengthClass _ShankLengthClass; + /// + /// + /// + public Package.ShankLengthClass ShankLengthClass => _ShankLengthClass ?? (_ShankLengthClass = new Package.ShankLengthClass()); + + private Package.UsableLengthMaxClass _UsableLengthMaxClass; + /// + /// + /// + public Package.UsableLengthMaxClass UsableLengthMaxClass => _UsableLengthMaxClass ?? (_UsableLengthMaxClass = new Package.UsableLengthMaxClass()); + + private Package.ProtrudingLengthClass _ProtrudingLengthClass; + /// + /// + /// + public Package.ProtrudingLengthClass ProtrudingLengthClass => _ProtrudingLengthClass ?? (_ProtrudingLengthClass = new Package.ProtrudingLengthClass()); + + private Package.FunctionalLengthClass _FunctionalLengthClass; + /// + /// + /// + public Package.FunctionalLengthClass FunctionalLengthClass => _FunctionalLengthClass ?? (_FunctionalLengthClass = new Package.FunctionalLengthClass()); + + private Package.WeightClass _WeightClass; + /// + /// + /// + public Package.WeightClass WeightClass => _WeightClass ?? (_WeightClass = new Package.WeightClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DataItems/DataItemTypes.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DataItems/DataItemTypes.cs new file mode 100644 index 00000000..d2b338d1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DataItems/DataItemTypes.cs @@ -0,0 +1,96 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.DataItems.DataItemTypes; + +namespace Mtconnect.DeviceInformationModel.DataItems +{ + /// This section provides semantic information for the types of a DataItem.

In the MTConnect Standard, DataItem are defined and organized based upon the category in DataItem and type in DataItem. The category in DataItem provides a high level grouping for DataItems based on the kind of information that is reported by the data item.

These categories are:

* SAMPLE: A SAMPLE reports a continuously variable or analog data value.

* EVENT: An EVENT reports information representing a functional state, with two or more discrete values, associated with a component or it contains a message. The data provided may be a numeric value or text.

* CONDITION: A CONDITION reports information about the health of a piece of equipment and its ability to function.

The type in DataItem specifies the specific kind of data that is reported. For some types of data items, a subType in DataItem may also be used to differentiate between multiple data items of the same type in DataItem where the information reported by the data item has a different, but related, meaning.

Many types of data items provide two forms of data: a value (reported as either a SAMPLE or EVENT) and a health status (reported as a CONDITION). These DataItem types MAY be defined in more than one category in DataItem based on the data that they report.



+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class DataItemTypesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_3CC32EA3_C0E8_4cbe_8239_C706EC74F116"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_3CC32EA3_C0E8_4cbe_8239_C706EC74F116"; + /// Constant value for + public const string NAME = "DataItem Types"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the types of a {{block(DataItem)}}. + +In the MTConnect Standard, {{block(DataItem)}} are defined and organized based upon the {{property(DataItem::category)}} and {{property(DataItem::type)}}. The {{property(DataItem::category)}} provides a high level grouping for {{block(DataItem)}}s based on the kind of information that is reported by the data item. + +These categories are: + +* `SAMPLE`: A `SAMPLE` reports a continuously variable or analog data value. + +* `EVENT`: An `EVENT` reports information representing a functional state, with two or more discrete values, associated with a component or it contains a message. The data provided may be a numeric value or text. + +* `CONDITION`: A `CONDITION` reports information about the health of a piece of equipment and its ability to function. + +The {{property(DataItem::type)}} specifies the specific kind of data that is reported. For some types of data items, a {{property(DataItem::subType)}} may also be used to differentiate between multiple data items of the same {{property(DataItem::type)}} where the information reported by the data item has a different, but related, meaning. + +Many types of data items provide two forms of data: a value (reported as either a `SAMPLE` or `EVENT`) and a health status (reported as a `CONDITION`). These {{block(DataItem)}} types **MAY** be defined in more than one {{property(DataItem::category)}} based on the data that they report. + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + EventClass, + SampleClass, + ConditionClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.EventClass _EventClass; + /// + /// + /// + public Package.EventClass EventClass => _EventClass ?? (_EventClass = new Package.EventClass()); + + private Package.SampleClass _SampleClass; + /// + /// + /// + public Package.SampleClass SampleClass => _SampleClass ?? (_SampleClass = new Package.SampleClass()); + + private Package.ConditionClass _ConditionClass; + /// + /// + /// + public Package.ConditionClass ConditionClass => _ConditionClass ?? (_ConditionClass = new Package.ConditionClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DataItems/PropertiesOfDataItem.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DataItems/PropertiesOfDataItem.cs new file mode 100644 index 00000000..5813a510 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DataItems/PropertiesOfDataItem.cs @@ -0,0 +1,132 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem; + +namespace Mtconnect.DeviceInformationModel.DataItems +{ + /// This section provides additional semantic information for the Part Properties of DataItem.

> Note: See DataItems Schema Diagrams for XML schema of the elements for DataItem.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class PropertiesOfDataItemPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1589399339634_269147_34"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_91b028d_1589399339634_269147_34"; + /// Constant value for + public const string NAME = "Properties of DataItem"; + /// Constant value for + public const string SUMMARY = @" This section provides additional semantic information for the Part Properties of {{block(DataItem)}}. + +> Note: See {{sect(DataItems Schema Diagrams)}} for XML schema of the elements for {{block(DataItem)}}. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + PropertiesOfDefinitionPackage, + RelationshipTypesForDataItemPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + ResetTriggerClass, + SourceClass, + InitialValueClass, + FilterClass, + ConstraintsClass, + DefinitionClass, + MinimumDeltaFilterGeneralization, + PeriodFilterGeneralization, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.PropertiesOfDefinitionPackage _PropertiesOfDefinitionPackage; + /// + /// + /// + public Package.PropertiesOfDefinitionPackage PropertiesOfDefinitionPackage => _PropertiesOfDefinitionPackage ?? (_PropertiesOfDefinitionPackage = new Package.PropertiesOfDefinitionPackage()); + + private Package.RelationshipTypesForDataItemPackage _RelationshipTypesForDataItemPackage; + /// + /// + /// + public Package.RelationshipTypesForDataItemPackage RelationshipTypesForDataItemPackage => _RelationshipTypesForDataItemPackage ?? (_RelationshipTypesForDataItemPackage = new Package.RelationshipTypesForDataItemPackage()); + + #endregion + + #region Classes + private Package.ResetTriggerClass _ResetTriggerClass; + /// + /// + /// + public Package.ResetTriggerClass ResetTriggerClass => _ResetTriggerClass ?? (_ResetTriggerClass = new Package.ResetTriggerClass()); + + private Package.SourceClass _SourceClass; + /// + /// + /// + public Package.SourceClass SourceClass => _SourceClass ?? (_SourceClass = new Package.SourceClass()); + + private Package.InitialValueClass _InitialValueClass; + /// + /// + /// + public Package.InitialValueClass InitialValueClass => _InitialValueClass ?? (_InitialValueClass = new Package.InitialValueClass()); + + private Package.FilterClass _FilterClass; + /// + /// + /// + public Package.FilterClass FilterClass => _FilterClass ?? (_FilterClass = new Package.FilterClass()); + + private Package.ConstraintsClass _ConstraintsClass; + /// + /// + /// + public Package.ConstraintsClass ConstraintsClass => _ConstraintsClass ?? (_ConstraintsClass = new Package.ConstraintsClass()); + + private Package.DefinitionClass _DefinitionClass; + /// + /// + /// + public Package.DefinitionClass DefinitionClass => _DefinitionClass ?? (_DefinitionClass = new Package.DefinitionClass()); + + private Package.MinimumDeltaFilterGeneralization _MinimumDeltaFilterGeneralization; + /// + /// + /// + public Package.MinimumDeltaFilterGeneralization MinimumDeltaFilterGeneralization => _MinimumDeltaFilterGeneralization ?? (_MinimumDeltaFilterGeneralization = new Package.MinimumDeltaFilterGeneralization()); + + private Package.PeriodFilterGeneralization _PeriodFilterGeneralization; + /// + /// + /// + public Package.PeriodFilterGeneralization PeriodFilterGeneralization => _PeriodFilterGeneralization ?? (_PeriodFilterGeneralization = new Package.PeriodFilterGeneralization()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/Components.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/Components.cs new file mode 100644 index 00000000..de7d2e3c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/Components.cs @@ -0,0 +1,123 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.Components; + +namespace Mtconnect.DeviceInformationModel +{ + /// This section provides semantic information for the Component entity. {{figure(Components)}} shows the Component model.

![Components](figures/Components.png "Components"){: width="0.8"}

> Note: See Components Schema Diagrams for XML schema.



Components Model

MTConnectDevices provides the physical and logical architecture of a piece of equipment. {{figure(Device Entity Hierarchy Example)}} provides an overview of the entities used in an example of an MTConnectDevices entity.

![Device Entity Hierarchy Example](figures/Device%20Entity%20Hierarchy%20Example.png "Device Entity Hierarchy Example"){: width="0.8"}

> Note 1 to entry: See {{lst(device-entity-hierarchy-example)}} for the XML representation of the same example.

> Note 2 to entry: Example above only shows the Component and Composition level hierarchy. For a complete semantics on each kind see Components and Compositions.

A variety of entities are defined to describe a piece of equipment. Some of these entities MUST always be defined for an MTConnectDevices entity, while others are optional and MAY be used, as required, to provide additional structure.

The first, or highest level, entity defined for an MTConnectDevices entity is Devices. Devices is used to group one or more pieces of equipment into a single document. Devices MUST always be defined for an MTConnectDevices entity.

Device is the next entity defined for the MTConnectDevices entity. A separate Device entity is used to identify each piece of equipment for an MTConnectDevices entity. Each Device provides information on the physical and logical structure of the piece of equipment and the data associated with that equipment. Device can also represent any logical grouping of pieces of equipment that function as a unit or any other data source that provides data through an agent.

One or more Device entities MUST always be defined for an MTConnectDevices entity.

Components is the next entity defined for the MTConnectDevices entity. Components is used to group information describing lower level physical parts or logical functions of a piece of equipment.

Component is the next level of entity defined for the MTConnectDevices entity. Component is both an abstract type entity and an organizer type entity.

As an abstract entity, Component will always be realized by a specific Component type defined in Component Types. Each Component can also be used to organize information describing lower level entities or DataItems associated with the Component.

If lower level entities are described, these entities are by definition child Component entities of a parent Component. At this next level, the lower level child Component entities are grouped by Components.

A Component MAY be further decomposed into Composition entities that are grouped by Compositions. These describe the lowest level basic structural or functional building blocks contained within a Component. Data provided for a Component provides more specific meaning when it is associated with one of the Composition entities of the Component. The different Composition types that MAY be defined for the MTConnectDevices entity are defined in Compositions.

This parent-child relationship can continue to any depth required to fully define a piece of equipment.

> Note: See {{figure(Device Entity Hierarchy Example)}} for an example.





+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ComponentsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_6F87CB48_AFED_473f_92DF_E7AFDAFD3CAC"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_6F87CB48_AFED_473f_92DF_E7AFDAFD3CAC"; + /// Constant value for + public const string NAME = "Components"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(Component)}} entity. {{figure(Components)}} shows the {{block(Component)}} model. + +![Components](figures/Components.png ""Components""){: width=""0.8""} + +> Note: See {{sect(Components Schema Diagrams)}} for XML schema. + + Components Model {{block(MTConnectDevices)}} provides the physical and logical architecture of a piece of equipment. {{figure(Device Entity Hierarchy Example)}} provides an overview of the entities used in an example of an {{block(MTConnectDevices)}} entity. + +![Device Entity Hierarchy Example](figures/Device%20Entity%20Hierarchy%20Example.png ""Device Entity Hierarchy Example""){: width=""0.8""} + +> Note 1 to entry: See {{lst(device-entity-hierarchy-example)}} for the {{term(XML)}} representation of the same example. + +> Note 2 to entry: Example above only shows the {{block(Component)}} and {{block(Composition)}} level hierarchy. For a complete semantics on each kind see {{package(Components)}} and {{package(Compositions)}}. + +A variety of entities are defined to describe a piece of equipment. Some of these entities **MUST** always be defined for an {{block(MTConnectDevices)}} entity, while others are optional and **MAY** be used, as required, to provide additional structure. + +The first, or highest level, entity defined for an {{block(MTConnectDevices)}} entity is {{block(Devices)}}. {{block(Devices)}} is used to group one or more pieces of equipment into a single document. {{block(Devices)}} **MUST** always be defined for an {{block(MTConnectDevices)}} entity. + +{{block(Device)}} is the next entity defined for the {{block(MTConnectDevices)}} entity. A separate {{block(Device)}} entity is used to identify each piece of equipment for an {{block(MTConnectDevices)}} entity. Each {{block(Device)}} provides information on the physical and logical structure of the piece of equipment and the data associated with that equipment. {{block(Device)}} can also represent any logical grouping of pieces of equipment that function as a unit or any other data source that provides data through an {{term(agent)}}. + +One or more {{block(Device)}} entities **MUST** always be defined for an {{block(MTConnectDevices)}} entity. + +{{block(Components)}} is the next entity defined for the {{block(MTConnectDevices)}} entity. {{block(Components)}} is used to group information describing lower level physical parts or logical functions of a piece of equipment. + +{{block(Component)}} is the next level of entity defined for the {{block(MTConnectDevices)}} entity. {{block(Component)}} is both an abstract type entity and an {{term(organizer)}} type entity. + +As an abstract entity, {{block(Component)}} will always be realized by a specific {{block(Component)}} type defined in {{package(Component Types)}}. Each {{block(Component)}} can also be used to organize information describing {{term(lower level)}} entities or {{termplural(DataItem)}} associated with the {{block(Component)}}. + +If {{term(lower level)}} entities are described, these entities are by definition child {{block(Component)}} entities of a parent {{block(Component)}}. At this next level, the {{term(lower level)}} child {{block(Component)}} entities are grouped by {{block(Components)}}. + +A {{block(Component)}} **MAY** be further decomposed into {{block(Composition)}} entities that are grouped by {{block(Compositions)}}. These describe the lowest level basic structural or functional building blocks contained within a {{block(Component)}}. Data provided for a {{block(Component)}} provides more specific meaning when it is associated with one of the {{block(Composition)}} entities of the {{block(Component)}}. The different {{block(Composition)}} types that **MAY** be defined for the {{block(MTConnectDevices)}} entity are defined in {{package(Compositions)}}. + +This parent-child relationship can continue to any depth required to fully define a piece of equipment. + +> Note: See {{figure(Device Entity Hierarchy Example)}} for an example. + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + ComponentTypesPackage, + DevicesPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + ComponentGeneralization, + DescriptionClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.ComponentTypesPackage _ComponentTypesPackage; + /// + /// + /// + public Package.ComponentTypesPackage ComponentTypesPackage => _ComponentTypesPackage ?? (_ComponentTypesPackage = new Package.ComponentTypesPackage()); + + private Package.DevicesPackage _DevicesPackage; + /// + /// + /// + public Package.DevicesPackage DevicesPackage => _DevicesPackage ?? (_DevicesPackage = new Package.DevicesPackage()); + + #endregion + + #region Classes + private Package.ComponentGeneralization _ComponentGeneralization; + /// + /// + /// + public Package.ComponentGeneralization ComponentGeneralization => _ComponentGeneralization ?? (_ComponentGeneralization = new Package.ComponentGeneralization()); + + private Package.DescriptionClass _DescriptionClass; + /// + /// + /// + public Package.DescriptionClass DescriptionClass => _DescriptionClass ?? (_DescriptionClass = new Package.DescriptionClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/Compositions.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/Compositions.cs new file mode 100644 index 00000000..72469fbb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/Compositions.cs @@ -0,0 +1,80 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.Compositions; + +namespace Mtconnect.DeviceInformationModel +{ + /// This section provides semantic information for the Composition entity.

See {{figure(Components)}} for the Composition model diagram.

![Component with Compositions Example](figures/Component%20with%20Compositions%20Example.png "Component with Compositions Example"){: width="0.8"}

> Note: See {{lst(component-with-compositions-example)}} for the XML representation of the same example.


Compositions Model

Composition entities are used to describe the lowest level physical building blocks of a piece of equipment contained within a Component. By referencing a specific Composition entity, further clarification and meaning to data associated with a specific Component can be achieved.

Both Component and Composition entities are lower level entities representing the sub-parts of the parent Component. However, there are distinct differences between Component and Composition type entities.

Component entities may be further defined with lower level Component entities and may have associated DataItems.

Composition entities represent the lowest level physical part of a piece of equipment. They MUST NOT be further defined with lower level Component entities and they MUST NOT have DataItems directly associated with them. They do provide additional information that can be used to enhance the specificity of DataItems associated with the parent Component.




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class CompositionsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_3D92D585_AB2B_4fe0_8B49_2F22359705CA"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_3D92D585_AB2B_4fe0_8B49_2F22359705CA"; + /// Constant value for + public const string NAME = "Compositions"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(Composition)}} entity. + +See {{figure(Components)}} for the {{block(Composition)}} model diagram. + +![Component with Compositions Example](figures/Component%20with%20Compositions%20Example.png ""Component with Compositions Example""){: width=""0.8""} + +> Note: See {{lst(component-with-compositions-example)}} for the {{term(XML)}} representation of the same example. + Compositions Model {{block(Composition)}} entities are used to describe the lowest level physical building blocks of a piece of equipment contained within a {{block(Component)}}. By referencing a specific {{block(Composition)}} entity, further clarification and meaning to data associated with a specific {{block(Component)}} can be achieved. + +Both {{block(Component)}} and {{block(Composition)}} entities are {{term(lower level)}} entities representing the sub-parts of the parent {{block(Component)}}. However, there are distinct differences between {{block(Component)}} and {{block(Composition)}} type entities. + +{{block(Component)}} entities may be further defined with {{term(lower level)}} {{block(Component)}} entities and may have associated {{termplural(DataItem)}}. + +{{block(Composition)}} entities represent the lowest level physical part of a piece of equipment. They **MUST NOT** be further defined with {{term(lower level)}} {{block(Component)}} entities and they **MUST NOT** have {{termplural(DataItem)}} directly associated with them. They do provide additional information that can be used to enhance the specificity of {{termplural(DataItem)}} associated with the parent {{block(Component)}}. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + CompositionClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.CompositionClass _CompositionClass; + /// + /// + /// + public Package.CompositionClass CompositionClass => _CompositionClass ?? (_CompositionClass = new Package.CompositionClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/Configurations.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/Configurations.cs new file mode 100644 index 00000000..8218e4bd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/Configurations.cs @@ -0,0 +1,128 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.Configurations; + +namespace Mtconnect.DeviceInformationModel +{ + /// {{figure(Configuration)}} shows the abstract Configuration and its types.

![Configuration](figures/Configuration.png "Configuration"){: width="0.8"}

> Note: See Configuration Schema Diagrams for XML schema.


Configurations Model

This section provides semantic information for the Configuration entity that is used to model technical information about a Component.




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ConfigurationsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1579526876433_244855_7626"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_91b028d_1579526876433_244855_7626"; + /// Constant value for + public const string NAME = "Configurations"; + /// Constant value for + public const string SUMMARY = @" {{figure(Configuration)}} shows the abstract {{block(Configuration)}} and its types. + +![Configuration](figures/Configuration.png ""Configuration""){: width=""0.8""} + +> Note: See {{sect(Configuration Schema Diagrams)}} for XML schema. + Configurations Model This section provides semantic information for the {{block(Configuration)}} entity that is used to model technical information about a {{block(Component)}}. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + CoordinateSystemsPackage, + MotionPackage, + SpecificationsPackage, + SensorPackage, + RelationshipsPackage, + SolidModelPackage, + ImageFilesPackage, + PowerSourcesPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + ConfigurationClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.CoordinateSystemsPackage _CoordinateSystemsPackage; + /// + /// + /// + public Package.CoordinateSystemsPackage CoordinateSystemsPackage => _CoordinateSystemsPackage ?? (_CoordinateSystemsPackage = new Package.CoordinateSystemsPackage()); + + private Package.MotionPackage _MotionPackage; + /// + /// + /// + public Package.MotionPackage MotionPackage => _MotionPackage ?? (_MotionPackage = new Package.MotionPackage()); + + private Package.SpecificationsPackage _SpecificationsPackage; + /// + /// + /// + public Package.SpecificationsPackage SpecificationsPackage => _SpecificationsPackage ?? (_SpecificationsPackage = new Package.SpecificationsPackage()); + + private Package.SensorPackage _SensorPackage; + /// + /// + /// + public Package.SensorPackage SensorPackage => _SensorPackage ?? (_SensorPackage = new Package.SensorPackage()); + + private Package.RelationshipsPackage _RelationshipsPackage; + /// + /// + /// + public Package.RelationshipsPackage RelationshipsPackage => _RelationshipsPackage ?? (_RelationshipsPackage = new Package.RelationshipsPackage()); + + private Package.SolidModelPackage _SolidModelPackage; + /// + /// + /// + public Package.SolidModelPackage SolidModelPackage => _SolidModelPackage ?? (_SolidModelPackage = new Package.SolidModelPackage()); + + private Package.ImageFilesPackage _ImageFilesPackage; + /// + /// + /// + public Package.ImageFilesPackage ImageFilesPackage => _ImageFilesPackage ?? (_ImageFilesPackage = new Package.ImageFilesPackage()); + + private Package.PowerSourcesPackage _PowerSourcesPackage; + /// + /// + /// + public Package.PowerSourcesPackage PowerSourcesPackage => _PowerSourcesPackage ?? (_PowerSourcesPackage = new Package.PowerSourcesPackage()); + + #endregion + + #region Classes + private Package.ConfigurationClass _ConfigurationClass; + /// + /// + /// + public Package.ConfigurationClass ConfigurationClass => _ConfigurationClass ?? (_ConfigurationClass = new Package.ConfigurationClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/DataItems.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/DataItems.cs new file mode 100644 index 00000000..d14e2a6e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/DataItems.cs @@ -0,0 +1,90 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.DataItems; + +namespace Mtconnect.DeviceInformationModel +{ + /// This section provides semantic information for the DataItem entity. {{figure(DataItems)}} shows the DataItem model.

![DataItems](figures/DataItems.png "DataItems"){: width="0.8"}

> Note: See DataItems Schema Diagrams for XML schema.


DataItems Model

For an MTConnectDevices entity, DataItems describe data that can be reported by a piece of equipment and are associated with Device and Component entities. While the DataItems describe the data that can be reported by a piece of equipment as an MTConnectDevices entity, the actual data values are provided by the MTConnectStreams entity in the MTConnectStreams Response Document. See Observation Information Model for detail on the reported values.

Each DataItem SHOULD be modeled for the MTConnectDevices entity such that it is associated with the entity that the reported data directly applies.

DataItem describes specific types of DataItems that represent a numeric value, a functioning state, or a health status reported by a piece of equipment. DataItem provides a detailed description for each DataItem that is reported; it defines the type of data being reported and an array of optional attributes that further describe that data. The different types of DataItem elements are defined in DataItem Types.




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class DataItemsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_0FAC31E7_7957_49d2_AD4C_BCFBEF9878FD"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_0FAC31E7_7957_49d2_AD4C_BCFBEF9878FD"; + /// Constant value for + public const string NAME = "DataItems"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(DataItem)}} entity. {{figure(DataItems)}} shows the {{block(DataItem)}} model. + +![DataItems](figures/DataItems.png ""DataItems""){: width=""0.8""} + +> Note: See {{sect(DataItems Schema Diagrams)}} for XML schema. + DataItems Model For an {{block(MTConnectDevices)}} entity, {{termplural(DataItem)}} describe data that can be reported by a piece of equipment and are associated with {{block(Device)}} and {{block(Component)}} entities. While the {{termplural(DataItem)}} describe the data that can be reported by a piece of equipment as an {{block(MTConnectDevices)}} entity, the actual data values are provided by the {{block(MTConnectStreams)}} entity in the {{term(MTConnectStreams Response Document)}}. See {{package(Observation Information Model)}} for detail on the reported values. + +Each {{term(DataItem)}} **SHOULD** be modeled for the {{block(MTConnectDevices)}} entity such that it is associated with the entity that the reported data directly applies. + +{{block(DataItem)}} describes specific types of {{termplural(DataItem)}} that represent a numeric value, a functioning state, or a health status reported by a piece of equipment. {{block(DataItem)}} provides a detailed description for each {{term(DataItem)}} that is reported; it defines the type of data being reported and an array of optional attributes that further describe that data. The different types of {{block(DataItem)}} elements are defined in {{package(DataItem Types)}}. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + DataItemTypesPackage, + PropertiesOfDataItemPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + DataItemClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.DataItemTypesPackage _DataItemTypesPackage; + /// + /// + /// + public Package.DataItemTypesPackage DataItemTypesPackage => _DataItemTypesPackage ?? (_DataItemTypesPackage = new Package.DataItemTypesPackage()); + + private Package.PropertiesOfDataItemPackage _PropertiesOfDataItemPackage; + /// + /// + /// + public Package.PropertiesOfDataItemPackage PropertiesOfDataItemPackage => _PropertiesOfDataItemPackage ?? (_PropertiesOfDataItemPackage = new Package.PropertiesOfDataItemPackage()); + + #endregion + + #region Classes + private Package.DataItemClass _DataItemClass; + /// + /// + /// + public Package.DataItemClass DataItemClass => _DataItemClass ?? (_DataItemClass = new Package.DataItemClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/References.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/References.cs new file mode 100644 index 00000000..fefbb7db --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/DeviceInformationModel/References.cs @@ -0,0 +1,88 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.References; + +namespace Mtconnect.DeviceInformationModel +{ + /// This section provides semantic information for the Reference entity. {{figure(References)}} shows the Reference model.

Reference may be modeled as part of a Device, Component or Interface type.

![References](figures/References.png "References"){: width="0.8"}

> Note: See References Schema Diagrams for XML schema of Reference and its types.


References Model

References organizes pointers to information defined elsewhere within the MTConnectDevices entity for a piece of equipment. It is an efficient method to associate information with an element without duplicating any of the data or structure.




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ReferencesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_F54CCA63_E73C_468b_B64E_F97DEE70FFC6"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_F54CCA63_E73C_468b_B64E_F97DEE70FFC6"; + /// Constant value for + public const string NAME = "References"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(Reference)}} entity. {{figure(References)}} shows the {{block(Reference)}} model. + +{{block(Reference)}} may be modeled as part of a {{block(Device)}}, {{block(Component)}} or {{block(Interface)}} type. + +![References](figures/References.png ""References""){: width=""0.8""} + +> Note: See {{sect(References Schema Diagrams)}} for XML schema of {{block(Reference)}} and its types. + References Model {{block(References)}} {{termplural(organize)}} pointers to information defined elsewhere within the {{block(MTConnectDevices)}} entity for a piece of equipment. It is an efficient method to associate information with an element without duplicating any of the data or structure. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + ReferenceClass, + DataItemRefClass, + ComponentRefClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.ReferenceClass _ReferenceClass; + /// + /// + /// + public Package.ReferenceClass ReferenceClass => _ReferenceClass ?? (_ReferenceClass = new Package.ReferenceClass()); + + private Package.DataItemRefClass _DataItemRefClass; + /// + /// + /// + public Package.DataItemRefClass DataItemRefClass => _DataItemRefClass ?? (_DataItemRefClass = new Package.DataItemRefClass()); + + private Package.ComponentRefClass _ComponentRefClass; + /// + /// + /// + public Package.ComponentRefClass ComponentRefClass => _ComponentRefClass ?? (_ComponentRefClass = new Package.ComponentRefClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Fundamentals/MTConnectProtocol.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Fundamentals/MTConnectProtocol.cs new file mode 100644 index 00000000..ed5f2d7e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Fundamentals/MTConnectProtocol.cs @@ -0,0 +1,98 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Fundamentals.MTConnectProtocol; + +namespace Mtconnect.Fundamentals +{ + /// The agent MUST support the REST Protocol and produce XML representations of the information models.

All other protocols and representations are optional.



+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class MTConnectProtocolPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_50B7711E_30AA_4a94_9F73_C74061BA099D"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_50B7711E_30AA_4a94_9F73_C74061BA099D"; + /// Constant value for + public const string NAME = "MTConnect Protocol"; + /// Constant value for + public const string SUMMARY = @" The {{term(agent)}} **MUST** support the {{package(REST Protocol)}} and produce {{term(XML)}} representations of the information models. + +All other protocols and representations are optional. + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + MTConnectAssetsResponseDocumentPackage, + MTConnectDevicesResponseDocumentPackage, + MTConnectStreamsResponseDocumentPackage, + MTConnectErrorsResponseDocumentPackage, + RESTProtocolPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.MTConnectAssetsResponseDocumentPackage _MTConnectAssetsResponseDocumentPackage; + /// + /// + /// + public Package.MTConnectAssetsResponseDocumentPackage MTConnectAssetsResponseDocumentPackage => _MTConnectAssetsResponseDocumentPackage ?? (_MTConnectAssetsResponseDocumentPackage = new Package.MTConnectAssetsResponseDocumentPackage()); + + private Package.MTConnectDevicesResponseDocumentPackage _MTConnectDevicesResponseDocumentPackage; + /// + /// + /// + public Package.MTConnectDevicesResponseDocumentPackage MTConnectDevicesResponseDocumentPackage => _MTConnectDevicesResponseDocumentPackage ?? (_MTConnectDevicesResponseDocumentPackage = new Package.MTConnectDevicesResponseDocumentPackage()); + + private Package.MTConnectStreamsResponseDocumentPackage _MTConnectStreamsResponseDocumentPackage; + /// + /// + /// + public Package.MTConnectStreamsResponseDocumentPackage MTConnectStreamsResponseDocumentPackage => _MTConnectStreamsResponseDocumentPackage ?? (_MTConnectStreamsResponseDocumentPackage = new Package.MTConnectStreamsResponseDocumentPackage()); + + private Package.MTConnectErrorsResponseDocumentPackage _MTConnectErrorsResponseDocumentPackage; + /// + /// + /// + public Package.MTConnectErrorsResponseDocumentPackage MTConnectErrorsResponseDocumentPackage => _MTConnectErrorsResponseDocumentPackage ?? (_MTConnectErrorsResponseDocumentPackage = new Package.MTConnectErrorsResponseDocumentPackage()); + + private Package.RESTProtocolPackage _RESTProtocolPackage; + /// + /// + /// + public Package.RESTProtocolPackage RESTProtocolPackage => _RESTProtocolPackage ?? (_RESTProtocolPackage = new Package.RESTProtocolPackage()); + + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/HTTPTerms.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/HTTPTerms.cs new file mode 100644 index 00000000..dab4e211 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/HTTPTerms.cs @@ -0,0 +1,171 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Glossary.HTTPTerms; + +namespace Mtconnect.Glossary +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class HTTPTermsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664707546_436843_7242"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1623664707546_436843_7242"; + /// Constant value for + public const string NAME = "HTTP Terms"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + HTTPStatusCodeClass, + HTTPServerClass, + HTTPBodyClass, + HTTPHeaderFieldClass, + HTTPRequestURIClass, + HTTPRequestMethodClass, + HTTPResponseClass, + HTTPMessagingClass, + HTTPRequestGeneralization, + HTTPQueryClass, + HTTPVersionClass, + HTTPMessageClass, + HTTPHeaderClass, + HTTPErrorMessageClass, + HTTPRequestLineClass, + HTTPMethodClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.HTTPStatusCodeClass _HTTPStatusCodeClass; + /// + /// + /// + public Package.HTTPStatusCodeClass HTTPStatusCodeClass => _HTTPStatusCodeClass ?? (_HTTPStatusCodeClass = new Package.HTTPStatusCodeClass()); + + private Package.HTTPServerClass _HTTPServerClass; + /// + /// + /// + public Package.HTTPServerClass HTTPServerClass => _HTTPServerClass ?? (_HTTPServerClass = new Package.HTTPServerClass()); + + private Package.HTTPBodyClass _HTTPBodyClass; + /// + /// + /// + public Package.HTTPBodyClass HTTPBodyClass => _HTTPBodyClass ?? (_HTTPBodyClass = new Package.HTTPBodyClass()); + + private Package.HTTPHeaderFieldClass _HTTPHeaderFieldClass; + /// + /// + /// + public Package.HTTPHeaderFieldClass HTTPHeaderFieldClass => _HTTPHeaderFieldClass ?? (_HTTPHeaderFieldClass = new Package.HTTPHeaderFieldClass()); + + private Package.HTTPRequestURIClass _HTTPRequestURIClass; + /// + /// + /// + public Package.HTTPRequestURIClass HTTPRequestURIClass => _HTTPRequestURIClass ?? (_HTTPRequestURIClass = new Package.HTTPRequestURIClass()); + + private Package.HTTPRequestMethodClass _HTTPRequestMethodClass; + /// + /// + /// + public Package.HTTPRequestMethodClass HTTPRequestMethodClass => _HTTPRequestMethodClass ?? (_HTTPRequestMethodClass = new Package.HTTPRequestMethodClass()); + + private Package.HTTPResponseClass _HTTPResponseClass; + /// + /// + /// + public Package.HTTPResponseClass HTTPResponseClass => _HTTPResponseClass ?? (_HTTPResponseClass = new Package.HTTPResponseClass()); + + private Package.HTTPMessagingClass _HTTPMessagingClass; + /// + /// + /// + public Package.HTTPMessagingClass HTTPMessagingClass => _HTTPMessagingClass ?? (_HTTPMessagingClass = new Package.HTTPMessagingClass()); + + private Package.HTTPRequestGeneralization _HTTPRequestGeneralization; + /// + /// + /// + public Package.HTTPRequestGeneralization HTTPRequestGeneralization => _HTTPRequestGeneralization ?? (_HTTPRequestGeneralization = new Package.HTTPRequestGeneralization()); + + private Package.HTTPQueryClass _HTTPQueryClass; + /// + /// + /// + public Package.HTTPQueryClass HTTPQueryClass => _HTTPQueryClass ?? (_HTTPQueryClass = new Package.HTTPQueryClass()); + + private Package.HTTPVersionClass _HTTPVersionClass; + /// + /// + /// + public Package.HTTPVersionClass HTTPVersionClass => _HTTPVersionClass ?? (_HTTPVersionClass = new Package.HTTPVersionClass()); + + private Package.HTTPMessageClass _HTTPMessageClass; + /// + /// + /// + public Package.HTTPMessageClass HTTPMessageClass => _HTTPMessageClass ?? (_HTTPMessageClass = new Package.HTTPMessageClass()); + + private Package.HTTPHeaderClass _HTTPHeaderClass; + /// + /// + /// + public Package.HTTPHeaderClass HTTPHeaderClass => _HTTPHeaderClass ?? (_HTTPHeaderClass = new Package.HTTPHeaderClass()); + + private Package.HTTPErrorMessageClass _HTTPErrorMessageClass; + /// + /// + /// + public Package.HTTPErrorMessageClass HTTPErrorMessageClass => _HTTPErrorMessageClass ?? (_HTTPErrorMessageClass = new Package.HTTPErrorMessageClass()); + + private Package.HTTPRequestLineClass _HTTPRequestLineClass; + /// + /// + /// + public Package.HTTPRequestLineClass HTTPRequestLineClass => _HTTPRequestLineClass ?? (_HTTPRequestLineClass = new Package.HTTPRequestLineClass()); + + private Package.HTTPMethodClass _HTTPMethodClass; + /// + /// + /// + public Package.HTTPMethodClass HTTPMethodClass => _HTTPMethodClass ?? (_HTTPMethodClass = new Package.HTTPMethodClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/IndustrialTerms.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/IndustrialTerms.cs new file mode 100644 index 00000000..32049fcd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/IndustrialTerms.cs @@ -0,0 +1,206 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Glossary.IndustrialTerms; + +namespace Mtconnect.Glossary +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class IndustrialTermsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1637105844205_327255_1120"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_4_45f01b9_1637105844205_327255_1120"; + /// Constant value for + public const string NAME = "Industrial Terms"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + AssetClass, + ConfigurationClass, + EngineeredSystemClass, + ObservationClass, + ObservableClass, + ObserveClass, + EngineeringUnitsClass, + EquipmentMetadataClass, + EquipmentClass, + RawMaterialClass, + SensorClass, + SensorConfigurationClass, + SensorDataClass, + SensorUnitClass, + SensorElementClass, + PhysicalConnectionClass, + ControlLimitClass, + ConditionClass, + ConditionStateClass, + ThingClass, + ResourceClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.AssetClass _AssetClass; + /// + /// + /// + public Package.AssetClass AssetClass => _AssetClass ?? (_AssetClass = new Package.AssetClass()); + + private Package.ConfigurationClass _ConfigurationClass; + /// + /// + /// + public Package.ConfigurationClass ConfigurationClass => _ConfigurationClass ?? (_ConfigurationClass = new Package.ConfigurationClass()); + + private Package.EngineeredSystemClass _EngineeredSystemClass; + /// + /// + /// + public Package.EngineeredSystemClass EngineeredSystemClass => _EngineeredSystemClass ?? (_EngineeredSystemClass = new Package.EngineeredSystemClass()); + + private Package.ObservationClass _ObservationClass; + /// + /// + /// + public Package.ObservationClass ObservationClass => _ObservationClass ?? (_ObservationClass = new Package.ObservationClass()); + + private Package.ObservableClass _ObservableClass; + /// + /// + /// + public Package.ObservableClass ObservableClass => _ObservableClass ?? (_ObservableClass = new Package.ObservableClass()); + + private Package.ObserveClass _ObserveClass; + /// + /// + /// + public Package.ObserveClass ObserveClass => _ObserveClass ?? (_ObserveClass = new Package.ObserveClass()); + + private Package.EngineeringUnitsClass _EngineeringUnitsClass; + /// + /// + /// + public Package.EngineeringUnitsClass EngineeringUnitsClass => _EngineeringUnitsClass ?? (_EngineeringUnitsClass = new Package.EngineeringUnitsClass()); + + private Package.EquipmentMetadataClass _EquipmentMetadataClass; + /// + /// + /// + public Package.EquipmentMetadataClass EquipmentMetadataClass => _EquipmentMetadataClass ?? (_EquipmentMetadataClass = new Package.EquipmentMetadataClass()); + + private Package.EquipmentClass _EquipmentClass; + /// + /// + /// + public Package.EquipmentClass EquipmentClass => _EquipmentClass ?? (_EquipmentClass = new Package.EquipmentClass()); + + private Package.RawMaterialClass _RawMaterialClass; + /// + /// + /// + public Package.RawMaterialClass RawMaterialClass => _RawMaterialClass ?? (_RawMaterialClass = new Package.RawMaterialClass()); + + private Package.SensorClass _SensorClass; + /// + /// + /// + public Package.SensorClass SensorClass => _SensorClass ?? (_SensorClass = new Package.SensorClass()); + + private Package.SensorConfigurationClass _SensorConfigurationClass; + /// + /// + /// + public Package.SensorConfigurationClass SensorConfigurationClass => _SensorConfigurationClass ?? (_SensorConfigurationClass = new Package.SensorConfigurationClass()); + + private Package.SensorDataClass _SensorDataClass; + /// + /// + /// + public Package.SensorDataClass SensorDataClass => _SensorDataClass ?? (_SensorDataClass = new Package.SensorDataClass()); + + private Package.SensorUnitClass _SensorUnitClass; + /// + /// + /// + public Package.SensorUnitClass SensorUnitClass => _SensorUnitClass ?? (_SensorUnitClass = new Package.SensorUnitClass()); + + private Package.SensorElementClass _SensorElementClass; + /// + /// + /// + public Package.SensorElementClass SensorElementClass => _SensorElementClass ?? (_SensorElementClass = new Package.SensorElementClass()); + + private Package.PhysicalConnectionClass _PhysicalConnectionClass; + /// + /// + /// + public Package.PhysicalConnectionClass PhysicalConnectionClass => _PhysicalConnectionClass ?? (_PhysicalConnectionClass = new Package.PhysicalConnectionClass()); + + private Package.ControlLimitClass _ControlLimitClass; + /// + /// + /// + public Package.ControlLimitClass ControlLimitClass => _ControlLimitClass ?? (_ControlLimitClass = new Package.ControlLimitClass()); + + private Package.ConditionClass _ConditionClass; + /// + /// + /// + public Package.ConditionClass ConditionClass => _ConditionClass ?? (_ConditionClass = new Package.ConditionClass()); + + private Package.ConditionStateClass _ConditionStateClass; + /// + /// + /// + public Package.ConditionStateClass ConditionStateClass => _ConditionStateClass ?? (_ConditionStateClass = new Package.ConditionStateClass()); + + private Package.ThingClass _ThingClass; + /// + /// + /// + public Package.ThingClass ThingClass => _ThingClass ?? (_ThingClass = new Package.ThingClass()); + + private Package.ResourceClass _ResourceClass; + /// + /// + /// + public Package.ResourceClass ResourceClass => _ResourceClass ?? (_ResourceClass = new Package.ResourceClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/InformationModelTerms.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/InformationModelTerms.cs new file mode 100644 index 00000000..ab2d644b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/InformationModelTerms.cs @@ -0,0 +1,94 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Glossary.InformationModelTerms; + +namespace Mtconnect.Glossary +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class InformationModelTermsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623665808313_870132_8816"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1623665808313_870132_8816"; + /// Constant value for + public const string NAME = "Information Model Terms"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + ErrorInformationModelClass, + AssetInformationModelClass, + MTConnectInformationModelGeneralization, + ObservationInformationModelClass, + DeviceInformationModelClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.ErrorInformationModelClass _ErrorInformationModelClass; + /// + /// + /// + public Package.ErrorInformationModelClass ErrorInformationModelClass => _ErrorInformationModelClass ?? (_ErrorInformationModelClass = new Package.ErrorInformationModelClass()); + + private Package.AssetInformationModelClass _AssetInformationModelClass; + /// + /// + /// + public Package.AssetInformationModelClass AssetInformationModelClass => _AssetInformationModelClass ?? (_AssetInformationModelClass = new Package.AssetInformationModelClass()); + + private Package.MTConnectInformationModelGeneralization _MTConnectInformationModelGeneralization; + /// + /// + /// + public Package.MTConnectInformationModelGeneralization MTConnectInformationModelGeneralization => _MTConnectInformationModelGeneralization ?? (_MTConnectInformationModelGeneralization = new Package.MTConnectInformationModelGeneralization()); + + private Package.ObservationInformationModelClass _ObservationInformationModelClass; + /// + /// + /// + public Package.ObservationInformationModelClass ObservationInformationModelClass => _ObservationInformationModelClass ?? (_ObservationInformationModelClass = new Package.ObservationInformationModelClass()); + + private Package.DeviceInformationModelClass _DeviceInformationModelClass; + /// + /// + /// + public Package.DeviceInformationModelClass DeviceInformationModelClass => _DeviceInformationModelClass ?? (_DeviceInformationModelClass = new Package.DeviceInformationModelClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/MTConnectTerms.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/MTConnectTerms.cs new file mode 100644 index 00000000..e1f4a23a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/MTConnectTerms.cs @@ -0,0 +1,143 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Glossary.MTConnectTerms; + +namespace Mtconnect.Glossary +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class MTConnectTermsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664932175_240534_7738"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1623664932175_240534_7738"; + /// Constant value for + public const string NAME = "MTConnect Terms"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + AdditionalObservationTermsPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + ComponentClass, + MTConnectAgentGeneralization, + AssetGeneralization, + CompositionClass, + MTConnectDocumentGeneralization, + ConfigurationGeneralization, + DeviceClass, + MTConnectInterfaceClass, + ObservationClass, + MTConnectEventGeneralization, + DataItemClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.AdditionalObservationTermsPackage _AdditionalObservationTermsPackage; + /// + /// + /// + public Package.AdditionalObservationTermsPackage AdditionalObservationTermsPackage => _AdditionalObservationTermsPackage ?? (_AdditionalObservationTermsPackage = new Package.AdditionalObservationTermsPackage()); + + #endregion + + #region Classes + private Package.ComponentClass _ComponentClass; + /// + /// + /// + public Package.ComponentClass ComponentClass => _ComponentClass ?? (_ComponentClass = new Package.ComponentClass()); + + private Package.MTConnectAgentGeneralization _MTConnectAgentGeneralization; + /// + /// + /// + public Package.MTConnectAgentGeneralization MTConnectAgentGeneralization => _MTConnectAgentGeneralization ?? (_MTConnectAgentGeneralization = new Package.MTConnectAgentGeneralization()); + + private Package.AssetGeneralization _AssetGeneralization; + /// + /// + /// + public Package.AssetGeneralization AssetGeneralization => _AssetGeneralization ?? (_AssetGeneralization = new Package.AssetGeneralization()); + + private Package.CompositionClass _CompositionClass; + /// + /// + /// + public Package.CompositionClass CompositionClass => _CompositionClass ?? (_CompositionClass = new Package.CompositionClass()); + + private Package.MTConnectDocumentGeneralization _MTConnectDocumentGeneralization; + /// + /// + /// + public Package.MTConnectDocumentGeneralization MTConnectDocumentGeneralization => _MTConnectDocumentGeneralization ?? (_MTConnectDocumentGeneralization = new Package.MTConnectDocumentGeneralization()); + + private Package.ConfigurationGeneralization _ConfigurationGeneralization; + /// + /// + /// + public Package.ConfigurationGeneralization ConfigurationGeneralization => _ConfigurationGeneralization ?? (_ConfigurationGeneralization = new Package.ConfigurationGeneralization()); + + private Package.DeviceClass _DeviceClass; + /// + /// + /// + public Package.DeviceClass DeviceClass => _DeviceClass ?? (_DeviceClass = new Package.DeviceClass()); + + private Package.MTConnectInterfaceClass _MTConnectInterfaceClass; + /// + /// + /// + public Package.MTConnectInterfaceClass MTConnectInterfaceClass => _MTConnectInterfaceClass ?? (_MTConnectInterfaceClass = new Package.MTConnectInterfaceClass()); + + private Package.ObservationClass _ObservationClass; + /// + /// + /// + public Package.ObservationClass ObservationClass => _ObservationClass ?? (_ObservationClass = new Package.ObservationClass()); + + private Package.MTConnectEventGeneralization _MTConnectEventGeneralization; + /// + /// + /// + public Package.MTConnectEventGeneralization MTConnectEventGeneralization => _MTConnectEventGeneralization ?? (_MTConnectEventGeneralization = new Package.MTConnectEventGeneralization()); + + private Package.DataItemClass _DataItemClass; + /// + /// + /// + public Package.DataItemClass DataItemClass => _DataItemClass ?? (_DataItemClass = new Package.DataItemClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/ProtocolTerms.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/ProtocolTerms.cs new file mode 100644 index 00000000..656d03a9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/ProtocolTerms.cs @@ -0,0 +1,199 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Glossary.ProtocolTerms; + +namespace Mtconnect.Glossary +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ProtocolTermsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623665982544_883035_11209"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1623665982544_883035_11209"; + /// Constant value for + public const string NAME = "Protocol Terms"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + MTConnectStreamsResponseDocumentClass, + MTConnectAssetsResponseDocumentClass, + MTConnectDevicesResponseDocumentClass, + MTConnectErrorsResponseDocumentClass, + MTConnectResponseDocumentClass, + TransportProtocolGeneralization, + SampleRequestClass, + MTConnectRequestGeneralization, + ProbeRequestClass, + StreamingDataClass, + PublishClass, + CurrentRequestClass, + ProtocolClass, + DataStreamingClass, + PublishAndSubscribeClass, + SubscribeClass, + AssetRequestClass, + RequestClass, + ResponseClass, + RequestAndResponseClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.MTConnectStreamsResponseDocumentClass _MTConnectStreamsResponseDocumentClass; + /// + /// + /// + public Package.MTConnectStreamsResponseDocumentClass MTConnectStreamsResponseDocumentClass => _MTConnectStreamsResponseDocumentClass ?? (_MTConnectStreamsResponseDocumentClass = new Package.MTConnectStreamsResponseDocumentClass()); + + private Package.MTConnectAssetsResponseDocumentClass _MTConnectAssetsResponseDocumentClass; + /// + /// + /// + public Package.MTConnectAssetsResponseDocumentClass MTConnectAssetsResponseDocumentClass => _MTConnectAssetsResponseDocumentClass ?? (_MTConnectAssetsResponseDocumentClass = new Package.MTConnectAssetsResponseDocumentClass()); + + private Package.MTConnectDevicesResponseDocumentClass _MTConnectDevicesResponseDocumentClass; + /// + /// + /// + public Package.MTConnectDevicesResponseDocumentClass MTConnectDevicesResponseDocumentClass => _MTConnectDevicesResponseDocumentClass ?? (_MTConnectDevicesResponseDocumentClass = new Package.MTConnectDevicesResponseDocumentClass()); + + private Package.MTConnectErrorsResponseDocumentClass _MTConnectErrorsResponseDocumentClass; + /// + /// + /// + public Package.MTConnectErrorsResponseDocumentClass MTConnectErrorsResponseDocumentClass => _MTConnectErrorsResponseDocumentClass ?? (_MTConnectErrorsResponseDocumentClass = new Package.MTConnectErrorsResponseDocumentClass()); + + private Package.MTConnectResponseDocumentClass _MTConnectResponseDocumentClass; + /// + /// + /// + public Package.MTConnectResponseDocumentClass MTConnectResponseDocumentClass => _MTConnectResponseDocumentClass ?? (_MTConnectResponseDocumentClass = new Package.MTConnectResponseDocumentClass()); + + private Package.TransportProtocolGeneralization _TransportProtocolGeneralization; + /// + /// + /// + public Package.TransportProtocolGeneralization TransportProtocolGeneralization => _TransportProtocolGeneralization ?? (_TransportProtocolGeneralization = new Package.TransportProtocolGeneralization()); + + private Package.SampleRequestClass _SampleRequestClass; + /// + /// + /// + public Package.SampleRequestClass SampleRequestClass => _SampleRequestClass ?? (_SampleRequestClass = new Package.SampleRequestClass()); + + private Package.MTConnectRequestGeneralization _MTConnectRequestGeneralization; + /// + /// + /// + public Package.MTConnectRequestGeneralization MTConnectRequestGeneralization => _MTConnectRequestGeneralization ?? (_MTConnectRequestGeneralization = new Package.MTConnectRequestGeneralization()); + + private Package.ProbeRequestClass _ProbeRequestClass; + /// + /// + /// + public Package.ProbeRequestClass ProbeRequestClass => _ProbeRequestClass ?? (_ProbeRequestClass = new Package.ProbeRequestClass()); + + private Package.StreamingDataClass _StreamingDataClass; + /// + /// + /// + public Package.StreamingDataClass StreamingDataClass => _StreamingDataClass ?? (_StreamingDataClass = new Package.StreamingDataClass()); + + private Package.PublishClass _PublishClass; + /// + /// + /// + public Package.PublishClass PublishClass => _PublishClass ?? (_PublishClass = new Package.PublishClass()); + + private Package.CurrentRequestClass _CurrentRequestClass; + /// + /// + /// + public Package.CurrentRequestClass CurrentRequestClass => _CurrentRequestClass ?? (_CurrentRequestClass = new Package.CurrentRequestClass()); + + private Package.ProtocolClass _ProtocolClass; + /// + /// + /// + public Package.ProtocolClass ProtocolClass => _ProtocolClass ?? (_ProtocolClass = new Package.ProtocolClass()); + + private Package.DataStreamingClass _DataStreamingClass; + /// + /// + /// + public Package.DataStreamingClass DataStreamingClass => _DataStreamingClass ?? (_DataStreamingClass = new Package.DataStreamingClass()); + + private Package.PublishAndSubscribeClass _PublishAndSubscribeClass; + /// + /// + /// + public Package.PublishAndSubscribeClass PublishAndSubscribeClass => _PublishAndSubscribeClass ?? (_PublishAndSubscribeClass = new Package.PublishAndSubscribeClass()); + + private Package.SubscribeClass _SubscribeClass; + /// + /// + /// + public Package.SubscribeClass SubscribeClass => _SubscribeClass ?? (_SubscribeClass = new Package.SubscribeClass()); + + private Package.AssetRequestClass _AssetRequestClass; + /// + /// + /// + public Package.AssetRequestClass AssetRequestClass => _AssetRequestClass ?? (_AssetRequestClass = new Package.AssetRequestClass()); + + private Package.RequestClass _RequestClass; + /// + /// + /// + public Package.RequestClass RequestClass => _RequestClass ?? (_RequestClass = new Package.RequestClass()); + + private Package.ResponseClass _ResponseClass; + /// + /// + /// + public Package.ResponseClass ResponseClass => _ResponseClass ?? (_ResponseClass = new Package.ResponseClass()); + + private Package.RequestAndResponseClass _RequestAndResponseClass; + /// + /// + /// + public Package.RequestAndResponseClass RequestAndResponseClass => _RequestAndResponseClass ?? (_RequestAndResponseClass = new Package.RequestAndResponseClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/XMLTerms.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/XMLTerms.cs new file mode 100644 index 00000000..5e43dfad --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Glossary/XMLTerms.cs @@ -0,0 +1,143 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Glossary.XMLTerms; + +namespace Mtconnect.Glossary +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class XMLTermsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623664567542_661579_6860"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1623664567542_661579_6860"; + /// Constant value for + public const string NAME = "XML Terms"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + NamespaceClass, + XMLSchemaGeneralization, + RootElementGeneralization, + DocumentBodyClass, + XMLDocumentGeneralization, + DocumentHeaderClass, + AttributeClass, + AbstractElementGeneralization, + ChildElementGeneralization, + ParentElementGeneralization, + StructuralElementClass, + ElementNameClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.NamespaceClass _NamespaceClass; + /// + /// + /// + public Package.NamespaceClass NamespaceClass => _NamespaceClass ?? (_NamespaceClass = new Package.NamespaceClass()); + + private Package.XMLSchemaGeneralization _XMLSchemaGeneralization; + /// + /// + /// + public Package.XMLSchemaGeneralization XMLSchemaGeneralization => _XMLSchemaGeneralization ?? (_XMLSchemaGeneralization = new Package.XMLSchemaGeneralization()); + + private Package.RootElementGeneralization _RootElementGeneralization; + /// + /// + /// + public Package.RootElementGeneralization RootElementGeneralization => _RootElementGeneralization ?? (_RootElementGeneralization = new Package.RootElementGeneralization()); + + private Package.DocumentBodyClass _DocumentBodyClass; + /// + /// + /// + public Package.DocumentBodyClass DocumentBodyClass => _DocumentBodyClass ?? (_DocumentBodyClass = new Package.DocumentBodyClass()); + + private Package.XMLDocumentGeneralization _XMLDocumentGeneralization; + /// + /// + /// + public Package.XMLDocumentGeneralization XMLDocumentGeneralization => _XMLDocumentGeneralization ?? (_XMLDocumentGeneralization = new Package.XMLDocumentGeneralization()); + + private Package.DocumentHeaderClass _DocumentHeaderClass; + /// + /// + /// + public Package.DocumentHeaderClass DocumentHeaderClass => _DocumentHeaderClass ?? (_DocumentHeaderClass = new Package.DocumentHeaderClass()); + + private Package.AttributeClass _AttributeClass; + /// + /// + /// + public Package.AttributeClass AttributeClass => _AttributeClass ?? (_AttributeClass = new Package.AttributeClass()); + + private Package.AbstractElementGeneralization _AbstractElementGeneralization; + /// + /// + /// + public Package.AbstractElementGeneralization AbstractElementGeneralization => _AbstractElementGeneralization ?? (_AbstractElementGeneralization = new Package.AbstractElementGeneralization()); + + private Package.ChildElementGeneralization _ChildElementGeneralization; + /// + /// + /// + public Package.ChildElementGeneralization ChildElementGeneralization => _ChildElementGeneralization ?? (_ChildElementGeneralization = new Package.ChildElementGeneralization()); + + private Package.ParentElementGeneralization _ParentElementGeneralization; + /// + /// + /// + public Package.ParentElementGeneralization ParentElementGeneralization => _ParentElementGeneralization ?? (_ParentElementGeneralization = new Package.ParentElementGeneralization()); + + private Package.StructuralElementClass _StructuralElementClass; + /// + /// + /// + public Package.StructuralElementClass StructuralElementClass => _StructuralElementClass ?? (_StructuralElementClass = new Package.StructuralElementClass()); + + private Package.ElementNameClass _ElementNameClass; + /// + /// + /// + public Package.ElementNameClass ElementNameClass => _ElementNameClass ?? (_ElementNameClass = new Package.ElementNameClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Imports/CSVImports.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Imports/CSVImports.cs new file mode 100644 index 00000000..ab5db51a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Imports/CSVImports.cs @@ -0,0 +1,73 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Imports.CSVImports; + +namespace Mtconnect.Imports +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class CSVImportsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579210647400_714066_3582"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579210647400_714066_3582"; + /// Constant value for + public const string NAME = "CSV Imports"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + PropertyMapClass, + ImportDescriptorClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.PropertyMapClass _PropertyMapClass; + /// + /// + /// + public Package.PropertyMapClass PropertyMapClass => _PropertyMapClass ?? (_PropertyMapClass = new Package.PropertyMapClass()); + + private Package.ImportDescriptorClass _ImportDescriptorClass; + /// + /// + /// + public Package.ImportDescriptorClass ImportDescriptorClass => _ImportDescriptorClass ?? (_ImportDescriptorClass = new Package.ImportDescriptorClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Imports/UnitImports.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Imports/UnitImports.cs new file mode 100644 index 00000000..ed848d7d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Imports/UnitImports.cs @@ -0,0 +1,66 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Imports.UnitImports; + +namespace Mtconnect.Imports +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class UnitImportsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790694_260747_162771"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790694_260747_162771"; + /// Constant value for + public const string NAME = "Unit Imports"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + BasicUnitsPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.BasicUnitsPackage _BasicUnitsPackage; + /// + /// + /// + public Package.BasicUnitsPackage BasicUnitsPackage => _BasicUnitsPackage ?? (_BasicUnitsPackage = new Package.BasicUnitsPackage()); + + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/DataForInterface.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/DataForInterface.cs new file mode 100644 index 00000000..18640fc1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/DataForInterface.cs @@ -0,0 +1,75 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.InterfaceInteractionModel +{ + /// Each interface MUST provide the data associated with the specific interface to implement the interaction model and any additional data that may be needed by another piece of equipment to understand the operating states and conditions of the first piece of equipment as it applies to the interface.

Details on data items specific to the interaction model for each type of interface are provided in DataItem Types for Interface.

An implementer may choose any other data available from a piece of equipment to describe the operating states and other information needed to support an interface.

### References for Interface

Some of the data items needed to support a specific interface may already be defined elsewhere in the MTConnectDevices Response Document for a piece of equipment. However, the implementer may not be able to directly associate this data with the interface since the MTConnect Standard does not permit multiple occurrences of a piece of data to be configured in an MTConnectDevices Response Document. References provides a mechanism for associating information defined elsewhere in the information model for a piece of equipment with a specific interface.

References organizes Reference elements.

Reference is a pointer to information that is associated with another entity defined elsewhere for a piece of equipment.

References is an economical syntax for providing interface specific information without directly duplicating the occurrence of the data. It provides a mechanism to include all necessary information required for interaction and deterministic information flow between pieces of equipment.

For more information on the References model, see Device Information Model.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class DataForInterfacePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1629374886900_914612_22"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1629374886900_914612_22"; + /// Constant value for + public const string NAME = "Data for Interface"; + /// Constant value for + public const string SUMMARY = @" Each {{term(interface)}} **MUST** provide the data associated with the specific {{term(interface)}} to implement the {{term(interaction model)}} and any additional data that may be needed by another piece of equipment to understand the operating states and conditions of the first piece of equipment as it applies to the {{term(interface)}}. + +Details on data items specific to the {{term(interaction model)}} for each type of {{term(interface)}} are provided in {{package(DataItem Types for Interface)}}. + +An implementer may choose any other data available from a piece of equipment to describe the operating states and other information needed to support an {{term(interface)}}. + +### References for Interface + +Some of the data items needed to support a specific {{term(interface)}} may already be defined elsewhere in the {{term(MTConnectDevices Response Document)}} for a piece of equipment. However, the implementer may not be able to directly associate this data with the {{term(interface)}} since the MTConnect Standard does not permit multiple occurrences of a piece of data to be configured in an {{term(MTConnectDevices Response Document)}}. {{block(References)}} provides a mechanism for associating information defined elsewhere in the {{term(information model)}} for a piece of equipment with a specific {{term(interface)}}. + +{{block(References)}} {{termplural(organize)}} {{block(Reference)}} elements. + +{{block(Reference)}} is a pointer to information that is associated with another entity defined elsewhere for a piece of equipment. + +{{block(References)}} is an economical syntax for providing interface specific information without directly duplicating the occurrence of the data. It provides a mechanism to include all necessary information required for interaction and deterministic information flow between pieces of equipment. + +For more information on the {{block(References)}} model, see {{package(Device Information Model)}}. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/DataItemTypesForInterface.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/DataItemTypesForInterface.cs new file mode 100644 index 00000000..5ff09774 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/DataItemTypesForInterface.cs @@ -0,0 +1,298 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.InterfaceInteractionModel.DataItemTypesForInterface; + +namespace Mtconnect.InterfaceInteractionModel +{ + /// Each Interface contains data items which are used to communicate information required to execute the interface. When these data items are read by another piece of equipment, that piece of equipment can then determine the actions that it may take based upon that data.

InterfaceState is a data item specifically defined for interfaces. It defines the operational state of the interface. This is an indicator identifying whether the interface is functioning or not. See InterfaceState for complete semantic details.

Some data items MAY be directly associated with the Interface element and others will be organized by a References element. It is up to an implementer to determine which additional data items are required for a particular interface.

### Specific Data Items for the Interaction Model for Interface

A special set of data items have been defined to be used in conjunction with Interface. They provide information from a piece of equipment to request a service to be performed by another associated piece of equipment; and for the associated piece of equipment to indicate its progress in performing its response to the request for service. .

Many of the data items describing the services associated with an interface are paired to describe two distinct actions – one to request an action to be performed and a second to reverse the action or to return to an original state. For example, a DoorInterface will have two actions OpenDoor and CloseDoor. An example of an implementation of this would be a robot that indicates to a machine that it would like to have a door opened so that the robot could extract a part from the machine and then asks the machine to close that door once the part has been removed.

When these data items are used to describe a service associated with an interface, they MUST have one of the following two subType elements: REQUEST or RESPONSE. These MUST be specified to define whether the piece of equipment is functioning as the requester or responder for the service to be performed. The requester MUST specify the REQUEST subType for the data item and the responder MUST specify a corresponding RESPONSE subType for the data item to enable the coordination between the two pieces of equipment.

These data items and their associated subType provide the basic structure for implementing the interaction model for an interface and are defined in the following sections.

{{figure(Request State Machine)}} and {{figure(Response State Machine)}} show possible state transitions for a request and response respectively. The state machine diagrams provide the permissible values of the observations for the DataItem types listed in this section.

![Request State Machine](figures/Request%20State%20Machine.png "Request State Machine"){: width="0.8"}

![Response State Machine](figures/Response%20State%20Machine.png "Response State Machine"){: width="0.8"}



+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class DataItemTypesForInterfacePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1629373205367_975278_21"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1629373205367_975278_21"; + /// Constant value for + public const string NAME = "DataItem Types for Interface"; + /// Constant value for + public const string SUMMARY = @" Each {{block(Interface)}} contains data items which are used to communicate information required to execute the {{term(interface)}}. When these data items are read by another piece of equipment, that piece of equipment can then determine the actions that it may take based upon that data. + +{{block(InterfaceState)}} is a data item specifically defined for {{termplural(interface)}}. It defines the operational state of the {{term(interface)}}. This is an indicator identifying whether the {{term(interface)}} is functioning or not. See {{sect(InterfaceState)}} for complete semantic details. + +Some data items **MAY** be directly associated with the {{block(Interface)}} element and others will be organized by a {{block(References)}} element. It is up to an implementer to determine which additional data items are required for a particular {{term(interface)}}. + +### Specific Data Items for the Interaction Model for Interface + +A special set of data items have been defined to be used in conjunction with {{block(Interface)}}. They provide information from a piece of equipment to {{term(request)}} a service to be performed by another associated piece of equipment; and for the associated piece of equipment to indicate its progress in performing its {{term(response)}} to the {{term(request)}} for service. . + +Many of the data items describing the services associated with an {{term(interface)}} are paired to describe two distinct actions – one to {{term(request)}} an action to be performed and a second to reverse the action or to return to an original state. For example, a {{block(DoorInterface)}} will have two actions {{block(OpenDoor)}} and {{block(CloseDoor)}}. An example of an implementation of this would be a robot that indicates to a machine that it would like to have a door opened so that the robot could extract a part from the machine and then asks the machine to close that door once the part has been removed. + +When these data items are used to describe a service associated with an {{term(interface)}}, they **MUST** have one of the following two `subType` elements: `REQUEST` or `RESPONSE`. These **MUST** be specified to define whether the piece of equipment is functioning as the {{term(requester)}} or {{term(responder)}} for the service to be performed. The {{term(requester)}} **MUST** specify the `REQUEST` `subType` for the data item and the {{term(responder)}} **MUST** specify a corresponding `RESPONSE` `subType` for the data item to enable the coordination between the two pieces of equipment. + +These data items and their associated `subType` provide the basic structure for implementing the {{term(interaction model)}} for an {{term(interface)}} and are defined in the following sections. + +{{figure(Request State Machine)}} and {{figure(Response State Machine)}} show possible state transitions for a {{term(request)}} and {{term(response)}} respectively. The state machine diagrams provide the permissible values of the {{termplural(observation)}} for the {{block(DataItem)}} types listed in this section. + +![Request State Machine](figures/Request%20State%20Machine.png ""Request State Machine""){: width=""0.8""} + +![Response State Machine](figures/Response%20State%20Machine.png ""Response State Machine""){: width=""0.8""} + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + MaterialFeedClass, + MaterialChangeClass, + MaterialChangeRequestClass, + MaterialChangeResponseClass, + MaterialFeedRequestClass, + MaterialFeedResponseClass, + MaterialRetractClass, + MaterialRetractRequestClass, + MaterialRetractResponseClass, + MaterialLoadClass, + MaterialLoadRequestClass, + MaterialLoadResponseClass, + MaterialUnloadClass, + MaterialUnloadRequestClass, + MaterialUnloadResponseClass, + OpenChuckClass, + OpenChuckRequestClass, + OpenChuckResponseClass, + OpenDoorClass, + OpenDoorRequestClass, + OpenDoorResponseClass, + PartChangeClass, + PartChangeRequestClass, + PartChangeResponseClass, + CloseDoorClass, + CloseDoorRequestClass, + CloseDoorResponseClass, + CloseChuckClass, + CloseChuckRequestClass, + CloseChuckResponseClass, + InterfaceStateClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.MaterialFeedClass _MaterialFeedClass; + /// + /// + /// + public Package.MaterialFeedClass MaterialFeedClass => _MaterialFeedClass ?? (_MaterialFeedClass = new Package.MaterialFeedClass()); + + private Package.MaterialChangeClass _MaterialChangeClass; + /// + /// + /// + public Package.MaterialChangeClass MaterialChangeClass => _MaterialChangeClass ?? (_MaterialChangeClass = new Package.MaterialChangeClass()); + + private Package.MaterialChangeRequestClass _MaterialChangeRequestClass; + /// + /// + /// + public Package.MaterialChangeRequestClass MaterialChangeRequestClass => _MaterialChangeRequestClass ?? (_MaterialChangeRequestClass = new Package.MaterialChangeRequestClass()); + + private Package.MaterialChangeResponseClass _MaterialChangeResponseClass; + /// + /// + /// + public Package.MaterialChangeResponseClass MaterialChangeResponseClass => _MaterialChangeResponseClass ?? (_MaterialChangeResponseClass = new Package.MaterialChangeResponseClass()); + + private Package.MaterialFeedRequestClass _MaterialFeedRequestClass; + /// + /// + /// + public Package.MaterialFeedRequestClass MaterialFeedRequestClass => _MaterialFeedRequestClass ?? (_MaterialFeedRequestClass = new Package.MaterialFeedRequestClass()); + + private Package.MaterialFeedResponseClass _MaterialFeedResponseClass; + /// + /// + /// + public Package.MaterialFeedResponseClass MaterialFeedResponseClass => _MaterialFeedResponseClass ?? (_MaterialFeedResponseClass = new Package.MaterialFeedResponseClass()); + + private Package.MaterialRetractClass _MaterialRetractClass; + /// + /// + /// + public Package.MaterialRetractClass MaterialRetractClass => _MaterialRetractClass ?? (_MaterialRetractClass = new Package.MaterialRetractClass()); + + private Package.MaterialRetractRequestClass _MaterialRetractRequestClass; + /// + /// + /// + public Package.MaterialRetractRequestClass MaterialRetractRequestClass => _MaterialRetractRequestClass ?? (_MaterialRetractRequestClass = new Package.MaterialRetractRequestClass()); + + private Package.MaterialRetractResponseClass _MaterialRetractResponseClass; + /// + /// + /// + public Package.MaterialRetractResponseClass MaterialRetractResponseClass => _MaterialRetractResponseClass ?? (_MaterialRetractResponseClass = new Package.MaterialRetractResponseClass()); + + private Package.MaterialLoadClass _MaterialLoadClass; + /// + /// + /// + public Package.MaterialLoadClass MaterialLoadClass => _MaterialLoadClass ?? (_MaterialLoadClass = new Package.MaterialLoadClass()); + + private Package.MaterialLoadRequestClass _MaterialLoadRequestClass; + /// + /// + /// + public Package.MaterialLoadRequestClass MaterialLoadRequestClass => _MaterialLoadRequestClass ?? (_MaterialLoadRequestClass = new Package.MaterialLoadRequestClass()); + + private Package.MaterialLoadResponseClass _MaterialLoadResponseClass; + /// + /// + /// + public Package.MaterialLoadResponseClass MaterialLoadResponseClass => _MaterialLoadResponseClass ?? (_MaterialLoadResponseClass = new Package.MaterialLoadResponseClass()); + + private Package.MaterialUnloadClass _MaterialUnloadClass; + /// + /// + /// + public Package.MaterialUnloadClass MaterialUnloadClass => _MaterialUnloadClass ?? (_MaterialUnloadClass = new Package.MaterialUnloadClass()); + + private Package.MaterialUnloadRequestClass _MaterialUnloadRequestClass; + /// + /// + /// + public Package.MaterialUnloadRequestClass MaterialUnloadRequestClass => _MaterialUnloadRequestClass ?? (_MaterialUnloadRequestClass = new Package.MaterialUnloadRequestClass()); + + private Package.MaterialUnloadResponseClass _MaterialUnloadResponseClass; + /// + /// + /// + public Package.MaterialUnloadResponseClass MaterialUnloadResponseClass => _MaterialUnloadResponseClass ?? (_MaterialUnloadResponseClass = new Package.MaterialUnloadResponseClass()); + + private Package.OpenChuckClass _OpenChuckClass; + /// + /// + /// + public Package.OpenChuckClass OpenChuckClass => _OpenChuckClass ?? (_OpenChuckClass = new Package.OpenChuckClass()); + + private Package.OpenChuckRequestClass _OpenChuckRequestClass; + /// + /// + /// + public Package.OpenChuckRequestClass OpenChuckRequestClass => _OpenChuckRequestClass ?? (_OpenChuckRequestClass = new Package.OpenChuckRequestClass()); + + private Package.OpenChuckResponseClass _OpenChuckResponseClass; + /// + /// + /// + public Package.OpenChuckResponseClass OpenChuckResponseClass => _OpenChuckResponseClass ?? (_OpenChuckResponseClass = new Package.OpenChuckResponseClass()); + + private Package.OpenDoorClass _OpenDoorClass; + /// + /// + /// + public Package.OpenDoorClass OpenDoorClass => _OpenDoorClass ?? (_OpenDoorClass = new Package.OpenDoorClass()); + + private Package.OpenDoorRequestClass _OpenDoorRequestClass; + /// + /// + /// + public Package.OpenDoorRequestClass OpenDoorRequestClass => _OpenDoorRequestClass ?? (_OpenDoorRequestClass = new Package.OpenDoorRequestClass()); + + private Package.OpenDoorResponseClass _OpenDoorResponseClass; + /// + /// + /// + public Package.OpenDoorResponseClass OpenDoorResponseClass => _OpenDoorResponseClass ?? (_OpenDoorResponseClass = new Package.OpenDoorResponseClass()); + + private Package.PartChangeClass _PartChangeClass; + /// + /// + /// + public Package.PartChangeClass PartChangeClass => _PartChangeClass ?? (_PartChangeClass = new Package.PartChangeClass()); + + private Package.PartChangeRequestClass _PartChangeRequestClass; + /// + /// + /// + public Package.PartChangeRequestClass PartChangeRequestClass => _PartChangeRequestClass ?? (_PartChangeRequestClass = new Package.PartChangeRequestClass()); + + private Package.PartChangeResponseClass _PartChangeResponseClass; + /// + /// + /// + public Package.PartChangeResponseClass PartChangeResponseClass => _PartChangeResponseClass ?? (_PartChangeResponseClass = new Package.PartChangeResponseClass()); + + private Package.CloseDoorClass _CloseDoorClass; + /// + /// + /// + public Package.CloseDoorClass CloseDoorClass => _CloseDoorClass ?? (_CloseDoorClass = new Package.CloseDoorClass()); + + private Package.CloseDoorRequestClass _CloseDoorRequestClass; + /// + /// + /// + public Package.CloseDoorRequestClass CloseDoorRequestClass => _CloseDoorRequestClass ?? (_CloseDoorRequestClass = new Package.CloseDoorRequestClass()); + + private Package.CloseDoorResponseClass _CloseDoorResponseClass; + /// + /// + /// + public Package.CloseDoorResponseClass CloseDoorResponseClass => _CloseDoorResponseClass ?? (_CloseDoorResponseClass = new Package.CloseDoorResponseClass()); + + private Package.CloseChuckClass _CloseChuckClass; + /// + /// + /// + public Package.CloseChuckClass CloseChuckClass => _CloseChuckClass ?? (_CloseChuckClass = new Package.CloseChuckClass()); + + private Package.CloseChuckRequestClass _CloseChuckRequestClass; + /// + /// + /// + public Package.CloseChuckRequestClass CloseChuckRequestClass => _CloseChuckRequestClass ?? (_CloseChuckRequestClass = new Package.CloseChuckRequestClass()); + + private Package.CloseChuckResponseClass _CloseChuckResponseClass; + /// + /// + /// + public Package.CloseChuckResponseClass CloseChuckResponseClass => _CloseChuckResponseClass ?? (_CloseChuckResponseClass = new Package.CloseChuckResponseClass()); + + private Package.InterfaceStateClass _InterfaceStateClass; + /// + /// + /// + public Package.InterfaceStateClass InterfaceStateClass => _InterfaceStateClass ?? (_InterfaceStateClass = new Package.InterfaceStateClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/InterfaceTypes.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/InterfaceTypes.cs new file mode 100644 index 00000000..fcc6838e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/InterfaceTypes.cs @@ -0,0 +1,97 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.InterfaceInteractionModel.InterfaceTypes; + +namespace Mtconnect.InterfaceInteractionModel +{ + /// The abstract Interface is realized by the following types listed in this section.

In order to implement the interaction model for interfaces, each piece of equipment associated with an interface MUST provide the corresponding Interface type. A piece of equipment MAY support any number of unique interfaces.


Interfaces for Device and Observation Information Models

The interaction model for implementing interfaces is defined in the MTConnect Standard as an extension to the Device Information Model and Observation Information Model.

A piece of equipment MAY support multiple different interfaces. Each piece of equipment supporting interfaces MUST model the information associated with each interface as an Interface component. Interface is an abstract Component and is realized by Interface component types.

The {{figure(Interfaces in Entity Hierarchy)}} illustrates where an Interface is modeled in the Device Information Model for a piece of equipment.

![Interfaces in Entity Hierarchy](figures/Interfaces%20in%20Entity%20Hierarchy.png "Interfaces in Entity Hierarchy"){: width="0.8"}




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class InterfaceTypesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622717338882_321462_855"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1622717338882_321462_855"; + /// Constant value for + public const string NAME = "Interface Types"; + /// Constant value for + public const string SUMMARY = @" The abstract {{block(Interface)}} is realized by the following types listed in this section. + +In order to implement the {{term(interaction model)}} for {{termplural(interface)}}, each piece of equipment associated with an {{term(interface)}} **MUST** provide the corresponding {{block(Interface)}} type. A piece of equipment **MAY** support any number of unique {{termplural(interface)}}. + Interfaces for Device and Observation Information Models The {{term(interaction model)}} for implementing {{termplural(interface)}} is defined in the MTConnect Standard as an extension to the {{term(Device Information Model)}} and {{term(Observation Information Model)}}. + +A piece of equipment **MAY** support multiple different {{termplural(interface)}}. Each piece of equipment supporting {{termplural(interface)}} **MUST** model the information associated with each {{term(interface)}} as an {{block(Interface)}} component. {{block(Interface)}} is an abstract {{block(Component)}} and is realized by {{block(Interface)}} component types. + +The {{figure(Interfaces in Entity Hierarchy)}} illustrates where an {{block(Interface)}} is modeled in the {{term(Device Information Model)}} for a piece of equipment. + +![Interfaces in Entity Hierarchy](figures/Interfaces%20in%20Entity%20Hierarchy.png ""Interfaces in Entity Hierarchy""){: width=""0.8""} +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + BarFeederInterfaceGeneralization, + MaterialHandlerInterfaceGeneralization, + DoorInterfaceGeneralization, + ChuckInterfaceGeneralization, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.BarFeederInterfaceGeneralization _BarFeederInterfaceGeneralization; + /// + /// + /// + public Package.BarFeederInterfaceGeneralization BarFeederInterfaceGeneralization => _BarFeederInterfaceGeneralization ?? (_BarFeederInterfaceGeneralization = new Package.BarFeederInterfaceGeneralization()); + + private Package.MaterialHandlerInterfaceGeneralization _MaterialHandlerInterfaceGeneralization; + /// + /// + /// + public Package.MaterialHandlerInterfaceGeneralization MaterialHandlerInterfaceGeneralization => _MaterialHandlerInterfaceGeneralization ?? (_MaterialHandlerInterfaceGeneralization = new Package.MaterialHandlerInterfaceGeneralization()); + + private Package.DoorInterfaceGeneralization _DoorInterfaceGeneralization; + /// + /// + /// + public Package.DoorInterfaceGeneralization DoorInterfaceGeneralization => _DoorInterfaceGeneralization ?? (_DoorInterfaceGeneralization = new Package.DoorInterfaceGeneralization()); + + private Package.ChuckInterfaceGeneralization _ChuckInterfaceGeneralization; + /// + /// + /// + public Package.ChuckInterfaceGeneralization ChuckInterfaceGeneralization => _ChuckInterfaceGeneralization ?? (_ChuckInterfaceGeneralization = new Package.ChuckInterfaceGeneralization()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/MultiDeviceInteractionModel.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/MultiDeviceInteractionModel.cs new file mode 100644 index 00000000..342ab31f --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/MultiDeviceInteractionModel.cs @@ -0,0 +1,66 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel; + +namespace Mtconnect.InterfaceInteractionModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class MultiDeviceInteractionModelPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622718371677_761407_1169"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1622718371677_761407_1169"; + /// Constant value for + public const string NAME = "Multi-Device Interaction Model"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + TasksInformationModelPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.TasksInformationModelPackage _TasksInformationModelPackage; + /// + /// + /// + public Package.TasksInformationModelPackage TasksInformationModelPackage => _TasksInformationModelPackage ?? (_TasksInformationModelPackage = new Package.TasksInformationModelPackage()); + + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/OperationAndErrorRecovery.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/OperationAndErrorRecovery.cs new file mode 100644 index 00000000..b9d7237e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/OperationAndErrorRecovery.cs @@ -0,0 +1,69 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.InterfaceInteractionModel.OperationAndErrorRecovery; + +namespace Mtconnect.InterfaceInteractionModel +{ + /// The request and response state model implemented for interfaces may also be represented by a graphical model. The scenario in {{figure(Success Scenario)}} demonstrates the state transitions that occur during a successful request for service and the resulting response to fulfill that service request.

![Success Scenario](figures/Success%20Scenario.png "Success Scenario"){: width="0.8"}


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class OperationAndErrorRecoveryPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623755007633_105506_1249"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1623755007633_105506_1249"; + /// Constant value for + public const string NAME = "Operation and Error Recovery"; + /// Constant value for + public const string SUMMARY = @" The {{term(request and response)}} state model implemented for {{termplural(interface)}} may also be represented by a graphical model. The scenario in {{figure(Success Scenario)}} demonstrates the state transitions that occur during a successful {{term(request)}} for service and the resulting {{term(response)}} to fulfill that service {{term(request)}}. + +![Success Scenario](figures/Success%20Scenario.png ""Success Scenario""){: width=""0.8""} +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + RequestAndResponseFailureHandlingAndRecoveryPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.RequestAndResponseFailureHandlingAndRecoveryPackage _RequestAndResponseFailureHandlingAndRecoveryPackage; + /// + /// + /// + public Package.RequestAndResponseFailureHandlingAndRecoveryPackage RequestAndResponseFailureHandlingAndRecoveryPackage => _RequestAndResponseFailureHandlingAndRecoveryPackage ?? (_RequestAndResponseFailureHandlingAndRecoveryPackage = new Package.RequestAndResponseFailureHandlingAndRecoveryPackage()); + + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/Signals.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/Signals.cs new file mode 100644 index 00000000..bee3b1f9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/InterfaceInteractionModel/Signals.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.InterfaceInteractionModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class SignalsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1579551273276_491529_4448"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_91b028d_1579551273276_491529_4448"; + /// Constant value for + public const string NAME = "Signals"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/KinematicsSimulation/Simulation.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/KinematicsSimulation/Simulation.cs new file mode 100644 index 00000000..e8f56db7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/KinematicsSimulation/Simulation.cs @@ -0,0 +1,66 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.WIP_DeviceExamples.KinematicsSimulation.Simulation; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class SimulationPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582232371587_1993_123"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_91b028d_1582232371587_1993_123"; + /// Constant value for + public const string NAME = "Simulation"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + KinematicsClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.KinematicsClass _KinematicsClass; + /// + /// + /// + public Package.KinematicsClass KinematicsClass => _KinematicsClass ?? (_KinematicsClass = new Package.KinematicsClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/KinematicsSimulation/XArm7Instance.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/KinematicsSimulation/XArm7Instance.cs new file mode 100644 index 00000000..58fe2292 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/KinematicsSimulation/XArm7Instance.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class XArm7InstancePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582337506334_937522_13698"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_91b028d_1582337506334_937522_13698"; + /// Constant value for + public const string NAME = "XArm7Instance"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/KinematicsSimulation/XArm7Model.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/KinematicsSimulation/XArm7Model.cs new file mode 100644 index 00000000..c9c566d6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/KinematicsSimulation/XArm7Model.cs @@ -0,0 +1,129 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.WIP_DeviceExamples.KinematicsSimulation.XArm7Model; + +namespace Mtconnect.WIP_DeviceExamples.KinematicsSimulation +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class XArm7ModelPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1582232381130_844490_124"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_91b028d_1582232381130_844490_124"; + /// Constant value for + public const string NAME = "XArm7Model"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + OriginPropertyClass, + ParentCoordinatesClass, + OriginPositionGeneralization, + RotationVectorGeneralization, + TranslationVectorGeneralization, + PositionClass, + VectorClass, + TransformationClass, + AngleClass, + AxisClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.OriginPropertyClass _OriginPropertyClass; + /// + /// + /// + public Package.OriginPropertyClass OriginPropertyClass => _OriginPropertyClass ?? (_OriginPropertyClass = new Package.OriginPropertyClass()); + + private Package.ParentCoordinatesClass _ParentCoordinatesClass; + /// + /// + /// + public Package.ParentCoordinatesClass ParentCoordinatesClass => _ParentCoordinatesClass ?? (_ParentCoordinatesClass = new Package.ParentCoordinatesClass()); + + private Package.OriginPositionGeneralization _OriginPositionGeneralization; + /// + /// + /// + public Package.OriginPositionGeneralization OriginPositionGeneralization => _OriginPositionGeneralization ?? (_OriginPositionGeneralization = new Package.OriginPositionGeneralization()); + + private Package.RotationVectorGeneralization _RotationVectorGeneralization; + /// + /// + /// + public Package.RotationVectorGeneralization RotationVectorGeneralization => _RotationVectorGeneralization ?? (_RotationVectorGeneralization = new Package.RotationVectorGeneralization()); + + private Package.TranslationVectorGeneralization _TranslationVectorGeneralization; + /// + /// + /// + public Package.TranslationVectorGeneralization TranslationVectorGeneralization => _TranslationVectorGeneralization ?? (_TranslationVectorGeneralization = new Package.TranslationVectorGeneralization()); + + private Package.PositionClass _PositionClass; + /// + /// + /// + public Package.PositionClass PositionClass => _PositionClass ?? (_PositionClass = new Package.PositionClass()); + + private Package.VectorClass _VectorClass; + /// + /// + /// + public Package.VectorClass VectorClass => _VectorClass ?? (_VectorClass = new Package.VectorClass()); + + private Package.TransformationClass _TransformationClass; + /// + /// + /// + public Package.TransformationClass TransformationClass => _TransformationClass ?? (_TransformationClass = new Package.TransformationClass()); + + private Package.AngleClass _AngleClass; + /// + /// + /// + public Package.AngleClass AngleClass => _AngleClass ?? (_AngleClass = new Package.AngleClass()); + + private Package.AxisClass _AxisClass; + /// + /// + /// + public Package.AxisClass AxisClass => _AxisClass ?? (_AxisClass = new Package.AxisClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectAssetsResponseDocument.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectAssetsResponseDocument.cs new file mode 100644 index 00000000..9f33c058 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectAssetsResponseDocument.cs @@ -0,0 +1,74 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Fundamentals.MTConnectProtocol.MTConnectAssetsResponseDocument; + +namespace Mtconnect.Fundamentals.MTConnectProtocol +{ + /// This section provides semantic information for the MTConnectAssets entity.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class MTConnectAssetsResponseDocumentPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_0BE79858_BF36_444b_9C61_811F8D81B62F"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_0BE79858_BF36_444b_9C61_811F8D81B62F"; + /// Constant value for + public const string NAME = "MTConnectAssets Response Document"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(MTConnectAssets)}} entity. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + MTConnectAssetsClass, + HeaderClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.MTConnectAssetsClass _MTConnectAssetsClass; + /// + /// + /// + public Package.MTConnectAssetsClass MTConnectAssetsClass => _MTConnectAssetsClass ?? (_MTConnectAssetsClass = new Package.MTConnectAssetsClass()); + + private Package.HeaderClass _HeaderClass; + /// + /// + /// + public Package.HeaderClass HeaderClass => _HeaderClass ?? (_HeaderClass = new Package.HeaderClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectDevicesResponseDocument.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectDevicesResponseDocument.cs new file mode 100644 index 00000000..2b97d7ed --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectDevicesResponseDocument.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Fundamentals.MTConnectProtocol.MTConnectDevicesResponseDocument; + +namespace Mtconnect.Fundamentals.MTConnectProtocol +{ + /// This section provides semantic information for the MTConnectDevices entity.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class MTConnectDevicesResponseDocumentPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_1812F5DC_90C0_47d9_B731_2E752A6D72A0"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_1812F5DC_90C0_47d9_B731_2E752A6D72A0"; + /// Constant value for + public const string NAME = "MTConnectDevices Response Document"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(MTConnectDevices)}} entity. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + MTConnectDevicesClass, + HeaderClass, + AssetCountClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.MTConnectDevicesClass _MTConnectDevicesClass; + /// + /// + /// + public Package.MTConnectDevicesClass MTConnectDevicesClass => _MTConnectDevicesClass ?? (_MTConnectDevicesClass = new Package.MTConnectDevicesClass()); + + private Package.HeaderClass _HeaderClass; + /// + /// + /// + public Package.HeaderClass HeaderClass => _HeaderClass ?? (_HeaderClass = new Package.HeaderClass()); + + private Package.AssetCountClass _AssetCountClass; + /// + /// + /// + public Package.AssetCountClass AssetCountClass => _AssetCountClass ?? (_AssetCountClass = new Package.AssetCountClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectErrorsResponseDocument.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectErrorsResponseDocument.cs new file mode 100644 index 00000000..a259aa0e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectErrorsResponseDocument.cs @@ -0,0 +1,84 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Fundamentals.MTConnectProtocol.MTConnectErrorsResponseDocument; + +namespace Mtconnect.Fundamentals.MTConnectProtocol +{ + /// This section provides semantic information for the MTConnectErrors entity.


Error Information Model

The Error Information Model establishes the rules and terminology that describes the response document returned by an agent when it encounters an error while interpreting a request for information from a client software application or when an agent experiences an error while publishing the response to a request for information.

An agent provides the information regarding errors encountered when processing a request for information by publishing an MTConnectErrors Response Document to the client software application that made the request for information.




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class MTConnectErrorsResponseDocumentPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1579560529522_593444_6515"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_91b028d_1579560529522_593444_6515"; + /// Constant value for + public const string NAME = "MTConnectErrors Response Document"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(MTConnectErrors)}} entity. + Error Information Model The {{term(Error Information Model)}} establishes the rules and terminology that describes the {{term(response document)}} returned by an {{term(agent)}} when it encounters an error while interpreting a {{term(request)}} for information from a client software application or when an {{term(agent)}} experiences an error while publishing the {{term(response)}} to a {{term(request)}} for information. + +An {{term(agent)}} provides the information regarding errors encountered when processing a {{term(request)}} for information by publishing an {{term(MTConnectErrors Response Document)}} to the client software application that made the {{term(request)}} for information. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + MTConnectErrorClass, + HeaderClass, + ErrorClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.MTConnectErrorClass _MTConnectErrorClass; + /// + /// + /// + public Package.MTConnectErrorClass MTConnectErrorClass => _MTConnectErrorClass ?? (_MTConnectErrorClass = new Package.MTConnectErrorClass()); + + private Package.HeaderClass _HeaderClass; + /// + /// + /// + public Package.HeaderClass HeaderClass => _HeaderClass ?? (_HeaderClass = new Package.HeaderClass()); + + private Package.ErrorClass _ErrorClass; + /// + /// + /// + public Package.ErrorClass ErrorClass => _ErrorClass ?? (_ErrorClass = new Package.ErrorClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectStreamsResponseDocument.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectStreamsResponseDocument.cs new file mode 100644 index 00000000..be888040 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/MTConnectStreamsResponseDocument.cs @@ -0,0 +1,74 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Fundamentals.MTConnectProtocol.MTConnectStreamsResponseDocument; + +namespace Mtconnect.Fundamentals.MTConnectProtocol +{ + /// This section provides semantic information for the MTConnectStreams entity.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class MTConnectStreamsResponseDocumentPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_E058AC1A_865D_4b99_BBEC_8CC65D67EDEB"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_E058AC1A_865D_4b99_BBEC_8CC65D67EDEB"; + /// Constant value for + public const string NAME = "MTConnectStreams Response Document"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(MTConnectStreams)}} entity. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + MTConnectStreamsClass, + HeaderClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.MTConnectStreamsClass _MTConnectStreamsClass; + /// + /// + /// + public Package.MTConnectStreamsClass MTConnectStreamsClass => _MTConnectStreamsClass ?? (_MTConnectStreamsClass = new Package.MTConnectStreamsClass()); + + private Package.HeaderClass _HeaderClass; + /// + /// + /// + public Package.HeaderClass HeaderClass => _HeaderClass ?? (_HeaderClass = new Package.HeaderClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/RESTProtocol.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/RESTProtocol.cs new file mode 100644 index 00000000..8190a9f9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectProtocol/RESTProtocol.cs @@ -0,0 +1,199 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Fundamentals.MTConnectProtocol.RESTProtocol; + +namespace Mtconnect.Fundamentals.MTConnectProtocol +{ + /// An agent MUST provide a REST API API supporting HTTP version 1.0 or greater. This interface MUST support HTTP (RFC7230) and use URIs (RFC3986) to identify specific information requested from an agent.

The REST API adheres to the architectural principles of a stateless service to retrieve information associated with pieces of equipment. Additionally, the API is read-only and does not produce any side effects on the agent or the equipment. In REST state management, the client is responsible for recovery in case of an error or loss of connection.

### HTTP Request

An agent MUST support the HTTP GET verb, all other verbs are optional. See IETF RFC 7230 for a complete description of the HTTP request structure.

The HTTP uses Uniform Resource Identifiers (URI) as outlined in IETF RFC 3986 as the request-target. IETF RFC 7230 specifies the http URI scheme for the request-target as follows:

1. protocol: The protocol used for the request. Must be http or https.

2. authority: The network domain or address of the agent with an optional port.

3. path: A Hierarchical Identifier following a slash (/) and before the optional question-mark (?). The path separates segments by a slash (/).

4. query: The portion of the HTTP request following the question-mark (?). The query portion of the HTTP request is composed of key-value pairs, <key>=<value> separated by an ampersand (&).

#### path Portion of an HTTP Request

The path portion of the request-target has the following segments:

* device-name or uuid: optional name or uuid of the Device
* request: request, must be one of the following: (also see Operations for Agent)
- {{operation(REST Protocol::Agent::probe)}}
- {{operation(REST Protocol::Agent::current)}}
- {{operation(REST Protocol::Agent::sample)}}
- {{operation(REST Protocol::Agent::asset)}} or assets
- {{operation(REST Protocol::Agent::asset)}} request has additional optional segment <asset ids>

If name or uuid segement are not specified in the HTTP Request, an agent MUST return information for all pieces of equipment. The following sections will

Examples:

* http://localhost:5000/my_device/probe

The request only provides information about my_device.

* http://localhost:5000/probe

The request provides information for all devices.

The following section specifies the details for each request.

### MTConnect REST API

An agent MUST support probe requests, current requests, sample requests, and asset requests.

See the operations of the REST Protocol::Agent for details regarding the requests.

### HTTP Errors

When an agent receives an HTTP Request that is incorrectly formatted or is not supported by the agent, the agent MUST publish an HTTP Error Message which includes a specific status code from the tables above indicating that the request could not be handled by the agent.

Also, if the agent experiences an internal error and is unable to provide the requested response document, it MUST publish an HTTP Error Message that includes a specific status code from the table above.

When an agent encounters an error in interpreting or responding to an HTTP Request, the agent MUST also publish an MTConnectErrors Response Document that provides additional details about the error. See Error Information Model for details on the MTConnectErrors Response Document.

#### Streaming Data

HTTP data streaming is a method for an agent to provide a continuous stream of observations in response to a single request using a publish and subscribe communication pattern.

When an HTTP Request includes an interval parameter, an agent MUST provide data with a minimum delay in milliseconds between the end of one data transmission and the beginning of the next. A value of zero (0) for the interval parameter indicates that the agent should deliver data at the highest rate possible and is only relevant for sample requests .

The format of the response MUST use an x-multipart-replace encoded message with each section separated by MIME boundaries. Each section MUST contain an entire MTConnectStreams Response Document.

When streaming for a current request, the agent produces an MTConnectStreams Response Document with the most current observations every interval milliseconds.

When streaming for a sample request, if there are no available observations after the interval time elapsed, the agent MUST wait for either the heartbeat time to elapse or an observation arrives. If the heartbeat time elapses and no observations arrive, then an empty MTConnectStreams Response Document MUST be sent.

> Note: For more information on MIME, see IETF RFC 1521 and RFC 822.

An example of the format for an HTTP Request that includes an interval parameter is:

~~~~
http://localhost:5000/sample?interval=1000
~~~~
{: caption="Example for HTTP Request with interval parameter" label="example-for-http-request-with-interval-parameter"}

HTTP Response Header:

~~~~
HTTP/1.1 200 OK
Connection: close
Date: Sat, 13 Mar 2010 08:33:37 UTC
Status: 200 OK
Content-Disposition: inline
X-Runtime: 144ms
Content-Type: multipart/x-mixed-replace;boundary=
a8e12eced4fb871ac096a99bf9728425
Transfer-Encoding: chunked
~~~~
{: caption="HTTP Response header" label="http-response-header"}

Lines 1-9 in {{lst(http-response-header)}} represent a standard header for a MIME multipart/x-mixed-replace message. The boundary is a separator for each section of the stream. Lines 7-8 indicate this is a multipart MIME message and the boundary between sections.

With streaming protocols, the Content-length MUST be omitted and Transfer-Encoding MUST be set to chunked (line 9). See IETF RFC 7230 for a full description of the HTTP protocol and chunked encoding.

~~~~
--a8e12eced4fb871ac096a99bf9728425
Content-type: text/xml
Content-length: 887

<?xml version="1.0" ecoding="UTF-8"?>
<MTConnectStreams ...>...
~~~~
{: caption="HTTP Response header 2" label="http-response-header-2" start="last"}

Each section of the document begins with a boundary preceded by two hyphens (--). The Content-type and Content-length header fields MUST be provided for each section and MUST be followed by <CR><LF><CR><LF> (ASCII code for <CR> is 13 and <LF> 10) before the XML document. The header and the <CR><LF><CR><LF> MUST NOT be included in the computation of the content length.

An agent MUST continue to stream results until the client closes the connection. The agent MUST NOT stop streaming for any reason other than the following:

* agent process stops
* The client application stops receiving data

##### Heartbeat

When streaming data is requested from a sample request, an agent MUST support a heartbeat to indicate to a client application that the HTTP connection is still viable during times when there is no new data available to be published. The heartbeat is indicated by an agent by sending an MTConnect response document with an empty Steams entity (See Observation Information Model for more details on Streams) to the client software application.

The heartbeat MUST occur on a periodic basis given by the optional heartbeat query parameter and MUST default to 10 seconds. An agent MUST maintain a separate heartbeat for each client application for which the agent is responding to a data streaming request.

An agent MUST begin calculating the interval for the time-period of the heartbeat for each client application immediately after a response document is published to that specific client application.

The heartbeat remains in effect for each client software application until the data streaming request is terminated by either the agent or the client application.

#### References

A Component MAY include a set of Reference entities of the following types that MAY alter the content of the MTConnectStreams Response Documents published in response to a current request or a sample request as specified:

* A Component reference (ComponentRef) modifies the set of Observations, limited by a path query parameter of a current request or sample request, to include the Observations associated with the entity whose value for its id attribute matches the value provided for the idRef attribute of the ComponentRef element. Additionally, Observations defined for any lower level entity(s) associated with the identified entities MUST also be returned. The result is equivalent to appending //[@id=<"idRef">] to the path query parameters of the current request or sample request. See Agent for more details on path queries.

* A DataItem reference (DataItemRef) modifies the set of resulting Observations, limited by a path query parameter of a current request or sample request, to include the Observations whose value for its id attribute matches the value provided for the idRef attribute of the DataItemRef element. The result is equivalent to appending //[@id=<"idRef">] to the path query parameters of the current request or sample request. See Agent for more details on path queries.



+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class RESTProtocolPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1637706615628_274120_5004"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_4_45f01b9_1637706615628_274120_5004"; + /// Constant value for + public const string NAME = "REST Protocol"; + /// Constant value for + public const string SUMMARY = @" An {{term(agent)}} **MUST** provide a REST API {{term(API)}} supporting HTTP version 1.0 or greater. This interface **MUST** support HTTP (RFC7230) and use URIs (RFC3986) to identify specific information requested from an {{term(agent)}}. + +The REST API adheres to the architectural principles of a stateless service to retrieve information associated with pieces of equipment. Additionally, the API is read-only and does not produce any side effects on the {{term(agent)}} or the equipment. In REST state management, the client is responsible for recovery in case of an error or loss of connection. + +### HTTP Request + +An {{term(agent)}} **MUST** support the `HTTP` `GET` verb, all other verbs are optional. See IETF RFC 7230 for a complete description of the HTTP request structure. + +The HTTP uses Uniform Resource Identifiers (URI) as outlined in IETF RFC 3986 as the *request-target*. IETF RFC 7230 specifies the http URI scheme for the *request-target* as follows: + +1. `protocol`: The protocol used for the request. Must be `http` or `https`. + +2. `authority`: The network domain or address of the agent with an optional port. + +3. `path`: A Hierarchical Identifier following a slash (`/`) and before the optional question-mark (`?`). The `path` separates segments by a slash (`/`). + +4. `query`: The portion of the HTTP request following the question-mark (`?`). The query portion of the HTTP request is composed of key-value pairs, `=` separated by an ampersand (`&`). + +#### `path` Portion of an HTTP Request + +The `path` portion of the *request-target* has the following segments: + +* `device-name` or `uuid`: optional `name` or `uuid` of the {{block(Device)}} +* `request`: request, must be one of the following: (also see {{sect(Operations for Agent)}}) + - {{operation(REST Protocol::Agent::probe)}} + - {{operation(REST Protocol::Agent::current)}} + - {{operation(REST Protocol::Agent::sample)}} + - {{operation(REST Protocol::Agent::asset)}} or `assets` + - {{operation(REST Protocol::Agent::asset)}} request has additional optional segment `` + +If `name` or `uuid` segement are not specified in the {{term(HTTP Request)}}, an {{term(agent)}} **MUST** return information for all pieces of equipment. The following sections will + +Examples: + +* `http://localhost:5000/my_device/probe` + + The request only provides information about `my_device`. + +* `http://localhost:5000/probe` + + The request provides information for all devices. + +The following section specifies the details for each request. + +### MTConnect REST API + +An {{term(agent)}} **MUST** support {{termplural(probe request)}}, {{termplural(current request)}}, {{termplural(sample request)}}, and {{termplural(asset request)}}. + +See the operations of the {{block(REST Protocol::Agent)}} for details regarding the {{termplural(request)}}. + +### HTTP Errors + +When an {{term(agent)}} receives an {{term(HTTP Request)}} that is incorrectly formatted or is not supported by the {{term(agent)}}, the {{term(agent)}} **MUST** publish an {{term(HTTP Error Message)}} which includes a specific status code from the tables above indicating that the {{term(request)}} could not be handled by the {{term(agent)}}. + +Also, if the {{term(agent)}} experiences an internal error and is unable to provide the requested {{term(response document)}}, it **MUST** publish an {{term(HTTP Error Message)}} that includes a specific status code from the table above. + +When an {{term(agent)}} encounters an error in interpreting or responding to an {{term(HTTP Request)}}, the {{term(agent)}} **MUST** also publish an {{term(MTConnectErrors Response Document)}} that provides additional details about the error. See {{sect(Error Information Model)}} for details on the {{term(MTConnectErrors Response Document)}}. + +#### Streaming Data + +HTTP {{term(data streaming)}} is a method for an {{term(agent)}} to provide a continuous stream of {{termplural(observation)}} in response to a single {{term(request)}} using a {{term(publish and subscribe)}} communication pattern. + +When an {{term(HTTP Request)}} includes an `interval` parameter, an {{term(agent)}} **MUST** provide data with a minimum delay in milliseconds between the end of one data transmission and the beginning of the next. A value of zero (0) for the `interval` parameter indicates that the {{term(agent)}} should deliver data at the highest rate possible and is only relevant for {{termplural(sample request)}} . + +The format of the response **MUST** use an `x-multipart-replace` encoded message with each section separated by MIME boundaries. Each section **MUST** contain an entire {{term(MTConnectStreams Response Document)}}. + +When streaming for a {{term(current request)}}, the {{term(agent)}} produces an {{term(MTConnectStreams Response Document)}} with the most current {{termplural(observation)}} every `interval` milliseconds. + +When streaming for a {{term(sample request)}}, if there are no available {{termplural(observation)}} after the `interval` time elapsed, the {{term(agent)}} **MUST** wait for either the `heartbeat` time to elapse or an {{term(observation)}} arrives. If the `heartbeat` time elapses and no {{termplural(observation)}} arrive, then an empty {{term(MTConnectStreams Response Document)}} **MUST** be sent. + +> Note: For more information on MIME, see IETF RFC 1521 and RFC 822. + +An example of the format for an {{term(HTTP Request)}} that includes an `interval` parameter is: + +~~~~ +http://localhost:5000/sample?interval=1000 +~~~~ +{: caption=""Example for HTTP Request with interval parameter"" label=""example-for-http-request-with-interval-parameter""} + +HTTP Response Header: + +~~~~ +HTTP/1.1 200 OK +Connection: close +Date: Sat, 13 Mar 2010 08:33:37 UTC +Status: 200 OK +Content-Disposition: inline +X-Runtime: 144ms +Content-Type: multipart/x-mixed-replace;boundary= +a8e12eced4fb871ac096a99bf9728425 +Transfer-Encoding: chunked +~~~~ +{: caption=""HTTP Response header"" label=""http-response-header""} + +Lines 1-9 in {{lst(http-response-header)}} represent a standard header for a MIME `multipart/x-mixed-replace` message. The boundary is a separator for each section of the stream. Lines 7-8 indicate this is a multipart MIME message and the boundary between sections. + +With streaming protocols, the `Content-length` **MUST** be omitted and `Transfer-Encoding` **MUST** be set to `chunked` (line 9). See IETF RFC 7230 for a full description of the HTTP protocol and chunked encoding. + +~~~~ +--a8e12eced4fb871ac096a99bf9728425 +Content-type: text/xml +Content-length: 887 + + +... +~~~~ +{: caption=""HTTP Response header 2"" label=""http-response-header-2"" start=""last""} + +Each section of the document begins with a boundary preceded by two hyphens (`--`). The `Content-type` and `Content-length` header fields **MUST** be provided for each section and **MUST** be followed by `` (ASCII code for `` is 13 and `` 10) before the {{term(XML)}} document. The header and the `` **MUST NOT** be included in the computation of the content length. + +An {{term(agent)}} MUST continue to stream results until the client closes the connection. The {{term(agent)}} MUST NOT stop streaming for any reason other than the following: + +* {{term(agent)}} process stops +* The client application stops receiving data + +##### Heartbeat + +When {{term(streaming data)}} is requested from a {{term(sample request)}}, an {{term(agent)}} **MUST** support a {{term(heartbeat)}} to indicate to a client application that the HTTP connection is still viable during times when there is no new data available to be published. The {{term(heartbeat)}} is indicated by an {{term(agent)}} by sending an MTConnect {{term(response document)}} with an empty {{block(Steams)}} entity (See {{package(Observation Information Model)}} for more details on {{block(Streams)}}) to the client software application. + +The {{term(heartbeat)}} **MUST** occur on a periodic basis given by the optional `heartbeat` query parameter and **MUST** default to 10 seconds. An {{term(agent)}} **MUST** maintain a separate {{term(heartbeat)}} for each client application for which the {{term(agent)}} is responding to a {{term(data streaming)}} {{term(request)}}. + +An {{term(agent)}} **MUST** begin calculating the interval for the time-period of the {{term(heartbeat)}} for each client application immediately after a {{term(response document)}} is published to that specific client application. + +The {{term(heartbeat)}} remains in effect for each client software application until the {{term(data streaming)}} {{term(request)}} is terminated by either the {{term(agent)}} or the client application. + +#### References + +A {{block(Component)}} **MAY** include a set of {{block(Reference)}} entities of the following types that **MAY** alter the content of the {{termplural(MTConnectStreams Response Document)}} published in response to a {{term(current request)}} or a {{term(sample request)}} as specified: + +* A {{term(Component)}} reference ({{block(ComponentRef)}}) modifies the set of {{termplural(Observation)}}, limited by a path query parameter of a {{term(current request)}} or {{term(sample request)}}, to include the {{termplural(Observation)}} associated with the entity whose value for its `id` attribute matches the value provided for the `idRef` attribute of the {{block(ComponentRef)}} element. Additionally, {{termplural(Observation)}} defined for any {{term(lower level)}} entity(s) associated with the identified entities **MUST** also be returned. The result is equivalent to appending `//[@id=<""idRef"">]` to the path query parameters of the {{term(current request)}} or {{term(sample request)}}. See {{package(Agent)}} for more details on path queries. + +* A {{term(DataItem)}} reference ({{block(DataItemRef)}}) modifies the set of resulting {{termplural(Observation)}}, limited by a path query parameter of a {{term(current request)}} or {{term(sample request)}}, to include the {{termplural(Observation)}} whose value for its `id` attribute matches the value provided for the `idRef` attribute of the {{block(DataItemRef)}} element. The result is equivalent to appending `//[@id=<""idRef"">]` to the path query parameters of the {{term(current request)}} or {{term(sample request)}}. See {{package(Agent)}} for more details on path queries. + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + AgentClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.AgentClass _AgentClass; + /// + /// + /// + public Package.AgentClass AgentClass => _AgentClass ?? (_AgentClass = new Package.AgentClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectTerms/AdditionalObservationTerms.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectTerms/AdditionalObservationTerms.cs new file mode 100644 index 00000000..7b67774a --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MTConnectTerms/AdditionalObservationTerms.cs @@ -0,0 +1,164 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Glossary.MTConnectTerms.AdditionalObservationTerms; + +namespace Mtconnect.Glossary.MTConnectTerms +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class AdditionalObservationTermsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1635253160701_352708_1245"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1635253160701_352708_1245"; + /// Constant value for + public const string NAME = "Additional Observation Terms"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + ObservedMeasurementClass, + ObservedConditionClass, + ObservableEventClass, + ObservableSampleClass, + ObservedStateClass, + ObservedNormalClass, + ObservableConditionClass, + ObservedEventClass, + ObservableMeasurementClass, + ObservableStateClass, + ObservedFaultClass, + ObservedWarningClass, + EventClass, + SampleClass, + ConditionClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.ObservedMeasurementClass _ObservedMeasurementClass; + /// + /// + /// + public Package.ObservedMeasurementClass ObservedMeasurementClass => _ObservedMeasurementClass ?? (_ObservedMeasurementClass = new Package.ObservedMeasurementClass()); + + private Package.ObservedConditionClass _ObservedConditionClass; + /// + /// + /// + public Package.ObservedConditionClass ObservedConditionClass => _ObservedConditionClass ?? (_ObservedConditionClass = new Package.ObservedConditionClass()); + + private Package.ObservableEventClass _ObservableEventClass; + /// + /// + /// + public Package.ObservableEventClass ObservableEventClass => _ObservableEventClass ?? (_ObservableEventClass = new Package.ObservableEventClass()); + + private Package.ObservableSampleClass _ObservableSampleClass; + /// + /// + /// + public Package.ObservableSampleClass ObservableSampleClass => _ObservableSampleClass ?? (_ObservableSampleClass = new Package.ObservableSampleClass()); + + private Package.ObservedStateClass _ObservedStateClass; + /// + /// + /// + public Package.ObservedStateClass ObservedStateClass => _ObservedStateClass ?? (_ObservedStateClass = new Package.ObservedStateClass()); + + private Package.ObservedNormalClass _ObservedNormalClass; + /// + /// + /// + public Package.ObservedNormalClass ObservedNormalClass => _ObservedNormalClass ?? (_ObservedNormalClass = new Package.ObservedNormalClass()); + + private Package.ObservableConditionClass _ObservableConditionClass; + /// + /// + /// + public Package.ObservableConditionClass ObservableConditionClass => _ObservableConditionClass ?? (_ObservableConditionClass = new Package.ObservableConditionClass()); + + private Package.ObservedEventClass _ObservedEventClass; + /// + /// + /// + public Package.ObservedEventClass ObservedEventClass => _ObservedEventClass ?? (_ObservedEventClass = new Package.ObservedEventClass()); + + private Package.ObservableMeasurementClass _ObservableMeasurementClass; + /// + /// + /// + public Package.ObservableMeasurementClass ObservableMeasurementClass => _ObservableMeasurementClass ?? (_ObservableMeasurementClass = new Package.ObservableMeasurementClass()); + + private Package.ObservableStateClass _ObservableStateClass; + /// + /// + /// + public Package.ObservableStateClass ObservableStateClass => _ObservableStateClass ?? (_ObservableStateClass = new Package.ObservableStateClass()); + + private Package.ObservedFaultClass _ObservedFaultClass; + /// + /// + /// + public Package.ObservedFaultClass ObservedFaultClass => _ObservedFaultClass ?? (_ObservedFaultClass = new Package.ObservedFaultClass()); + + private Package.ObservedWarningClass _ObservedWarningClass; + /// + /// + /// + public Package.ObservedWarningClass ObservedWarningClass => _ObservedWarningClass ?? (_ObservedWarningClass = new Package.ObservedWarningClass()); + + private Package.EventClass _EventClass; + /// + /// + /// + public Package.EventClass EventClass => _EventClass ?? (_EventClass = new Package.EventClass()); + + private Package.SampleClass _SampleClass; + /// + /// + /// + public Package.SampleClass SampleClass => _SampleClass ?? (_SampleClass = new Package.SampleClass()); + + private Package.ConditionClass _ConditionClass; + /// + /// + /// + public Package.ConditionClass ConditionClass => _ConditionClass ?? (_ConditionClass = new Package.ConditionClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MachineMonitoring/Requirements.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MachineMonitoring/Requirements.cs new file mode 100644 index 00000000..55b986c1 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MachineMonitoring/Requirements.cs @@ -0,0 +1,73 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.WIP_UseCases.MachineMonitoring.Requirements; + +namespace Mtconnect.WIP_UseCases.MachineMonitoring +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class RequirementsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1702299138734_709411_320"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1702299138734_709411_320"; + /// Constant value for + public const string NAME = "Requirements"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + OperationalStatesClass, + DeviceUtilizationClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.OperationalStatesClass _OperationalStatesClass; + /// + /// + /// + public Package.OperationalStatesClass OperationalStatesClass => _OperationalStatesClass ?? (_OperationalStatesClass = new Package.OperationalStatesClass()); + + private Package.DeviceUtilizationClass _DeviceUtilizationClass; + /// + /// + /// + public Package.DeviceUtilizationClass DeviceUtilizationClass => _DeviceUtilizationClass ?? (_DeviceUtilizationClass = new Package.DeviceUtilizationClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MachineMonitoring/UseCases.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MachineMonitoring/UseCases.cs new file mode 100644 index 00000000..c50911e6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MachineMonitoring/UseCases.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_UseCases.MachineMonitoring +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class UseCasesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1701431716799_991971_12"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1701431716799_991971_12"; + /// Constant value for + public const string NAME = "UseCases"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MillW_SmoothG/Representation.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MillW_SmoothG/Representation.cs new file mode 100644 index 00000000..b01b25eb --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MillW_SmoothG/Representation.cs @@ -0,0 +1,80 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.WIP_DeviceExamples.MillW_PER_SmoothG.Representation; + +namespace Mtconnect.WIP_DeviceExamples.MillW_PER_SmoothG +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class RepresentationPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1634044347705_111979_477"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1634044347705_111979_477"; + /// Constant value for + public const string NAME = "Representation"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + VariableClass, + WorkOffsetsClass, + TemperatureClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.VariableClass _VariableClass; + /// + /// + /// + public Package.VariableClass VariableClass => _VariableClass ?? (_VariableClass = new Package.VariableClass()); + + private Package.WorkOffsetsClass _WorkOffsetsClass; + /// + /// + /// + public Package.WorkOffsetsClass WorkOffsetsClass => _WorkOffsetsClass ?? (_WorkOffsetsClass = new Package.WorkOffsetsClass()); + + private Package.TemperatureClass _TemperatureClass; + /// + /// + /// + public Package.TemperatureClass TemperatureClass => _TemperatureClass ?? (_TemperatureClass = new Package.TemperatureClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/AssetInformationModel.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/AssetInformationModel.cs new file mode 100644 index 00000000..5471d149 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/AssetInformationModel.cs @@ -0,0 +1,483 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.AssetInformationModel; + +namespace Mtconnect +{ + /// The MTConnect Standard supports a simple distributed storage mechanism that allows applications and equipment to share and exchange complex information models in a similar way to a distributed data store. The Asset Information Model associates each MTConnectAssets entity with a unique identifier and allows for some predefined mechanisms to find, create, request, update, and delete these electronic documents in a way that provides for consistency across multiple pieces of equipment.

The protocol provides a limited mechanism of accessing Assets using the following properties: assetId in Asset, asset type (element name of asset root), and the piece of equipment associated with the asset. These access strategies will provide the following services and answer the following questions: What assets are from a particular piece of equipment? What are the assets of a particular type? What asset is stored for a given assetId in Asset?

Although these mechanisms are provided, an agent should not be considered a data store or a system of reference. The agent is providing an ephemeral storage capability that will temporarily manage the data for applications wishing to communicate and manage data as needed by the various processes. An application cannot rely on an agent for long term persistence or durability since the agent is only required to temporarily store the asset data and may require another system to provide the source data upon initialization. An agent is always providing the best-known equipment centric view of the data given the limitations of that piece of equipment.

The MTConnect Standard has two data item types to support change notification when an Asset is added, updated or removed. AssetChanged states the assetId in Asset of the Asset that has been added or updated. AssetRemoved states the assetId in Asset of the Asset that has been removed. See Observation Information Model for more details.


Assets Appendix

{{newpage()}}

## XML Schema Diagrams

See XML schemas for the MTConnect standard here: https://schemas.mtconnect.org/.

### Assets Schema Diagrams

See Asset element in MTConnectAssets schema.

See Description element in MTConnectAssets schema.

### CuttingTool Schema Diagrams

See CuttingTool element in MTConnectAssets schema.

See CuttingToolDefinition element in MTConnectAssets schema.

See CuttingToolArchetypeReference element in MTConnectAssets schema.

### CuttingToolLifeCycle Schema Diagrams

See CuttingToolLifeCycle element in MTConnectAssets schema.

See CutterStatus element in MTConnectAssets schema.

See Location element in MTConnectAssets schema.

See Measurement element in MTConnectAssets schema.

See ProcessFeedRate element in MTConnectAssets schema.

See ProcessSpindleSpeed element in MTConnectAssets schema.

See ReconditionCount element in MTConnectAssets schema.

See ToolLife element in MTConnectAssets schema.

### CuttingItem Schema Diagrams

See CuttingItems element in MTConnectAssets schema.

See CuttingItem element in MTConnectAssets schema.

See ItemLife element in MTConnectAssets schema.

### ISO 13399 Diagrams

#### Measurement Diagrams

![Cutting Tool Measurement 3](figures/Cutting%20Tool%20Measurement%203.png "Cutting Tool Measurement 3"){: width="0.8"}

![Cutting Tool Measurement 4](figures/Cutting%20Tool%20Measurement%204.png "Cutting Tool Measurement 4"){: width="0.8"}

![Cutting Tool Measurement 5](figures/Cutting%20Tool%20Measurement%205.png "Cutting Tool Measurement 5"){: width="0.8"}

![Cutting Tool Measurement 6](figures/Cutting%20Tool%20Measurement%206.png "Cutting Tool Measurement 6"){: width="0.8"}

![Cutting Tool Measurement 7](figures/Cutting%20Tool%20Measurement%207.png "Cutting Tool Measurement 7"){: width="0.8"}

![Cutting Tool Measurement 8](figures/Cutting%20Tool%20Measurement%208.png "Cutting Tool Measurement 8"){: width="0.8"}

### Cutting Tool Examples

#### Shell Mill

![Shell Mill Side View](figures/Shell%20Mill%20Side%20View.png "Shell Mill Side View"){: width="0.8"}

![Indexable Insert Measurements](figures/Indexable%20Insert%20Measurements.png "Indexable Insert Measurements"){: width="0.8"}

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets
xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2
http://mtconnect.org/schemas/MTConnectAssets\_1.2.xsd">
<Header creationTime="2011-05-11T13:55:22"
assetBufferSize="1024" sender="localhost"
assetCount="2" version="1.2" instanceId="1234"/>
<Assets>
<CuttingTool serialNumber="1" toolId="KSSP300R4SD43L240"
timestamp="2011-05-11T13:55:22" assetId="KSSP300R4SD43L240.1"
manufacturers="KMT,Parlec">
<CuttingToolLifeCycle>
<CutterStatus><Status>NEW</Status></CutterStatus>
<ProcessSpindleSpeed maximum="13300"
nominal="605">10000</ProcessSpindleSpeed>
<ProcessFeedRate
nominal="9.22">9.22</ProcessSpindleSpeed>
<ConnectionCodeMachineSide>CV50
</ConnectionCodeMachineSide>
<Measurements>
<BodyDiameterMax code="BDX">73.25
</BodyDiameterMax>
<OverallToolLength nominal="222.25"
minimum="221.996" maximum="222.504"
code="OAL">222.25</OverallToolLength>
<UsableLengthMax code="LUX" nominal="82.55">82.55
</UsableLengthMax>
<CuttingDiameterMax code="DC" nominal="76.2"
maximum="76.213" minimum="76.187">76.2
</CuttingDiameterMax>
<BodyLengthMax code="LF" nominal="120.65"
maximum="120.904" minimum="120.404">120.65
</BodyLengthMax>
<DepthOfCutMax code="APMX"
nominal="60.96">60.95</DepthOfCutMax>
<FlangeDiameterMax code="DF"
nominal="98.425">98.425</FlangeDiameterMax>
</Measurements>
<CuttingItems count="24">
<CuttingItem indices="1-24" itemId="SDET43PDER8GB"
manufacturers="KMT" grade="KC725M">
<Measurements>
<CuttingEdgeLength code="L" nominal="12.7"
minimum="12.675" maximum="12.725">12.7
</CuttingEdgeLength>
<WiperEdgeLength code="BS" nominal=
"2.56">2.56</WiperEdgeLength>
<IncribedCircleDiameter code="IC"
nominal="12.7">12.7
</IncribedCircleDiameter>
<CornerRadius code="RE" nominal="0.8">
0.8</CornerRadius>
</Measurements>
</CuttingItem>
</CuttingItems>
</CuttingToolLifeCycle>
</CuttingTool>
</Assets>
</MTConnectAssets>
~~~~
{: caption="Example for Indexable Insert Measurements"}

{{pagebreak()}}

#### Step Drill

![Step Mill Side View](figures/Step%20Mill%20Side%20View.png "Step Mill Side View"){: width="0.8"}

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2
http://mtconnect.org/schemas/MTConnectAssets\_1.2.xsd">
<Header creationTime="2011-05-
11T13:55:22" assetBufferSize="1024"
sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
<Assets>
<CuttingTool serialNumber="1 " toolId="B732A08500HP"
timestamp="2011-05-11T13:55:22" assetId="B732A08500HP "
manufacturers="KMT,Parlec">
<Description>
Step Drill - KMT, B732A08500HP Grade KC7315
Adapter - Parlec, C50-M12SF300-6
</Description>
<CuttingToolLifeCycle>
<CutterStatus><Status>NEW</Status></CutterStatus>
<ProcessSpindleSpeed nominal="5893">5893</ProcessSpindleSpeed>
<ProcessFeedRate nominal="2.5">2.5</ProcessFeedRate>
<ConnectionCodeMachineSide>CV50 Taper</ConnectionCodeMachineSide>
<Measurements>
<BodyDiameterMax code="BDX">31.8</BodyDiameterMax>
<BodyLengthMax code="LBX" nominal="120.825" maximum="126.325"
minimum="115.325">120.825</BodyLengthMax>
<ProtrudingLength code="LPR" nominal="155.75" maximum="161.25"
minimum="150.26">155.75</ProtrudingLength>
<FlangeDiameterMax code="DF"
nominal="98.425">98.425</FlangeDiameterMax>
<OverallToolLength nominal="257.35" minimum="251.85"
maximum="262.85" code="OAL">257.35</OverallToolLength>
</Measurements>
<CuttingItems count="2">
<CuttingItem indices="1" manufacturers="KMT" grade="KC7315">>
<Measurements>
<CuttingDiameter code="DC1" nominal="8.5" maximum="8.521"
minimum="8.506">8.5135</CuttingDiameter>
<StepIncludedAngle code="STA1" nominal="90" maximum="91"
minimum="89">90</StepIncludedAngle>
<FunctionalLength code="LF1" nominal="154.286"
minimum="148.786"
maximum="159.786">154.286</FunctionalLength>
<StepDiameterLength code="SDL1"
nominal="9">9</StepDiameterLength>
<PointAngle code="SIG" nominal="135" minimum="133"
maximum="137">135</PointAngle>
</Measurements>
</CuttingItem>
<CuttingItem indices="2" manufacturers="KMT" grade="KC7315">>
<Measurements>
<CuttingDiameter code="DC2" nominal="12" maximum="12.011"
minimum="12">12</CuttingDiameter>
<FunctionalLength code="LF2" nominal="122.493"
maximum="127.993"
minimum="116.993">122.493</FunctionalLength>
<StepDiameterLength code="SDL2"
nominal="9">9</StepDiameterLength>
</Measurements>
</CuttingItem>
</CuttingItems>
</CuttingToolLifeCycle>
</CuttingTool>
</Assets>
</MTConnectAssets>
~~~~
{: caption="Example for Step Mill Side View"}

{{pagebreak()}}

#### Shell Mill with Individual Loci

![Shell Mill with Explicate Loci](figures/Shell%20Mill%20with%20Explicate%20Loci.png "Shell Mill with Explicate Loci"){: width="0.8"}

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2
http://mtconnect.org/schemas/MTConnectAssets\_1.2.xsd">
<Header creationTime="2011-05-11T13:55:22" assetBufferSize="1024"
sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
<Assets>
<CuttingTool serialNumber="1" toolId="KSSP300R4SD43L240"
timestamp="2011-05-11T13:55:22" assetId="KSSP300R4SD43L240.1"
manufacturers="KMT,Parlec">
<Description>Keyway: 55 degrees</Description>
<CuttingToolLifeCycle>
<CutterStatus><Status>NEW</Status></CutterStatus>
<Measurements>
<UsableLengthMax code="LUX"
nominal="82.55">82.55</UsableLengthMax>
<CuttingDiameterMax code="DC" nominal="76.2" maximum="76.213"
minimum="76.187">76.2</CuttingDiameterMax>
<DepthOfCutMax code="APMX" nominal="60.96">60.95</DepthOfCutMax>
</Measurements>
<CuttingItems count="24">
<CuttingItem indices="1" itemId="SDET43PDER8GB"
manufacturers="KMT">
<Locus>FLUTE: 1, ROW: 1</Locus>
<Measurements>
<DriveAngle code="DRVA" nominal="55">55</DriveAngle>
</Measurements>
</CuttingItem>
<CuttingItem indices="2-24" itemId="SDET43PDER8GB"
manufacturers="KMT">
<Locus>FLUTE: 2-4, ROW: 1; FLUTE: 1-4, ROW 2-6</Locus>
</CuttingItem>
</CuttingItems>
</CuttingToolLifeCycle>
</CuttingTool>
</Assets>
</MTConnectAssets>
~~~~
{: caption="Example for Shell Mill with Explicate Loci"}

{{pagebreak()}}

#### Drill with Individual Loci

![Step Drill with Explicate Loci](figures/Step%20Drill%20with%20Explicate%20Loci.png "Step Drill with Explicate Loci"){: width="0.8"}

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2
http://mtconnect.org/schemas/MTConnectAssets\_1.2.xsd">
<Header creationTime="2011-05-11T13:55:22" assetBufferSize="1024"
sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
<Assets>
<CuttingTool serialNumber="1" toolId="KSEM0781LD"
timestamp="2011-05-11T13:55:22" assetId="KSEM0781LD.1" manufacturers="KMT">
<CuttingToolLifeCycle>
<CutterStatus><Status>NEW</Status></CutterStatus>
<ConnectionCodeMachineSide>HSK63A</ConnectionCodeMachineSide>
<Measurements>
<BodyDiameterMax code="BDX">52.75</BodyDiameterMax>
<OverallToolLength nominal="172.29"
code="OAL">172.29</OverallToolLength>
<UsableLengthMax code="LUX" nominal="49">49</UsableLengthMax>
<FlangeDiameterMax code="DF"
nominal="62.94">62.94</FlangeDiameterMax>
</Measurements>
<CuttingItems count="3">
<CuttingItem indices="1" itemId="KSEM0781LD" manufacturers="KMT"
grade="KC7015">
<Locus>FLUTE: 1, ROW: 1</Locus>
<Measurements>
<FunctionalLength code="LF1" nominal="154.42">154.42</FunctionalLength>
<CuttingDiameter code="DC1" nominal="19.844">19.844</CuttingDiameter>
<PointAngle code="SIG" nominal="140">140</PointAngle>
<ToolCuttingEdgeAngle code="KAPR1" nominal="45">45</ToolCuttingEdgeAngle>
<StepDiameterLength code="SLD1" nominal="39.8">39.8</StepDiameterLength>
</Measurements>
</CuttingItem>
<CuttingItem indices="2-3" itemId="TPMT-21.52-FP"
manufacturers="KMT" grade="KCM15">
<Locus>FLUTE: 1-2, ROW: 2</Locus>
<Measurements>
<FunctionalLength code="LF2" nominal="112.9">119.2</FunctionalLength>
<CuttingDiameter code="DC2" nominal="31">31</CuttingDiameter>
</Measurements>
</CuttingItem>
</CuttingItems>
</CuttingToolLifeCycle>
</CuttingTool>
</Assets>
</MTConnectAssets>
~~~~
{: caption="Example for Step Drill with Explicate Loci"}

{{pagebreak()}}

#### Shell Mill with Different Inserts on First Row

![Shell Mill with Different Inserts on First Row](figures/Shell%20Mill%20with%20Different%20Inserts%20on%20First%20Row.png "Shell Mill with Different Inserts on First Row"){: width="0.8"}

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2
http://mtconnect.org/schemas/MTConnectAssets\_1.2.xsd">
<Header creationTime="2011-05-11T13:55:22" assetBufferSize="1024"
sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
<Assets>
<CuttingTool serialNumber="1" toolId="XXX" timestamp="2011-05-11T13:55:22"
assetId="XXX.1" manufacturers="KMT">
<CuttingToolLifeCycle>
<CutterStatus><Status>NEW</Status></CutterStatus>
<Measurements>
<DepthOfCutMax code="APMX" nominal="47.8">47.8</DepthOfCutMax>
<CuttingDiameterMax code="DC"
nominal="50.8">50.8</CuttingDiameterMax>
<UsableLengthMax code="LUX"
nominal="78.74">78.74</UsableLengthMax>
</Measurements>
<CuttingItems count="9">
<CuttingItem indices="1-3" itemId="EDPT180564PDER-LD"
manufacturers="KMT">
<Locus>FLUTE: 1-3, ROW: 1</Locus>
<Measurements>
<CornerRadius code="RE" nominal="6.25">6.35</CornerRadius>
</Measurements>
</CuttingItem>
<CuttingItem indices="4-9" itemId="EDPT180508PDER-LD"
manufacturers="KMT">
<Locus>FLANGE: 1-4, ROW: 2-3</Locus>
</CuttingItem>
</CuttingItems>
</CuttingToolLifeCycle>
</CuttingTool>
</Assets>
</MTConnectAssets>
~~~~
{: caption="Example for Shell Mill with Different Inserts on First Row"}

### File Schema Diagrams

See File element in MTConnectAssets schema.

### RawMaterial Schema Diagrams

See RawMaterial element in MTConnectAssets schema.

### QIFDocumentWrapper Schema Diagrams

See QIFDocumentWrapper element in MTConnectAssets schema.




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class AssetInformationModelPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_029C7254_810A_45f2_8400_D4E69ED8DF85"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_029C7254_810A_45f2_8400_D4E69ED8DF85"; + /// Constant value for + public const string NAME = "Asset Information Model"; + /// Constant value for + public const string SUMMARY = @" The MTConnect Standard supports a simple distributed storage mechanism that allows applications and equipment to share and exchange complex information models in a similar way to a distributed data store. The {{term(Asset Information Model)}} associates each {{block(MTConnectAssets)}} entity with a unique identifier and allows for some predefined mechanisms to find, create, request, update, and delete these electronic documents in a way that provides for consistency across multiple pieces of equipment. + +The protocol provides a limited mechanism of accessing {{termplural(Asset)}} using the following properties: {{property(Asset::assetId)}}, {{term(asset)}} type (element name of {{term(asset)}} root), and the piece of equipment associated with the {{term(asset)}}. These access strategies will provide the following services and answer the following questions: What {{termplural(asset)}} are from a particular piece of equipment? What are the {{termplural(asset)}} of a particular type? What {{term(asset)}} is stored for a given {{property(Asset::assetId)}}? + +Although these mechanisms are provided, an {{term(agent)}} should not be considered a data store or a system of reference. The {{term(agent)}} is providing an ephemeral storage capability that will temporarily manage the data for applications wishing to communicate and manage data as needed by the various processes. An application cannot rely on an {{term(agent)}} for long term persistence or durability since the {{term(agent)}} is only required to temporarily store the {{term(asset)}} data and may require another system to provide the source data upon initialization. An {{term(agent)}} is always providing the best-known equipment centric view of the data given the limitations of that piece of equipment. + +The MTConnect Standard has two data item types to support change notification when an {{term(Asset)}} is added, updated or removed. {{block(AssetChanged)}} states the {{property(Asset::assetId)}} of the {{term(Asset)}} that has been added or updated. {{block(AssetRemoved)}} states the {{property(Asset::assetId)}} of the {{term(Asset)}} that has been removed. See {{package(Observation Information Model)}} for more details. + Assets Appendix {{newpage()}} + +## XML Schema Diagrams + +See XML schemas for the MTConnect standard here: {{url(https://schemas.mtconnect.org/)}}. + +### Assets Schema Diagrams + +See `Asset` element in `MTConnectAssets` schema. + +See `Description` element in `MTConnectAssets` schema. + +### CuttingTool Schema Diagrams + +See `CuttingTool` element in `MTConnectAssets` schema. + +See `CuttingToolDefinition` element in `MTConnectAssets` schema. + +See `CuttingToolArchetypeReference` element in `MTConnectAssets` schema. + +### CuttingToolLifeCycle Schema Diagrams + +See `CuttingToolLifeCycle` element in `MTConnectAssets` schema. + +See `CutterStatus` element in `MTConnectAssets` schema. + +See `Location` element in `MTConnectAssets` schema. + +See `Measurement` element in `MTConnectAssets` schema. + +See `ProcessFeedRate` element in `MTConnectAssets` schema. + +See `ProcessSpindleSpeed` element in `MTConnectAssets` schema. + +See `ReconditionCount` element in `MTConnectAssets` schema. + +See `ToolLife` element in `MTConnectAssets` schema. + +### CuttingItem Schema Diagrams + +See `CuttingItems` element in `MTConnectAssets` schema. + +See `CuttingItem` element in `MTConnectAssets` schema. + +See `ItemLife` element in `MTConnectAssets` schema. + +### ISO 13399 Diagrams + +#### Measurement Diagrams + +![Cutting Tool Measurement 3](figures/Cutting%20Tool%20Measurement%203.png ""Cutting Tool Measurement 3""){: width=""0.8""} + +![Cutting Tool Measurement 4](figures/Cutting%20Tool%20Measurement%204.png ""Cutting Tool Measurement 4""){: width=""0.8""} + +![Cutting Tool Measurement 5](figures/Cutting%20Tool%20Measurement%205.png ""Cutting Tool Measurement 5""){: width=""0.8""} + +![Cutting Tool Measurement 6](figures/Cutting%20Tool%20Measurement%206.png ""Cutting Tool Measurement 6""){: width=""0.8""} + +![Cutting Tool Measurement 7](figures/Cutting%20Tool%20Measurement%207.png ""Cutting Tool Measurement 7""){: width=""0.8""} + +![Cutting Tool Measurement 8](figures/Cutting%20Tool%20Measurement%208.png ""Cutting Tool Measurement 8""){: width=""0.8""} + +### Cutting Tool Examples + +#### Shell Mill + +![Shell Mill Side View](figures/Shell%20Mill%20Side%20View.png ""Shell Mill Side View""){: width=""0.8""} + +![Indexable Insert Measurements](figures/Indexable%20Insert%20Measurements.png ""Indexable Insert Measurements""){: width=""0.8""} + +~~~~xml + + +
+ + + + NEW + 10000 + 9.22 + CV50 + + + 73.25 + + 222.25 + 82.55 + + 76.2 + + 120.65 + + 60.95 + 98.425 + + + + + 12.7 + + 2.56 + 12.7 + + + 0.8 + + + + + + + +~~~~ +{: caption=""Example for Indexable Insert Measurements""} + +{{pagebreak()}} + +#### Step Drill + +![Step Mill Side View](figures/Step%20Mill%20Side%20View.png ""Step Mill Side View""){: width=""0.8""} + +~~~~xml + + +
+ + + + Step Drill - KMT, B732A08500HP Grade KC7315 + Adapter - Parlec, C50-M12SF300-6 + + + NEW + 5893 + 2.5 + CV50 Taper + + 31.8 + 120.825 + 155.75 + 98.425 + 257.35 + + + > + + 8.5135 + 90 + 154.286 + 9 + 135 + + + > + + 12 + 122.493 + 9 + + + + + + + +~~~~ +{: caption=""Example for Step Mill Side View""} + +{{pagebreak()}} + +#### Shell Mill with Individual Loci + +![Shell Mill with Explicate Loci](figures/Shell%20Mill%20with%20Explicate%20Loci.png ""Shell Mill with Explicate Loci""){: width=""0.8""} + +~~~~xml + + +
+ + + Keyway: 55 degrees + + NEW + + 82.55 + 76.2 + 60.95 + + + + FLUTE: 1, ROW: 1 + + 55 + + + + FLUTE: 2-4, ROW: 1; FLUTE: 1-4, ROW 2-6 + + + + + + +~~~~ +{: caption=""Example for Shell Mill with Explicate Loci""} + +{{pagebreak()}} + +#### Drill with Individual Loci + +![Step Drill with Explicate Loci](figures/Step%20Drill%20with%20Explicate%20Loci.png ""Step Drill with Explicate Loci""){: width=""0.8""} + +~~~~xml + + +
+ + + + NEW + HSK63A + + 52.75 + 172.29 + 49 + 62.94 + + + + FLUTE: 1, ROW: 1 + + 154.42 + 19.844 + 140 + 45 + 39.8 + + + + FLUTE: 1-2, ROW: 2 + + 119.2 + 31 + + + + + + + +~~~~ +{: caption=""Example for Step Drill with Explicate Loci""} + +{{pagebreak()}} + +#### Shell Mill with Different Inserts on First Row + +![Shell Mill with Different Inserts on First Row](figures/Shell%20Mill%20with%20Different%20Inserts%20on%20First%20Row.png ""Shell Mill with Different Inserts on First Row""){: width=""0.8""} + +~~~~xml + + +
+ + + + NEW + + 47.8 + 50.8 + 78.74 + + + + FLUTE: 1-3, ROW: 1 + + 6.35 + + + + FLANGE: 1-4, ROW: 2-3 + + + + + + +~~~~ +{: caption=""Example for Shell Mill with Different Inserts on First Row""} + +### File Schema Diagrams + +See `File` element in `MTConnectAssets` schema. + +### RawMaterial Schema Diagrams + +See `RawMaterial` element in `MTConnectAssets` schema. + +### QIFDocumentWrapper Schema Diagrams + +See `QIFDocumentWrapper` element in `MTConnectAssets` schema. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + CuttingToolPackage, + FilesPackage, + RawMaterialPackage, + QIFPackage, + ComponentConfigurationParametersPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + AssetClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.CuttingToolPackage _CuttingToolPackage; + /// + /// + /// + public Package.CuttingToolPackage CuttingToolPackage => _CuttingToolPackage ?? (_CuttingToolPackage = new Package.CuttingToolPackage()); + + private Package.FilesPackage _FilesPackage; + /// + /// + /// + public Package.FilesPackage FilesPackage => _FilesPackage ?? (_FilesPackage = new Package.FilesPackage()); + + private Package.RawMaterialPackage _RawMaterialPackage; + /// + /// + /// + public Package.RawMaterialPackage RawMaterialPackage => _RawMaterialPackage ?? (_RawMaterialPackage = new Package.RawMaterialPackage()); + + private Package.QIFPackage _QIFPackage; + /// + /// + /// + public Package.QIFPackage QIFPackage => _QIFPackage ?? (_QIFPackage = new Package.QIFPackage()); + + private Package.ComponentConfigurationParametersPackage _ComponentConfigurationParametersPackage; + /// + /// + /// + public Package.ComponentConfigurationParametersPackage ComponentConfigurationParametersPackage => _ComponentConfigurationParametersPackage ?? (_ComponentConfigurationParametersPackage = new Package.ComponentConfigurationParametersPackage()); + + #endregion + + #region Classes + private Package.AssetClass _AssetClass; + /// + /// + /// + public Package.AssetClass AssetClass => _AssetClass ?? (_AssetClass = new Package.AssetClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/DataTypes.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/DataTypes.cs new file mode 100644 index 00000000..7c227479 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/DataTypes.cs @@ -0,0 +1,788 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DataTypes; + +namespace Mtconnect +{ + /// 


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class DataTypesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579567325331_179717_33552"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579567325331_179717_33552"; + /// Constant value for + public const string NAME = "DataTypes"; + /// Constant value for + public const string SUMMARY = @" +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + ControlLimitResultClass, + SpecificationLimitResultClass, + AlarmLimitResultClass, + SensorAttachmentResultClass, + MaintenanceListResultClass, + FeatureMeasurementResultClass, + LocationAddressResultClass, + LocationSpatialGeographicResultClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + CoordinateSystemEnum, + ResetTriggerEnum, + StatisticEnum, + UnitEnum, + DataItemTypeEnum, + CategoryEnum, + DataItemSubTypeEnum, + NativeUnitEnum, + FilterEnum, + RepresentationEnum, + ResetTriggeredEnum, + QualifierEnum, + SampleEnum, + EventEnum, + ConditionEnum, + MotionActuationTypeEnum, + MotionTypeEnum, + CoordinateSystemTypeEnum, + DataItemRelationshipTypeEnum, + SpecificationRelationshipTypeEnum, + MediaTypeEnum, + OriginatorEnum, + QIFDocumentTypeEnum, + ProcessStateEnum, + AssetTypeEnum, + ChuckStateEnum, + AxisCouplingEnum, + PartStatusEnum, + DirectionRotaryEnum, + FileStateEnum, + CriticalityTypeEnum, + CompositionStateMotionEnum, + ActuatorStateEnum, + ConnectionStatusEnum, + RoleTypeEnum, + PathModeEnum, + CompositionStateActionEnum, + PartProcessingStateEnum, + ControllerModeEnum, + DirectionLinearEnum, + EndOfBarEnum, + LocationTypeEnum, + ValveStateEnum, + CodeEnum, + ApplicationCategoryEnum, + CutterStatusTypeEnum, + CompositionStateLateralEnum, + PartDetectEnum, + ExecutionEnum, + AvailabilityEnum, + ProgramEditEnum, + ControllerModeOverrideEnum, + FunctionalModeEnum, + WaitStateEnum, + RotaryModeEnum, + CompositionStateSwitchedEnum, + EmergencyStopEnum, + LockStateEnum, + AxisStateEnum, + InterfaceStateEnum, + RelationshipTypeEnum, + FormatTypeEnum, + CompositionTypeEnum, + CountDirectionTypeEnum, + ApplicationTypeEnum, + FormEnum, + CompositionStateVerticalEnum, + RequestStateEnum, + ResponseStateEnum, + SpindleInterlockEnum, + AxisInterlockEnum, + ChuckInterlockEnum, + DoorStateEnum, + EquipmentModeEnum, + PowerStateEnum, + ConditionStateEnum, + ToolLifeEnum, + OperatingModeEnum, + ErrorCodeEnum, + MaintenanceListDirectionEnum, + MaintenanceListIntervalEnum, + PartCountTypeEnum, + AlarmSeverityEnum, + AlarmStateEnum, + AlarmCodeEnum, + DirectionEnum, + PowerStatusEnum, + NetworkWirelessEnum, + ProgramLocationTypeEnum, + InterfaceEventEnum, + LeakDetectEnum, + BatteryStateEnum, + SensorStateDetectEnum, + CharacteristicStatusEnum, + UncertaintyTypeEnum, + PowerSourceTypeEnum, + }; + + #region Packages + #endregion + + #region Classes + private Package.ControlLimitResultClass _ControlLimitResultClass; + /// + /// + /// + public Package.ControlLimitResultClass ControlLimitResultClass => _ControlLimitResultClass ?? (_ControlLimitResultClass = new Package.ControlLimitResultClass()); + + private Package.SpecificationLimitResultClass _SpecificationLimitResultClass; + /// + /// + /// + public Package.SpecificationLimitResultClass SpecificationLimitResultClass => _SpecificationLimitResultClass ?? (_SpecificationLimitResultClass = new Package.SpecificationLimitResultClass()); + + private Package.AlarmLimitResultClass _AlarmLimitResultClass; + /// + /// + /// + public Package.AlarmLimitResultClass AlarmLimitResultClass => _AlarmLimitResultClass ?? (_AlarmLimitResultClass = new Package.AlarmLimitResultClass()); + + private Package.SensorAttachmentResultClass _SensorAttachmentResultClass; + /// + /// + /// + public Package.SensorAttachmentResultClass SensorAttachmentResultClass => _SensorAttachmentResultClass ?? (_SensorAttachmentResultClass = new Package.SensorAttachmentResultClass()); + + private Package.MaintenanceListResultClass _MaintenanceListResultClass; + /// + /// + /// + public Package.MaintenanceListResultClass MaintenanceListResultClass => _MaintenanceListResultClass ?? (_MaintenanceListResultClass = new Package.MaintenanceListResultClass()); + + private Package.FeatureMeasurementResultClass _FeatureMeasurementResultClass; + /// + /// + /// + public Package.FeatureMeasurementResultClass FeatureMeasurementResultClass => _FeatureMeasurementResultClass ?? (_FeatureMeasurementResultClass = new Package.FeatureMeasurementResultClass()); + + private Package.LocationAddressResultClass _LocationAddressResultClass; + /// + /// + /// + public Package.LocationAddressResultClass LocationAddressResultClass => _LocationAddressResultClass ?? (_LocationAddressResultClass = new Package.LocationAddressResultClass()); + + private Package.LocationSpatialGeographicResultClass _LocationSpatialGeographicResultClass; + /// + /// + /// + public Package.LocationSpatialGeographicResultClass LocationSpatialGeographicResultClass => _LocationSpatialGeographicResultClass ?? (_LocationSpatialGeographicResultClass = new Package.LocationSpatialGeographicResultClass()); + + #endregion + + #region Enums + private Package.CoordinateSystemEnumMetaClass _CoordinateSystemEnum; + /// + /// + /// + public Package.CoordinateSystemEnumMetaClass CoordinateSystemEnum => _CoordinateSystemEnum ?? (_CoordinateSystemEnum = new Package.CoordinateSystemEnumMetaClass()); + + private Package.ResetTriggerEnumMetaClass _ResetTriggerEnum; + /// + /// + /// + public Package.ResetTriggerEnumMetaClass ResetTriggerEnum => _ResetTriggerEnum ?? (_ResetTriggerEnum = new Package.ResetTriggerEnumMetaClass()); + + private Package.StatisticEnumMetaClass _StatisticEnum; + /// + /// + /// + public Package.StatisticEnumMetaClass StatisticEnum => _StatisticEnum ?? (_StatisticEnum = new Package.StatisticEnumMetaClass()); + + private Package.UnitEnumMetaClass _UnitEnum; + /// + /// + /// + public Package.UnitEnumMetaClass UnitEnum => _UnitEnum ?? (_UnitEnum = new Package.UnitEnumMetaClass()); + + private Package.DataItemTypeEnumMetaClass _DataItemTypeEnum; + /// + /// + /// + public Package.DataItemTypeEnumMetaClass DataItemTypeEnum => _DataItemTypeEnum ?? (_DataItemTypeEnum = new Package.DataItemTypeEnumMetaClass()); + + private Package.CategoryEnumMetaClass _CategoryEnum; + /// + /// + /// + public Package.CategoryEnumMetaClass CategoryEnum => _CategoryEnum ?? (_CategoryEnum = new Package.CategoryEnumMetaClass()); + + private Package.DataItemSubTypeEnumMetaClass _DataItemSubTypeEnum; + /// + /// + /// + public Package.DataItemSubTypeEnumMetaClass DataItemSubTypeEnum => _DataItemSubTypeEnum ?? (_DataItemSubTypeEnum = new Package.DataItemSubTypeEnumMetaClass()); + + private Package.NativeUnitEnumMetaClass _NativeUnitEnum; + /// + /// + /// + public Package.NativeUnitEnumMetaClass NativeUnitEnum => _NativeUnitEnum ?? (_NativeUnitEnum = new Package.NativeUnitEnumMetaClass()); + + private Package.FilterEnumMetaClass _FilterEnum; + /// + /// + /// + public Package.FilterEnumMetaClass FilterEnum => _FilterEnum ?? (_FilterEnum = new Package.FilterEnumMetaClass()); + + private Package.RepresentationEnumMetaClass _RepresentationEnum; + /// + /// + /// + public Package.RepresentationEnumMetaClass RepresentationEnum => _RepresentationEnum ?? (_RepresentationEnum = new Package.RepresentationEnumMetaClass()); + + private Package.ResetTriggeredEnumMetaClass _ResetTriggeredEnum; + /// + /// + /// + public Package.ResetTriggeredEnumMetaClass ResetTriggeredEnum => _ResetTriggeredEnum ?? (_ResetTriggeredEnum = new Package.ResetTriggeredEnumMetaClass()); + + private Package.QualifierEnumMetaClass _QualifierEnum; + /// + /// + /// + public Package.QualifierEnumMetaClass QualifierEnum => _QualifierEnum ?? (_QualifierEnum = new Package.QualifierEnumMetaClass()); + + private Package.SampleEnumMetaClass _SampleEnum; + /// + /// + /// + public Package.SampleEnumMetaClass SampleEnum => _SampleEnum ?? (_SampleEnum = new Package.SampleEnumMetaClass()); + + private Package.EventEnumMetaClass _EventEnum; + /// + /// + /// + public Package.EventEnumMetaClass EventEnum => _EventEnum ?? (_EventEnum = new Package.EventEnumMetaClass()); + + private Package.ConditionEnumMetaClass _ConditionEnum; + /// + /// + /// + public Package.ConditionEnumMetaClass ConditionEnum => _ConditionEnum ?? (_ConditionEnum = new Package.ConditionEnumMetaClass()); + + private Package.MotionActuationTypeEnumMetaClass _MotionActuationTypeEnum; + /// + /// + /// + public Package.MotionActuationTypeEnumMetaClass MotionActuationTypeEnum => _MotionActuationTypeEnum ?? (_MotionActuationTypeEnum = new Package.MotionActuationTypeEnumMetaClass()); + + private Package.MotionTypeEnumMetaClass _MotionTypeEnum; + /// + /// + /// + public Package.MotionTypeEnumMetaClass MotionTypeEnum => _MotionTypeEnum ?? (_MotionTypeEnum = new Package.MotionTypeEnumMetaClass()); + + private Package.CoordinateSystemTypeEnumMetaClass _CoordinateSystemTypeEnum; + /// + /// + /// + public Package.CoordinateSystemTypeEnumMetaClass CoordinateSystemTypeEnum => _CoordinateSystemTypeEnum ?? (_CoordinateSystemTypeEnum = new Package.CoordinateSystemTypeEnumMetaClass()); + + private Package.DataItemRelationshipTypeEnumMetaClass _DataItemRelationshipTypeEnum; + /// + /// + /// + public Package.DataItemRelationshipTypeEnumMetaClass DataItemRelationshipTypeEnum => _DataItemRelationshipTypeEnum ?? (_DataItemRelationshipTypeEnum = new Package.DataItemRelationshipTypeEnumMetaClass()); + + private Package.SpecificationRelationshipTypeEnumMetaClass _SpecificationRelationshipTypeEnum; + /// + /// + /// + public Package.SpecificationRelationshipTypeEnumMetaClass SpecificationRelationshipTypeEnum => _SpecificationRelationshipTypeEnum ?? (_SpecificationRelationshipTypeEnum = new Package.SpecificationRelationshipTypeEnumMetaClass()); + + private Package.MediaTypeEnumMetaClass _MediaTypeEnum; + /// + /// + /// + public Package.MediaTypeEnumMetaClass MediaTypeEnum => _MediaTypeEnum ?? (_MediaTypeEnum = new Package.MediaTypeEnumMetaClass()); + + private Package.OriginatorEnumMetaClass _OriginatorEnum; + /// + /// + /// + public Package.OriginatorEnumMetaClass OriginatorEnum => _OriginatorEnum ?? (_OriginatorEnum = new Package.OriginatorEnumMetaClass()); + + private Package.QIFDocumentTypeEnumMetaClass _QIFDocumentTypeEnum; + /// + /// + /// + public Package.QIFDocumentTypeEnumMetaClass QIFDocumentTypeEnum => _QIFDocumentTypeEnum ?? (_QIFDocumentTypeEnum = new Package.QIFDocumentTypeEnumMetaClass()); + + private Package.ProcessStateEnumMetaClass _ProcessStateEnum; + /// + /// + /// + public Package.ProcessStateEnumMetaClass ProcessStateEnum => _ProcessStateEnum ?? (_ProcessStateEnum = new Package.ProcessStateEnumMetaClass()); + + private Package.AssetTypeEnumMetaClass _AssetTypeEnum; + /// + /// + /// + public Package.AssetTypeEnumMetaClass AssetTypeEnum => _AssetTypeEnum ?? (_AssetTypeEnum = new Package.AssetTypeEnumMetaClass()); + + private Package.ChuckStateEnumMetaClass _ChuckStateEnum; + /// + /// + /// + public Package.ChuckStateEnumMetaClass ChuckStateEnum => _ChuckStateEnum ?? (_ChuckStateEnum = new Package.ChuckStateEnumMetaClass()); + + private Package.AxisCouplingEnumMetaClass _AxisCouplingEnum; + /// + /// + /// + public Package.AxisCouplingEnumMetaClass AxisCouplingEnum => _AxisCouplingEnum ?? (_AxisCouplingEnum = new Package.AxisCouplingEnumMetaClass()); + + private Package.PartStatusEnumMetaClass _PartStatusEnum; + /// + /// + /// + public Package.PartStatusEnumMetaClass PartStatusEnum => _PartStatusEnum ?? (_PartStatusEnum = new Package.PartStatusEnumMetaClass()); + + private Package.DirectionRotaryEnumMetaClass _DirectionRotaryEnum; + /// + /// + /// + public Package.DirectionRotaryEnumMetaClass DirectionRotaryEnum => _DirectionRotaryEnum ?? (_DirectionRotaryEnum = new Package.DirectionRotaryEnumMetaClass()); + + private Package.FileStateEnumMetaClass _FileStateEnum; + /// + /// + /// + public Package.FileStateEnumMetaClass FileStateEnum => _FileStateEnum ?? (_FileStateEnum = new Package.FileStateEnumMetaClass()); + + private Package.CriticalityTypeEnumMetaClass _CriticalityTypeEnum; + /// + /// + /// + public Package.CriticalityTypeEnumMetaClass CriticalityTypeEnum => _CriticalityTypeEnum ?? (_CriticalityTypeEnum = new Package.CriticalityTypeEnumMetaClass()); + + private Package.CompositionStateMotionEnumMetaClass _CompositionStateMotionEnum; + /// + /// + /// + public Package.CompositionStateMotionEnumMetaClass CompositionStateMotionEnum => _CompositionStateMotionEnum ?? (_CompositionStateMotionEnum = new Package.CompositionStateMotionEnumMetaClass()); + + private Package.ActuatorStateEnumMetaClass _ActuatorStateEnum; + /// + /// + /// + public Package.ActuatorStateEnumMetaClass ActuatorStateEnum => _ActuatorStateEnum ?? (_ActuatorStateEnum = new Package.ActuatorStateEnumMetaClass()); + + private Package.ConnectionStatusEnumMetaClass _ConnectionStatusEnum; + /// + /// + /// + public Package.ConnectionStatusEnumMetaClass ConnectionStatusEnum => _ConnectionStatusEnum ?? (_ConnectionStatusEnum = new Package.ConnectionStatusEnumMetaClass()); + + private Package.RoleTypeEnumMetaClass _RoleTypeEnum; + /// + /// + /// + public Package.RoleTypeEnumMetaClass RoleTypeEnum => _RoleTypeEnum ?? (_RoleTypeEnum = new Package.RoleTypeEnumMetaClass()); + + private Package.PathModeEnumMetaClass _PathModeEnum; + /// + /// + /// + public Package.PathModeEnumMetaClass PathModeEnum => _PathModeEnum ?? (_PathModeEnum = new Package.PathModeEnumMetaClass()); + + private Package.CompositionStateActionEnumMetaClass _CompositionStateActionEnum; + /// + /// + /// + public Package.CompositionStateActionEnumMetaClass CompositionStateActionEnum => _CompositionStateActionEnum ?? (_CompositionStateActionEnum = new Package.CompositionStateActionEnumMetaClass()); + + private Package.PartProcessingStateEnumMetaClass _PartProcessingStateEnum; + /// + /// + /// + public Package.PartProcessingStateEnumMetaClass PartProcessingStateEnum => _PartProcessingStateEnum ?? (_PartProcessingStateEnum = new Package.PartProcessingStateEnumMetaClass()); + + private Package.ControllerModeEnumMetaClass _ControllerModeEnum; + /// + /// + /// + public Package.ControllerModeEnumMetaClass ControllerModeEnum => _ControllerModeEnum ?? (_ControllerModeEnum = new Package.ControllerModeEnumMetaClass()); + + private Package.DirectionLinearEnumMetaClass _DirectionLinearEnum; + /// + /// + /// + public Package.DirectionLinearEnumMetaClass DirectionLinearEnum => _DirectionLinearEnum ?? (_DirectionLinearEnum = new Package.DirectionLinearEnumMetaClass()); + + private Package.EndOfBarEnumMetaClass _EndOfBarEnum; + /// + /// + /// + public Package.EndOfBarEnumMetaClass EndOfBarEnum => _EndOfBarEnum ?? (_EndOfBarEnum = new Package.EndOfBarEnumMetaClass()); + + private Package.LocationTypeEnumMetaClass _LocationTypeEnum; + /// + /// + /// + public Package.LocationTypeEnumMetaClass LocationTypeEnum => _LocationTypeEnum ?? (_LocationTypeEnum = new Package.LocationTypeEnumMetaClass()); + + private Package.ValveStateEnumMetaClass _ValveStateEnum; + /// + /// + /// + public Package.ValveStateEnumMetaClass ValveStateEnum => _ValveStateEnum ?? (_ValveStateEnum = new Package.ValveStateEnumMetaClass()); + + private Package.CodeEnumMetaClass _CodeEnum; + /// + /// + /// + public Package.CodeEnumMetaClass CodeEnum => _CodeEnum ?? (_CodeEnum = new Package.CodeEnumMetaClass()); + + private Package.ApplicationCategoryEnumMetaClass _ApplicationCategoryEnum; + /// + /// + /// + public Package.ApplicationCategoryEnumMetaClass ApplicationCategoryEnum => _ApplicationCategoryEnum ?? (_ApplicationCategoryEnum = new Package.ApplicationCategoryEnumMetaClass()); + + private Package.CutterStatusTypeEnumMetaClass _CutterStatusTypeEnum; + /// + /// + /// + public Package.CutterStatusTypeEnumMetaClass CutterStatusTypeEnum => _CutterStatusTypeEnum ?? (_CutterStatusTypeEnum = new Package.CutterStatusTypeEnumMetaClass()); + + private Package.CompositionStateLateralEnumMetaClass _CompositionStateLateralEnum; + /// + /// + /// + public Package.CompositionStateLateralEnumMetaClass CompositionStateLateralEnum => _CompositionStateLateralEnum ?? (_CompositionStateLateralEnum = new Package.CompositionStateLateralEnumMetaClass()); + + private Package.PartDetectEnumMetaClass _PartDetectEnum; + /// + /// + /// + public Package.PartDetectEnumMetaClass PartDetectEnum => _PartDetectEnum ?? (_PartDetectEnum = new Package.PartDetectEnumMetaClass()); + + private Package.ExecutionEnumMetaClass _ExecutionEnum; + /// + /// + /// + public Package.ExecutionEnumMetaClass ExecutionEnum => _ExecutionEnum ?? (_ExecutionEnum = new Package.ExecutionEnumMetaClass()); + + private Package.AvailabilityEnumMetaClass _AvailabilityEnum; + /// + /// + /// + public Package.AvailabilityEnumMetaClass AvailabilityEnum => _AvailabilityEnum ?? (_AvailabilityEnum = new Package.AvailabilityEnumMetaClass()); + + private Package.ProgramEditEnumMetaClass _ProgramEditEnum; + /// + /// + /// + public Package.ProgramEditEnumMetaClass ProgramEditEnum => _ProgramEditEnum ?? (_ProgramEditEnum = new Package.ProgramEditEnumMetaClass()); + + private Package.ControllerModeOverrideEnumMetaClass _ControllerModeOverrideEnum; + /// + /// + /// + public Package.ControllerModeOverrideEnumMetaClass ControllerModeOverrideEnum => _ControllerModeOverrideEnum ?? (_ControllerModeOverrideEnum = new Package.ControllerModeOverrideEnumMetaClass()); + + private Package.FunctionalModeEnumMetaClass _FunctionalModeEnum; + /// + /// + /// + public Package.FunctionalModeEnumMetaClass FunctionalModeEnum => _FunctionalModeEnum ?? (_FunctionalModeEnum = new Package.FunctionalModeEnumMetaClass()); + + private Package.WaitStateEnumMetaClass _WaitStateEnum; + /// + /// + /// + public Package.WaitStateEnumMetaClass WaitStateEnum => _WaitStateEnum ?? (_WaitStateEnum = new Package.WaitStateEnumMetaClass()); + + private Package.RotaryModeEnumMetaClass _RotaryModeEnum; + /// + /// + /// + public Package.RotaryModeEnumMetaClass RotaryModeEnum => _RotaryModeEnum ?? (_RotaryModeEnum = new Package.RotaryModeEnumMetaClass()); + + private Package.CompositionStateSwitchedEnumMetaClass _CompositionStateSwitchedEnum; + /// + /// + /// + public Package.CompositionStateSwitchedEnumMetaClass CompositionStateSwitchedEnum => _CompositionStateSwitchedEnum ?? (_CompositionStateSwitchedEnum = new Package.CompositionStateSwitchedEnumMetaClass()); + + private Package.EmergencyStopEnumMetaClass _EmergencyStopEnum; + /// + /// + /// + public Package.EmergencyStopEnumMetaClass EmergencyStopEnum => _EmergencyStopEnum ?? (_EmergencyStopEnum = new Package.EmergencyStopEnumMetaClass()); + + private Package.LockStateEnumMetaClass _LockStateEnum; + /// + /// + /// + public Package.LockStateEnumMetaClass LockStateEnum => _LockStateEnum ?? (_LockStateEnum = new Package.LockStateEnumMetaClass()); + + private Package.AxisStateEnumMetaClass _AxisStateEnum; + /// + /// + /// + public Package.AxisStateEnumMetaClass AxisStateEnum => _AxisStateEnum ?? (_AxisStateEnum = new Package.AxisStateEnumMetaClass()); + + private Package.InterfaceStateEnumMetaClass _InterfaceStateEnum; + /// + /// + /// + public Package.InterfaceStateEnumMetaClass InterfaceStateEnum => _InterfaceStateEnum ?? (_InterfaceStateEnum = new Package.InterfaceStateEnumMetaClass()); + + private Package.RelationshipTypeEnumMetaClass _RelationshipTypeEnum; + /// + /// + /// + public Package.RelationshipTypeEnumMetaClass RelationshipTypeEnum => _RelationshipTypeEnum ?? (_RelationshipTypeEnum = new Package.RelationshipTypeEnumMetaClass()); + + private Package.FormatTypeEnumMetaClass _FormatTypeEnum; + /// + /// + /// + public Package.FormatTypeEnumMetaClass FormatTypeEnum => _FormatTypeEnum ?? (_FormatTypeEnum = new Package.FormatTypeEnumMetaClass()); + + private Package.CompositionTypeEnumMetaClass _CompositionTypeEnum; + /// + /// + /// + public Package.CompositionTypeEnumMetaClass CompositionTypeEnum => _CompositionTypeEnum ?? (_CompositionTypeEnum = new Package.CompositionTypeEnumMetaClass()); + + private Package.CountDirectionTypeEnumMetaClass _CountDirectionTypeEnum; + /// + /// + /// + public Package.CountDirectionTypeEnumMetaClass CountDirectionTypeEnum => _CountDirectionTypeEnum ?? (_CountDirectionTypeEnum = new Package.CountDirectionTypeEnumMetaClass()); + + private Package.ApplicationTypeEnumMetaClass _ApplicationTypeEnum; + /// + /// + /// + public Package.ApplicationTypeEnumMetaClass ApplicationTypeEnum => _ApplicationTypeEnum ?? (_ApplicationTypeEnum = new Package.ApplicationTypeEnumMetaClass()); + + private Package.FormEnumMetaClass _FormEnum; + /// + /// + /// + public Package.FormEnumMetaClass FormEnum => _FormEnum ?? (_FormEnum = new Package.FormEnumMetaClass()); + + private Package.CompositionStateVerticalEnumMetaClass _CompositionStateVerticalEnum; + /// + /// + /// + public Package.CompositionStateVerticalEnumMetaClass CompositionStateVerticalEnum => _CompositionStateVerticalEnum ?? (_CompositionStateVerticalEnum = new Package.CompositionStateVerticalEnumMetaClass()); + + private Package.RequestStateEnumMetaClass _RequestStateEnum; + /// + /// + /// + public Package.RequestStateEnumMetaClass RequestStateEnum => _RequestStateEnum ?? (_RequestStateEnum = new Package.RequestStateEnumMetaClass()); + + private Package.ResponseStateEnumMetaClass _ResponseStateEnum; + /// + /// + /// + public Package.ResponseStateEnumMetaClass ResponseStateEnum => _ResponseStateEnum ?? (_ResponseStateEnum = new Package.ResponseStateEnumMetaClass()); + + private Package.SpindleInterlockEnumMetaClass _SpindleInterlockEnum; + /// + /// + /// + public Package.SpindleInterlockEnumMetaClass SpindleInterlockEnum => _SpindleInterlockEnum ?? (_SpindleInterlockEnum = new Package.SpindleInterlockEnumMetaClass()); + + private Package.AxisInterlockEnumMetaClass _AxisInterlockEnum; + /// + /// + /// + public Package.AxisInterlockEnumMetaClass AxisInterlockEnum => _AxisInterlockEnum ?? (_AxisInterlockEnum = new Package.AxisInterlockEnumMetaClass()); + + private Package.ChuckInterlockEnumMetaClass _ChuckInterlockEnum; + /// + /// + /// + public Package.ChuckInterlockEnumMetaClass ChuckInterlockEnum => _ChuckInterlockEnum ?? (_ChuckInterlockEnum = new Package.ChuckInterlockEnumMetaClass()); + + private Package.DoorStateEnumMetaClass _DoorStateEnum; + /// + /// + /// + public Package.DoorStateEnumMetaClass DoorStateEnum => _DoorStateEnum ?? (_DoorStateEnum = new Package.DoorStateEnumMetaClass()); + + private Package.EquipmentModeEnumMetaClass _EquipmentModeEnum; + /// + /// + /// + public Package.EquipmentModeEnumMetaClass EquipmentModeEnum => _EquipmentModeEnum ?? (_EquipmentModeEnum = new Package.EquipmentModeEnumMetaClass()); + + private Package.PowerStateEnumMetaClass _PowerStateEnum; + /// + /// + /// + public Package.PowerStateEnumMetaClass PowerStateEnum => _PowerStateEnum ?? (_PowerStateEnum = new Package.PowerStateEnumMetaClass()); + + private Package.ConditionStateEnumMetaClass _ConditionStateEnum; + /// + /// + /// + public Package.ConditionStateEnumMetaClass ConditionStateEnum => _ConditionStateEnum ?? (_ConditionStateEnum = new Package.ConditionStateEnumMetaClass()); + + private Package.ToolLifeEnumMetaClass _ToolLifeEnum; + /// + /// + /// + public Package.ToolLifeEnumMetaClass ToolLifeEnum => _ToolLifeEnum ?? (_ToolLifeEnum = new Package.ToolLifeEnumMetaClass()); + + private Package.OperatingModeEnumMetaClass _OperatingModeEnum; + /// + /// + /// + public Package.OperatingModeEnumMetaClass OperatingModeEnum => _OperatingModeEnum ?? (_OperatingModeEnum = new Package.OperatingModeEnumMetaClass()); + + private Package.ErrorCodeEnumMetaClass _ErrorCodeEnum; + /// + /// + /// + public Package.ErrorCodeEnumMetaClass ErrorCodeEnum => _ErrorCodeEnum ?? (_ErrorCodeEnum = new Package.ErrorCodeEnumMetaClass()); + + private Package.MaintenanceListDirectionEnumMetaClass _MaintenanceListDirectionEnum; + /// + /// + /// + public Package.MaintenanceListDirectionEnumMetaClass MaintenanceListDirectionEnum => _MaintenanceListDirectionEnum ?? (_MaintenanceListDirectionEnum = new Package.MaintenanceListDirectionEnumMetaClass()); + + private Package.MaintenanceListIntervalEnumMetaClass _MaintenanceListIntervalEnum; + /// + /// + /// + public Package.MaintenanceListIntervalEnumMetaClass MaintenanceListIntervalEnum => _MaintenanceListIntervalEnum ?? (_MaintenanceListIntervalEnum = new Package.MaintenanceListIntervalEnumMetaClass()); + + private Package.PartCountTypeEnumMetaClass _PartCountTypeEnum; + /// + /// + /// + public Package.PartCountTypeEnumMetaClass PartCountTypeEnum => _PartCountTypeEnum ?? (_PartCountTypeEnum = new Package.PartCountTypeEnumMetaClass()); + + private Package.AlarmSeverityEnumMetaClass _AlarmSeverityEnum; + /// + /// + /// + public Package.AlarmSeverityEnumMetaClass AlarmSeverityEnum => _AlarmSeverityEnum ?? (_AlarmSeverityEnum = new Package.AlarmSeverityEnumMetaClass()); + + private Package.AlarmStateEnumMetaClass _AlarmStateEnum; + /// + /// + /// + public Package.AlarmStateEnumMetaClass AlarmStateEnum => _AlarmStateEnum ?? (_AlarmStateEnum = new Package.AlarmStateEnumMetaClass()); + + private Package.AlarmCodeEnumMetaClass _AlarmCodeEnum; + /// + /// + /// + public Package.AlarmCodeEnumMetaClass AlarmCodeEnum => _AlarmCodeEnum ?? (_AlarmCodeEnum = new Package.AlarmCodeEnumMetaClass()); + + private Package.DirectionEnumMetaClass _DirectionEnum; + /// + /// + /// + public Package.DirectionEnumMetaClass DirectionEnum => _DirectionEnum ?? (_DirectionEnum = new Package.DirectionEnumMetaClass()); + + private Package.PowerStatusEnumMetaClass _PowerStatusEnum; + /// + /// + /// + public Package.PowerStatusEnumMetaClass PowerStatusEnum => _PowerStatusEnum ?? (_PowerStatusEnum = new Package.PowerStatusEnumMetaClass()); + + private Package.NetworkWirelessEnumMetaClass _NetworkWirelessEnum; + /// + /// + /// + public Package.NetworkWirelessEnumMetaClass NetworkWirelessEnum => _NetworkWirelessEnum ?? (_NetworkWirelessEnum = new Package.NetworkWirelessEnumMetaClass()); + + private Package.ProgramLocationTypeEnumMetaClass _ProgramLocationTypeEnum; + /// + /// + /// + public Package.ProgramLocationTypeEnumMetaClass ProgramLocationTypeEnum => _ProgramLocationTypeEnum ?? (_ProgramLocationTypeEnum = new Package.ProgramLocationTypeEnumMetaClass()); + + private Package.InterfaceEventEnumMetaClass _InterfaceEventEnum; + /// + /// + /// + public Package.InterfaceEventEnumMetaClass InterfaceEventEnum => _InterfaceEventEnum ?? (_InterfaceEventEnum = new Package.InterfaceEventEnumMetaClass()); + + private Package.LeakDetectEnumMetaClass _LeakDetectEnum; + /// + /// + /// + public Package.LeakDetectEnumMetaClass LeakDetectEnum => _LeakDetectEnum ?? (_LeakDetectEnum = new Package.LeakDetectEnumMetaClass()); + + private Package.BatteryStateEnumMetaClass _BatteryStateEnum; + /// + /// + /// + public Package.BatteryStateEnumMetaClass BatteryStateEnum => _BatteryStateEnum ?? (_BatteryStateEnum = new Package.BatteryStateEnumMetaClass()); + + private Package.SensorStateDetectEnumMetaClass _SensorStateDetectEnum; + /// + /// + /// + public Package.SensorStateDetectEnumMetaClass SensorStateDetectEnum => _SensorStateDetectEnum ?? (_SensorStateDetectEnum = new Package.SensorStateDetectEnumMetaClass()); + + private Package.CharacteristicStatusEnumMetaClass _CharacteristicStatusEnum; + /// + /// + /// + public Package.CharacteristicStatusEnumMetaClass CharacteristicStatusEnum => _CharacteristicStatusEnum ?? (_CharacteristicStatusEnum = new Package.CharacteristicStatusEnumMetaClass()); + + private Package.UncertaintyTypeEnumMetaClass _UncertaintyTypeEnum; + /// + /// + /// + public Package.UncertaintyTypeEnumMetaClass UncertaintyTypeEnum => _UncertaintyTypeEnum ?? (_UncertaintyTypeEnum = new Package.UncertaintyTypeEnumMetaClass()); + + private Package.PowerSourceTypeEnumMetaClass _PowerSourceTypeEnum; + /// + /// + /// + public Package.PowerSourceTypeEnumMetaClass PowerSourceTypeEnum => _PowerSourceTypeEnum ?? (_PowerSourceTypeEnum = new Package.PowerSourceTypeEnumMetaClass()); + + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/DevelopmentProcess.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/DevelopmentProcess.cs new file mode 100644 index 00000000..59a67a75 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/DevelopmentProcess.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class DevelopmentProcessPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585765371629_136997_13"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1585765371629_136997_13"; + /// Constant value for + public const string NAME = "Development Process"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/DeviceInformationModel.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/DeviceInformationModel.cs new file mode 100644 index 00000000..847246cd --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/DeviceInformationModel.cs @@ -0,0 +1,609 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel; + +namespace Mtconnect +{ + /// The Device Information Model provides a representation of the physical and logical configuration for a piece of equipment used for a manufacturing process or for any other purpose. It also provides the definition of data that may be reported by that equipment.

Using information defined in the Device Information Model, a software application can determine the configuration and reporting capabilities of a piece of equipment. To do this, the software application issues a probe request (defined in Fundamentals) to an agent associated with a piece of equipment. An agent responds to the probe request with an MTConnectDevices Response Document that contains information describing both the physical and logical structure of the piece of equipment and a detailed description of each Observation that can be reported by the agent associated with the piece of equipment. This information allows the client software application to interpret the document and to extract the data with the same meaning, value, and context that it had at its original source.

The MTConnectDevices Response Document is comprised of two sections: Header and Devices.

The Header section contains protocol related information as defined in Fundamentals.

The Devices section of the MTConnectDevices Response Document contains a Device entity for each piece of equipment described in the document. Each Device is comprised of two primary types of entities - Components and DataItems.

Components organize information that represents the physical and logical parts and sub-parts of a piece of equipment (See Components for more details).

DataItems describe data that can be reported by a piece of equipment. In the Device Information Model, DataItems are defined as DataItem entities (See DataItem Types).

The Components and DataItems in the MTConnectDevices Response Document provide information representing the physical and logical structure for a piece of equipment and the types of data that the piece of equipment can report relative to that structure. The MTConnectDevices Response Document does not contain values for the data types reported by the piece of equipment. The MTConnectStreams Response Document defined in Observation Information Model provides the data values that are reported by the piece of equipment.

> Note: The MTConnect Standard also defines the information model for assets. An asset is something that is used in the manufacturing process, but is not permanently associated with a single piece of equipment, can be removed from the piece of equipment without compromising its function, and can be associated with other pieces of equipment during its lifecycle. See Asset Information Model for more details on assets.



Devices Appendix

{{newpage()}}

## XML Schema Diagrams

See XML schemas for the MTConnect standard here: https://schemas.mtconnect.org/.

### Components Schema Diagrams

See Components element in MTConnectDevices schema.

See Description element in MTConnectDevices schema.

### DataItems Schema Diagrams

See DataItems element in MTConnectDevices schema.

See Source element in MTConnectDevices schema.

See Constraints element in MTConnectDevices schema.

See Filter element in MTConnectDevices schema.

See Definition element in MTConnectDevices schema.

### References Schema Diagrams

See References element in MTConnectDevices schema.

See ComponentRef element in MTConnectDevices schema.

See DataItemRef element in MTConnectDevices schema.

### Configuration Schema Diagrams

See Configuration element in MTConnectDevices schema.

See CoordinateSystem element in MTConnectDevices schema.

See Motion element in MTConnectDevices schema.

See Relationships element in MTConnectDevices schema.

See ComponentRelationship element in MTConnectDevices schema.

See DeviceRelationship element in MTConnectDevices schema.

See SensorConfiguration element in MTConnectDevices schema.

See SolidModel element in MTConnectDevices schema.

See Specifications element in MTConnectDevices schema.

See ProcessSpecification element in MTConnectDevices schema.

## XML Examples

### Device Entity Hierarchy Example

~~~~xml
<Devices>
<Device id="d1" name="M12346" uuid="M80104K162N">
<Components>
<Axes id="a" name="base">
<Components>
<Linear id="x" name="X"/>
<Linear id="y" name="Y"/>
<Linear id="z" name="Z"/>
<Rotary id="ar" name="B"/>
<Linear id="w" name="Z3" nativeName="W"/>
<Rotary id="c" name="C"/>
</Components>
</Axes>
<Controller id="cont" name="controller">
<Components>
<Path id="path1" name="path"/>
</Components>
</Controller>
<Door id="door1" name="door"/>
<Systems id="systems" name="systems">
<Components>
<WorkEnvelope id="we1" name="workenv">
<Compositions>
<Composition type="WORKPIECE" id="wp"/>
<Composition type="TABLE" id="tbl"/>
</Compositions>
</WorkEnvelope>
<Electric id="elec" name="electric"/>
<Hydraulic id="hydraulic" name="hydraulic"/>
<Coolant id="coolant" name="coolant"/>
<Pneumatic id="pneumatic" name="pneumatic"/>
<Lubrication id="lubrication" name="lubrication"/>
</Components>
</Systems>
<Auxiliaries id="Aux" name="auxiliaries">
<Components>
<Environmental id="room" name="environmental"/>
</Components>
</Auxiliaries>
<Resources id="resources" name="resources">
<Components>
<Personnel id="personnel" name="personnel"/>
<Materials id="materials" name="materials">
<Components>
<Stock id="procstock" name="stock"/>
</Components>
<Materials/>
</Components>
</Resources>
</Components>
</Device>
</Devices>
~~~~
{: caption="Device Entity Hierarchy Example"}

### Component Example

~~~~xml
<Devices>
<Device id="d1" name="M12346" uuid="M80104K162N">
<Description manufacturer="Example_Corporation"
serialNumber="272237"> Mill w/SMooth-G
</Description>
<DataItems>
<DataItem category="EVENT" id="avail" name="avail" type="AVAILABILITY"/>
<DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
<DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
</DataItems>
<Components>
<Controller id="cont" name="controller">
<DataItems>
<DataItem category="EVENT" id="estop" name="estop" type="EMERGENCY_STOP"/>
<DataItem category="CONDITION" id="logic_cond" type="LOGIC_PROGRAM"/>
<DataItem category="CONDITION" id="cont_system" type="SYSTEM"/>
<DataItem category="SAMPLE" id="cut_time" type="ACCUMULATED_TIME" units="SECOND"/>
</DataItems>
<Components>
<Path id="path1" name="path">
<DataItems>
<DataItem category="EVENT" id="execution" name="execution" type="EXECUTION"/>
<DataItem category="SAMPLE" id="cspeed" subType="ACTUAL" type="CUTTING_SPEED" units="MILLIMETER/SECOND"/>
<DataItem category="CONDITION" id="path_system" type="SYSTEM"/>
<DataItem category="EVENT" id="cvars" representation="DATA_SET" type="VARIABLE"/>
<DataItem category="EVENT" id="woffset" representation="TABLE" type="WORK_OFFSET"/>
</DataItems>
</Path>
</Components>
</Controller>
</Components>
</Device>
</Devices>
~~~~
{: caption="Component Example"}

### Component with Compositions Example

In XML, Composition types are represented differently than Component types. For Component types, the element name is Pascal Case of the Component type name. Whereas, the element name for all Compositiontypes is Composition and the type is defined by the type attribute of the element (see example below).

~~~~xml
<WorkEnvelope id="we1" name="workenv">
<DataItems>
<DataItem category="CONDITION" id="hardware1" name="hardware1" type="HARDWARE"/>
</DataItems>
<Compositions>
<Composition type="WORKPIECE" id="wp"/>
<Composition type="TABLE" id="tbl"/>
</Compositions>
</WorkEnvelope>
~~~~
{: caption="Component with Compositions Example"}

### CoordinateSystem Example

~~~~xml
<Devices>
<Device id="d1" name="M12346" uuid="M80104K162N">
<Description manufacturer="Example_Corporation"
serialNumber="272237"> Mill w/SMooth-G
</Description>
<DataItems>
<DataItem id="avail" type="AVAILABILITY" category="EVENT"/>
<DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
<DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
</DataItems>
<Configuration>
<CoordinateSystems>
<CoordinateSystem id="base" type="BASE">
<Origin>0 0 0</Origin>
</CoordinateSystem>
<CoordinateSystem id="machcoord" type="MACHINE" parentIdRef="base">
<Transformation>
<Translation>210 275 1430</Translation>
<Rotation>0 0 0</Rotation>
</Transformation>
</CoordinateSystem>
<CoordinateSystem id="workcoord" type="OBJECT" parentIdRef="machcoord">
<Transformation>
<Translation>0 0 0</Translation>
<Rotation>0 0 0</Rotation>
</Transformation>
</CoordinateSystem>
</CoordinateSystems>
</Configuration>
</Device>
</Devices>
~~~~
{: caption="CoordinateSystem Example"}

### Motion Example

~~~~xml
<Devices>
<Device id="d1" name="M12346" uuid="M80104K162N">
<Description manufacturer="Example_Corporation"
serialNumber="272237"> Mill w/SMooth-G
</Description>
<DataItems>
<DataItem id="avail" type="AVAILABILITY" category="EVENT"/>
<DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
<DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
</DataItems>
<Configuration>
<CoordinateSystems>
<CoordinateSystem id="base" type="BASE">
<Origin>0 0 0</Origin>
</CoordinateSystem>
<CoordinateSystem id="machcoord" type="MACHINE" parentIdRef="base">
<Transformation>
<Translation>210 275 1430</Translation>
<Rotation>0 0 0</Rotation>
</Transformation>
</CoordinateSystem>
<CoordinateSystem id="workcoord" type="OBJECT" parentIdRef="machcoord">
<Transformation>
<Translation>0 0 0</Translation>
<Rotation>0 0 0</Rotation>
</Transformation>
</CoordinateSystem>
</CoordinateSystems>
</Configuration>
<Components>
<Axes id="a" name="base">
<Components>
<Linear id="x" name="X">
<Configuration>
<Motion id="xmotion" coordinateSystemIdRef="machcoord" type="PRISMATIC" actuation="DIRECT">
<Transformation>
<Translaton>300 915 590</Translaton>
<Rotation>0 0 0</Rotation>
</Transformation>
<Axis>1.0 0 0</Axis>
</Motion>
</Configuration>
</Linear>
<DataItems>
<DataItem id="xtravel" type="SYSTEM" category="CONDITION">
</DataItems>
</Components>
</Axes>
</Components>
</Device>
</Devices>
~~~~
{: caption="Motion Example"}

### Relationship Example

~~~~xml
<Components>
<Axes id="a" name="base">
<Components>
<Linear id="x" name="X">
<Configuration>
<Relationships>
<ComponentRelationship id="xpar" type="PARENT" idRef="we1"/>
</Relationships>
</Configuration>
</Linear>
<DataItems>
<DataItem id="xtravel" type="SYSTEM" category="CONDITION">
</DataItems>
</Components>
</Axes>
<Systems id="systems" name="systems">
<Components>
<WorkEnvelope id="we1" name="workenv">
<Compositions>
<Composition type="WORKPIECE" id="wp"/>
<Composition type="TABLE" id="tbl"/>
</Compositions>
<DataItems>
<DataItem id="we1cond" type="SYSTEM" category="CONDITION">
</DataItems>
</WorkEnvelope>
</Components>
</Systems>
</Components>
~~~~
{: caption="Relationship Example"}

### SolidModel Example

~~~~xml
<Devices>
<Device id="d1" name="M12346" uuid="M80104K162N">
<Description manufacturer="Example_Corporation"
serialNumber="272237"> Mill w/SMooth-G
</Description>
<DataItems>
<DataItem id="avail" type="AVAILABILITY" category="EVENT"/>
<DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
<DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
</DataItems>
<Configuration>
<CoordinateSystems>
<CoordinateSystem id="base" type="BASE">
<Origin>0 0 0</Origin>
</CoordinateSystem>
<CoordinateSystem id="machcoord" type="MACHINE" parentIdRef="base">
<Transformation>
<Translation>210 275 1430</Translation>
<Rotation>0 0 0</Rotation>
</Transformation>
</CoordinateSystem>
<CoordinateSystem id="workcoord" type="OBJECT" parentIdRef="machcoord">
<Transformation>
<Translation>0 0 0</Translation>
<Rotation>0 0 0</Rotation>
</Transformation>
</CoordinateSystem>
</CoordinateSystems>
</Configuration>
<Components>
<Structures id="struct">
<Configuration>
<SolidModel id="model" mediaType="OBJ" href="/objs/mazak.obj" coordinateSystemIdRef="base">
<Transformation>
<Translation>0 860 0</Translation>
<Rotation>-90 0 0</Rotation>
</Transformation>
<Scale>0.001 0.001 0.001</Scale>
</SolidModel>
</Configuration>
<Components>
<Structure id="xaxis" name="X_AXIS">
<Configuration>
<SolidModel id="x_model" mediaType="OBJ" itemRef="xaxis" solidModelIdRef="model" coordinateSystemIdRef="base"/>
</Configuration>
<DataItems>
<DataItem type="SYSTEM" category="CONDITION" id="struct_cond"/>
</DataItems>
</Structure>
</Components>
</Structures>
</Components>
</Device>
</Devices>
~~~~
{: caption="SolidModel Example"}

### Specification Example

~~~~xml
<Components>
<Axes id="a" name="base">
<Components>
<Linear id="x" name="X">
<Configuration>
<Specifications>
<Specification id="spec001" type="LENGTH" units="MILLIMETER">
<Nominal>650</Nominal>
</Specification>
<Specification id="spec002" type="LINEAR_FORCE" units="NEWTON">
<Maximum>5200</Maximum>
<Minimum>0</Minimum>
</Specification>
</Specifications>
</Configuration>
<DataItems>
<DataItem id="xtravel" type="SYSTEM" category="CONDITION">
</DataItems>
</Linear>
</Components>
</Axes>
</Components>
~~~~
{: caption="Specification Example"}

### Example of sensing element provided as data item associated with a Component

~~~~xml
<Components>
<Axes id="a" name="base"
<Components>
<Rotary id="c" name="C">
<DataItems>
<DataItem type="TEMPERATURE" id="servotemp4"
category="SAMPLE" nativeUnits="CELSIUS"
compositionId="Bmotor" units="CELSIUS"/>
</DataItems>
</Rotary>
</Components>
</Axes>
</Components>
~~~~
{: caption="Example of sensing element provided as data item associated with a Component"}

### Example of Sensor for rotary axis

~~~~xml
<Components>
<Axes id="a" name="base"
<Components>
<Rotary id="ar" name="B">
<Components>
<Sensor id="spdlm" name="Spindlemonitor">
<DataItems>
<DataItem type="DISPLACEMENT" id="cvib"
category="SAMPLE" name="Svib"
units="MILLIMETER"/>
</DataItems>
</Sensor >
<Components>
</Rotary>
</Components>
</Axes>
</Components>
~~~~
{: caption="Example of Sensor for rotary axis"}

### Example of sensor unit with sensing element

~~~~xml
<Axes id="a" name="base"
<Components>
<Sensor id="sens1" name="Sensorunit">
<DataItems>
<DataItem type="TEMPERATURE" id="sentemp"
category="SAMPLE" name="Sensortemp"
units="CELSIUS"/>
</DataItems>
</Sensor >
<Linear id="x" name="X">
<DataItems>
<DataItem type="DISPLACEMENT" id="xvib"
category="SAMPLE" name="xvib"
units="MILLIMETER">
<Source componentId="sens1"/>
</DataItem>
</DataItems>
</Rotary>
<Linear id="y" name="Y">
<DataItems>
<DataItem type="DISPLACEMENT" id="yvib"
category="SAMPLE" name="yvib"
units="MILLIMETER">
<Source componentId="sens1"/>
</DataItem>
</DataItems>
</Linear>
<Components>
</Axes>
~~~~
{: caption="Example of sensor unit with sensing element"}

### Example of configuration data for Sensor

~~~~xml
<Sensor id="sensor" name="sensor">
<Configuration>
<SensorConfiguration>
<FirmwareVersion>2.02</FirmwareVersion>
<CalibrationDate>2010-05-16</CalibrationDate>
<NextCalibrationDate>2010-05-16</NextCalibrationDate>
<CalibrationInitials>WS</CalibrationInitials>
<Channels>
<Channel number="1" name="A/D:1">
<Description>A/D With Thermister</Description>
</Channel>
</Channels>
</SensorConfiguration>
</Configuration>
<DataItems>
<DataItem category="CONDITION" id="sensorc"
name="sensorc" type="SYSTEM" />
<DataItem category="SAMPLE" id="senv" name="sensorc"
type="VOLTAGE_DC" units="VOLT" subType="ACTUAL" />
</DataItems>
</Sensor>
~~~~
{: caption="Example of configuration data for Sensor"}




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class DeviceInformationModelPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1642672857507_756619_19"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1642672857507_756619_19"; + /// Constant value for + public const string NAME = "Device Information Model"; + /// Constant value for + public const string SUMMARY = @" The {{term(Device Information Model)}} provides a representation of the physical and logical configuration for a piece of equipment used for a manufacturing process or for any other purpose. It also provides the definition of data that may be reported by that equipment. + +Using information defined in the {{term(Device Information Model)}}, a software application can determine the configuration and reporting capabilities of a piece of equipment. To do this, the software application issues a {{term(probe request)}} (defined in {{package(Fundamentals)}}) to an {{term(agent)}} associated with a piece of equipment. An {{term(agent)}} responds to the {{term(probe request)}} with an {{term(MTConnectDevices Response Document)}} that contains information describing both the physical and logical structure of the piece of equipment and a detailed description of each {{term(Observation)}} that can be reported by the {{term(agent)}} associated with the piece of equipment. This information allows the client software application to interpret the document and to extract the data with the same meaning, value, and context that it had at its original source. + +The {{term(MTConnectDevices Response Document)}} is comprised of two sections: {{block(Header)}} and {{block(Devices)}}. + +The {{block(Header)}} section contains protocol related information as defined in {{package(Fundamentals)}}. + +The {{block(Devices)}} section of the {{term(MTConnectDevices Response Document)}} contains a {{block(Device)}} entity for each piece of equipment described in the document. Each {{block(Device)}} is comprised of two primary types of entities - {{termplural(Component)}} and {{termplural(DataItem)}}. + +{{termplural(Component)}} organize information that represents the physical and logical parts and sub-parts of a piece of equipment (See {{package(Components)}} for more details). + +{{termplural(DataItem)}} describe data that can be reported by a piece of equipment. In the {{term(Device Information Model)}}, {{termplural(DataItem)}} are defined as {{block(DataItem)}} entities (See {{package(DataItem Types)}}). + +The {{termplural(Component)}} and {{termplural(DataItem)}} in the {{term(MTConnectDevices Response Document)}} provide information representing the physical and logical structure for a piece of equipment and the types of data that the piece of equipment can report relative to that structure. The {{term(MTConnectDevices Response Document)}} does not contain values for the data types reported by the piece of equipment. The {{term(MTConnectStreams Response Document)}} defined in {{package(Observation Information Model)}} provides the data values that are reported by the piece of equipment. + +> Note: The MTConnect Standard also defines the information model for {{termplural(asset)}}. An {{term(asset)}} is something that is used in the manufacturing process, but is not permanently associated with a single piece of equipment, can be removed from the piece of equipment without compromising its function, and can be associated with other pieces of equipment during its lifecycle. See {{package(Asset Information Model)}} for more details on {{termplural(asset)}}. + + Devices Appendix {{newpage()}} + +## XML Schema Diagrams + +See XML schemas for the MTConnect standard here: {{url(https://schemas.mtconnect.org/)}}. + +### Components Schema Diagrams + +See `Components` element in `MTConnectDevices` schema. + +See `Description` element in `MTConnectDevices` schema. + +### DataItems Schema Diagrams + +See `DataItems` element in `MTConnectDevices` schema. + +See `Source` element in `MTConnectDevices` schema. + +See `Constraints` element in `MTConnectDevices` schema. + +See `Filter` element in `MTConnectDevices` schema. + +See `Definition` element in `MTConnectDevices` schema. + +### References Schema Diagrams + +See `References` element in `MTConnectDevices` schema. + +See `ComponentRef` element in `MTConnectDevices` schema. + +See `DataItemRef` element in `MTConnectDevices` schema. + +### Configuration Schema Diagrams + +See `Configuration` element in `MTConnectDevices` schema. + +See `CoordinateSystem` element in `MTConnectDevices` schema. + +See `Motion` element in `MTConnectDevices` schema. + +See `Relationships` element in `MTConnectDevices` schema. + +See `ComponentRelationship` element in `MTConnectDevices` schema. + +See `DeviceRelationship` element in `MTConnectDevices` schema. + +See `SensorConfiguration` element in `MTConnectDevices` schema. + +See `SolidModel` element in `MTConnectDevices` schema. + +See `Specifications` element in `MTConnectDevices` schema. + +See `ProcessSpecification` element in `MTConnectDevices` schema. + +## XML Examples + +### Device Entity Hierarchy Example + +~~~~xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +~~~~ +{: caption=""Device Entity Hierarchy Example""} + +### Component Example + +~~~~xml + + + Mill w/SMooth-G + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +~~~~ +{: caption=""Component Example""} + +### Component with Compositions Example + +In {{term(XML)}}, `Composition` types are represented differently than `Component` types. For `Component` types, the element name is Pascal Case of the `Component` type name. Whereas, the element name for all `Composition`types is `Composition` and the type is defined by the `type` attribute of the element (see example below). + +~~~~xml + + + + + + + + + +~~~~ +{: caption=""Component with Compositions Example""} + +### CoordinateSystem Example + +~~~~xml + + + Mill w/SMooth-G + + + + + + + + + + 0 0 0 + + + + 210 275 1430 + 0 0 0 + + + + + 0 0 0 + 0 0 0 + + + + + + +~~~~ +{: caption=""CoordinateSystem Example""} + +### Motion Example + +~~~~xml + + + Mill w/SMooth-G + + + + + + + + + + 0 0 0 + + + + 210 275 1430 + 0 0 0 + + + + + 0 0 0 + 0 0 0 + + + + + + + + + + + + 300 915 590 + 0 0 0 + + 1.0 0 0 + + + + + + + + + + + +~~~~ +{: caption=""Motion Example""} + +### Relationship Example + +~~~~xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +~~~~ +{: caption=""Relationship Example""} + +### SolidModel Example + +~~~~xml + + + Mill w/SMooth-G + + + + + + + + + + 0 0 0 + + + + 210 275 1430 + 0 0 0 + + + + + 0 0 0 + 0 0 0 + + + + + + + + + + 0 860 0 + -90 0 0 + + 0.001 0.001 0.001 + + + + + + + + + + + + + + + + +~~~~ +{: caption=""SolidModel Example""} + +### Specification Example + +~~~~xml + + + + + + + + 650 + + + 5200 + 0 + + + + + + + + + + +~~~~ +{: caption=""Specification Example""} + +### Example of sensing element provided as data item associated with a Component + +~~~~xml + + + + + + + + + + +~~~~ +{: caption=""Example of sensing element provided as data item associated with a Component""} + +### Example of Sensor for rotary axis + +~~~~xml + + + + + + + + + + + + + + +~~~~ +{: caption=""Example of Sensor for rotary axis""} + +### Example of sensor unit with sensing element + +~~~~xml + + + + + + + + + + + + + + + + + + + + + + +~~~~ +{: caption=""Example of sensor unit with sensing element""} + +### Example of configuration data for Sensor + +~~~~xml + + + + 2.02 + 2010-05-16 + 2010-05-16 + WS + + + A/D With Thermister + + + + + + + + + +~~~~ +{: caption=""Example of configuration data for Sensor""} +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + ComponentsPackage, + CompositionsPackage, + DataItemsPackage, + ReferencesPackage, + ConfigurationsPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + DeviceClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.ComponentsPackage _ComponentsPackage; + /// + /// + /// + public Package.ComponentsPackage ComponentsPackage => _ComponentsPackage ?? (_ComponentsPackage = new Package.ComponentsPackage()); + + private Package.CompositionsPackage _CompositionsPackage; + /// + /// + /// + public Package.CompositionsPackage CompositionsPackage => _CompositionsPackage ?? (_CompositionsPackage = new Package.CompositionsPackage()); + + private Package.DataItemsPackage _DataItemsPackage; + /// + /// + /// + public Package.DataItemsPackage DataItemsPackage => _DataItemsPackage ?? (_DataItemsPackage = new Package.DataItemsPackage()); + + private Package.ReferencesPackage _ReferencesPackage; + /// + /// + /// + public Package.ReferencesPackage ReferencesPackage => _ReferencesPackage ?? (_ReferencesPackage = new Package.ReferencesPackage()); + + private Package.ConfigurationsPackage _ConfigurationsPackage; + /// + /// + /// + public Package.ConfigurationsPackage ConfigurationsPackage => _ConfigurationsPackage ?? (_ConfigurationsPackage = new Package.ConfigurationsPackage()); + + #endregion + + #region Classes + private Package.DeviceClass _DeviceClass; + /// + /// + /// + public Package.DeviceClass DeviceClass => _DeviceClass ?? (_DeviceClass = new Package.DeviceClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Fundamentals.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Fundamentals.cs new file mode 100644 index 00000000..437ff920 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Fundamentals.cs @@ -0,0 +1,468 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Fundamentals; + +namespace Mtconnect +{ + /// The MTConnect Standard defines the normative information model and protocol for retrieving information from manufacturing equipment. This document specifies the agent behavior and protocol.

## Agent

The MTConnect Standard specifies the minimum functionality of the agent. The functionality is as follows:

* Provides store and forward messaging middleware service.
* Provides key-value information storage and asset retrieval service.
* Implements the REST API for the MTConnect Standard (See REST Protocol).
* Device metadata.
* observations collected by the agent.
* assets collected by the agent.

There are three types of information stored by an agent that MAY be published in a response document. These are as follows:

* equipment metadata specified in Device Information Model.
* streaming data provides the observations specified in Observation Information Model.
* Assets specified in Asset Information Model.

### Agent Instance ID

The agent MUST set the instanceId to a unique value whenever the sequence number in the agent is initialized to 1. (see Sequence Numbers and Persistence and Recovery below).

### Storage of Equipment Metadata

An agent MUST be capable of publishing equipment metadata for the agent as specified in Device Information Model.

### Storage of Streaming Data

The agent MAY implement a buffer with a fixed number of observations. If the bufferSize is fixed, the agent MUST store observations using a first-in-first-out pattern. The agent will remove the oldest observation when the buffer is full and a new observation arrives.

![Data Storage in Buffer](figures/data-storage-in-buffer.png "data-storage-in-buffer"){: width="0.8"}

In {{figure(first-in-first-out-buffer-management)}}, the maximum number of observations that can be stored in the buffer of the agent is 8. The bufferSize in the header reports the maximum number of observations. This example illustrates that when the buffer fills up, the oldest piece of data falls out the other end.

![First In First Out Buffer Management](figures/first-in-first-out-buffer-management.png "first-in-first-out-buffer-management"){: width="0.8"}

> Note: As an implementation suggestion, the buffer should be sized large enough to provide a continuous stream of observations. The implementer should also consider the impact of a temporary loss of communications when determining the size for the buffer. A larger buffer will allow more time to reconnect to an agent without losing data.

#### Sequence Numbers

In an agent, each occurrence of an observation in the buffer will be assigned a monotonically increasing unsigned 64-bit integer (sequence number) when it arrives. The first sequence number MUST be 1.

The sequence number for each observation MUST be unique for an instance of an agent identified by an instanceId.

{{table(instanceid-and-sequence)}} illustrates the changing of the instanceId when an agent resets the sequence number to 1.

| instanceId | sequence |
|-------------:|-----------:|
|{{rowspan(5)}} 234556|234|
||235|
||236|
||237|
||238|
|{{span(2)}} Agent Stops and Restarts|
|{{rowspan(5)}} 234557|1|
||2|
||3|
||4|
||5|
{: caption="instanceId and sequence" label="instanceid-and-sequence" }

{{figure(identifying-the-range-of-data-with-firstsequence-and-lastsequence)}} shows two additional pieces of information defined for an agent:

* firstSequence -- the oldest observation in the buffer. The agent removes this observation when it receives the next observation

* lastSequence -- the newest observation in the buffer

firstSequence and lastSequence provide the range of values for the REST API requests.

![Indentifying the range of data with firstSequence and lastSequence](figures/identifying-the-range-of-data-with-firstsequence-and-lastsequence.png "identifying-the-range-of-data-with-firstsequence-and-lastsequence"){: width="0.75"}

The agent MUST begin evaluating observations with sample request's from parameter. Also, the agent MUST include a maximum number of observations given by the count parameter in the response document.

In {{figure(identifying-the-range-of-data-with-from-and-count)}}, the request specifies the observations start at sequence number 15 (from) and includes a total of three items (count).

![Identifying the range of data with from and count](figures/identifying-the-range-of-data-with-from-and-count.png "identifying-the-range-of-data-with-from-and-count"){: width="0.75"}

nextSequence header property has the sequence number of the next observation in the buffer for subsequent sample requests providing a contiguous set of observations. In the example in {{figure(identifying-the-range-of-data-with-from-and-count)}}, the next sequence number (nextSequence) will be 18.

As shown in {{figure(identifying-the-range-of-data-with-nextsequence-and-lastsequence)}}, the combination of from and count defined by the request indicates a sequence number for data that is beyond that which is currently in the buffer. In this case, nextSequence is set to a value of lastSequence + 1 .

![Indentifying the range of data with nextSequence and lastSequence](figures/identifying-the-range-of-data-with-nextsequence-and-lastsequence.png "identifying-the-range-of-data-with-nextsequence-and-lastsequence"){: width="0.75"}

#### Observation Buffer

An observation has four pieces of information as follows:

1. sequence number associated with each observation - sequence.
2. The timestamp the observation was made. .
3. A reference to the dataitemid from the Device Information Model.
4. The value of the observation.

{{table(data-storage-concept)}} is an example demonstrating the concept of how data may be stored in an agent:

| sequence | timestamp | dataItemId | result |
|-----------:|------------:|-------------:|---------:|
|101|2016-12-13T09:44:00.2221Z|AVAIL-28277|UNAVAILABLE|
|102|2016-12-13T09:54:00.3839Z|AVAIL-28277|AVAILABLE|
|103|2016-12-13T10:00:00.0594Z|POS-Y-28277|25.348|
|104|2016-12-13T10:00:00.0594Z|POS-Z-28277|13.23|
|105|2016-12-13T10:00:03.2839Z|SS-28277|0|
|106|2016-12-13T10:00:03.2839Z|POS-X-28277|11.195|
|107|2016-12-13T10:00:03.2839Z|POS-Y-28277|24.938|
|108|2016-12-13T10:01:37.8594Z|POS-Z-28277|1.143|
|109|2016-12-13T10:02:03.2617Z|SS-28277|1002|
{: caption="Data Storage Concept" label="data-storage-concept" }

#### Timestamp

observations MUST have a timestamp giving the most accurate time that the observation occurred.

The timezone of the timestamp MUST be UTC (Coordinated Universal Time) and represented using ISO 8601 format: e.g., "2010-04-01T21:22:43Z".

Applications SHOULD use the observation's timestamp for ordering as opposed to sequence number.

All observations occurring at the same time MUST have the same timestamp.

#### Recording Occurrences of Streaming Data

The agent MUST only place observations in the buffer if the data has changed from the previous observation for the same DataItem.

The agent MUST place every observation in the buffer, without checking for changes, in the following cases:

* The discrete in DataItem is true.
* The representation in DataItem is DISCRETE.
* The representation in DataItem is TIME_SERIES.

#### Maintaining Last Value for Data Entities

An agent MUST retain the most recent observation associated with each DataItem, even if the observation is no longer in the buffer. This function supports the current request functionality.

#### Unavailability of Data

An observation with the value of UNAVAILABLE indicates the value is indeterminate.

The agent MUST initialize every DataItem, unless it has a constant value (see below), with an observation with the value of UNAVAILABLE. Aditionally, whenever the data source is unreachable, every DataItem associated with the data source must have an observation with the value of UNAVAILABLE and timestamp when the connection was lost.

An DataItem that is constrained to a constant value, as defined in Device Information Model, MUST only have an observation with the constant value and MUST NOT be set to UNAVAILABLE.

#### Persistence and Recovery

The agent MAY have a fixed size buffer and the buffer MAY be ephemeral.

If the buffer is recoverable, the agent MUST NOT change the instanceId and MUST NOT set the sequence number to 1. The sequence number MUST be one greater than the maximum value of the recovered observations. max(sequence) + 1

### Storage of MTConnect Assets

An agent MAY only retain a limited number of Assets in the asset buffer. The Assets are stored in first-in-first-out method where the oldest Asset is removed when the asset buffer is full and a new Asset arrives.

{{figure(first-in-first-out-asset-buffer-management)}} illustrates the oldest Asset being removed from the asset buffer when a new Asset is added and the asset buffer is full:

![First In First Out Asset Buffer Management](figures/first-in-first-out-asset-buffer-management.png "first-in-first-out-asset-buffer-management"){: width="0.6"}

Assets are indexed by assetId in Asset. In the case of Assets, {{figure(relationship-between-assetid-and-stored-asset-documents)}} demonstrates the relationship between the key (assetId in Asset) and the stored Asset:

![Relationship between assetId and stored Asset documents](figures/relationship-between-assetid-and-stored-asset-documents.png "relationship-between-assetid-and-stored-asset-documents"){: width="0.25"}

> Note: The key (assetId in Asset) is independent of the order of the Asset stored in the asset buffer.

When the agent receives a new Asset, one of the following rules MUST apply:

* If the Asset is not in the asset buffer, the agent MUST add the new Asset to the front of the asset buffer. If the asset buffer is full, the oldest Asset will be removed from the asset buffer.

* If the Asset is already in the asset buffer, the agent MUST replace the existing Asset and move the Asset to the front of the asset buffer.

The number of Asset that may be stored in an agent is defined by the value for assetBufferSize in Header. An assetBufferSize in Header of 4,294,967,296 or 2^{32 } MUST indicate unlimited storage.

The asset buffer MAY be ephemeral and the Asset entities will be lost if the agent clears the asset buffer. They must be recovered from the data source.

Asset Information Model provides additional information on asset management.

## Response Documents

response documents are electronic documents generated by an agent in response to a request for data.

The response documents defined in the MTConnect Standard are:

* MTConnectDevices Response Document: Describes the composition and configuration of the Device and the data that can be observed. See MTConnectDevices Response Document and Device Information Model for details on this information model.

* MTConnectStreams Response Document: Observations made at a point in time about related DataItems. See MTConnectStreams Response Document and Observation Information Model for details on this information model.

* MTConnectAssets Response Document: Assets related to Devices. See MTConnectAssets Response Document and Asset Information Model for details on this information model.

* MTConnectErrors Response Document: Information in response to a failed request. See MTConnectErrors Response Document for details on this information model.

## Request/Response Information Exchange

The transfer of information between an agent and a client software application is based on a request and response REST protocol. A client application requests specific information from an agent and an agent responds with a response document.

There are four types of MTConnect Requests. These requests are as follows:

* probe request: Requests information about one more more Devices as an MTConnectDevices block.

* current request: Requests the most recent, or snapshot at a sequence number, observations as an MTConnectStreams block.

* sample request: Requests a series of observations as an MTConnectStreams block.

* asset request: Requests a set of assets as an MTConnectAssets block.

If an agent is unable to respond to the request for information or the request includes invalid information, the agent will publish an MTConnectErrors Response Document. See MTConnectErrors.

See REST Protocol for the details on the normative requirements of the agent.


Fundamentals Appendix

{{newpage()}}

## Fundamentals of Using XML to Encode Response Documents

The MTConnect Standard specifies the structures and constructs that are used to encode response documents. When these response documents are encoded using XML, there are additional rules defined by the XML standard that apply for creating an XML compliant document. An implementer should refer to the W3C website for additional information on XML documentation and implementation details - http://www.w3.org/XML.

The following provides specific terms and guidelines referenced in the MTConnect Standard for forming response documents with XML:


* tag: A tag is an XML construct that forms the foundation for an XML expression. It defines the scope (beginning and end) of an XML expression. The main types of tags are:

* start-tag: Designates the beginning on an XML element; e.g., <element name>

* end-tag: Designates the end on an XML element; e.g., </element name>.


> Note: If an element has no child elements or CDATA, the end-tag may be shortened to />.


* Element: An element is an XML statement that is the primary building block for a document encoded using XML. An element begins with a start-tag and ends with a matching end-tag. The characters between the start-tag and the end-tag are the element's content. The content may contain attributes, CDATA, and/or other elements. If the content contains additional elements, these elements are called child elements.

An example would be: <element name>Content of the Element</element name>.

* child element: An XML element that is contained within a higher-level parent element. A child element is also known as a sub-element. XML allows an unlimited hierarchy of parent element-child element relationships that establishes the structure that defines how the various pieces of information in the document relate to each other. A parent element may have multiple associated child elements.

* element name: A descriptive identifier contained in both the start-tag and end-tag that provides the name of an XML element.

* Attribute: A construct consisting of a name–value pair that provides additional information about that XML element. The format for an attribute is `name="value"; where the value for the attribute is enclosed in a set of quotation (“) marks. An XML attribute MUST only have a single value and each attribute can appear at most once in each element. Also, each attribute MUST be defined in a schema to either be required or optional.

* An example of attributes for an XML element is {{lst(example-of-attributes-for-an-element)}}:

~~~~xml
<DataItem category="SAMPLE" id="S1load"
nativeUnits="PERCENT" type="LOAD"
units="PERCENT"/>
~~~~
{: caption="Example of attributes for an element"}

In this example, DataItem is the element name. category, id, nativeUnits, type, and units are the names of the attributes. “SAMPLE", “S1load", “PERCENT", “LOAD", and “PERCENT" are the values for each of the respective attributes.

CDATA: CDATA is an XML term representing Character Data. Character Data* contains a value(s) or text that is associated with an XML element. CDATA can be restricted to certain formats, patterns, or words.

An example of CDATA associated with an XML element would be {{lst(example-of-cdata-associated-with-element)}}:

~~~~xml
<Message id="M1">This is some text</Message>
~~~~
{: caption="Example of cdata associated with element"}

In this example, Message is the element name and This is some text is the CDATA.

* namespace: An XML namespace defines a unique vocabulary for named elements and attributes in an XML document. An XML document may contain content that is associated with multiple namespaces. Each namespace has its own unique identifier.

Elements and attributes are associated with a specific namespace by placing a prefix on the name of the element or attribute that associates that name to a specific namespace; e.g., x:MyTarget associates the element name MyTarget with the namespace designated by x: (the prefix).

namespaces are used to avoid naming conflicts within an XML document. The naming convention used for elements and attributes may be associated with either the default namespace specified in the header of an XML document or they may be associated with one or more alternate namespaces. All elements or attributes associated with a namespace that is not the default namespace, must include a prefix (e.g., x:) as part of the name of the element or attribute to associate it with the proper namespace. See Schema and Namespace Declaration Information for details on the structure for XML headers.

The names of the elements and attributes declared in a namespace may be identified with a different prefix than the prefix that signifies that specific namespace. These prefixes are called namespace aliases. As an example, MTConnect Standard specific namespaces are designated as m: and the names of the elements and attributes defined in that namespace have an alias prefix of mt: which designates these names as MTConnect Standard specific vocabulary; e.g., mt:MTConnectDevices.


XML documents are encoded with a hierarchy of elements. In general, XML elements may contain child elements, CDATA, or both. However, in the MTConnect Standard, an element MUST NOT contain mixed content; meaning it cannot contain both child elements and CDATA.

The semantic data model defined for each response document specifies the elements and child elements that may appear in a document. The semantic data model also defines the number of times each element and child element may appear in the document.

{{lst(example-of-hierarchy-of-xml-elements)}} demonstrates the hierarchy of XML elements and child elements used to form an XML document:

~~~~xml
<Root Level> (Parent Element)
<First Level> (Child Element to Root Level and
Parent Element to Second Level)
<Second Level> (Child Element to First Level
and Parent Element to Third Level)
<Third Level name="N1"></Third Level>
(Child Element to Second Level)
<Third Level name="N2"></Third Level>
(Child Element to Second Level)
<Third Level name="N3"></Third Level>
(Child Element to Second Level)
</Second Level> (end-tag for Second Level)
</First Level> (end-tag for First Level)
</Root Level> (end-tag for Root Level)
~~~~
{: caption="Example of hierarchy of XML elements"}


In the {{lst(example-of-hierarchy-of-xml-elements)}}, Root Level and First Level have one child element (sub-elements) each and Second Level has three child elements; each called Third Level. Each Third Level element has a different name attribute. Each level in the structure is an element and each lower level element is a child element.

{{newpage()}}

## Schema and Namespace Declaration Information

There are four pseudo-attributes typically included in the header of a response document that declare the schema and namespace for the document. Each of these pseudo-attributes provides specific information for a client software application to properly interpret the content of the response document.

The pseudo-attributes include:

* xmlns:xsi – The xsi portion of this attribute name stands for XML Schema instance. An XML Schema instance provides information that may be used by a software application to interpret XML specific information within a document. See the W3C website for more details on xmlns:xsi.

* xmlns – Declares the default namespace associated with the content of the response document. The default namespace is considered to apply to all elements and attributes whenever the name of the element or attribute does not contain a prefix identifying an alternate namespace.

The value of this attribute is an URN identifying the name of the file that defines the details of the namespace content. This URN provides a unique identify for the namespace.

* xmlns:m – Declares the MTConnect specific namespace associated with the content of the response document. There may be multiple namespaces declared for an XML document. Each may be associated to the default namespace or it may be totally independent. The :m designates that this is a specific MTConnect namespace which is directly associated with the default namespace.


> Note: See Extensibility for details regarding extended namespaces.


The value associated with this attribute is an URN identifying the name of the file that defines the details of the namespace content.

* xsi:schemaLocation - Declares the name for the schema associated with the response document and the location of the file that contains the details of the schema for that document.

The value associated with this attribute has two parts:

* A URN identifying the name of the specific XML Schema instance associated with the response document.

* The path to the location where the file describing the specific XML Schema instance is located. If the file is located in the same root directory where the agent is installed, then the local path MAY be declared. Otherwise, a fully qualified URL must be declared to identify the location of the file.


> Note: In the format of the value associated with xsi:schemaLocation, the URN and the path to the schema file MUST be separated by a “space”.


In {{lst(example-of-schema-and-namespace-declaration)}}, the first line is the XML declaration. The second line is a root element called MTConnectDevices. The remaining four lines are the pseudo-attributes of MTCconnectDevices that declare the XML schema and namespace associated with an MTConnectDevices Response Document.

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectDevices
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xmlns="urn:mtconnect.org:MTConnectDevices:1.3"
xmlns:m="urn:mtconnect.org:MTConnectDevices:1.3"
xsi:schemaLocation="urn:mtconnect.org:
MTConnectDevices:1.3 /schemas/MTConnectDevices\_1.3.xsd">
~~~~
{: caption="Example of schema and namespace declaration"}

The format for the values provided for each of the pseudo-attributes MUST reference the semantic data model (e.g., MTConnectDevices, MTConnectStreams, MTConnectAssets, or MTConnectError) and the version (i.e.; 1.1, 1.2, 1.3, etc.) of the MTConnect Standard that depict the schema and namespace(s) associated with a specific response document.

When an implementer chooses to extend an MTConnect data model by adding custom data types or additional structural elements, the schema and namespace for that data model should be updated to reflect the additional content. When this is done, the namespace and schema information in the header should be updated to reflect the URI for the extended namespace and schema.

{{newpage()}}

## Extensibility

MTConnect is an extensible standard, which means that implementers MAY extend the data models defined in the various sections of the MTConnect Standard to include information required for a specific implementation. When these data models are encoded using XML, the methods for extending these data models are defined by the rules established for extending any XML schema (see the W3C website for more details on extending XML data models).

The following are typical extensions that MAY be considered in the MTConnect data models:

* Additional type and subtype values for DataItems.

* Additional structural elements as containers.

* Additional Composition elements.

* New Asset types that are sub-typed from the abstract Asset type.

* child elements that may be added to specific XML elements contained within the MTConnect Information Models. These extended elements MUST be identified in a separate namespace.


When extending an MTConnect data model, there are some basic rules restricting changes to the MTConnect data models.

When extending an MTConnect data model, an implementer:

* MUST NOT add new value for category for DataItems,

* MUST NOT add new root elements,

* SHOULD NOT add new top level Components, and

* MUST NOT add any new attributes or include any sub-elements to Composition.

> Note: Throughout the documents additional information is provided where extensibility may be acceptable or unacceptable to maintain compliance with the MTConnect Standard.

When a schema representing a data model is extended, the schema and namespace declaration at the beginning of the corresponding response document MUST be updated to reflect the new schema and namespace so that a client software application can properly validate the response document.

An XML example of a schema and namespace declaration, including an extended schema and namespace, is shown in {{lst(example-of-extended-schema-and-namespace-in-declaration)}}:

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectDevices
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xmlns="urn:mtconnect.org:MTConnectDevices:1.3"
xmlns:m="urn:mtconnect.org:MTConnectDevices:1.3"
xmlns:x="urn:MyLocation:MyFile:MyVersion"
xsi:schemaLocation="urn:MyLocation:MyFile:MyVersion
/schemas/MyFileName.xsd" />
~~~~
{: caption="Example of extended schema and namespace in declaration"}

In this example:

* xmlns:x is added in Line 6 to identify the XML Schema instance for the extended schema. element names identified with an "x" prefix are associated with this specific XML Schema instance.

> Note: The "x" prefix MAY be replaced with any prefix that the implementer chooses for identifying the extended schema and namespace.

* xsi:schemaLocation is modified in Line 7 to associate the namespace URN with the URL specifying the location of schema file.

* MyLocation, MyFile, MyVersion, and MyFileName in Lines 6 and 7 MUST be replaced by the actual name, version, and location of the extended schema.

When an extended schema is implemented, each structural element, DataItem, and asset defined in the extended schema MUST be identified in each respective response document by adding a prefix to the XML element name associated with that structural element, DataItem, or asset. The prefix identifies the schema and namespace where that XML Element is defined.





+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class FundamentalsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_496E1978_22AF_4543_A020_4616FFC25649"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_496E1978_22AF_4543_A020_4616FFC25649"; + /// Constant value for + public const string NAME = "Fundamentals"; + /// Constant value for + public const string SUMMARY = @" The MTConnect Standard defines the normative information model and protocol for retrieving information from manufacturing equipment. This document specifies the {{term(agent)}} behavior and protocol. + +## Agent + +The MTConnect Standard specifies the minimum functionality of the {{term(agent)}}. The functionality is as follows: + +* Provides store and forward messaging middleware service. +* Provides key-value information storage and asset retrieval service. +* Implements the REST API for the MTConnect Standard (See {{package(REST Protocol)}}). + * {{term(Device)}} metadata. + * {{termplural(observation)}} collected by the agent. + * {{termplural(asset)}} collected by the agent. + +There are three types of information stored by an {{term(agent)}} that **MAY** be published in a {{term(response document)}}. These are as follows: + +* {{term(equipment metadata)}} specified in {{package(Device Information Model)}}. +* {{term(streaming data)}} provides the {{termplural(observation)}} specified in {{package(Observation Information Model)}}. +* {{termplural(Asset)}} specified in {{package(Asset Information Model)}}. + +### Agent Instance ID + +The {{term(agent)}} **MUST** set the `instanceId` to a unique value whenever the {{term(sequence number)}} in the agent is initialized to `1`. (see {{sect(Sequence Numbers)}} and {{sect(Persistence and Recovery)}} below). + +### Storage of Equipment Metadata + +An {{term(agent)}} **MUST** be capable of publishing {{term(equipment metadata)}} for the {{term(agent)}} as specified in {{package(Device Information Model)}}. + +### Storage of Streaming Data + +The {{term(agent)}} **MAY** implement a {{term(buffer)}} with a fixed number of {{termplural(observation)}}. If the `bufferSize` is fixed, the {{term(agent)}} **MUST** store {{termplural(observation)}} using a first-in-first-out pattern. The {{term(agent)}} will remove the oldest {{term(observation)}} when the {{term(buffer)}} is full and a new {{term(observation)}} arrives. + +![Data Storage in Buffer](figures/data-storage-in-buffer.png ""data-storage-in-buffer""){: width=""0.8""} + +In {{figure(first-in-first-out-buffer-management)}}, the maximum number of {{termplural(observation)}} that can be stored in the {{term(buffer)}} of the {{term(agent)}} is 8. The `bufferSize` in the header reports the maximum number of {{termplural(observation)}}. This example illustrates that when the {{term(buffer)}} fills up, the oldest piece of data falls out the other end. + +![First In First Out Buffer Management](figures/first-in-first-out-buffer-management.png ""first-in-first-out-buffer-management""){: width=""0.8""} + +> Note: As an implementation suggestion, the {{term(buffer)}} should be sized large enough to provide a continuous stream of {{termplural(observation)}}. The implementer should also consider the impact of a temporary loss of communications when determining the size for the {{term(buffer)}}. A larger {{term(buffer)}} will allow more time to reconnect to an {{term(agent)}} without losing data. + +#### Sequence Numbers + +In an {{term(agent)}}, each occurrence of an {{term(observation)}} in the {{term(buffer)}} will be assigned a monotonically increasing unsigned 64-bit integer ({{term(sequence number)}}) when it arrives. The first {{term(sequence number)}} **MUST** be `1`. + +The {{term(sequence number)}} for each {{term(observation)}} **MUST** be unique for an instance of an {{term(agent)}} identified by an `instanceId`. + +{{table(instanceid-and-sequence)}} illustrates the changing of the `instanceId` when an {{term(agent)}} resets the {{term(sequence number)}} to `1`. + +| `instanceId` | `sequence` | +|-------------:|-----------:| +|{{rowspan(5)}} 234556|234| +||235| +||236| +||237| +||238| +|{{span(2)}} Agent Stops and Restarts| +|{{rowspan(5)}} 234557|1| +||2| +||3| +||4| +||5| +{: caption=""instanceId and sequence"" label=""instanceid-and-sequence"" } + +{{figure(identifying-the-range-of-data-with-firstsequence-and-lastsequence)}} shows two additional pieces of information defined for an {{term(agent)}}: + +* `firstSequence` -- the oldest {{term(observation)}} in the {{term(buffer)}}. The {{term(agent)}} removes this {{term(observation)}} when it receives the next {{term(observation)}} + +* `lastSequence` -- the newest {{term(observation)}} in the {{term(buffer)}} + +`firstSequence` and `lastSequence` provide the range of values for the REST API requests. + +![Indentifying the range of data with firstSequence and lastSequence](figures/identifying-the-range-of-data-with-firstsequence-and-lastsequence.png ""identifying-the-range-of-data-with-firstsequence-and-lastsequence""){: width=""0.75""} + +The {{term(agent)}} **MUST** begin evaluating {{termplural(observation)}} with {{term(sample request)}}'s `from` parameter. Also, the {{term(agent)}} **MUST** include a maximum number of {{termplural(observation)}} given by the `count` parameter in the {{term(response document)}}. + +In {{figure(identifying-the-range-of-data-with-from-and-count)}}, the request specifies the {{termplural(observation)}} start at {{term(sequence number)}} `15` (`from`) and includes a total of three items (`count`). + +![Identifying the range of data with from and count](figures/identifying-the-range-of-data-with-from-and-count.png ""identifying-the-range-of-data-with-from-and-count""){: width=""0.75""} + +`nextSequence` header property has the {{term(sequence number)}} of the next {{term(observation)}} in the {{term(buffer)}} for subsequent {{termplural(sample request)}} providing a contiguous set of {{termplural(observation)}}. In the example in {{figure(identifying-the-range-of-data-with-from-and-count)}}, the next {{term(sequence number)}} (`nextSequence`) will be 18. + +As shown in {{figure(identifying-the-range-of-data-with-nextsequence-and-lastsequence)}}, the combination of `from` and `count` defined by the {{term(request)}} indicates a {{term(sequence number)}} for data that is beyond that which is currently in the {{term(buffer)}}. In this case, `nextSequence` is set to a value of $$ lastSequence + 1 $$. + +![Indentifying the range of data with nextSequence and lastSequence](figures/identifying-the-range-of-data-with-nextsequence-and-lastsequence.png ""identifying-the-range-of-data-with-nextsequence-and-lastsequence""){: width=""0.75""} + +#### Observation Buffer + +An {{term(observation)}} has four pieces of information as follows: + +1. {{term(sequence number)}} associated with each {{term(observation)}} - `sequence`. +2. The `timestamp` the {{term(observation)}} was made. . +3. A reference to the `dataitemid` from the {{package(Device Information Model)}}. +4. The value of the {{term(observation)}}. + +{{table(data-storage-concept)}} is an example demonstrating the concept of how data may be stored in an {{term(agent)}}: + +| `sequence` | `timestamp` | `dataItemId` | `result` | +|-----------:|------------:|-------------:|---------:| +|`101`|`2016-12-13T09:44:00.2221Z`|`AVAIL-28277`|`UNAVAILABLE`| +|`102`|`2016-12-13T09:54:00.3839Z`|`AVAIL-28277`|`AVAILABLE`| +|`103`|`2016-12-13T10:00:00.0594Z`|`POS-Y-28277`|`25.348`| +|`104`|`2016-12-13T10:00:00.0594Z`|`POS-Z-28277`|`13.23`| +|`105`|`2016-12-13T10:00:03.2839Z`|`SS-28277`|`0`| +|`106`|`2016-12-13T10:00:03.2839Z`|`POS-X-28277`|`11.195`| +|`107`|`2016-12-13T10:00:03.2839Z`|`POS-Y-28277`|`24.938`| +|`108`|`2016-12-13T10:01:37.8594Z`|`POS-Z-28277`|`1.143`| +|`109`|`2016-12-13T10:02:03.2617Z`|`SS-28277`|`1002`| +{: caption=""Data Storage Concept"" label=""data-storage-concept"" } + +#### Timestamp + +{{termplural(observation)}} **MUST** have a `timestamp` giving the most accurate time that the {{term(observation)}} occurred. + +The timezone of the `timestamp` **MUST** be UTC (Coordinated Universal Time) and represented using ISO 8601 format: e.g., ""2010-04-01T21:22:43Z"". + +Applications **SHOULD** use the {{term(observation)}}'s `timestamp` for ordering as opposed to {{term(sequence number)}}. + +All {{termplural(observation)}} occurring at the same time **MUST** have the same `timestamp`. + +#### Recording Occurrences of Streaming Data + +The {{term(agent)}} **MUST** only place {{termplural(observation)}} in the {{term(buffer)}} if the data has changed from the previous {{term(observation)}} for the same {{block(DataItem)}}. + +The {{term(agent)}} **MUST** place every {{term(observation)}} in the {{term(buffer)}}, without checking for changes, in the following cases: + +* The {{property(DataItem::discrete)}} is `true`. +* The {{property(DataItem::representation)}} is `DISCRETE`. +* The {{property(DataItem::representation)}} is `TIME_SERIES`. + +#### Maintaining Last Value for Data Entities + +An {{term(agent)}} **MUST** retain the most recent {{term(observation)}} associated with each {{block(DataItem)}}, even if the {{term(observation)}} is no longer in the {{term(buffer)}}. This function supports the {{term(current request)}} functionality. + +#### Unavailability of Data + +An {{term(observation)}} with the value of `UNAVAILABLE` indicates the value is indeterminate. + +The {{term(agent)}} **MUST** initialize every {{block(DataItem)}}, unless it has a constant value (see below), with an {{term(observation)}} with the value of `UNAVAILABLE`. Aditionally, whenever the data source is unreachable, every {{block(DataItem)}} associated with the data source must have an {{term(observation)}} with the value of `UNAVAILABLE` and `timestamp` when the connection was lost. + +An {{block(DataItem)}} that is constrained to a constant value, as defined in {{package(Device Information Model)}}, **MUST** only have an {{term(observation)}} with the constant value and **MUST NOT** be set to `UNAVAILABLE`. + +#### Persistence and Recovery + +The {{term(agent)}} **MAY** have a fixed size {{term(buffer)}} and the {{term(buffer)}} **MAY** be ephemeral. + +If the {{term(buffer)}} is recoverable, the {{term(agent)}} **MUST NOT** change the `instanceId` and **MUST NOT** set the {{term(sequence number)}} to `1`. The {{term(sequence number)}} **MUST** be one greater than the maximum value of the recovered {{termplural(observation)}}. $$ max(sequence) + 1 $$ + +### Storage of MTConnect Assets + +An {{term(agent)}} **MAY** only retain a limited number of {{block(Asset)}}s in the {{term(asset buffer)}}. The {{block(Asset)}}s are stored in first-in-first-out method where the oldest {{block(Asset)}} is removed when the {{term(asset buffer)}} is full and a new {{block(Asset)}} arrives. + +{{figure(first-in-first-out-asset-buffer-management)}} illustrates the oldest {{block(Asset)}} being removed from the {{term(asset buffer)}} when a new {{block(Asset)}} is added and the {{term(asset buffer)}} is full: + +![First In First Out Asset Buffer Management](figures/first-in-first-out-asset-buffer-management.png ""first-in-first-out-asset-buffer-management""){: width=""0.6""} + +{{block(Asset)}}s are indexed by {{property(Asset::assetId)}}. In the case of {{block(Asset)}}s, {{figure(relationship-between-assetid-and-stored-asset-documents)}} demonstrates the relationship between the key ({{property(Asset::assetId)}}) and the stored {{block(Asset)}}: + +![Relationship between assetId and stored Asset documents](figures/relationship-between-assetid-and-stored-asset-documents.png ""relationship-between-assetid-and-stored-asset-documents""){: width=""0.25""} + +> Note: The key ({{property(Asset::assetId)}}) is independent of the order of the {{block(Asset)}} stored in the {{term(asset buffer)}}. + +When the {{term(agent)}} receives a new {{block(Asset)}}, one of the following rules **MUST** apply: + +* If the {{block(Asset)}} is not in the {{term(asset buffer)}}, the {{term(agent)}} **MUST** add the new {{block(Asset)}} to the front of the {{term(asset buffer)}}. If the {{term(asset buffer)}} is full, the oldest {{block(Asset)}} will be removed from the {{term(asset buffer)}}. + +* If the {{block(Asset)}} is already in the {{term(asset buffer)}}, the {{term(agent)}} **MUST** replace the existing {{block(Asset)}} and move the {{block(Asset)}} to the front of the {{term(asset buffer)}}. + +The number of {{block(Asset)}} that may be stored in an {{term(agent)}} is defined by the value for {{property(Header::assetBufferSize)}}. An {{property(Header::assetBufferSize)}} of 4,294,967,296 or $$ 2^{32 } $$ **MUST** indicate unlimited storage. + +The {{term(asset buffer)}} **MAY** be ephemeral and the {{block(Asset)}} entities will be lost if the {{term(agent)}} clears the {{term(asset buffer)}}. They must be recovered from the data source. + +{{package(Asset Information Model)}} provides additional information on {{term(asset)}} management. + +## Response Documents + +{{termplural(response document)}} are electronic documents generated by an {{term(agent)}} in response to a {{term(request)}} for data. + +The {{termplural(response document)}} defined in the MTConnect Standard are: + +* {{term(MTConnectDevices Response Document)}}: Describes the composition and configuration of the {{term(Device)}} and the data that can be observed. See {{package(MTConnectDevices Response Document)}} and {{package(Device Information Model)}} for details on this information model. + +* {{term(MTConnectStreams Response Document)}}: {{termplural(Observation)}} made at a point in time about related {{termplural(DataItem)}}. See {{package(MTConnectStreams Response Document)}} and {{package(Observation Information Model)}} for details on this information model. + +* {{term(MTConnectAssets Response Document)}}: {{termplural(Asset)}} related to {{termplural(Device)}}. See {{package(MTConnectAssets Response Document)}} and {{package(Asset Information Model)}} for details on this information model. + +* {{term(MTConnectErrors Response Document)}}: Information in response to a failed request. See {{package(MTConnectErrors Response Document)}} for details on this information model. + +## Request/Response Information Exchange + +The transfer of information between an {{term(agent)}} and a client software application is based on a {{term(request and response)}} REST protocol. A client application requests specific information from an {{term(agent)}} and an {{term(agent)}} responds with a {{term(response document)}}. + +There are four types of {{termplural(MTConnect Request)}}. These {{termplural(request)}} are as follows: + +* {{term(probe request)}}: Requests information about one more more {{termplural(Device)}} as an {{block(MTConnectDevices)}} block. + +* {{term(current request)}}: Requests the most recent, or snapshot at a {{term(sequence number)}}, {{termplural(observation)}} as an {{block(MTConnectStreams)}} block. + +* {{term(sample request)}}: Requests a series of {{termplural(observation)}} as an {{block(MTConnectStreams)}} block. + +* {{term(asset request)}}: Requests a set of {{termplural(asset)}} as an {{block(MTConnectAssets)}} block. + +If an {{term(agent)}} is unable to respond to the request for information or the request includes invalid information, the {{term(agent)}} will publish an {{term(MTConnectErrors Response Document)}}. See {{block(MTConnectErrors)}}. + +See {{package(REST Protocol)}} for the details on the normative requirements of the agent. + Fundamentals Appendix {{newpage()}} + +## Fundamentals of Using XML to Encode Response Documents + +The MTConnect Standard specifies the structures and constructs that are used to encode {{termplural(response document)}}. When these {{termplural(response document)}} are encoded using XML, there are additional rules defined by the XML standard that apply for creating an XML compliant document. An implementer should refer to the W3C website for additional information on XML documentation and implementation details - http://www.w3.org/XML. + +The following provides specific terms and guidelines referenced in the MTConnect Standard for forming {{termplural(response document)}} with XML: + + +* `tag`: A `tag` is an XML construct that forms the foundation for an XML expression. It defines the scope (beginning and end) of an XML expression. The main types of tags are: + +* `start-tag`: Designates the beginning on an XML element; e.g., <{{term(element name)}}> + +* `end-tag`: Designates the end on an XML element; e.g., . + + +> Note: If an element has no {{termplural(child element)}} or {{term(CDATA)}}, the `end-tag` may be shortened to />. + + +* `Element`: An element is an XML statement that is the primary building block for a document encoded using XML. An element begins with a `start-tag` and ends with a matching `end-tag`. The characters between the `start-tag` and the `end-tag` are the element's content. The content may contain attributes, {{term(CDATA)}}, and/or other elements. If the content contains additional elements, these elements are called {{termplural(child element)}}. + +An example would be: <{{term(element name)}}>Content of the Element. + +* {{term(child element)}}: An XML element that is contained within a higher-level {{term(parent element)}}. A {{term(child element)}} is also known as a sub-element. XML allows an unlimited hierarchy of {{term(parent element)}}-{{term(child element)}} relationships that establishes the structure that defines how the various pieces of information in the document relate to each other. A {{term(parent element)}} may have multiple associated {{termplural(child element)}}. + +* {{term(element name)}}: A descriptive identifier contained in both the `start-tag` and `end-tag` that provides the name of an XML element. + +* `Attribute`: A construct consisting of a name–value pair that provides additional information about that XML element. The format for an attribute is `name=""value""; where the value for the attribute is enclosed in a set of quotation (“) marks. An XML attribute **MUST** only have a single value and each attribute can appear at most once in each element. Also, each attribute **MUST** be defined in a {{term(schema)}} to either be required or optional. + +* An example of attributes for an XML element is {{lst(example-of-attributes-for-an-element)}}: + +~~~~xml + +~~~~ +{: caption=""Example of attributes for an element""} + +In this example, {{block(DataItem)}} is the {{term(element name)}}. `category`, `id`, `nativeUnits`, `type`, and `units` are the names of the attributes. “`SAMPLE`"", “`S1load`"", “`PERCENT`"", “`LOAD`"", and “`PERCENT`"" are the values for each of the respective attributes. + +* {{term(CDATA)}}: {{term(CDATA)}} is an XML term representing *Character Data*. *Character Data* contains a value(s) or text that is associated with an XML element. {{term(CDATA)}} can be restricted to certain formats, patterns, or words. + +An example of {{term(CDATA)}} associated with an XML element would be {{lst(example-of-cdata-associated-with-element)}}: + +~~~~xml +This is some text +~~~~ +{: caption=""Example of cdata associated with element""} + +In this example, `Message` is the {{term(element name)}} and `This is some text` is the {{term(CDATA)}}. + +* {{term(namespace)}}: An XML {{term(namespace)}} defines a unique vocabulary for named elements and attributes in an XML document. An XML document may contain content that is associated with multiple {{termplural(namespace)}}. Each {{term(namespace)}} has its own unique identifier. + +Elements and attributes are associated with a specific {{term(namespace)}} by placing a prefix on the name of the element or attribute that associates that name to a specific {{term(namespace)}}; e.g., `x:MyTarget` associates the element name `MyTarget` with the {{term(namespace)}} designated by `x:` (the prefix). + +{{termplural(namespace)}} are used to avoid naming conflicts within an XML document. The naming convention used for elements and attributes may be associated with either the default {{term(namespace)}} specified in the header of an XML document or they may be associated with one or more alternate {{termplural(namespace)}}. All elements or attributes associated with a {{term(namespace)}} that is not the default {{term(namespace)}}, must include a prefix (e.g., x:) as part of the name of the element or attribute to associate it with the proper {{term(namespace)}}. See {{sect(Schema and Namespace Declaration Information)}} for details on the structure for XML headers. + +The names of the elements and attributes declared in a {{term(namespace)}} may be identified with a different prefix than the prefix that signifies that specific {{term(namespace)}}. These prefixes are called {{term(namespace)}} aliases. As an example, MTConnect Standard specific {{termplural(namespace)}} are designated as `m:` and the names of the elements and attributes defined in that {{term(namespace)}} have an alias prefix of `mt:` which designates these names as MTConnect Standard specific vocabulary; e.g., `mt:MTConnectDevices`. + + +XML documents are encoded with a hierarchy of elements. In general, XML elements may contain {{termplural(child element)}}, {{term(CDATA)}}, or both. However, in the MTConnect Standard, an element **MUST NOT** contain mixed content; meaning it cannot contain both {{termplural(child element)}} and {{term(CDATA)}}. + +The {{term(semantic data model)}} defined for each {{term(response document)}} specifies the elements and {{termplural(child element)}} that may appear in a document. The {{term(semantic data model)}} also defines the number of times each element and {{term(child element)}} may appear in the document. + +{{lst(example-of-hierarchy-of-xml-elements)}} demonstrates the hierarchy of XML elements and {{termplural(child element)}} used to form an XML document: + +~~~~xml + (Parent Element) + (Child Element to Root Level and + Parent Element to Second Level) + (Child Element to First Level + and Parent Element to Third Level) + + (Child Element to Second Level) + + (Child Element to Second Level) + + (Child Element to Second Level) + (end-tag for Second Level) + (end-tag for First Level) + (end-tag for Root Level) +~~~~ +{: caption=""Example of hierarchy of XML elements""} + + +In the {{lst(example-of-hierarchy-of-xml-elements)}}, *Root Level* and *First Level* have one {{term(child element)}} (sub-elements) each and Second Level has three {{termplural(child element)}}; each called *Third Level*. Each *Third Level* element has a different name attribute. Each level in the structure is an element and each lower level element is a {{term(child element)}}. + +{{newpage()}} + +## Schema and Namespace Declaration Information + +There are four pseudo-attributes typically included in the header of a {{term(response document)}} that declare the {{term(schema)}} and {{term(namespace)}} for the document. Each of these pseudo-attributes provides specific information for a client software application to properly interpret the content of the {{term(response document)}}. + +The pseudo-attributes include: + +* `xmlns:xsi` – The `xsi` portion of this attribute name stands for {{term(XML Schema)}} instance. An {{term(XML Schema)}} instance provides information that may be used by a software application to interpret XML specific information within a document. See the W3C website for more details on `xmlns:xsi`. + +* `xmlns` – Declares the default {{term(namespace)}} associated with the content of the {{term(response document)}}. The default {{term(namespace)}} is considered to apply to all elements and attributes whenever the name of the element or attribute does not contain a prefix identifying an alternate {{term(namespace)}}. + +The value of this attribute is an URN identifying the name of the file that defines the details of the {{term(namespace)}} content. This URN provides a unique identify for the {{term(namespace)}}. + +* `xmlns:m` – Declares the MTConnect specific {{term(namespace)}} associated with the content of the {{term(response document)}}. There may be multiple {{termplural(namespace)}} declared for an XML document. Each may be associated to the default {{term(namespace)}} or it may be totally independent. The `:m` designates that this is a specific MTConnect {{term(namespace)}} which is directly associated with the default {{term(namespace)}}. + + +> Note: See {{sect(Extensibility)}} for details regarding extended {{termplural(namespace)}}. + + +The value associated with this attribute is an URN identifying the name of the file that defines the details of the {{term(namespace)}} content. + +* `xsi:schemaLocation` - Declares the name for the {{term(schema)}} associated with the {{term(response document)}} and the location of the file that contains the details of the {{term(schema)}} for that document. + +The value associated with this attribute has two parts: + + * A URN identifying the name of the specific {{term(XML Schema)}} instance associated with the {{term(response document)}}. + + * The path to the location where the file describing the specific {{term(XML Schema)}} instance is located. If the file is located in the same root directory where the {{term(agent)}} is installed, then the local path MAY be declared. Otherwise, a fully qualified URL must be declared to identify the location of the file. + + +> Note: In the format of the value associated with `xsi:schemaLocation`, the URN and the path to the {{term(schema)}} file **MUST** be separated by a “space”. + + +In {{lst(example-of-schema-and-namespace-declaration)}}, the first line is the XML declaration. The second line is a {{term(root element)}} called `MTConnectDevices`. The remaining four lines are the pseudo-attributes of `MTCconnectDevices` that declare the XML {{term(schema)}} and {{term(namespace)}} associated with an {{term(MTConnectDevices Response Document)}}. + +~~~~xml + + +~~~~ +{: caption=""Example of schema and namespace declaration""} + +The format for the values provided for each of the pseudo-attributes **MUST** reference the {{term(semantic data model)}} (e.g., `MTConnectDevices`, `MTConnectStreams`, `MTConnectAssets`, or `MTConnectError`) and the version (i.e.; `1.1`, `1.2`, `1.3`, etc.) of the MTConnect Standard that depict the {{term(schema)}} and {{term(namespace)}}(s) associated with a specific {{term(response document)}}. + +When an implementer chooses to extend an MTConnect {{term(data model)}} by adding custom data types or additional {{termplural(structural element)}}, the {{term(schema)}} and {{term(namespace)}} for that {{term(data model)}} should be updated to reflect the additional content. When this is done, the {{term(namespace)}} and {{term(schema)}} information in the header should be updated to reflect the URI for the extended {{term(namespace)}} and {{term(schema)}}. + +{{newpage()}} + +## Extensibility + +MTConnect is an extensible standard, which means that implementers **MAY** extend the {{termplural(data model)}} defined in the various sections of the MTConnect Standard to include information required for a specific implementation. When these {{termplural(data model)}} are encoded using XML, the methods for extending these {{termplural(data model)}} are defined by the rules established for extending any XML schema (see the W3C website for more details on extending XML data models). + +The following are typical extensions that **MAY** be considered in the MTConnect {{termplural(data model)}}: + +* Additional `type` and `subtype` values for {{termplural(DataItem)}}. + +* Additional {{termplural(structural element)}} as containers. + +* Additional {{block(Composition)}} elements. + +* New {{block(Asset)}} types that are sub-typed from the abstract {{block(Asset)}} type. + +* {{termplural(child element)}} that may be added to specific XML elements contained within the {{termplural(MTConnect Information Model)}}. These extended elements **MUST** be identified in a separate {{term(namespace)}}. + + +When extending an MTConnect {{term(data model)}}, there are some basic rules restricting changes to the MTConnect {{termplural(data model)}}. + +When extending an MTConnect {{term(data model)}}, an implementer: + +* **MUST NOT** add new value for category for {{termplural(DataItem)}}, + +* **MUST NOT** add new {{termplural(root element)}}, + +* **SHOULD NOT** add new {{term(top level)}} {{termplural(Component)}}, and + +* **MUST NOT** add any new attributes or include any sub-elements to {{block(Composition)}}. + +> Note: Throughout the documents additional information is provided where extensibility may be acceptable or unacceptable to maintain compliance with the MTConnect Standard. + +When a {{term(schema)}} representing a {{term(data model)}} is extended, the {{term(schema)}} and {{term(namespace)}} declaration at the beginning of the corresponding {{term(response document)}} **MUST** be updated to reflect the new {{term(schema)}} and {{term(namespace)}} so that a client software application can properly validate the {{term(response document)}}. + +An XML example of a {{term(schema)}} and {{term(namespace)}} declaration, including an extended {{term(schema)}} and {{term(namespace)}}, is shown in {{lst(example-of-extended-schema-and-namespace-in-declaration)}}: + +~~~~xml + + +~~~~ +{: caption=""Example of extended schema and namespace in declaration""} + +In this example: + +* `xmlns:x` is added in Line 6 to identify the {{term(XML Schema)}} instance for the extended {{term(schema)}}. {{termplural(element name)}} identified with an ""`x`"" prefix are associated with this specific {{term(XML Schema)}} instance. + +> Note: The ""`x`"" prefix **MAY** be replaced with any prefix that the implementer chooses for identifying the extended {{term(schema)}} and {{term(namespace)}}. + +* `xsi:schemaLocation` is modified in Line 7 to associate the {{term(namespace)}} URN with the URL specifying the location of {{term(schema)}} file. + +* `MyLocation`, `MyFile`, `MyVersion`, and `MyFileName` in Lines 6 and 7 **MUST** be replaced by the actual name, version, and location of the extended {{term(schema)}}. + +When an extended {{term(schema)}} is implemented, each {{term(structural element)}}, {{term(DataItem)}}, and {{term(asset)}} defined in the extended {{term(schema)}} **MUST** be identified in each respective {{term(response document)}} by adding a prefix to the XML {{term(element name)}} associated with that {{term(structural element)}}, {{term(DataItem)}}, or {{term(asset)}}. The prefix identifies the {{term(schema)}} and {{term(namespace)}} where that XML Element is defined. + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + MTConnectProtocolPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.MTConnectProtocolPackage _MTConnectProtocolPackage; + /// + /// + /// + public Package.MTConnectProtocolPackage MTConnectProtocolPackage => _MTConnectProtocolPackage ?? (_MTConnectProtocolPackage = new Package.MTConnectProtocolPackage()); + + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Glossary.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Glossary.cs new file mode 100644 index 00000000..b02f3b20 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Glossary.cs @@ -0,0 +1,661 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Glossary; + +namespace Mtconnect +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class GlossaryPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1581733974382_65435_581"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1581733974382_65435_581"; + /// Constant value for + public const string NAME = "Glossary"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + XMLTermsPackage, + HTTPTermsPackage, + MTConnectTermsPackage, + InformationModelTermsPackage, + ProtocolTermsPackage, + IndustrialTermsPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + AdapterClass, + AgentClass, + AlarmLimitClass, + ApplicationClass, + ArchetypeClass, + AssetBufferClass, + AttachmentClass, + BufferClass, + ClientClass, + ControlledVocabularyClass, + DataDictionaryClass, + DataModelClass, + DataSetClass, + DataSourceClass, + DeprecatedClass, + DeprecationWarningClass, + DocumentClass, + ElectricCurrentClass, + ExtensibleClass, + ForceClass, + ImplementationClass, + InformationModelClass, + InstanceClass, + InteractionModelClass, + InterfaceClass, + KeyClass, + KeyValuePairClass, + LowerCamelCaseClass, + LowerLimitClass, + LowerWarningClass, + MajorClass, + MaximumClass, + MessageClass, + MetadataClass, + MinimumClass, + MinorClass, + NominalClass, + OrganizeClass, + OrganizerClass, + ParameterClass, + PartClass, + PascalCaseClass, + PersistenceClass, + RequesterClass, + ResetClass, + ResponderClass, + ResponseDocumentClass, + PatchClass, + SchemaClass, + SemanticDataModelClass, + SensingElementClass, + SequenceNumberClass, + SpecificationLimitClass, + SpindleClass, + StandardClass, + SubtypeClass, + TableClass, + TableCellClass, + TableEntryClass, + TypeClass, + UpperLimitClass, + UpperWarningClass, + VersionClass, + ProbeClass, + HeartbeatClass, + ElementClass, + HigherLevelClass, + LowerLevelClass, + ProfileClass, + StereotypeClass, + TopLevelClass, + CartesianCoordinateSystemClass, + CharacteristicClass, + FeatureClass, + LocationClass, + PositionClass, + UncertaintyClass, + StandardUncertaintyGeneralization, + CombinedStandardUncertaintyClass, + ConditionActivationClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.XMLTermsPackage _XMLTermsPackage; + /// + /// + /// + public Package.XMLTermsPackage XMLTermsPackage => _XMLTermsPackage ?? (_XMLTermsPackage = new Package.XMLTermsPackage()); + + private Package.HTTPTermsPackage _HTTPTermsPackage; + /// + /// + /// + public Package.HTTPTermsPackage HTTPTermsPackage => _HTTPTermsPackage ?? (_HTTPTermsPackage = new Package.HTTPTermsPackage()); + + private Package.MTConnectTermsPackage _MTConnectTermsPackage; + /// + /// + /// + public Package.MTConnectTermsPackage MTConnectTermsPackage => _MTConnectTermsPackage ?? (_MTConnectTermsPackage = new Package.MTConnectTermsPackage()); + + private Package.InformationModelTermsPackage _InformationModelTermsPackage; + /// + /// + /// + public Package.InformationModelTermsPackage InformationModelTermsPackage => _InformationModelTermsPackage ?? (_InformationModelTermsPackage = new Package.InformationModelTermsPackage()); + + private Package.ProtocolTermsPackage _ProtocolTermsPackage; + /// + /// + /// + public Package.ProtocolTermsPackage ProtocolTermsPackage => _ProtocolTermsPackage ?? (_ProtocolTermsPackage = new Package.ProtocolTermsPackage()); + + private Package.IndustrialTermsPackage _IndustrialTermsPackage; + /// + /// + /// + public Package.IndustrialTermsPackage IndustrialTermsPackage => _IndustrialTermsPackage ?? (_IndustrialTermsPackage = new Package.IndustrialTermsPackage()); + + #endregion + + #region Classes + private Package.AdapterClass _AdapterClass; + /// + /// + /// + public Package.AdapterClass AdapterClass => _AdapterClass ?? (_AdapterClass = new Package.AdapterClass()); + + private Package.AgentClass _AgentClass; + /// + /// + /// + public Package.AgentClass AgentClass => _AgentClass ?? (_AgentClass = new Package.AgentClass()); + + private Package.AlarmLimitClass _AlarmLimitClass; + /// + /// + /// + public Package.AlarmLimitClass AlarmLimitClass => _AlarmLimitClass ?? (_AlarmLimitClass = new Package.AlarmLimitClass()); + + private Package.ApplicationClass _ApplicationClass; + /// + /// + /// + public Package.ApplicationClass ApplicationClass => _ApplicationClass ?? (_ApplicationClass = new Package.ApplicationClass()); + + private Package.ArchetypeClass _ArchetypeClass; + /// + /// + /// + public Package.ArchetypeClass ArchetypeClass => _ArchetypeClass ?? (_ArchetypeClass = new Package.ArchetypeClass()); + + private Package.AssetBufferClass _AssetBufferClass; + /// + /// + /// + public Package.AssetBufferClass AssetBufferClass => _AssetBufferClass ?? (_AssetBufferClass = new Package.AssetBufferClass()); + + private Package.AttachmentClass _AttachmentClass; + /// + /// + /// + public Package.AttachmentClass AttachmentClass => _AttachmentClass ?? (_AttachmentClass = new Package.AttachmentClass()); + + private Package.BufferClass _BufferClass; + /// + /// + /// + public Package.BufferClass BufferClass => _BufferClass ?? (_BufferClass = new Package.BufferClass()); + + private Package.ClientClass _ClientClass; + /// + /// + /// + public Package.ClientClass ClientClass => _ClientClass ?? (_ClientClass = new Package.ClientClass()); + + private Package.ControlledVocabularyClass _ControlledVocabularyClass; + /// + /// + /// + public Package.ControlledVocabularyClass ControlledVocabularyClass => _ControlledVocabularyClass ?? (_ControlledVocabularyClass = new Package.ControlledVocabularyClass()); + + private Package.DataDictionaryClass _DataDictionaryClass; + /// + /// + /// + public Package.DataDictionaryClass DataDictionaryClass => _DataDictionaryClass ?? (_DataDictionaryClass = new Package.DataDictionaryClass()); + + private Package.DataModelClass _DataModelClass; + /// + /// + /// + public Package.DataModelClass DataModelClass => _DataModelClass ?? (_DataModelClass = new Package.DataModelClass()); + + private Package.DataSetClass _DataSetClass; + /// + /// + /// + public Package.DataSetClass DataSetClass => _DataSetClass ?? (_DataSetClass = new Package.DataSetClass()); + + private Package.DataSourceClass _DataSourceClass; + /// + /// + /// + public Package.DataSourceClass DataSourceClass => _DataSourceClass ?? (_DataSourceClass = new Package.DataSourceClass()); + + private Package.DeprecatedClass _DeprecatedClass; + /// + /// + /// + public Package.DeprecatedClass DeprecatedClass => _DeprecatedClass ?? (_DeprecatedClass = new Package.DeprecatedClass()); + + private Package.DeprecationWarningClass _DeprecationWarningClass; + /// + /// + /// + public Package.DeprecationWarningClass DeprecationWarningClass => _DeprecationWarningClass ?? (_DeprecationWarningClass = new Package.DeprecationWarningClass()); + + private Package.DocumentClass _DocumentClass; + /// + /// + /// + public Package.DocumentClass DocumentClass => _DocumentClass ?? (_DocumentClass = new Package.DocumentClass()); + + private Package.ElectricCurrentClass _ElectricCurrentClass; + /// + /// + /// + public Package.ElectricCurrentClass ElectricCurrentClass => _ElectricCurrentClass ?? (_ElectricCurrentClass = new Package.ElectricCurrentClass()); + + private Package.ExtensibleClass _ExtensibleClass; + /// + /// + /// + public Package.ExtensibleClass ExtensibleClass => _ExtensibleClass ?? (_ExtensibleClass = new Package.ExtensibleClass()); + + private Package.ForceClass _ForceClass; + /// + /// + /// + public Package.ForceClass ForceClass => _ForceClass ?? (_ForceClass = new Package.ForceClass()); + + private Package.ImplementationClass _ImplementationClass; + /// + /// + /// + public Package.ImplementationClass ImplementationClass => _ImplementationClass ?? (_ImplementationClass = new Package.ImplementationClass()); + + private Package.InformationModelClass _InformationModelClass; + /// + /// + /// + public Package.InformationModelClass InformationModelClass => _InformationModelClass ?? (_InformationModelClass = new Package.InformationModelClass()); + + private Package.InstanceClass _InstanceClass; + /// + /// + /// + public Package.InstanceClass InstanceClass => _InstanceClass ?? (_InstanceClass = new Package.InstanceClass()); + + private Package.InteractionModelClass _InteractionModelClass; + /// + /// + /// + public Package.InteractionModelClass InteractionModelClass => _InteractionModelClass ?? (_InteractionModelClass = new Package.InteractionModelClass()); + + private Package.InterfaceClass _InterfaceClass; + /// + /// + /// + public Package.InterfaceClass InterfaceClass => _InterfaceClass ?? (_InterfaceClass = new Package.InterfaceClass()); + + private Package.KeyClass _KeyClass; + /// + /// + /// + public Package.KeyClass KeyClass => _KeyClass ?? (_KeyClass = new Package.KeyClass()); + + private Package.KeyValuePairClass _KeyValuePairClass; + /// + /// + /// + public Package.KeyValuePairClass KeyValuePairClass => _KeyValuePairClass ?? (_KeyValuePairClass = new Package.KeyValuePairClass()); + + private Package.LowerCamelCaseClass _LowerCamelCaseClass; + /// + /// + /// + public Package.LowerCamelCaseClass LowerCamelCaseClass => _LowerCamelCaseClass ?? (_LowerCamelCaseClass = new Package.LowerCamelCaseClass()); + + private Package.LowerLimitClass _LowerLimitClass; + /// + /// + /// + public Package.LowerLimitClass LowerLimitClass => _LowerLimitClass ?? (_LowerLimitClass = new Package.LowerLimitClass()); + + private Package.LowerWarningClass _LowerWarningClass; + /// + /// + /// + public Package.LowerWarningClass LowerWarningClass => _LowerWarningClass ?? (_LowerWarningClass = new Package.LowerWarningClass()); + + private Package.MajorClass _MajorClass; + /// + /// + /// + public Package.MajorClass MajorClass => _MajorClass ?? (_MajorClass = new Package.MajorClass()); + + private Package.MaximumClass _MaximumClass; + /// + /// + /// + public Package.MaximumClass MaximumClass => _MaximumClass ?? (_MaximumClass = new Package.MaximumClass()); + + private Package.MessageClass _MessageClass; + /// + /// + /// + public Package.MessageClass MessageClass => _MessageClass ?? (_MessageClass = new Package.MessageClass()); + + private Package.MetadataClass _MetadataClass; + /// + /// + /// + public Package.MetadataClass MetadataClass => _MetadataClass ?? (_MetadataClass = new Package.MetadataClass()); + + private Package.MinimumClass _MinimumClass; + /// + /// + /// + public Package.MinimumClass MinimumClass => _MinimumClass ?? (_MinimumClass = new Package.MinimumClass()); + + private Package.MinorClass _MinorClass; + /// + /// + /// + public Package.MinorClass MinorClass => _MinorClass ?? (_MinorClass = new Package.MinorClass()); + + private Package.NominalClass _NominalClass; + /// + /// + /// + public Package.NominalClass NominalClass => _NominalClass ?? (_NominalClass = new Package.NominalClass()); + + private Package.OrganizeClass _OrganizeClass; + /// + /// + /// + public Package.OrganizeClass OrganizeClass => _OrganizeClass ?? (_OrganizeClass = new Package.OrganizeClass()); + + private Package.OrganizerClass _OrganizerClass; + /// + /// + /// + public Package.OrganizerClass OrganizerClass => _OrganizerClass ?? (_OrganizerClass = new Package.OrganizerClass()); + + private Package.ParameterClass _ParameterClass; + /// + /// + /// + public Package.ParameterClass ParameterClass => _ParameterClass ?? (_ParameterClass = new Package.ParameterClass()); + + private Package.PartClass _PartClass; + /// + /// + /// + public Package.PartClass PartClass => _PartClass ?? (_PartClass = new Package.PartClass()); + + private Package.PascalCaseClass _PascalCaseClass; + /// + /// + /// + public Package.PascalCaseClass PascalCaseClass => _PascalCaseClass ?? (_PascalCaseClass = new Package.PascalCaseClass()); + + private Package.PersistenceClass _PersistenceClass; + /// + /// + /// + public Package.PersistenceClass PersistenceClass => _PersistenceClass ?? (_PersistenceClass = new Package.PersistenceClass()); + + private Package.RequesterClass _RequesterClass; + /// + /// + /// + public Package.RequesterClass RequesterClass => _RequesterClass ?? (_RequesterClass = new Package.RequesterClass()); + + private Package.ResetClass _ResetClass; + /// + /// + /// + public Package.ResetClass ResetClass => _ResetClass ?? (_ResetClass = new Package.ResetClass()); + + private Package.ResponderClass _ResponderClass; + /// + /// + /// + public Package.ResponderClass ResponderClass => _ResponderClass ?? (_ResponderClass = new Package.ResponderClass()); + + private Package.ResponseDocumentClass _ResponseDocumentClass; + /// + /// + /// + public Package.ResponseDocumentClass ResponseDocumentClass => _ResponseDocumentClass ?? (_ResponseDocumentClass = new Package.ResponseDocumentClass()); + + private Package.PatchClass _PatchClass; + /// + /// + /// + public Package.PatchClass PatchClass => _PatchClass ?? (_PatchClass = new Package.PatchClass()); + + private Package.SchemaClass _SchemaClass; + /// + /// + /// + public Package.SchemaClass SchemaClass => _SchemaClass ?? (_SchemaClass = new Package.SchemaClass()); + + private Package.SemanticDataModelClass _SemanticDataModelClass; + /// + /// + /// + public Package.SemanticDataModelClass SemanticDataModelClass => _SemanticDataModelClass ?? (_SemanticDataModelClass = new Package.SemanticDataModelClass()); + + private Package.SensingElementClass _SensingElementClass; + /// + /// + /// + public Package.SensingElementClass SensingElementClass => _SensingElementClass ?? (_SensingElementClass = new Package.SensingElementClass()); + + private Package.SequenceNumberClass _SequenceNumberClass; + /// + /// + /// + public Package.SequenceNumberClass SequenceNumberClass => _SequenceNumberClass ?? (_SequenceNumberClass = new Package.SequenceNumberClass()); + + private Package.SpecificationLimitClass _SpecificationLimitClass; + /// + /// + /// + public Package.SpecificationLimitClass SpecificationLimitClass => _SpecificationLimitClass ?? (_SpecificationLimitClass = new Package.SpecificationLimitClass()); + + private Package.SpindleClass _SpindleClass; + /// + /// + /// + public Package.SpindleClass SpindleClass => _SpindleClass ?? (_SpindleClass = new Package.SpindleClass()); + + private Package.StandardClass _StandardClass; + /// + /// + /// + public Package.StandardClass StandardClass => _StandardClass ?? (_StandardClass = new Package.StandardClass()); + + private Package.SubtypeClass _SubtypeClass; + /// + /// + /// + public Package.SubtypeClass SubtypeClass => _SubtypeClass ?? (_SubtypeClass = new Package.SubtypeClass()); + + private Package.TableClass _TableClass; + /// + /// + /// + public Package.TableClass TableClass => _TableClass ?? (_TableClass = new Package.TableClass()); + + private Package.TableCellClass _TableCellClass; + /// + /// + /// + public Package.TableCellClass TableCellClass => _TableCellClass ?? (_TableCellClass = new Package.TableCellClass()); + + private Package.TableEntryClass _TableEntryClass; + /// + /// + /// + public Package.TableEntryClass TableEntryClass => _TableEntryClass ?? (_TableEntryClass = new Package.TableEntryClass()); + + private Package.TypeClass _TypeClass; + /// + /// + /// + public Package.TypeClass TypeClass => _TypeClass ?? (_TypeClass = new Package.TypeClass()); + + private Package.UpperLimitClass _UpperLimitClass; + /// + /// + /// + public Package.UpperLimitClass UpperLimitClass => _UpperLimitClass ?? (_UpperLimitClass = new Package.UpperLimitClass()); + + private Package.UpperWarningClass _UpperWarningClass; + /// + /// + /// + public Package.UpperWarningClass UpperWarningClass => _UpperWarningClass ?? (_UpperWarningClass = new Package.UpperWarningClass()); + + private Package.VersionClass _VersionClass; + /// + /// + /// + public Package.VersionClass VersionClass => _VersionClass ?? (_VersionClass = new Package.VersionClass()); + + private Package.ProbeClass _ProbeClass; + /// + /// + /// + public Package.ProbeClass ProbeClass => _ProbeClass ?? (_ProbeClass = new Package.ProbeClass()); + + private Package.HeartbeatClass _HeartbeatClass; + /// + /// + /// + public Package.HeartbeatClass HeartbeatClass => _HeartbeatClass ?? (_HeartbeatClass = new Package.HeartbeatClass()); + + private Package.ElementClass _ElementClass; + /// + /// + /// + public Package.ElementClass ElementClass => _ElementClass ?? (_ElementClass = new Package.ElementClass()); + + private Package.HigherLevelClass _HigherLevelClass; + /// + /// + /// + public Package.HigherLevelClass HigherLevelClass => _HigherLevelClass ?? (_HigherLevelClass = new Package.HigherLevelClass()); + + private Package.LowerLevelClass _LowerLevelClass; + /// + /// + /// + public Package.LowerLevelClass LowerLevelClass => _LowerLevelClass ?? (_LowerLevelClass = new Package.LowerLevelClass()); + + private Package.ProfileClass _ProfileClass; + /// + /// + /// + public Package.ProfileClass ProfileClass => _ProfileClass ?? (_ProfileClass = new Package.ProfileClass()); + + private Package.StereotypeClass _StereotypeClass; + /// + /// + /// + public Package.StereotypeClass StereotypeClass => _StereotypeClass ?? (_StereotypeClass = new Package.StereotypeClass()); + + private Package.TopLevelClass _TopLevelClass; + /// + /// + /// + public Package.TopLevelClass TopLevelClass => _TopLevelClass ?? (_TopLevelClass = new Package.TopLevelClass()); + + private Package.CartesianCoordinateSystemClass _CartesianCoordinateSystemClass; + /// + /// + /// + public Package.CartesianCoordinateSystemClass CartesianCoordinateSystemClass => _CartesianCoordinateSystemClass ?? (_CartesianCoordinateSystemClass = new Package.CartesianCoordinateSystemClass()); + + private Package.CharacteristicClass _CharacteristicClass; + /// + /// + /// + public Package.CharacteristicClass CharacteristicClass => _CharacteristicClass ?? (_CharacteristicClass = new Package.CharacteristicClass()); + + private Package.FeatureClass _FeatureClass; + /// + /// + /// + public Package.FeatureClass FeatureClass => _FeatureClass ?? (_FeatureClass = new Package.FeatureClass()); + + private Package.LocationClass _LocationClass; + /// + /// + /// + public Package.LocationClass LocationClass => _LocationClass ?? (_LocationClass = new Package.LocationClass()); + + private Package.PositionClass _PositionClass; + /// + /// + /// + public Package.PositionClass PositionClass => _PositionClass ?? (_PositionClass = new Package.PositionClass()); + + private Package.UncertaintyClass _UncertaintyClass; + /// + /// + /// + public Package.UncertaintyClass UncertaintyClass => _UncertaintyClass ?? (_UncertaintyClass = new Package.UncertaintyClass()); + + private Package.StandardUncertaintyGeneralization _StandardUncertaintyGeneralization; + /// + /// + /// + public Package.StandardUncertaintyGeneralization StandardUncertaintyGeneralization => _StandardUncertaintyGeneralization ?? (_StandardUncertaintyGeneralization = new Package.StandardUncertaintyGeneralization()); + + private Package.CombinedStandardUncertaintyClass _CombinedStandardUncertaintyClass; + /// + /// + /// + public Package.CombinedStandardUncertaintyClass CombinedStandardUncertaintyClass => _CombinedStandardUncertaintyClass ?? (_CombinedStandardUncertaintyClass = new Package.CombinedStandardUncertaintyClass()); + + private Package.ConditionActivationClass _ConditionActivationClass; + /// + /// + /// + public Package.ConditionActivationClass ConditionActivationClass => _ConditionActivationClass ?? (_ConditionActivationClass = new Package.ConditionActivationClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Imports.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Imports.cs new file mode 100644 index 00000000..1792cfc6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Imports.cs @@ -0,0 +1,73 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Imports; + +namespace Mtconnect +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ImportsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1642674055604_161919_102"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1642674055604_161919_102"; + /// Constant value for + public const string NAME = "Imports"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + CSVImportsPackage, + UnitImportsPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.CSVImportsPackage _CSVImportsPackage; + /// + /// + /// + public Package.CSVImportsPackage CSVImportsPackage => _CSVImportsPackage ?? (_CSVImportsPackage = new Package.CSVImportsPackage()); + + private Package.UnitImportsPackage _UnitImportsPackage; + /// + /// + /// + public Package.UnitImportsPackage UnitImportsPackage => _UnitImportsPackage ?? (_UnitImportsPackage = new Package.UnitImportsPackage()); + + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/InterfaceInteractionModel.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/InterfaceInteractionModel.cs new file mode 100644 index 00000000..f0ebe797 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/InterfaceInteractionModel.cs @@ -0,0 +1,185 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.InterfaceInteractionModel; + +namespace Mtconnect +{ + /// In many manufacturing processes, multiple pieces of equipment must work together to perform a task. The traditional method for coordinating the activities between individual pieces of equipment is to connect them using a series of wires to communicate equipment states and demands for action. These interactions use simple binary ON/OFF signals to accomplished their intention.

In the MTConnect Standard, interfaces provides a means to replace this traditional method for interconnecting pieces of equipment with a structured interaction model that provides a rich set of information used to coordinate the actions between pieces of equipment. Implementers may utilize the information provided by this data model to (1) realize the interaction between pieces of equipment and (2) to extend the functionality of the equipment to improve the overall performance of the manufacturing process.

The interaction model used to implement interfaces provides a lightweight and efficient protocol, simplifies failure recovery scenarios, and defines a structure for implementing a Plug-And-Play relationship between pieces of equipment. By standardizing the information exchange using this higher-level semantic information model, an implementer may more readily replace a piece of equipment in a manufacturing system with any other piece of equipment capable of providing similar interaction model functions.

Two primary functions are required to implement the interaction model for an interfaces and manage the flow of information between pieces of equipment. Each piece of equipment needs to have the following:

* An agent which provides:

- The data required to implement the interaction model.

- Any other data from a piece of equipment needed to implement the interface – operating states of the equipment, position information, execution modes, process information, etc.

* A client software application that enables the piece of equipment to acquire and interpret information from another piece of equipment.


## Interfaces Architecture

MTConnect Standard is based on a communications method that provides no direct way for one piece of equipment to change the state of or cause an action to occur in another piece of equipment. The interaction model used to implement interfaces is based on a publish and subscribe type of communications as described in Fundamentals and utilizes a request and response information exchange mechanism. For interfaces, pieces of equipment must perform both the publish (agent) and subscribe (client) functions.


> Note: The current definition of interfaces addresses the interaction between two pieces of equipment. Future releases of the MTConnect Standard may address the interaction between multiple (more than two) pieces of equipment.

![Data Flow Architecture for Interfaces](figures/Data%20Flow%20Architecture%20for%20Interfaces.png "Data Flow Architecture for Interfaces"){: width="0.8"}

> Note: The data flow architecture illustrated in {{figure(Data Flow Architecture for Interfaces)}} was historically referred to in the MTConnect Standard as a read-read concept.

In the implementation of the interaction model for interfaces, two pieces of equipment can exchange information in the following manner. One piece of equipment indicates a request for service by publishing a type of request using a data item provided through an agent as defined in DataItem Types for Interface. The client associated with the second piece of equipment, which is subscribing to data from the first machine, detects and interprets that request. If the second machine chooses to take any action to fulfill this request, it can indicate its acceptance by publishing a response using a data item provided through its agent. The client on the first piece of equipment continues to monitor information from the second piece of equipment until it detects an indication that the response to the request has been completed or has failed.

An example of this type of interaction between pieces of equipment can be represented by a machine tool that wants the material to be loaded by a robot. In this example, the machine tool is the requester, and the robot is the responder. On the other hand, if the robot wants the machine tool to open a door, the robot becomes the requester and the machine tool the responder.

## Request and Response Information Exchange

The DataItem elements defined by the interaction model each have a REQUEST and RESPONSE subtype. These subtypes identify if the data item represents a request or a response. Using these data items, a piece of equipment changes the state of its request or response to indicate information that can be read by the other piece of equipment. To aid in understanding how the interaction model functions, one can view this interaction model as a simple state machine.

The interaction between two pieces of equipment can be described as follows. When the requester wants an activity to be performed, it transitions its request state from a READY state to an ACTIVE state. In turn, when the client on the responder reads this information and interprets the request, the responder announces that it is performing the requested task by changing its response state to ACTIVE. When the action is finished, the responder changes its response state to COMPLETE. This pattern of request and response provides the basis for the coordination of actions between pieces of equipment. These actions are implemented using EVENT category data items. (See DataItem Types for Interface for details on the Event type data items defined for interfaces.)

> Note: The implementation details of how the responder piece of equipment reacts to the request and then completes the requested task are up to the implementer.

![Request and Response Overview](figures/Request%20and%20Response%20Overview.png "Request and Response Overview"){: width="0.8"}

The initial condition of both the request and response states on both pieces of equipment is READY. The dotted lines indicate the on-going communications that occur to monitor the progress of the interactions between the pieces of equipment.

The interaction between the pieces of equipment as illustrated in {{figure(Request and Response Overview)}} progresses through the sequence listed below.

* The request transitions from READY to ACTIVE signaling that a service is needed.

* The response detects the transition of the request.

* The response transitions from READY to ACTIVE indicating that it is performing the action.

* Once the action has been performed, the response transitions to COMPLETE.

* The request detects the action is COMPLETE.

* The request transitions back to READY acknowledging that the service has been performed.

* The response detects the request has returned to READY.

* In recognition of this acknowledgement, the response transitions back to READY.

After the final action has been completed, both pieces of equipment are back in the READY state indicating that they are able to perform another action.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class InterfaceInteractionModelPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_3DD65740_A905_4d89_9C80_C12E8199625A"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_3DD65740_A905_4d89_9C80_C12E8199625A"; + /// Constant value for + public const string NAME = "Interface Interaction Model"; + /// Constant value for + public const string SUMMARY = @" In many manufacturing processes, multiple pieces of equipment must work together to perform a task. The traditional method for coordinating the activities between individual pieces of equipment is to connect them using a series of wires to communicate equipment states and demands for action. These interactions use simple binary ON/OFF signals to accomplished their intention. + +In the MTConnect Standard, {{termplural(interface)}} provides a means to replace this traditional method for interconnecting pieces of equipment with a structured {{term(interaction model)}} that provides a rich set of information used to coordinate the actions between pieces of equipment. Implementers may utilize the information provided by this data model to (1) realize the interaction between pieces of equipment and (2) to extend the functionality of the equipment to improve the overall performance of the manufacturing process. + +The {{term(interaction model)}} used to implement {{termplural(interface)}} provides a lightweight and efficient protocol, simplifies failure recovery scenarios, and defines a structure for implementing a Plug-And-Play relationship between pieces of equipment. By standardizing the information exchange using this higher-level semantic information model, an implementer may more readily replace a piece of equipment in a manufacturing system with any other piece of equipment capable of providing similar {{term(interaction model)}} functions. + +Two primary functions are required to implement the {{term(interaction model)}} for an {{termplural(interface)}} and manage the flow of information between pieces of equipment. Each piece of equipment needs to have the following: + +* An {{term(agent)}} which provides: + + - The data required to implement the {{term(interaction model)}}. + + - Any other data from a piece of equipment needed to implement the {{term(interface)}} – operating states of the equipment, position information, execution modes, process information, etc. + +* A client software application that enables the piece of equipment to acquire and interpret information from another piece of equipment. + + +## Interfaces Architecture + +MTConnect Standard is based on a communications method that provides no direct way for one piece of equipment to change the state of or cause an action to occur in another piece of equipment. The {{term(interaction model)}} used to implement {{termplural(interface)}} is based on a {{term(publish and subscribe)}} type of communications as described in {{package(Fundamentals)}} and utilizes a {{term(request)}} and {{term(response)}} information exchange mechanism. For {{termplural(interface)}}, pieces of equipment must perform both the publish ({{term(agent)}}) and subscribe (client) functions. + + +> Note: The current definition of {{termplural(interface)}} addresses the interaction between two pieces of equipment. Future releases of the MTConnect Standard may address the interaction between multiple (more than two) pieces of equipment. + +![Data Flow Architecture for Interfaces](figures/Data%20Flow%20Architecture%20for%20Interfaces.png ""Data Flow Architecture for Interfaces""){: width=""0.8""} + +> Note: The data flow architecture illustrated in {{figure(Data Flow Architecture for Interfaces)}} was historically referred to in the MTConnect Standard as a read-read concept. + +In the implementation of the {{term(interaction model)}} for {{termplural(interface)}}, two pieces of equipment can exchange information in the following manner. One piece of equipment indicates a {{term(request)}} for service by publishing a type of {{term(request)}} using a data item provided through an {{term(agent)}} as defined in {{package(DataItem Types for Interface)}}. The client associated with the second piece of equipment, which is subscribing to data from the first machine, detects and interprets that {{term(request)}}. If the second machine chooses to take any action to fulfill this {{term(request)}}, it can indicate its acceptance by publishing a {{term(response)}} using a data item provided through its {{term(agent)}}. The client on the first piece of equipment continues to monitor information from the second piece of equipment until it detects an indication that the {{term(response)}} to the {{term(request)}} has been completed or has failed. + +An example of this type of interaction between pieces of equipment can be represented by a machine tool that wants the material to be loaded by a robot. In this example, the machine tool is the {{term(requester)}}, and the robot is the {{term(responder)}}. On the other hand, if the robot wants the machine tool to open a door, the robot becomes the {{term(requester)}} and the machine tool the {{term(responder)}}. + +## Request and Response Information Exchange + +The {{block(DataItem)}} elements defined by the {{term(interaction model)}} each have a `REQUEST` and `RESPONSE` subtype. These subtypes identify if the data item represents a {{term(request)}} or a {{term(response)}}. Using these data items, a piece of equipment changes the state of its {{term(request)}} or {{term(response)}} to indicate information that can be read by the other piece of equipment. To aid in understanding how the {{term(interaction model)}} functions, one can view this {{term(interaction model)}} as a simple state machine. + +The interaction between two pieces of equipment can be described as follows. When the {{term(requester)}} wants an activity to be performed, it transitions its {{term(request)}} state from a `READY` state to an `ACTIVE` state. In turn, when the client on the {{term(responder)}} reads this information and interprets the {{term(request)}}, the {{term(responder)}} announces that it is performing the requested task by changing its response state to `ACTIVE`. When the action is finished, the {{term(responder)}} changes its response state to `COMPLETE`. This pattern of {{term(request)}} and {{term(response)}} provides the basis for the coordination of actions between pieces of equipment. These actions are implemented using `EVENT` category data items. (See {{package(DataItem Types for Interface)}} for details on the {{block(Event)}} type data items defined for {{termplural(interface)}}.) + +> Note: The implementation details of how the {{term(responder)}} piece of equipment reacts to the {{term(request)}} and then completes the requested task are up to the implementer. + +![Request and Response Overview](figures/Request%20and%20Response%20Overview.png ""Request and Response Overview""){: width=""0.8""} + +The initial condition of both the {{term(request)}} and {{term(response)}} states on both pieces of equipment is `READY`. The dotted lines indicate the on-going communications that occur to monitor the progress of the interactions between the pieces of equipment. + +The interaction between the pieces of equipment as illustrated in {{figure(Request and Response Overview)}} progresses through the sequence listed below. + +* The {{term(request)}} transitions from `READY` to `ACTIVE` signaling that a service is needed. + +* The {{term(response)}} detects the transition of the {{term(request)}}. + +* The {{term(response)}} transitions from `READY` to `ACTIVE` indicating that it is performing the action. + +* Once the action has been performed, the {{term(response)}} transitions to `COMPLETE`. + +* The {{term(request)}} detects the action is `COMPLETE`. + +* The {{term(request)}} transitions back to `READY` acknowledging that the service has been performed. + +* The {{term(response)}} detects the {{term(request)}} has returned to `READY`. + +* In recognition of this acknowledgement, the {{term(response)}} transitions back to `READY`. + +After the final action has been completed, both pieces of equipment are back in the `READY` state indicating that they are able to perform another action. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + SignalsPackage, + InterfaceTypesPackage, + MultiDeviceInteractionModelPackage, + OperationAndErrorRecoveryPackage, + DataItemTypesForInterfacePackage, + DataForInterfacePackage, + }; + + /// + public IClass[] Classes => new IClass[] { + InterfaceClass, + RequesterClass, + ResponderClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.SignalsPackage _SignalsPackage; + /// + /// + /// + public Package.SignalsPackage SignalsPackage => _SignalsPackage ?? (_SignalsPackage = new Package.SignalsPackage()); + + private Package.InterfaceTypesPackage _InterfaceTypesPackage; + /// + /// + /// + public Package.InterfaceTypesPackage InterfaceTypesPackage => _InterfaceTypesPackage ?? (_InterfaceTypesPackage = new Package.InterfaceTypesPackage()); + + private Package.MultiDeviceInteractionModelPackage _MultiDeviceInteractionModelPackage; + /// + /// + /// + public Package.MultiDeviceInteractionModelPackage MultiDeviceInteractionModelPackage => _MultiDeviceInteractionModelPackage ?? (_MultiDeviceInteractionModelPackage = new Package.MultiDeviceInteractionModelPackage()); + + private Package.OperationAndErrorRecoveryPackage _OperationAndErrorRecoveryPackage; + /// + /// + /// + public Package.OperationAndErrorRecoveryPackage OperationAndErrorRecoveryPackage => _OperationAndErrorRecoveryPackage ?? (_OperationAndErrorRecoveryPackage = new Package.OperationAndErrorRecoveryPackage()); + + private Package.DataItemTypesForInterfacePackage _DataItemTypesForInterfacePackage; + /// + /// + /// + public Package.DataItemTypesForInterfacePackage DataItemTypesForInterfacePackage => _DataItemTypesForInterfacePackage ?? (_DataItemTypesForInterfacePackage = new Package.DataItemTypesForInterfacePackage()); + + private Package.DataForInterfacePackage _DataForInterfacePackage; + /// + /// + /// + public Package.DataForInterfacePackage DataForInterfacePackage => _DataForInterfacePackage ?? (_DataForInterfacePackage = new Package.DataForInterfacePackage()); + + #endregion + + #region Classes + private Package.InterfaceClass _InterfaceClass; + /// + /// + /// + public Package.InterfaceClass InterfaceClass => _InterfaceClass ?? (_InterfaceClass = new Package.InterfaceClass()); + + private Package.RequesterClass _RequesterClass; + /// + /// + /// + public Package.RequesterClass RequesterClass => _RequesterClass ?? (_RequesterClass = new Package.RequesterClass()); + + private Package.ResponderClass _ResponderClass; + /// + /// + /// + public Package.ResponderClass ResponderClass => _ResponderClass ?? (_ResponderClass = new Package.ResponderClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/MTConnectDeviceValidationSuite.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/MTConnectDeviceValidationSuite.cs new file mode 100644 index 00000000..1b0b03a5 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/MTConnectDeviceValidationSuite.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class MTConnectDeviceValidationSuitePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1620229308606_339618_1068"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1620229308606_339618_1068"; + /// Constant value for + public const string NAME = "MTConnect Device Validation Suite"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/ObservationInformationModel.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/ObservationInformationModel.cs new file mode 100644 index 00000000..e1185375 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/ObservationInformationModel.cs @@ -0,0 +1,314 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ObservationInformationModel; + +namespace Mtconnect +{ + /// The Observation Information Model provides a representation of the data reported by a piece of equipment used for a manufacturing process, or used for any other purpose. Additional descriptive information associated with the reported data is defined by the MTConnectDevices entity, which is described in Device Information Model.

Information defined in the Observation Information Model allows a software application to (1) determine the Observations for DataItems returned from a piece of equipment and (2) interpret the data associated with those Observations with the same meaning, value, and context that it had at its original source. To do this, the software application issues one of two HTTP requests to an agent associated with a piece of equipment. They are:

* sample: Returns a designated number of time stamped Observations from an agent associated with a piece of equipment; subject to any HTTP filtering associated with the request. See Agent in Fundamentals for details on the sample HTTP request.

* current: Returns a snapshot of either the most recent values or the values at a given sequence number for all Observations associated with a piece of equipment from an agent; subject to any HTTP filtering associated with the request. See Agent in Fundamentals for details on the current HTTP request.


An agent responds to either the sample or current HTTP request with an MTConnectStreams Response Document. This document contains information describing Observations reported by an agent associated with a piece of equipment. A client software application may correlate the information provided in the MTConnectStreams Response Document with the physical and logical structure for that piece of equipment defined in the MTConnectDevices entity to form a clear and unambiguous understanding of the information provided. (See details on the structure for a piece of equipment described in Device Information Model).

Streams for an MTConnectStreams entity contains a DeviceStream entity for each piece of equipment represented in the document. Each DeviceStream is comprised of two primary types of entities – Components and Observations. The contents of the DeviceStream container are described in detail in this document, Observation Information Model of the MTConnect Standard.

Components are defined for both the MTConnectDevices and the MTConnectStreams entities. These Components are used to provide a logical organization of the information provided in each entity.

* For an MTConnectDevices entity: Components organize information that represents the physical and logical parts and sub-parts of a piece of equipment. (See Component in Device Information Model for more details on Components used in the MTConnectDevices entity).

* For an MTConnectStreams entity: Components provide the structure to organize the data returned from a piece of equipment and establishes the proper context for that data. The Components specifically defined for MTConnectStreams are DeviceStream (see DeviceStream) and ComponentStream (see ComponentStream).

DeviceStream and ComponentStream entities have a direct correlation to each of the Component defined in the MTConnectDevices entity.

Within each ComponentStream entity in the MTConnectStreams entity, Observations are modeled as Observation entities. The three types of Observation entity are Sample, Event, and Condition. (See Observation Types for more information on these entities.)



Observations Appendix

{{newpage()}}

## XML Schema Diagrams

### Observations Schema Diagrams

See Streams element in MTConnectStreams schema.

See DeviceStream element in MTConnectStreams schema.

See ComponentStream element in MTConnectStreams schema.

See Sample element in MTConnectStreams schema.

See Event element in MTConnectStreams schema.

See Condition element in MTConnectStreams schema.

### Representation Schema Diagrams

See AbsTimeSeries element in MTConnectStreams schema.

See PartCountDiscrete element in MTConnectStreams schema.

See VariableDataSet element in MTConnectStreams schema.

See Entry element in MTConnectStreams schema.

See WorkOffsetTable element in MTConnectStreams schema.

## XML Examples

### DeviceStream Example

~~~~xml
<Streams>
<DeviceStream name="M12346" uuid="M8010W4194N">
<ComponentStream component="Device" name="M12346" componentId="d1">
<Events>
<Availability dataItemId="avail" sequence="156" timestamp="2021-10-01T14:26:38.668505Z">AVAILABLE</Availability>
<AssetChanged assetType="CuttingTool" dataItemId="d1_asset_chg" sequence="75570" timestamp="2021-10-07T05:08:53.870206Z">M8010W4194N1.120</AssetChanged>
<AssetRemoved assetType="CuttingTool" dataItemId="d1_asset_rem" sequence="140" timestamp="2021-10-01T11:40:08.101461Z">UNAVAILABLE</AssetRemoved>
</Events>
</ComponentStream>
<ComponentStream component="Controller" name="controller" componentId="cont">
<Events>
<EmergencyStop dataItemId="estop" sequence="159" timestamp="2021-10-01T14:26:38.66869Z">ARMED</EmergencyStop>
</Events>
<Samples>
<AccumulatedTime dataItemId="cut_time" sequence="75437" timestamp="2021-10-07T05:08:28.221704Z">1763070.0</AccumulatedTime>
</Samples>
<Condition>
<Unavailable dataItemId="cont_system" sequence="72" timestamp="2021-10-11T21:04:03.251999Z" type="SYSTEM"/>
<Warning dataItemId="cont_system" nativecode="313" nativeSeverity="50" sequence="75573" timestamp="2021-10-07T05:08:58.518317Z" type="LOGIC_PROGRAM">PALLET ARM DOWN RS. MALF.</Warning>
</Condition>
</ComponentStream>
<ComponentStream component="Path" name="path" componentId="path1">
<Events>
<Execution dataItemId="execution" name="execution" sequence="222623" timestamp="2021-10-12T06:04:32.761198Z">INTERRUPTED</Execution>
<VariableDataSet count="2" dataItemId="cvars" sequence="126513" timestamp="2021-10-12T03:57:31.106559Z">
<Entry key="100">66.3314</Entry>
<Entry key="101">167.2</Entry>
</VariableDataSet>
<WorkOffsetTable count="2" dataItemId="woffset" sequence="222101" timestamp="2021-10-12T06:04:11.990531Z">
<Entry key="G53.1">
<Cell key="X">1</Cell>
<Cell key="Y">2</Cell>
<Cell key="Z">3</Cell>
</Entry>
<Entry key="G53.2">
<Cell key="X">4</Cell>
<Cell key="Y">5</Cell>
<Cell key="Z">6</Cell>
</Entry>
</WorkOffsetTable>
</Events>
<Samples>
<CuttingSpeed dataItemId="cspeed" sequence="112" timestamp="2021-10-07T05:08:28.221704Z" subType="ACTUAL">UNAVAILABLE</CuttingSpeed>
</Samples>
<Condition>
<Normal dataItemId="path_system" sequence="153" timestamp="2021-10-11T21:04:03.262845Z" type="SYSTEM"/>
</Condition>
</ComponentStream>
</DeviceStream>
</Streams>
~~~~
{: caption="DeviceStream Example"}

### Observations made for DataItem Example

~~~~xml
<Components>
<Controller id="cont" name="controller">
<DataItems>
<DataItem category="EVENT" id="estop" name="estop" type="EMERGENCY_STOP"/>
</DataItems>
</Controller>
</Components>
~~~~
{: caption="MTConnectDevices Response Document"}

~~~~xml
<ComponentStream component="Controller" name="controller" componentId="cont">
<Events>
<EmergencyStop dataItemId="estop" sequence="159" timestamp="2021-10-01T14:26:38.66869Z">ARMED</EmergencyStop>
</Events>
</ComponentStream>
~~~~
{: caption="MTConnectStreams Response Document"}

### Sample Example

~~~~xml
<Samples>
<AccumulatedTime dataItemId="cut_time" sequence="75437" timestamp="2021-10-07T05:08:28.221704Z">1763070.0</AccumulatedTime>
<CuttingSpeed dataItemId="cspeed" sequence="112" timestamp="2021-10-07T05:08:28.221704Z" subType="ACTUAL">UNAVAILABLE</CuttingSpeed>
</Samples>
~~~~
{: caption="Sample Example"}

### Event Example

~~~~xml
<Events>
<Availability dataItemId="avail" sequence="156" timestamp="2021-10-01T14:26:38.668505Z">AVAILABLE</Availability>
<AssetRemoved assetType="CuttingTool" dataItemId="d1_asset_rem" sequence="140" timestamp="2021-10-01T11:40:08.101461Z">UNAVAILABLE</AssetRemoved>
</Events>
~~~~
{: caption="Event Example"}

### Condition Example

Condition types are represented differently in XML when compared to Sample and Event types. The element name is the condition state of the Condition type in Pascal Case. The name of the Condition type is represented by the attribute type.

If the condition state is unavailable then the element name is represented by Unavailable.

~~~~xml
<Condition>
<Unavailable dataItemId="cont_system" sequence="72" timestamp="2021-10-11T21:04:03.251999Z" type="SYSTEM"/>
<Normal dataItemId="path_system" sequence="153" timestamp="2021-10-11T21:04:03.262845Z" type="SYSTEM"/>
<Warning dataItemId="cont_system" nativecode="313" nativeSeverity="50" sequence="75573" timestamp="2021-10-07T05:08:58.518317Z" type="LOGIC_PROGRAM">PALLET ARM DOWN RS. MALF.</Warning>
</Condition>
~~~~
{: caption="Condition Example"}

### DataSet Example

~~~~xml
<Events>
<VariableDataSet count="2" dataItemId="cvars" sequence="126513" timestamp="2021-10-12T03:57:31.106559Z">
<Entry key="100">66.3314</Entry>
<Entry key="101">167.2</Entry>
</VariableDataSet>
</Events>
~~~~
{: caption="DataSet Example"}

### Table Example

~~~~xml
<Events>
<WorkOffsetTable count="2" dataItemId="woffset" sequence="222101" timestamp="2021-10-12T06:04:11.990531Z">
<Entry key="G53.1">
<Cell key="X">1</Cell>
<Cell key="Y">2</Cell>
<Cell key="Z">3</Cell>
</Entry>
<Entry key="G53.2">
<Cell key="X">4</Cell>
<Cell key="Y">5</Cell>
<Cell key="Z">6</Cell>
</Entry>
</WorkOffsetTable>
</Events>
~~~~
{: caption="Table Example"}




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ObservationInformationModelPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579566288489_320279_24855"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579566288489_320279_24855"; + /// Constant value for + public const string NAME = "Observation Information Model"; + /// Constant value for + public const string SUMMARY = @" The {{term(Observation Information Model)}} provides a representation of the data reported by a piece of equipment used for a manufacturing process, or used for any other purpose. Additional descriptive information associated with the reported data is defined by the {{block(MTConnectDevices)}} entity, which is described in {{package(Device Information Model)}}. + +Information defined in the {{term(Observation Information Model)}} allows a software application to (1) determine the {{termplural(Observation)}} for {{termplural(DataItem)}} returned from a piece of equipment and (2) interpret the data associated with those {{termplural(Observation)}} with the same meaning, value, and context that it had at its original source. To do this, the software application issues one of two HTTP requests to an {{term(agent)}} associated with a piece of equipment. They are: + +* `sample`: Returns a designated number of time stamped {{termplural(Observation)}} from an {{term(agent)}} associated with a piece of equipment; subject to any HTTP filtering associated with the request. See {{block(Agent)}} in {{package(Fundamentals)}} for details on the `sample` HTTP request. + +* `current`: Returns a snapshot of either the most recent values or the values at a given sequence number for all {{termplural(Observation)}} associated with a piece of equipment from an {{term(agent)}}; subject to any HTTP filtering associated with the request. See {{block(Agent)}} in {{package(Fundamentals)}} for details on the `current` HTTP request. + + +An {{term(agent)}} responds to either the `sample` or `current` HTTP request with an {{term(MTConnectStreams Response Document)}}. This document contains information describing {{termplural(Observation)}} reported by an {{term(agent)}} associated with a piece of equipment. A client software application may correlate the information provided in the {{term(MTConnectStreams Response Document)}} with the physical and logical structure for that piece of equipment defined in the {{block(MTConnectDevices)}} entity to form a clear and unambiguous understanding of the information provided. (See details on the structure for a piece of equipment described in {{package(Device Information Model)}}). + +{{block(Streams)}} for an {{block(MTConnectStreams)}} entity contains a {{block(DeviceStream)}} entity for each piece of equipment represented in the document. Each {{block(DeviceStream)}} is comprised of two primary types of entities – {{termplural(Component)}} and {{termplural(Observation)}}. The contents of the {{block(DeviceStream)}} container are described in detail in this document, {{package(Observation Information Model)}} of the MTConnect Standard. + +{{termplural(Component)}} are defined for both the {{block(MTConnectDevices)}} and the {{block(MTConnectStreams)}} entities. These {{termplural(Component)}} are used to provide a logical organization of the information provided in each entity. + +* For an {{block(MTConnectDevices)}} entity: {{termplural(Component)}} organize information that represents the physical and logical parts and sub-parts of a piece of equipment. (See {{block(Component)}} in {{package(Device Information Model)}} for more details on {{termplural(Component)}} used in the {{block(MTConnectDevices)}} entity). + +* For an {{block(MTConnectStreams)}} entity: {{termplural(Component)}} provide the structure to organize the data returned from a piece of equipment and establishes the proper context for that data. The {{termplural(Component)}} specifically defined for {{block(MTConnectStreams)}} are {{block(DeviceStream)}} (see {{sect(DeviceStream)}}) and {{block(ComponentStream)}} (see {{sect(ComponentStream)}}). + +{{block(DeviceStream)}} and {{block(ComponentStream)}} entities have a direct correlation to each of the {{term(Component)}} defined in the {{block(MTConnectDevices)}} entity. + +Within each {{block(ComponentStream)}} entity in the {{block(MTConnectStreams)}} entity, {{termplural(Observation)}} are modeled as {{block(Observation)}} entities. The three types of {{block(Observation)}} entity are {{block(Sample)}}, {{block(Event)}}, and {{block(Condition)}}. (See {{sect(Observation Types)}} for more information on these entities.) + + Observations Appendix {{newpage()}} + +## XML Schema Diagrams + +### Observations Schema Diagrams + +See `Streams` element in `MTConnectStreams` schema. + +See `DeviceStream` element in `MTConnectStreams` schema. + +See `ComponentStream` element in `MTConnectStreams` schema. + +See `Sample` element in `MTConnectStreams` schema. + +See `Event` element in `MTConnectStreams` schema. + +See `Condition` element in `MTConnectStreams` schema. + +### Representation Schema Diagrams + +See `AbsTimeSeries` element in `MTConnectStreams` schema. + +See `PartCountDiscrete` element in `MTConnectStreams` schema. + +See `VariableDataSet` element in `MTConnectStreams` schema. + +See `Entry` element in `MTConnectStreams` schema. + +See `WorkOffsetTable` element in `MTConnectStreams` schema. + +## XML Examples + +### DeviceStream Example + +~~~~xml + + + + + AVAILABLE + M8010W4194N1.120 + UNAVAILABLE + + + + + ARMED + + + 1763070.0 + + + + PALLET ARM DOWN RS. MALF. + + + + + INTERRUPTED + + 66.3314 + 167.2 + + + + 1 + 2 + 3 + + + 4 + 5 + 6 + + + + + UNAVAILABLE + + + + + + + +~~~~ +{: caption=""DeviceStream Example""} + +### Observations made for DataItem Example + +~~~~xml + + + + + + + +~~~~ +{: caption=""MTConnectDevices Response Document""} + +~~~~xml + + + ARMED + + +~~~~ +{: caption=""MTConnectStreams Response Document""} + +### Sample Example + +~~~~xml + + 1763070.0 + UNAVAILABLE + +~~~~ +{: caption=""Sample Example""} + +### Event Example + +~~~~xml + + AVAILABLE + UNAVAILABLE + +~~~~ +{: caption=""Event Example""} + +### Condition Example + +{{block(Condition)}} types are represented differently in {{term(XML)}} when compared to {{block(Sample)}} and {{block(Event)}} types. The element name is the {{term(condition state)}} of the {{block(Condition)}} type in Pascal Case. The name of the {{block(Condition)}} type is represented by the attribute `type`. + +If the {{term(condition state)}} is unavailable then the element name is represented by `Unavailable`. + +~~~~xml + + + + PALLET ARM DOWN RS. MALF. + +~~~~ +{: caption=""Condition Example""} + +### DataSet Example + +~~~~xml + + + 66.3314 + 167.2 + + +~~~~ +{: caption=""DataSet Example""} + +### Table Example + +~~~~xml + + + + 1 + 2 + 3 + + + 4 + 5 + 6 + + + +~~~~ +{: caption=""Table Example""} +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + RepresentationsPackage, + ObservationTypesPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + DeviceStreamClass, + ComponentStreamClass, + ObservationGeneralization, + SampleClass, + EventClass, + ConditionClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.RepresentationsPackage _RepresentationsPackage; + /// + /// + /// + public Package.RepresentationsPackage RepresentationsPackage => _RepresentationsPackage ?? (_RepresentationsPackage = new Package.RepresentationsPackage()); + + private Package.ObservationTypesPackage _ObservationTypesPackage; + /// + /// + /// + public Package.ObservationTypesPackage ObservationTypesPackage => _ObservationTypesPackage ?? (_ObservationTypesPackage = new Package.ObservationTypesPackage()); + + #endregion + + #region Classes + private Package.DeviceStreamClass _DeviceStreamClass; + /// + /// + /// + public Package.DeviceStreamClass DeviceStreamClass => _DeviceStreamClass ?? (_DeviceStreamClass = new Package.DeviceStreamClass()); + + private Package.ComponentStreamClass _ComponentStreamClass; + /// + /// + /// + public Package.ComponentStreamClass ComponentStreamClass => _ComponentStreamClass ?? (_ComponentStreamClass = new Package.ComponentStreamClass()); + + private Package.ObservationGeneralization _ObservationGeneralization; + /// + /// + /// + public Package.ObservationGeneralization ObservationGeneralization => _ObservationGeneralization ?? (_ObservationGeneralization = new Package.ObservationGeneralization()); + + private Package.SampleClass _SampleClass; + /// + /// + /// + public Package.SampleClass SampleClass => _SampleClass ?? (_SampleClass = new Package.SampleClass()); + + private Package.EventClass _EventClass; + /// + /// + /// + public Package.EventClass EventClass => _EventClass ?? (_EventClass = new Package.EventClass()); + + private Package.ConditionClass _ConditionClass; + /// + /// + /// + public Package.ConditionClass ConditionClass => _ConditionClass ?? (_ConditionClass = new Package.ConditionClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/ReferenceAgentArchitecture.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/ReferenceAgentArchitecture.cs new file mode 100644 index 00000000..dc863f36 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/ReferenceAgentArchitecture.cs @@ -0,0 +1,248 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ReferenceAgentArchitecture; + +namespace Mtconnect +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ReferenceAgentArchitecturePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1584923209945_326350_15088"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1584923209945_326350_15088"; + /// Constant value for + public const string NAME = "Reference Agent Architecture"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + RestPackage, + SourcePackage, + SinkPackage, + TransformationPackage, + PrinterPackage, + ParserPackage, + InformationModelPackage, + PipelinesPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + AgentClass, + ServiceClass, + RestSinkClass, + DataSinkServiceGeneralization, + MQTTSinkClass, + DataSourceServiceGeneralization, + RestServiceGeneralization, + TransformationServiceGeneralization, + StorageServiceGeneralization, + RestSourceClass, + MQTTSourceClass, + SourceClass, + PipelineClass, + SinkClass, + TransformtionClass, + AssetStroageClass, + OPCUASinkGeneralization, + NCLinkClass, + MQTTSinkGeneralization, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.RestPackage _RestPackage; + /// + /// + /// + public Package.RestPackage RestPackage => _RestPackage ?? (_RestPackage = new Package.RestPackage()); + + private Package.SourcePackage _SourcePackage; + /// + /// + /// + public Package.SourcePackage SourcePackage => _SourcePackage ?? (_SourcePackage = new Package.SourcePackage()); + + private Package.SinkPackage _SinkPackage; + /// + /// + /// + public Package.SinkPackage SinkPackage => _SinkPackage ?? (_SinkPackage = new Package.SinkPackage()); + + private Package.TransformationPackage _TransformationPackage; + /// + /// + /// + public Package.TransformationPackage TransformationPackage => _TransformationPackage ?? (_TransformationPackage = new Package.TransformationPackage()); + + private Package.PrinterPackage _PrinterPackage; + /// + /// + /// + public Package.PrinterPackage PrinterPackage => _PrinterPackage ?? (_PrinterPackage = new Package.PrinterPackage()); + + private Package.ParserPackage _ParserPackage; + /// + /// + /// + public Package.ParserPackage ParserPackage => _ParserPackage ?? (_ParserPackage = new Package.ParserPackage()); + + private Package.InformationModelPackage _InformationModelPackage; + /// + /// + /// + public Package.InformationModelPackage InformationModelPackage => _InformationModelPackage ?? (_InformationModelPackage = new Package.InformationModelPackage()); + + private Package.PipelinesPackage _PipelinesPackage; + /// + /// + /// + public Package.PipelinesPackage PipelinesPackage => _PipelinesPackage ?? (_PipelinesPackage = new Package.PipelinesPackage()); + + #endregion + + #region Classes + private Package.AgentClass _AgentClass; + /// + /// + /// + public Package.AgentClass AgentClass => _AgentClass ?? (_AgentClass = new Package.AgentClass()); + + private Package.ServiceClass _ServiceClass; + /// + /// + /// + public Package.ServiceClass ServiceClass => _ServiceClass ?? (_ServiceClass = new Package.ServiceClass()); + + private Package.RestSinkClass _RestSinkClass; + /// + /// + /// + public Package.RestSinkClass RestSinkClass => _RestSinkClass ?? (_RestSinkClass = new Package.RestSinkClass()); + + private Package.DataSinkServiceGeneralization _DataSinkServiceGeneralization; + /// + /// + /// + public Package.DataSinkServiceGeneralization DataSinkServiceGeneralization => _DataSinkServiceGeneralization ?? (_DataSinkServiceGeneralization = new Package.DataSinkServiceGeneralization()); + + private Package.MQTTSinkClass _MQTTSinkClass; + /// + /// + /// + public Package.MQTTSinkClass MQTTSinkClass => _MQTTSinkClass ?? (_MQTTSinkClass = new Package.MQTTSinkClass()); + + private Package.DataSourceServiceGeneralization _DataSourceServiceGeneralization; + /// + /// + /// + public Package.DataSourceServiceGeneralization DataSourceServiceGeneralization => _DataSourceServiceGeneralization ?? (_DataSourceServiceGeneralization = new Package.DataSourceServiceGeneralization()); + + private Package.RestServiceGeneralization _RestServiceGeneralization; + /// + /// + /// + public Package.RestServiceGeneralization RestServiceGeneralization => _RestServiceGeneralization ?? (_RestServiceGeneralization = new Package.RestServiceGeneralization()); + + private Package.TransformationServiceGeneralization _TransformationServiceGeneralization; + /// + /// + /// + public Package.TransformationServiceGeneralization TransformationServiceGeneralization => _TransformationServiceGeneralization ?? (_TransformationServiceGeneralization = new Package.TransformationServiceGeneralization()); + + private Package.StorageServiceGeneralization _StorageServiceGeneralization; + /// + /// + /// + public Package.StorageServiceGeneralization StorageServiceGeneralization => _StorageServiceGeneralization ?? (_StorageServiceGeneralization = new Package.StorageServiceGeneralization()); + + private Package.RestSourceClass _RestSourceClass; + /// + /// + /// + public Package.RestSourceClass RestSourceClass => _RestSourceClass ?? (_RestSourceClass = new Package.RestSourceClass()); + + private Package.MQTTSourceClass _MQTTSourceClass; + /// + /// + /// + public Package.MQTTSourceClass MQTTSourceClass => _MQTTSourceClass ?? (_MQTTSourceClass = new Package.MQTTSourceClass()); + + private Package.SourceClass _SourceClass; + /// + /// + /// + public Package.SourceClass SourceClass => _SourceClass ?? (_SourceClass = new Package.SourceClass()); + + private Package.PipelineClass _PipelineClass; + /// + /// + /// + public Package.PipelineClass PipelineClass => _PipelineClass ?? (_PipelineClass = new Package.PipelineClass()); + + private Package.SinkClass _SinkClass; + /// + /// + /// + public Package.SinkClass SinkClass => _SinkClass ?? (_SinkClass = new Package.SinkClass()); + + private Package.TransformtionClass _TransformtionClass; + /// + /// + /// + public Package.TransformtionClass TransformtionClass => _TransformtionClass ?? (_TransformtionClass = new Package.TransformtionClass()); + + private Package.AssetStroageClass _AssetStroageClass; + /// + /// + /// + public Package.AssetStroageClass AssetStroageClass => _AssetStroageClass ?? (_AssetStroageClass = new Package.AssetStroageClass()); + + private Package.OPCUASinkGeneralization _OPCUASinkGeneralization; + /// + /// + /// + public Package.OPCUASinkGeneralization OPCUASinkGeneralization => _OPCUASinkGeneralization ?? (_OPCUASinkGeneralization = new Package.OPCUASinkGeneralization()); + + private Package.NCLinkClass _NCLinkClass; + /// + /// + /// + public Package.NCLinkClass NCLinkClass => _NCLinkClass ?? (_NCLinkClass = new Package.NCLinkClass()); + + private Package.MQTTSinkGeneralization _MQTTSinkGeneralization; + /// + /// + /// + public Package.MQTTSinkGeneralization MQTTSinkGeneralization => _MQTTSinkGeneralization ?? (_MQTTSinkGeneralization = new Package.MQTTSinkGeneralization()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Stereotypes.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Stereotypes.cs new file mode 100644 index 00000000..21999252 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/Stereotypes.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class StereotypesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1642762217653_837690_37"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1642762217653_837690_37"; + /// Constant value for + public const string NAME = "Stereotypes"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/SupportingDocuments.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/SupportingDocuments.cs new file mode 100644 index 00000000..6b094699 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/SupportingDocuments.cs @@ -0,0 +1,1514 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.SupportingDocuments; + +namespace Mtconnect +{ + /// Assets Appendix

{{newpage()}}

## XML Schema Diagrams

See XML schemas for the MTConnect standard here: https://schemas.mtconnect.org/.

### Assets Schema Diagrams

See Asset element in MTConnectAssets schema.

See Description element in MTConnectAssets schema.

### CuttingTool Schema Diagrams

See CuttingTool element in MTConnectAssets schema.

See CuttingToolDefinition element in MTConnectAssets schema.

See CuttingToolArchetypeReference element in MTConnectAssets schema.

### CuttingToolLifeCycle Schema Diagrams

See CuttingToolLifeCycle element in MTConnectAssets schema.

See CutterStatus element in MTConnectAssets schema.

See Location element in MTConnectAssets schema.

See Measurement element in MTConnectAssets schema.

See ProcessFeedRate element in MTConnectAssets schema.

See ProcessSpindleSpeed element in MTConnectAssets schema.

See ReconditionCount element in MTConnectAssets schema.

See ToolLife element in MTConnectAssets schema.

### CuttingItem Schema Diagrams

See CuttingItems element in MTConnectAssets schema.

See CuttingItem element in MTConnectAssets schema.

See ItemLife element in MTConnectAssets schema.

### ISO 13399 Diagrams

#### Measurement Diagrams

![Cutting Tool Measurement 3](figures/Cutting%20Tool%20Measurement%203.png "Cutting Tool Measurement 3"){: width="0.8"}

![Cutting Tool Measurement 4](figures/Cutting%20Tool%20Measurement%204.png "Cutting Tool Measurement 4"){: width="0.8"}

![Cutting Tool Measurement 5](figures/Cutting%20Tool%20Measurement%205.png "Cutting Tool Measurement 5"){: width="0.8"}

![Cutting Tool Measurement 6](figures/Cutting%20Tool%20Measurement%206.png "Cutting Tool Measurement 6"){: width="0.8"}

![Cutting Tool Measurement 7](figures/Cutting%20Tool%20Measurement%207.png "Cutting Tool Measurement 7"){: width="0.8"}

![Cutting Tool Measurement 8](figures/Cutting%20Tool%20Measurement%208.png "Cutting Tool Measurement 8"){: width="0.8"}

### Cutting Tool Examples

#### Shell Mill

![Shell Mill Side View](figures/Shell%20Mill%20Side%20View.png "Shell Mill Side View"){: width="0.8"}

![Indexable Insert Measurements](figures/Indexable%20Insert%20Measurements.png "Indexable Insert Measurements"){: width="0.8"}

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets
xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2
http://mtconnect.org/schemas/MTConnectAssets\_1.2.xsd">
<Header creationTime="2011-05-11T13:55:22"
assetBufferSize="1024" sender="localhost"
assetCount="2" version="1.2" instanceId="1234"/>
<Assets>
<CuttingTool serialNumber="1" toolId="KSSP300R4SD43L240"
timestamp="2011-05-11T13:55:22" assetId="KSSP300R4SD43L240.1"
manufacturers="KMT,Parlec">
<CuttingToolLifeCycle>
<CutterStatus><Status>NEW</Status></CutterStatus>
<ProcessSpindleSpeed maximum="13300"
nominal="605">10000</ProcessSpindleSpeed>
<ProcessFeedRate
nominal="9.22">9.22</ProcessSpindleSpeed>
<ConnectionCodeMachineSide>CV50
</ConnectionCodeMachineSide>
<Measurements>
<BodyDiameterMax code="BDX">73.25
</BodyDiameterMax>
<OverallToolLength nominal="222.25"
minimum="221.996" maximum="222.504"
code="OAL">222.25</OverallToolLength>
<UsableLengthMax code="LUX" nominal="82.55">82.55
</UsableLengthMax>
<CuttingDiameterMax code="DC" nominal="76.2"
maximum="76.213" minimum="76.187">76.2
</CuttingDiameterMax>
<BodyLengthMax code="LF" nominal="120.65"
maximum="120.904" minimum="120.404">120.65
</BodyLengthMax>
<DepthOfCutMax code="APMX"
nominal="60.96">60.95</DepthOfCutMax>
<FlangeDiameterMax code="DF"
nominal="98.425">98.425</FlangeDiameterMax>
</Measurements>
<CuttingItems count="24">
<CuttingItem indices="1-24" itemId="SDET43PDER8GB"
manufacturers="KMT" grade="KC725M">
<Measurements>
<CuttingEdgeLength code="L" nominal="12.7"
minimum="12.675" maximum="12.725">12.7
</CuttingEdgeLength>
<WiperEdgeLength code="BS" nominal=
"2.56">2.56</WiperEdgeLength>
<IncribedCircleDiameter code="IC"
nominal="12.7">12.7
</IncribedCircleDiameter>
<CornerRadius code="RE" nominal="0.8">
0.8</CornerRadius>
</Measurements>
</CuttingItem>
</CuttingItems>
</CuttingToolLifeCycle>
</CuttingTool>
</Assets>
</MTConnectAssets>
~~~~
{: caption="Example for Indexable Insert Measurements"}

{{pagebreak()}}

#### Step Drill

![Step Mill Side View](figures/Step%20Mill%20Side%20View.png "Step Mill Side View"){: width="0.8"}

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2
http://mtconnect.org/schemas/MTConnectAssets\_1.2.xsd">
<Header creationTime="2011-05-
11T13:55:22" assetBufferSize="1024"
sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
<Assets>
<CuttingTool serialNumber="1 " toolId="B732A08500HP"
timestamp="2011-05-11T13:55:22" assetId="B732A08500HP "
manufacturers="KMT,Parlec">
<Description>
Step Drill - KMT, B732A08500HP Grade KC7315
Adapter - Parlec, C50-M12SF300-6
</Description>
<CuttingToolLifeCycle>
<CutterStatus><Status>NEW</Status></CutterStatus>
<ProcessSpindleSpeed nominal="5893">5893</ProcessSpindleSpeed>
<ProcessFeedRate nominal="2.5">2.5</ProcessFeedRate>
<ConnectionCodeMachineSide>CV50 Taper</ConnectionCodeMachineSide>
<Measurements>
<BodyDiameterMax code="BDX">31.8</BodyDiameterMax>
<BodyLengthMax code="LBX" nominal="120.825" maximum="126.325"
minimum="115.325">120.825</BodyLengthMax>
<ProtrudingLength code="LPR" nominal="155.75" maximum="161.25"
minimum="150.26">155.75</ProtrudingLength>
<FlangeDiameterMax code="DF"
nominal="98.425">98.425</FlangeDiameterMax>
<OverallToolLength nominal="257.35" minimum="251.85"
maximum="262.85" code="OAL">257.35</OverallToolLength>
</Measurements>
<CuttingItems count="2">
<CuttingItem indices="1" manufacturers="KMT" grade="KC7315">>
<Measurements>
<CuttingDiameter code="DC1" nominal="8.5" maximum="8.521"
minimum="8.506">8.5135</CuttingDiameter>
<StepIncludedAngle code="STA1" nominal="90" maximum="91"
minimum="89">90</StepIncludedAngle>
<FunctionalLength code="LF1" nominal="154.286"
minimum="148.786"
maximum="159.786">154.286</FunctionalLength>
<StepDiameterLength code="SDL1"
nominal="9">9</StepDiameterLength>
<PointAngle code="SIG" nominal="135" minimum="133"
maximum="137">135</PointAngle>
</Measurements>
</CuttingItem>
<CuttingItem indices="2" manufacturers="KMT" grade="KC7315">>
<Measurements>
<CuttingDiameter code="DC2" nominal="12" maximum="12.011"
minimum="12">12</CuttingDiameter>
<FunctionalLength code="LF2" nominal="122.493"
maximum="127.993"
minimum="116.993">122.493</FunctionalLength>
<StepDiameterLength code="SDL2"
nominal="9">9</StepDiameterLength>
</Measurements>
</CuttingItem>
</CuttingItems>
</CuttingToolLifeCycle>
</CuttingTool>
</Assets>
</MTConnectAssets>
~~~~
{: caption="Example for Step Mill Side View"}

{{pagebreak()}}

#### Shell Mill with Individual Loci

![Shell Mill with Explicate Loci](figures/Shell%20Mill%20with%20Explicate%20Loci.png "Shell Mill with Explicate Loci"){: width="0.8"}

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2
http://mtconnect.org/schemas/MTConnectAssets\_1.2.xsd">
<Header creationTime="2011-05-11T13:55:22" assetBufferSize="1024"
sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
<Assets>
<CuttingTool serialNumber="1" toolId="KSSP300R4SD43L240"
timestamp="2011-05-11T13:55:22" assetId="KSSP300R4SD43L240.1"
manufacturers="KMT,Parlec">
<Description>Keyway: 55 degrees</Description>
<CuttingToolLifeCycle>
<CutterStatus><Status>NEW</Status></CutterStatus>
<Measurements>
<UsableLengthMax code="LUX"
nominal="82.55">82.55</UsableLengthMax>
<CuttingDiameterMax code="DC" nominal="76.2" maximum="76.213"
minimum="76.187">76.2</CuttingDiameterMax>
<DepthOfCutMax code="APMX" nominal="60.96">60.95</DepthOfCutMax>
</Measurements>
<CuttingItems count="24">
<CuttingItem indices="1" itemId="SDET43PDER8GB"
manufacturers="KMT">
<Locus>FLUTE: 1, ROW: 1</Locus>
<Measurements>
<DriveAngle code="DRVA" nominal="55">55</DriveAngle>
</Measurements>
</CuttingItem>
<CuttingItem indices="2-24" itemId="SDET43PDER8GB"
manufacturers="KMT">
<Locus>FLUTE: 2-4, ROW: 1; FLUTE: 1-4, ROW 2-6</Locus>
</CuttingItem>
</CuttingItems>
</CuttingToolLifeCycle>
</CuttingTool>
</Assets>
</MTConnectAssets>
~~~~
{: caption="Example for Shell Mill with Explicate Loci"}

{{pagebreak()}}

#### Drill with Individual Loci

![Step Drill with Explicate Loci](figures/Step%20Drill%20with%20Explicate%20Loci.png "Step Drill with Explicate Loci"){: width="0.8"}

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2
http://mtconnect.org/schemas/MTConnectAssets\_1.2.xsd">
<Header creationTime="2011-05-11T13:55:22" assetBufferSize="1024"
sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
<Assets>
<CuttingTool serialNumber="1" toolId="KSEM0781LD"
timestamp="2011-05-11T13:55:22" assetId="KSEM0781LD.1" manufacturers="KMT">
<CuttingToolLifeCycle>
<CutterStatus><Status>NEW</Status></CutterStatus>
<ConnectionCodeMachineSide>HSK63A</ConnectionCodeMachineSide>
<Measurements>
<BodyDiameterMax code="BDX">52.75</BodyDiameterMax>
<OverallToolLength nominal="172.29"
code="OAL">172.29</OverallToolLength>
<UsableLengthMax code="LUX" nominal="49">49</UsableLengthMax>
<FlangeDiameterMax code="DF"
nominal="62.94">62.94</FlangeDiameterMax>
</Measurements>
<CuttingItems count="3">
<CuttingItem indices="1" itemId="KSEM0781LD" manufacturers="KMT"
grade="KC7015">
<Locus>FLUTE: 1, ROW: 1</Locus>
<Measurements>
<FunctionalLength code="LF1" nominal="154.42">154.42</FunctionalLength>
<CuttingDiameter code="DC1" nominal="19.844">19.844</CuttingDiameter>
<PointAngle code="SIG" nominal="140">140</PointAngle>
<ToolCuttingEdgeAngle code="KAPR1" nominal="45">45</ToolCuttingEdgeAngle>
<StepDiameterLength code="SLD1" nominal="39.8">39.8</StepDiameterLength>
</Measurements>
</CuttingItem>
<CuttingItem indices="2-3" itemId="TPMT-21.52-FP"
manufacturers="KMT" grade="KCM15">
<Locus>FLUTE: 1-2, ROW: 2</Locus>
<Measurements>
<FunctionalLength code="LF2" nominal="112.9">119.2</FunctionalLength>
<CuttingDiameter code="DC2" nominal="31">31</CuttingDiameter>
</Measurements>
</CuttingItem>
</CuttingItems>
</CuttingToolLifeCycle>
</CuttingTool>
</Assets>
</MTConnectAssets>
~~~~
{: caption="Example for Step Drill with Explicate Loci"}

{{pagebreak()}}

#### Shell Mill with Different Inserts on First Row

![Shell Mill with Different Inserts on First Row](figures/Shell%20Mill%20with%20Different%20Inserts%20on%20First%20Row.png "Shell Mill with Different Inserts on First Row"){: width="0.8"}

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns="urn:mtconnect.org:MTConnectAssets:1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2
http://mtconnect.org/schemas/MTConnectAssets\_1.2.xsd">
<Header creationTime="2011-05-11T13:55:22" assetBufferSize="1024"
sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
<Assets>
<CuttingTool serialNumber="1" toolId="XXX" timestamp="2011-05-11T13:55:22"
assetId="XXX.1" manufacturers="KMT">
<CuttingToolLifeCycle>
<CutterStatus><Status>NEW</Status></CutterStatus>
<Measurements>
<DepthOfCutMax code="APMX" nominal="47.8">47.8</DepthOfCutMax>
<CuttingDiameterMax code="DC"
nominal="50.8">50.8</CuttingDiameterMax>
<UsableLengthMax code="LUX"
nominal="78.74">78.74</UsableLengthMax>
</Measurements>
<CuttingItems count="9">
<CuttingItem indices="1-3" itemId="EDPT180564PDER-LD"
manufacturers="KMT">
<Locus>FLUTE: 1-3, ROW: 1</Locus>
<Measurements>
<CornerRadius code="RE" nominal="6.25">6.35</CornerRadius>
</Measurements>
</CuttingItem>
<CuttingItem indices="4-9" itemId="EDPT180508PDER-LD"
manufacturers="KMT">
<Locus>FLANGE: 1-4, ROW: 2-3</Locus>
</CuttingItem>
</CuttingItems>
</CuttingToolLifeCycle>
</CuttingTool>
</Assets>
</MTConnectAssets>
~~~~
{: caption="Example for Shell Mill with Different Inserts on First Row"}

### File Schema Diagrams

See File element in MTConnectAssets schema.

### RawMaterial Schema Diagrams

See RawMaterial element in MTConnectAssets schema.

### QIFDocumentWrapper Schema Diagrams

See QIFDocumentWrapper element in MTConnectAssets schema.




Assets Introduction

# Purpose of This Document

This document, Asset Information Model of the MTConnect Standard, details information that is common to all types of Assets. Part 4.0 of the MTConnect Standard provide semantic models for entities that are used in the manufacturing process, but are not considered to be a piece of equipment. These entities are defined as Assets. These assets may be removed from a piece of equipment without detriment to the function of the equipment and can be associated with other pieces of equipment during their lifecycle. The data associated with these assets may be retrieved from multiple sources that are each responsible for providing their knowledge of the asset.

# Terminology and Conventions

Refer to Fundamentals for a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard.

{{printglossary[title=General Terms, type=general]()}}
{{printglossary[title=Information Model Terms, type=informationmodel]()}}
{{printglossary[title=Protocol Terms, type=protocol]()}}
{{printglossary[title=HTTP Terms, type=http]()}}
{{printglossary[title=XML Terms, type=xml]()}}
{{printglossary[title=MTConnect Terms, type=conceptmodel]()}}

{{printacronyms()}}

{{printbibliography[title=MTConnect References,keyword=MTC]()}}

{{printbibliography[title=Other References,notkeyword=MTC]()}}

{{glsaddall()}}




Devices Introduction

# Purpose of This Document

This document, Device Information Model of the MTConnect Standard, establishes the rules and terminology to be used by designers to describe the function and operation of a piece of equipment and to define the data that is provided by an agent from the equipment. The Device Information Model also defines the structure for the response document that is returned from an agent in response to a probe request.

In the MTConnect Standard, equipment represents any tangible property that is used in the operations of a manufacturing facility. Examples of equipment are machine tools, ovens, sensor units, workstations, software applications, and bar feeders.

> Note: See Observation Information Model of the MTConnect Standard for details on the response document that are returned from an agent in response to a sample request or current request.

# Terminology and Conventions

Refer to Fundamentals for a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard.

{{printglossary[title=General Terms, type=general]()}}
{{printglossary[title=Information Model Terms, type=informationmodel]()}}
{{printglossary[title=Protocol Terms, type=protocol]()}}
{{printglossary[title=HTTP Terms, type=http]()}}
{{printglossary[title=XML Terms, type=xml]()}}
{{printglossary[title=MTConnect Terms, type=conceptmodel]()}}

{{printacronyms()}}

{{printbibliography[title=MTConnect References,keyword=MTC]()}}

{{printbibliography[title=Other References,notkeyword=MTC]()}}

{{glsaddall()}}




Devices Appendix

{{newpage()}}

## XML Schema Diagrams

See XML schemas for the MTConnect standard here: https://schemas.mtconnect.org/.

### Components Schema Diagrams

See Components element in MTConnectDevices schema.

See Description element in MTConnectDevices schema.

### DataItems Schema Diagrams

See DataItems element in MTConnectDevices schema.

See Source element in MTConnectDevices schema.

See Constraints element in MTConnectDevices schema.

See Filter element in MTConnectDevices schema.

See Definition element in MTConnectDevices schema.

### References Schema Diagrams

See References element in MTConnectDevices schema.

See ComponentRef element in MTConnectDevices schema.

See DataItemRef element in MTConnectDevices schema.

### Configuration Schema Diagrams

See Configuration element in MTConnectDevices schema.

See CoordinateSystem element in MTConnectDevices schema.

See Motion element in MTConnectDevices schema.

See Relationships element in MTConnectDevices schema.

See ComponentRelationship element in MTConnectDevices schema.

See DeviceRelationship element in MTConnectDevices schema.

See SensorConfiguration element in MTConnectDevices schema.

See SolidModel element in MTConnectDevices schema.

See Specifications element in MTConnectDevices schema.

See ProcessSpecification element in MTConnectDevices schema.

## XML Examples

### Device Entity Hierarchy Example

~~~~xml
<Devices>
<Device id="d1" name="M12346" uuid="M80104K162N">
<Components>
<Axes id="a" name="base">
<Components>
<Linear id="x" name="X"/>
<Linear id="y" name="Y"/>
<Linear id="z" name="Z"/>
<Rotary id="ar" name="B"/>
<Linear id="w" name="Z3" nativeName="W"/>
<Rotary id="c" name="C"/>
</Components>
</Axes>
<Controller id="cont" name="controller">
<Components>
<Path id="path1" name="path"/>
</Components>
</Controller>
<Door id="door1" name="door"/>
<Systems id="systems" name="systems">
<Components>
<WorkEnvelope id="we1" name="workenv">
<Compositions>
<Composition type="WORKPIECE" id="wp"/>
<Composition type="TABLE" id="tbl"/>
</Compositions>
</WorkEnvelope>
<Electric id="elec" name="electric"/>
<Hydraulic id="hydraulic" name="hydraulic"/>
<Coolant id="coolant" name="coolant"/>
<Pneumatic id="pneumatic" name="pneumatic"/>
<Lubrication id="lubrication" name="lubrication"/>
</Components>
</Systems>
<Auxiliaries id="Aux" name="auxiliaries">
<Components>
<Environmental id="room" name="environmental"/>
</Components>
</Auxiliaries>
<Resources id="resources" name="resources">
<Components>
<Personnel id="personnel" name="personnel"/>
<Materials id="materials" name="materials">
<Components>
<Stock id="procstock" name="stock"/>
</Components>
<Materials/>
</Components>
</Resources>
</Components>
</Device>
</Devices>
~~~~
{: caption="Device Entity Hierarchy Example"}

### Component Example

~~~~xml
<Devices>
<Device id="d1" name="M12346" uuid="M80104K162N">
<Description manufacturer="Example_Corporation"
serialNumber="272237"> Mill w/SMooth-G
</Description>
<DataItems>
<DataItem category="EVENT" id="avail" name="avail" type="AVAILABILITY"/>
<DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
<DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
</DataItems>
<Components>
<Controller id="cont" name="controller">
<DataItems>
<DataItem category="EVENT" id="estop" name="estop" type="EMERGENCY_STOP"/>
<DataItem category="CONDITION" id="logic_cond" type="LOGIC_PROGRAM"/>
<DataItem category="CONDITION" id="cont_system" type="SYSTEM"/>
<DataItem category="SAMPLE" id="cut_time" type="ACCUMULATED_TIME" units="SECOND"/>
</DataItems>
<Components>
<Path id="path1" name="path">
<DataItems>
<DataItem category="EVENT" id="execution" name="execution" type="EXECUTION"/>
<DataItem category="SAMPLE" id="cspeed" subType="ACTUAL" type="CUTTING_SPEED" units="MILLIMETER/SECOND"/>
<DataItem category="CONDITION" id="path_system" type="SYSTEM"/>
<DataItem category="EVENT" id="cvars" representation="DATA_SET" type="VARIABLE"/>
<DataItem category="EVENT" id="woffset" representation="TABLE" type="WORK_OFFSET"/>
</DataItems>
</Path>
</Components>
</Controller>
</Components>
</Device>
</Devices>
~~~~
{: caption="Component Example"}

### Component with Compositions Example

In XML, Composition types are represented differently than Component types. For Component types, the element name is Pascal Case of the Component type name. Whereas, the element name for all Compositiontypes is Composition and the type is defined by the type attribute of the element (see example below).

~~~~xml
<WorkEnvelope id="we1" name="workenv">
<DataItems>
<DataItem category="CONDITION" id="hardware1" name="hardware1" type="HARDWARE"/>
</DataItems>
<Compositions>
<Composition type="WORKPIECE" id="wp"/>
<Composition type="TABLE" id="tbl"/>
</Compositions>
</WorkEnvelope>
~~~~
{: caption="Component with Compositions Example"}

### CoordinateSystem Example

~~~~xml
<Devices>
<Device id="d1" name="M12346" uuid="M80104K162N">
<Description manufacturer="Example_Corporation"
serialNumber="272237"> Mill w/SMooth-G
</Description>
<DataItems>
<DataItem id="avail" type="AVAILABILITY" category="EVENT"/>
<DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
<DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
</DataItems>
<Configuration>
<CoordinateSystems>
<CoordinateSystem id="base" type="BASE">
<Origin>0 0 0</Origin>
</CoordinateSystem>
<CoordinateSystem id="machcoord" type="MACHINE" parentIdRef="base">
<Transformation>
<Translation>210 275 1430</Translation>
<Rotation>0 0 0</Rotation>
</Transformation>
</CoordinateSystem>
<CoordinateSystem id="workcoord" type="OBJECT" parentIdRef="machcoord">
<Transformation>
<Translation>0 0 0</Translation>
<Rotation>0 0 0</Rotation>
</Transformation>
</CoordinateSystem>
</CoordinateSystems>
</Configuration>
</Device>
</Devices>
~~~~
{: caption="CoordinateSystem Example"}

### Motion Example

~~~~xml
<Devices>
<Device id="d1" name="M12346" uuid="M80104K162N">
<Description manufacturer="Example_Corporation"
serialNumber="272237"> Mill w/SMooth-G
</Description>
<DataItems>
<DataItem id="avail" type="AVAILABILITY" category="EVENT"/>
<DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
<DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
</DataItems>
<Configuration>
<CoordinateSystems>
<CoordinateSystem id="base" type="BASE">
<Origin>0 0 0</Origin>
</CoordinateSystem>
<CoordinateSystem id="machcoord" type="MACHINE" parentIdRef="base">
<Transformation>
<Translation>210 275 1430</Translation>
<Rotation>0 0 0</Rotation>
</Transformation>
</CoordinateSystem>
<CoordinateSystem id="workcoord" type="OBJECT" parentIdRef="machcoord">
<Transformation>
<Translation>0 0 0</Translation>
<Rotation>0 0 0</Rotation>
</Transformation>
</CoordinateSystem>
</CoordinateSystems>
</Configuration>
<Components>
<Axes id="a" name="base">
<Components>
<Linear id="x" name="X">
<Configuration>
<Motion id="xmotion" coordinateSystemIdRef="machcoord" type="PRISMATIC" actuation="DIRECT">
<Transformation>
<Translaton>300 915 590</Translaton>
<Rotation>0 0 0</Rotation>
</Transformation>
<Axis>1.0 0 0</Axis>
</Motion>
</Configuration>
</Linear>
<DataItems>
<DataItem id="xtravel" type="SYSTEM" category="CONDITION">
</DataItems>
</Components>
</Axes>
</Components>
</Device>
</Devices>
~~~~
{: caption="Motion Example"}

### Relationship Example

~~~~xml
<Components>
<Axes id="a" name="base">
<Components>
<Linear id="x" name="X">
<Configuration>
<Relationships>
<ComponentRelationship id="xpar" type="PARENT" idRef="we1"/>
</Relationships>
</Configuration>
</Linear>
<DataItems>
<DataItem id="xtravel" type="SYSTEM" category="CONDITION">
</DataItems>
</Components>
</Axes>
<Systems id="systems" name="systems">
<Components>
<WorkEnvelope id="we1" name="workenv">
<Compositions>
<Composition type="WORKPIECE" id="wp"/>
<Composition type="TABLE" id="tbl"/>
</Compositions>
<DataItems>
<DataItem id="we1cond" type="SYSTEM" category="CONDITION">
</DataItems>
</WorkEnvelope>
</Components>
</Systems>
</Components>
~~~~
{: caption="Relationship Example"}

### SolidModel Example

~~~~xml
<Devices>
<Device id="d1" name="M12346" uuid="M80104K162N">
<Description manufacturer="Example_Corporation"
serialNumber="272237"> Mill w/SMooth-G
</Description>
<DataItems>
<DataItem id="avail" type="AVAILABILITY" category="EVENT"/>
<DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
<DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
</DataItems>
<Configuration>
<CoordinateSystems>
<CoordinateSystem id="base" type="BASE">
<Origin>0 0 0</Origin>
</CoordinateSystem>
<CoordinateSystem id="machcoord" type="MACHINE" parentIdRef="base">
<Transformation>
<Translation>210 275 1430</Translation>
<Rotation>0 0 0</Rotation>
</Transformation>
</CoordinateSystem>
<CoordinateSystem id="workcoord" type="OBJECT" parentIdRef="machcoord">
<Transformation>
<Translation>0 0 0</Translation>
<Rotation>0 0 0</Rotation>
</Transformation>
</CoordinateSystem>
</CoordinateSystems>
</Configuration>
<Components>
<Structures id="struct">
<Configuration>
<SolidModel id="model" mediaType="OBJ" href="/objs/mazak.obj" coordinateSystemIdRef="base">
<Transformation>
<Translation>0 860 0</Translation>
<Rotation>-90 0 0</Rotation>
</Transformation>
<Scale>0.001 0.001 0.001</Scale>
</SolidModel>
</Configuration>
<Components>
<Structure id="xaxis" name="X_AXIS">
<Configuration>
<SolidModel id="x_model" mediaType="OBJ" itemRef="xaxis" solidModelIdRef="model" coordinateSystemIdRef="base"/>
</Configuration>
<DataItems>
<DataItem type="SYSTEM" category="CONDITION" id="struct_cond"/>
</DataItems>
</Structure>
</Components>
</Structures>
</Components>
</Device>
</Devices>
~~~~
{: caption="SolidModel Example"}

### Specification Example

~~~~xml
<Components>
<Axes id="a" name="base">
<Components>
<Linear id="x" name="X">
<Configuration>
<Specifications>
<Specification id="spec001" type="LENGTH" units="MILLIMETER">
<Nominal>650</Nominal>
</Specification>
<Specification id="spec002" type="LINEAR_FORCE" units="NEWTON">
<Maximum>5200</Maximum>
<Minimum>0</Minimum>
</Specification>
</Specifications>
</Configuration>
<DataItems>
<DataItem id="xtravel" type="SYSTEM" category="CONDITION">
</DataItems>
</Linear>
</Components>
</Axes>
</Components>
~~~~
{: caption="Specification Example"}

### Example of sensing element provided as data item associated with a Component

~~~~xml
<Components>
<Axes id="a" name="base"
<Components>
<Rotary id="c" name="C">
<DataItems>
<DataItem type="TEMPERATURE" id="servotemp4"
category="SAMPLE" nativeUnits="CELSIUS"
compositionId="Bmotor" units="CELSIUS"/>
</DataItems>
</Rotary>
</Components>
</Axes>
</Components>
~~~~
{: caption="Example of sensing element provided as data item associated with a Component"}

### Example of Sensor for rotary axis

~~~~xml
<Components>
<Axes id="a" name="base"
<Components>
<Rotary id="ar" name="B">
<Components>
<Sensor id="spdlm" name="Spindlemonitor">
<DataItems>
<DataItem type="DISPLACEMENT" id="cvib"
category="SAMPLE" name="Svib"
units="MILLIMETER"/>
</DataItems>
</Sensor >
<Components>
</Rotary>
</Components>
</Axes>
</Components>
~~~~
{: caption="Example of Sensor for rotary axis"}

### Example of sensor unit with sensing element

~~~~xml
<Axes id="a" name="base"
<Components>
<Sensor id="sens1" name="Sensorunit">
<DataItems>
<DataItem type="TEMPERATURE" id="sentemp"
category="SAMPLE" name="Sensortemp"
units="CELSIUS"/>
</DataItems>
</Sensor >
<Linear id="x" name="X">
<DataItems>
<DataItem type="DISPLACEMENT" id="xvib"
category="SAMPLE" name="xvib"
units="MILLIMETER">
<Source componentId="sens1"/>
</DataItem>
</DataItems>
</Rotary>
<Linear id="y" name="Y">
<DataItems>
<DataItem type="DISPLACEMENT" id="yvib"
category="SAMPLE" name="yvib"
units="MILLIMETER">
<Source componentId="sens1"/>
</DataItem>
</DataItems>
</Linear>
<Components>
</Axes>
~~~~
{: caption="Example of sensor unit with sensing element"}

### Example of configuration data for Sensor

~~~~xml
<Sensor id="sensor" name="sensor">
<Configuration>
<SensorConfiguration>
<FirmwareVersion>2.02</FirmwareVersion>
<CalibrationDate>2010-05-16</CalibrationDate>
<NextCalibrationDate>2010-05-16</NextCalibrationDate>
<CalibrationInitials>WS</CalibrationInitials>
<Channels>
<Channel number="1" name="A/D:1">
<Description>A/D With Thermister</Description>
</Channel>
</Channels>
</SensorConfiguration>
</Configuration>
<DataItems>
<DataItem category="CONDITION" id="sensorc"
name="sensorc" type="SYSTEM" />
<DataItem category="SAMPLE" id="senv" name="sensorc"
type="VOLTAGE_DC" units="VOLT" subType="ACTUAL" />
</DataItems>
</Sensor>
~~~~
{: caption="Example of configuration data for Sensor"}




Observations Introduction

# Purpose of This Document

This document, Observation Information Model of the MTConnect Standard, establishes the rules and terminology that describes the information returned by an MTConnect Agent from a piece of equipment. The Observation Information Model}} also defines, in {{package(Observation Information Model, the structure for the response documents that are returned from an agent in response to a sample request or current request.

Observation Information Model is not a stand-alone document. This document is used in conjunction with Fundamentals which defines the fundamentals of the operation of the MTConnect Standard and Device Information Model that defines the semantic model representing the information that may be returned from a piece of equipment.

> Note: Interface Interaction Model provides details on extensions to the Observation Information Model required to describe the interactions between pieces of equipment.

In the MTConnect Standard, equipment represents any tangible property that is used in the operation of a manufacturing facility. Examples of equipment are machine tools, ovens, sensor units, workstations, software applications, and bar feeders.

# Terminology and Conventions

Refer to Fundamentals for a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard.

{{printglossary[title=General Terms, type=general]()}}
{{printglossary[title=Information Model Terms, type=informationmodel]()}}
{{printglossary[title=Protocol Terms, type=protocol]()}}
{{printglossary[title=HTTP Terms, type=http]()}}
{{printglossary[title=XML Terms, type=xml]()}}
{{printglossary[title=MTConnect Terms, type=conceptmodel]()}}

{{printacronyms()}}

{{printbibliography[title=MTConnect References,keyword=MTC]()}}

{{printbibliography[title=Other References,notkeyword=MTC]()}}

{{glsaddall()}}




Observations Appendix

{{newpage()}}

## XML Schema Diagrams

### Observations Schema Diagrams

See Streams element in MTConnectStreams schema.

See DeviceStream element in MTConnectStreams schema.

See ComponentStream element in MTConnectStreams schema.

See Sample element in MTConnectStreams schema.

See Event element in MTConnectStreams schema.

See Condition element in MTConnectStreams schema.

### Representation Schema Diagrams

See AbsTimeSeries element in MTConnectStreams schema.

See PartCountDiscrete element in MTConnectStreams schema.

See VariableDataSet element in MTConnectStreams schema.

See Entry element in MTConnectStreams schema.

See WorkOffsetTable element in MTConnectStreams schema.

## XML Examples

### DeviceStream Example

~~~~xml
<Streams>
<DeviceStream name="M12346" uuid="M8010W4194N">
<ComponentStream component="Device" name="M12346" componentId="d1">
<Events>
<Availability dataItemId="avail" sequence="156" timestamp="2021-10-01T14:26:38.668505Z">AVAILABLE</Availability>
<AssetChanged assetType="CuttingTool" dataItemId="d1_asset_chg" sequence="75570" timestamp="2021-10-07T05:08:53.870206Z">M8010W4194N1.120</AssetChanged>
<AssetRemoved assetType="CuttingTool" dataItemId="d1_asset_rem" sequence="140" timestamp="2021-10-01T11:40:08.101461Z">UNAVAILABLE</AssetRemoved>
</Events>
</ComponentStream>
<ComponentStream component="Controller" name="controller" componentId="cont">
<Events>
<EmergencyStop dataItemId="estop" sequence="159" timestamp="2021-10-01T14:26:38.66869Z">ARMED</EmergencyStop>
</Events>
<Samples>
<AccumulatedTime dataItemId="cut_time" sequence="75437" timestamp="2021-10-07T05:08:28.221704Z">1763070.0</AccumulatedTime>
</Samples>
<Condition>
<Unavailable dataItemId="cont_system" sequence="72" timestamp="2021-10-11T21:04:03.251999Z" type="SYSTEM"/>
<Warning dataItemId="cont_system" nativecode="313" nativeSeverity="50" sequence="75573" timestamp="2021-10-07T05:08:58.518317Z" type="LOGIC_PROGRAM">PALLET ARM DOWN RS. MALF.</Warning>
</Condition>
</ComponentStream>
<ComponentStream component="Path" name="path" componentId="path1">
<Events>
<Execution dataItemId="execution" name="execution" sequence="222623" timestamp="2021-10-12T06:04:32.761198Z">INTERRUPTED</Execution>
<VariableDataSet count="2" dataItemId="cvars" sequence="126513" timestamp="2021-10-12T03:57:31.106559Z">
<Entry key="100">66.3314</Entry>
<Entry key="101">167.2</Entry>
</VariableDataSet>
<WorkOffsetTable count="2" dataItemId="woffset" sequence="222101" timestamp="2021-10-12T06:04:11.990531Z">
<Entry key="G53.1">
<Cell key="X">1</Cell>
<Cell key="Y">2</Cell>
<Cell key="Z">3</Cell>
</Entry>
<Entry key="G53.2">
<Cell key="X">4</Cell>
<Cell key="Y">5</Cell>
<Cell key="Z">6</Cell>
</Entry>
</WorkOffsetTable>
</Events>
<Samples>
<CuttingSpeed dataItemId="cspeed" sequence="112" timestamp="2021-10-07T05:08:28.221704Z" subType="ACTUAL">UNAVAILABLE</CuttingSpeed>
</Samples>
<Condition>
<Normal dataItemId="path_system" sequence="153" timestamp="2021-10-11T21:04:03.262845Z" type="SYSTEM"/>
</Condition>
</ComponentStream>
</DeviceStream>
</Streams>
~~~~
{: caption="DeviceStream Example"}

### Observations made for DataItem Example

~~~~xml
<Components>
<Controller id="cont" name="controller">
<DataItems>
<DataItem category="EVENT" id="estop" name="estop" type="EMERGENCY_STOP"/>
</DataItems>
</Controller>
</Components>
~~~~
{: caption="MTConnectDevices Response Document"}

~~~~xml
<ComponentStream component="Controller" name="controller" componentId="cont">
<Events>
<EmergencyStop dataItemId="estop" sequence="159" timestamp="2021-10-01T14:26:38.66869Z">ARMED</EmergencyStop>
</Events>
</ComponentStream>
~~~~
{: caption="MTConnectStreams Response Document"}

### Sample Example

~~~~xml
<Samples>
<AccumulatedTime dataItemId="cut_time" sequence="75437" timestamp="2021-10-07T05:08:28.221704Z">1763070.0</AccumulatedTime>
<CuttingSpeed dataItemId="cspeed" sequence="112" timestamp="2021-10-07T05:08:28.221704Z" subType="ACTUAL">UNAVAILABLE</CuttingSpeed>
</Samples>
~~~~
{: caption="Sample Example"}

### Event Example

~~~~xml
<Events>
<Availability dataItemId="avail" sequence="156" timestamp="2021-10-01T14:26:38.668505Z">AVAILABLE</Availability>
<AssetRemoved assetType="CuttingTool" dataItemId="d1_asset_rem" sequence="140" timestamp="2021-10-01T11:40:08.101461Z">UNAVAILABLE</AssetRemoved>
</Events>
~~~~
{: caption="Event Example"}

### Condition Example

Condition types are represented differently in XML when compared to Sample and Event types. The element name is the condition state of the Condition type in Pascal Case. The name of the Condition type is represented by the attribute type.

If the condition state is unavailable then the element name is represented by Unavailable.

~~~~xml
<Condition>
<Unavailable dataItemId="cont_system" sequence="72" timestamp="2021-10-11T21:04:03.251999Z" type="SYSTEM"/>
<Normal dataItemId="path_system" sequence="153" timestamp="2021-10-11T21:04:03.262845Z" type="SYSTEM"/>
<Warning dataItemId="cont_system" nativecode="313" nativeSeverity="50" sequence="75573" timestamp="2021-10-07T05:08:58.518317Z" type="LOGIC_PROGRAM">PALLET ARM DOWN RS. MALF.</Warning>
</Condition>
~~~~
{: caption="Condition Example"}

### DataSet Example

~~~~xml
<Events>
<VariableDataSet count="2" dataItemId="cvars" sequence="126513" timestamp="2021-10-12T03:57:31.106559Z">
<Entry key="100">66.3314</Entry>
<Entry key="101">167.2</Entry>
</VariableDataSet>
</Events>
~~~~
{: caption="DataSet Example"}

### Table Example

~~~~xml
<Events>
<WorkOffsetTable count="2" dataItemId="woffset" sequence="222101" timestamp="2021-10-12T06:04:11.990531Z">
<Entry key="G53.1">
<Cell key="X">1</Cell>
<Cell key="Y">2</Cell>
<Cell key="Z">3</Cell>
</Entry>
<Entry key="G53.2">
<Cell key="X">4</Cell>
<Cell key="Y">5</Cell>
<Cell key="Z">6</Cell>
</Entry>
</WorkOffsetTable>
</Events>
~~~~
{: caption="Table Example"}




Interfaces Introduction

# Purpose of This Document

This document, Interface Interaction Model of the MTConnect Standard, defines a structured data model used to organize information required to coordinate inter-operations between pieces of equipment.

This data model is based on an interaction model that defines the exchange of information between pieces of equipment and is organized in the MTConnect Standard by Interfaces.

Interfaces is modeled as an extension to the Device Information Model and Observation Information Model. Interfaces leverages similar rules and terminology as those used to describe a component in the Device Information Model. Interfaces also uses similar methods for reporting data to those used in the MTConnectStreams Response Document.

As defined in Device Information Model, Interfaces organizes the Interface types (see {{figure(Interfaces in Entity Hierarchy)}}). Each individual Interface contains data associated with the corresponding interface.

> Note: See Device Information Model and Observation Information Model of the MTConnect Standard for information on how Interfaces is structured in the response documents which are returned from an agent in response to a probe request, sample request, or current request.

# Terminology and Conventions

Refer to Fundamentals for a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard.

{{printglossary[title=General Terms, type=general]()}}
{{printglossary[title=Information Model Terms, type=informationmodel]()}}
{{printglossary[title=Protocol Terms, type=protocol]()}}
{{printglossary[title=HTTP Terms, type=http]()}}
{{printglossary[title=XML Terms, type=xml]()}}
{{printglossary[title=MTConnect Terms, type=conceptmodel]()}}

{{printacronyms()}}

{{printbibliography[title=MTConnect References,keyword=MTC]()}}

{{printbibliography[title=Other References,notkeyword=MTC]()}}

{{glsaddall()}}




Fundamentals Appendix

{{newpage()}}

## Fundamentals of Using XML to Encode Response Documents

The MTConnect Standard specifies the structures and constructs that are used to encode response documents. When these response documents are encoded using XML, there are additional rules defined by the XML standard that apply for creating an XML compliant document. An implementer should refer to the W3C website for additional information on XML documentation and implementation details - http://www.w3.org/XML.

The following provides specific terms and guidelines referenced in the MTConnect Standard for forming response documents with XML:


* tag: A tag is an XML construct that forms the foundation for an XML expression. It defines the scope (beginning and end) of an XML expression. The main types of tags are:

* start-tag: Designates the beginning on an XML element; e.g., <element name>

* end-tag: Designates the end on an XML element; e.g., </element name>.


> Note: If an element has no child elements or CDATA, the end-tag may be shortened to />.


* Element: An element is an XML statement that is the primary building block for a document encoded using XML. An element begins with a start-tag and ends with a matching end-tag. The characters between the start-tag and the end-tag are the element's content. The content may contain attributes, CDATA, and/or other elements. If the content contains additional elements, these elements are called child elements.

An example would be: <element name>Content of the Element</element name>.

* child element: An XML element that is contained within a higher-level parent element. A child element is also known as a sub-element. XML allows an unlimited hierarchy of parent element-child element relationships that establishes the structure that defines how the various pieces of information in the document relate to each other. A parent element may have multiple associated child elements.

* element name: A descriptive identifier contained in both the start-tag and end-tag that provides the name of an XML element.

* Attribute: A construct consisting of a name–value pair that provides additional information about that XML element. The format for an attribute is `name="value"; where the value for the attribute is enclosed in a set of quotation (“) marks. An XML attribute MUST only have a single value and each attribute can appear at most once in each element. Also, each attribute MUST be defined in a schema to either be required or optional.

* An example of attributes for an XML element is {{lst(example-of-attributes-for-an-element)}}:

~~~~xml
<DataItem category="SAMPLE" id="S1load"
nativeUnits="PERCENT" type="LOAD"
units="PERCENT"/>
~~~~
{: caption="Example of attributes for an element"}

In this example, DataItem is the element name. category, id, nativeUnits, type, and units are the names of the attributes. “SAMPLE", “S1load", “PERCENT", “LOAD", and “PERCENT" are the values for each of the respective attributes.

CDATA: CDATA is an XML term representing Character Data. Character Data* contains a value(s) or text that is associated with an XML element. CDATA can be restricted to certain formats, patterns, or words.

An example of CDATA associated with an XML element would be {{lst(example-of-cdata-associated-with-element)}}:

~~~~xml
<Message id="M1">This is some text</Message>
~~~~
{: caption="Example of cdata associated with element"}

In this example, Message is the element name and This is some text is the CDATA.

* namespace: An XML namespace defines a unique vocabulary for named elements and attributes in an XML document. An XML document may contain content that is associated with multiple namespaces. Each namespace has its own unique identifier.

Elements and attributes are associated with a specific namespace by placing a prefix on the name of the element or attribute that associates that name to a specific namespace; e.g., x:MyTarget associates the element name MyTarget with the namespace designated by x: (the prefix).

namespaces are used to avoid naming conflicts within an XML document. The naming convention used for elements and attributes may be associated with either the default namespace specified in the header of an XML document or they may be associated with one or more alternate namespaces. All elements or attributes associated with a namespace that is not the default namespace, must include a prefix (e.g., x:) as part of the name of the element or attribute to associate it with the proper namespace. See Schema and Namespace Declaration Information for details on the structure for XML headers.

The names of the elements and attributes declared in a namespace may be identified with a different prefix than the prefix that signifies that specific namespace. These prefixes are called namespace aliases. As an example, MTConnect Standard specific namespaces are designated as m: and the names of the elements and attributes defined in that namespace have an alias prefix of mt: which designates these names as MTConnect Standard specific vocabulary; e.g., mt:MTConnectDevices.


XML documents are encoded with a hierarchy of elements. In general, XML elements may contain child elements, CDATA, or both. However, in the MTConnect Standard, an element MUST NOT contain mixed content; meaning it cannot contain both child elements and CDATA.

The semantic data model defined for each response document specifies the elements and child elements that may appear in a document. The semantic data model also defines the number of times each element and child element may appear in the document.

{{lst(example-of-hierarchy-of-xml-elements)}} demonstrates the hierarchy of XML elements and child elements used to form an XML document:

~~~~xml
<Root Level> (Parent Element)
<First Level> (Child Element to Root Level and
Parent Element to Second Level)
<Second Level> (Child Element to First Level
and Parent Element to Third Level)
<Third Level name="N1"></Third Level>
(Child Element to Second Level)
<Third Level name="N2"></Third Level>
(Child Element to Second Level)
<Third Level name="N3"></Third Level>
(Child Element to Second Level)
</Second Level> (end-tag for Second Level)
</First Level> (end-tag for First Level)
</Root Level> (end-tag for Root Level)
~~~~
{: caption="Example of hierarchy of XML elements"}


In the {{lst(example-of-hierarchy-of-xml-elements)}}, Root Level and First Level have one child element (sub-elements) each and Second Level has three child elements; each called Third Level. Each Third Level element has a different name attribute. Each level in the structure is an element and each lower level element is a child element.

{{newpage()}}

## Schema and Namespace Declaration Information

There are four pseudo-attributes typically included in the header of a response document that declare the schema and namespace for the document. Each of these pseudo-attributes provides specific information for a client software application to properly interpret the content of the response document.

The pseudo-attributes include:

* xmlns:xsi – The xsi portion of this attribute name stands for XML Schema instance. An XML Schema instance provides information that may be used by a software application to interpret XML specific information within a document. See the W3C website for more details on xmlns:xsi.

* xmlns – Declares the default namespace associated with the content of the response document. The default namespace is considered to apply to all elements and attributes whenever the name of the element or attribute does not contain a prefix identifying an alternate namespace.

The value of this attribute is an URN identifying the name of the file that defines the details of the namespace content. This URN provides a unique identify for the namespace.

* xmlns:m – Declares the MTConnect specific namespace associated with the content of the response document. There may be multiple namespaces declared for an XML document. Each may be associated to the default namespace or it may be totally independent. The :m designates that this is a specific MTConnect namespace which is directly associated with the default namespace.


> Note: See Extensibility for details regarding extended namespaces.


The value associated with this attribute is an URN identifying the name of the file that defines the details of the namespace content.

* xsi:schemaLocation - Declares the name for the schema associated with the response document and the location of the file that contains the details of the schema for that document.

The value associated with this attribute has two parts:

* A URN identifying the name of the specific XML Schema instance associated with the response document.

* The path to the location where the file describing the specific XML Schema instance is located. If the file is located in the same root directory where the agent is installed, then the local path MAY be declared. Otherwise, a fully qualified URL must be declared to identify the location of the file.


> Note: In the format of the value associated with xsi:schemaLocation, the URN and the path to the schema file MUST be separated by a “space”.


In {{lst(example-of-schema-and-namespace-declaration)}}, the first line is the XML declaration. The second line is a root element called MTConnectDevices. The remaining four lines are the pseudo-attributes of MTCconnectDevices that declare the XML schema and namespace associated with an MTConnectDevices Response Document.

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectDevices
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xmlns="urn:mtconnect.org:MTConnectDevices:1.3"
xmlns:m="urn:mtconnect.org:MTConnectDevices:1.3"
xsi:schemaLocation="urn:mtconnect.org:
MTConnectDevices:1.3 /schemas/MTConnectDevices\_1.3.xsd">
~~~~
{: caption="Example of schema and namespace declaration"}

The format for the values provided for each of the pseudo-attributes MUST reference the semantic data model (e.g., MTConnectDevices, MTConnectStreams, MTConnectAssets, or MTConnectError) and the version (i.e.; 1.1, 1.2, 1.3, etc.) of the MTConnect Standard that depict the schema and namespace(s) associated with a specific response document.

When an implementer chooses to extend an MTConnect data model by adding custom data types or additional structural elements, the schema and namespace for that data model should be updated to reflect the additional content. When this is done, the namespace and schema information in the header should be updated to reflect the URI for the extended namespace and schema.

{{newpage()}}

## Extensibility

MTConnect is an extensible standard, which means that implementers MAY extend the data models defined in the various sections of the MTConnect Standard to include information required for a specific implementation. When these data models are encoded using XML, the methods for extending these data models are defined by the rules established for extending any XML schema (see the W3C website for more details on extending XML data models).

The following are typical extensions that MAY be considered in the MTConnect data models:

* Additional type and subtype values for DataItems.

* Additional structural elements as containers.

* Additional Composition elements.

* New Asset types that are sub-typed from the abstract Asset type.

* child elements that may be added to specific XML elements contained within the MTConnect Information Models. These extended elements MUST be identified in a separate namespace.


When extending an MTConnect data model, there are some basic rules restricting changes to the MTConnect data models.

When extending an MTConnect data model, an implementer:

* MUST NOT add new value for category for DataItems,

* MUST NOT add new root elements,

* SHOULD NOT add new top level Components, and

* MUST NOT add any new attributes or include any sub-elements to Composition.

> Note: Throughout the documents additional information is provided where extensibility may be acceptable or unacceptable to maintain compliance with the MTConnect Standard.

When a schema representing a data model is extended, the schema and namespace declaration at the beginning of the corresponding response document MUST be updated to reflect the new schema and namespace so that a client software application can properly validate the response document.

An XML example of a schema and namespace declaration, including an extended schema and namespace, is shown in {{lst(example-of-extended-schema-and-namespace-in-declaration)}}:

~~~~xml
<?xml version="1.0" encoding="UTF-8"?>
<MTConnectDevices
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
xmlns="urn:mtconnect.org:MTConnectDevices:1.3"
xmlns:m="urn:mtconnect.org:MTConnectDevices:1.3"
xmlns:x="urn:MyLocation:MyFile:MyVersion"
xsi:schemaLocation="urn:MyLocation:MyFile:MyVersion
/schemas/MyFileName.xsd" />
~~~~
{: caption="Example of extended schema and namespace in declaration"}

In this example:

* xmlns:x is added in Line 6 to identify the XML Schema instance for the extended schema. element names identified with an "x" prefix are associated with this specific XML Schema instance.

> Note: The "x" prefix MAY be replaced with any prefix that the implementer chooses for identifying the extended schema and namespace.

* xsi:schemaLocation is modified in Line 7 to associate the namespace URN with the URL specifying the location of schema file.

* MyLocation, MyFile, MyVersion, and MyFileName in Lines 6 and 7 MUST be replaced by the actual name, version, and location of the extended schema.

When an extended schema is implemented, each structural element, DataItem, and asset defined in the extended schema MUST be identified in each respective response document by adding a prefix to the XML element name associated with that structural element, DataItem, or asset. The prefix identifies the schema and namespace where that XML Element is defined.





Fundamentals Introduction

# Overview of MTConnect

MTConnect is a data and information exchange standard that is based on a data dictionary of terms describing information associated with manufacturing operations. The standard also defines a series of semantic data model that provide a clear and unambiguous representation of how that information relates to a manufacturing operation. The MTConnect Standard has been designed to enhance the data acquisition capabilities from equipment in manufacturing facilities, to expand the use of data driven decision making in manufacturing operations, and to enable software applications and manufacturing equipment to move toward a plug-and-play environment to reduce the cost of integration of manufacturing software systems.

The MTConnect standard supports two primary communications methods - request and response and publish and subscribe type of communications. The request and response communications structure is used throughout this document to describe the functionality provided by MTConnect. See Streaming Data for details describing the functionality of the publish and subscribe communications structure available from an agent.

Although the MTConnect Standard has been defined to specifically meet the requirements of the manufacturing industry, it can also be readily applied to other application areas as well.

The MTConnect Standard is an open, royalty free standard – meaning that it is available for anyone to download, implement, and utilize in software systems at no cost to the implementer.

The semantic data models defined in the MTConnect Standard provide the information required to fully characterize data with both a clear and unambiguous meaning and a mechanism to directly relate that data to the manufacturing operation where the data originated. Without a semantic data model, client software applications must apply an additional layer of logic to raw data to convey this same level of meaning and relationship to manufacturing operations. The approach provided in the MTConnect Standard for modeling and organizing data allows software applications to easily interpret data from a wide variety of data sources which reduces the complexity and effort to develop applications.

The data and information from a broad range of manufacturing equipment and systems are addressed by the MTConnect Standard. Where the data dictionary and semantic data models are insufficient to define some information within an implementation, an implementer may extend the data dictionary and semantic data model to address their specific requirements. See Extensibility for guidelines related to extensibility of the MTConnect Standard.

To assist in implementation, the MTConnect Standard is built upon the most prevalent standards in the manufacturing and software industries. This maximizes the number of software tools available for implementation and provides the highest level of interoperability with other standards, software applications, and equipment used throughout manufacturing operations.

Current MTConnect implementations are based on HTTP as a transport protocol and XML as a language for encoding each of the semantic data models into electronic documents. All software examples provided in the various MTConnect Standard documents are based on these two core technologies.

The base functionality defined in the MTConnect Standard is the data dictionary describing manufacturing information and the semantic data model. The transport protocol and the programming language used to represent or transfer the information provided by the semantic data models are not restricted in the standard to HTTP and XML. Therefore, other protocols and programming languages may be used to represent the semantic models and/or transport the information provided by these data models between an agent (server) and a client software application as may be required by a specific implementation.

> Note: The term "document" is used with different meanings in the MTConnect Standard:

* Meaning 1: The MTConnect Standard itself is comprised of multiple documents each addressing different aspects of the Standard. Each document is referred to as a Part of the Standard.

* Meaning 2: In an MTConnect implementation, the electronic documents that are published from a data source and stored by an agent.

* Meaning 3: In an MTConnect implementation, the electronic documents generated by an agent for transmission to a client software application.

The following will be used throughout the MTConnect Standard to distinguish between these different meanings for the term "document":

* MTConnect Document(s) or Document(s) shall be used to refer to printed or electronic document(s) that represent a Part(s) of the MTConnect Standard.

* All reference to electronic documents that are received from a data source and stored in an agent shall be referred to as document(s) and are typically provided with a prefix identifier; e.g. asset document.

* All references to electronic documents generated by an agent and sent to a client software application shall be referred to as a response document.

When used with no additional descriptor, the form "document" shall be used to refer to any printed or electronic document.

Manufacturing software systems implemented utilizing MTConnect can be represented by a very simple structure as shown in {{figure(Basic MTConnect Implementation Structure)}}.

![Basic MTConnect Implementation Structure](figures/basic-mtconnect-implementation-structure.png "Basic MTConnect Implementation Structure"){: width="0.8"}

The three basic modules that comprise a software system implemented using MTConnect are:

* Equipment: Any data source. In the MTConnect Standard, equipment is defined as any tangible property that is used to equip the operations of a manufacturing facility. Examples of equipment are machine tools, ovens, sensor units, workstations, software applications, and bar feeders.

* Agent: Software that collects data published from one or more piece(s) of equipment, organizes that data in a structured manner, and responds to requests for data from client software systems by providing a structured response in the form of a response document that is constructed using the semantic data models defined in the Standard.

> Note: The agent may be fully integrated into the piece of equipment or the agent may be independent of the piece of equipment. Implementation of an agent is the responsibility of the supplier of the piece of equipment and/or the implementer of the agent.

* Client Software Application: Software that requests data from agents and processes that data in support of manufacturing operations.

Based on {{figure(Basic MTConnect Implementation Structure)}}, it is important to understand that the MTConnect Standard only addresses the following functionality and behavior of an agent:

* the method used by a client software application to request information from an agent.

* the response that an agent provides to a client software application.

* a data dictionary used to provide consistency in understanding the meaning of data reported by a data source.

* the description of the semantic data models used to structure response documents provided by an agent to a client software application.

These functions are the primary building blocks that define the base functional structure of the MTConnect Standard.

There are a wide variety of data sources (equipment) and data consumption systems (client software systems) used in manufacturing operations. There are also many different uses for the data associated with a manufacturing operation. No single approach to implementing a data communication system can address all data exchange and data management functions typically required in the data driven manufacturing environment. MTConnect has been uniquely designed to address this diversity of data types and data usages by providing different semantic data models for different data application requirements:

* Data Collection: The most common use of data in manufacturing is the collection of data associated with the production of products and the operation of equipment that produces those products. The MTConnect Standard provides comprehensive semantic data models that represent data collected from manufacturing operations. These semantic data models are detailed in Device Information Model and Observation Information Model of the MTConnect Standard.

* Inter-operations Between Pieces of Equipment: The MTConnect Standard provides an interaction model that structures the information required to allow multiple pieces of equipment to coordinate actions required to implement manufacturing activities. This interaction model is an implementation of a request and response messaging structure. This interaction model is called Interfaces which is detailed in Interface Interaction Model of the MTConnect Standard.

* Shared Data: Certain information used in a manufacturing operation is commonly shared amongst multiple pieces of equipment and/or software applications. This information is not typically "owned" by any one manufacturing resource. The MTConnect Standard represents this information through a series of semantic data models – each describing different types of information used in the manufacturing environment. Each type of information is called an Asset. Assets are detailed in Asset Information Model, and its sub-Parts, of the MTConnect Standard.

# Purpose of This Document

This document, Fundamentals of the MTConnect Standard, addresses two major topics relating to the MTConnect Standard. The first sections of the document define the organization of the documents used to describe the MTConnect Standard; including the terms and terminology used throughout the Standard. The balance of the document defines the following:

* Operational concepts describing how an agent should organize and structure data that has been collected from a data source.

* Definition and structure of the response documents supplied by an agent.

* The protocol used by a client software application to communicate with an agent.


# Terminology and Conventions

This section provides a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard.

{{printglossary[title=General Terms, type=general]()}}
{{printglossary[title=Information Model Terms, type=informationmodel]()}}
{{printglossary[title=Protocol Terms, type=protocol]()}}
{{printglossary[title=HTTP Terms, type=http]()}}
{{printglossary[title=XML Terms, type=xml]()}}
{{printglossary[title=MTConnect Terms, type=conceptmodel]()}}

{{printacronyms()}}

{{printbibliography[title=MTConnect References,keyword=MTC]()}}

{{printbibliography[title=Other References,notkeyword=MTC]()}}

{{glsaddall()}}





+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class SupportingDocumentsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1589301330036_553673_25"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_91b028d_1589301330036_553673_25"; + /// Constant value for + public const string NAME = "Supporting Documents"; + /// Constant value for + public const string SUMMARY = @" Assets Appendix {{newpage()}} + +## XML Schema Diagrams + +See XML schemas for the MTConnect standard here: {{url(https://schemas.mtconnect.org/)}}. + +### Assets Schema Diagrams + +See `Asset` element in `MTConnectAssets` schema. + +See `Description` element in `MTConnectAssets` schema. + +### CuttingTool Schema Diagrams + +See `CuttingTool` element in `MTConnectAssets` schema. + +See `CuttingToolDefinition` element in `MTConnectAssets` schema. + +See `CuttingToolArchetypeReference` element in `MTConnectAssets` schema. + +### CuttingToolLifeCycle Schema Diagrams + +See `CuttingToolLifeCycle` element in `MTConnectAssets` schema. + +See `CutterStatus` element in `MTConnectAssets` schema. + +See `Location` element in `MTConnectAssets` schema. + +See `Measurement` element in `MTConnectAssets` schema. + +See `ProcessFeedRate` element in `MTConnectAssets` schema. + +See `ProcessSpindleSpeed` element in `MTConnectAssets` schema. + +See `ReconditionCount` element in `MTConnectAssets` schema. + +See `ToolLife` element in `MTConnectAssets` schema. + +### CuttingItem Schema Diagrams + +See `CuttingItems` element in `MTConnectAssets` schema. + +See `CuttingItem` element in `MTConnectAssets` schema. + +See `ItemLife` element in `MTConnectAssets` schema. + +### ISO 13399 Diagrams + +#### Measurement Diagrams + +![Cutting Tool Measurement 3](figures/Cutting%20Tool%20Measurement%203.png ""Cutting Tool Measurement 3""){: width=""0.8""} + +![Cutting Tool Measurement 4](figures/Cutting%20Tool%20Measurement%204.png ""Cutting Tool Measurement 4""){: width=""0.8""} + +![Cutting Tool Measurement 5](figures/Cutting%20Tool%20Measurement%205.png ""Cutting Tool Measurement 5""){: width=""0.8""} + +![Cutting Tool Measurement 6](figures/Cutting%20Tool%20Measurement%206.png ""Cutting Tool Measurement 6""){: width=""0.8""} + +![Cutting Tool Measurement 7](figures/Cutting%20Tool%20Measurement%207.png ""Cutting Tool Measurement 7""){: width=""0.8""} + +![Cutting Tool Measurement 8](figures/Cutting%20Tool%20Measurement%208.png ""Cutting Tool Measurement 8""){: width=""0.8""} + +### Cutting Tool Examples + +#### Shell Mill + +![Shell Mill Side View](figures/Shell%20Mill%20Side%20View.png ""Shell Mill Side View""){: width=""0.8""} + +![Indexable Insert Measurements](figures/Indexable%20Insert%20Measurements.png ""Indexable Insert Measurements""){: width=""0.8""} + +~~~~xml + + +
+ + + + NEW + 10000 + 9.22 + CV50 + + + 73.25 + + 222.25 + 82.55 + + 76.2 + + 120.65 + + 60.95 + 98.425 + + + + + 12.7 + + 2.56 + 12.7 + + + 0.8 + + + + + + + +~~~~ +{: caption=""Example for Indexable Insert Measurements""} + +{{pagebreak()}} + +#### Step Drill + +![Step Mill Side View](figures/Step%20Mill%20Side%20View.png ""Step Mill Side View""){: width=""0.8""} + +~~~~xml + + +
+ + + + Step Drill - KMT, B732A08500HP Grade KC7315 + Adapter - Parlec, C50-M12SF300-6 + + + NEW + 5893 + 2.5 + CV50 Taper + + 31.8 + 120.825 + 155.75 + 98.425 + 257.35 + + + > + + 8.5135 + 90 + 154.286 + 9 + 135 + + + > + + 12 + 122.493 + 9 + + + + + + + +~~~~ +{: caption=""Example for Step Mill Side View""} + +{{pagebreak()}} + +#### Shell Mill with Individual Loci + +![Shell Mill with Explicate Loci](figures/Shell%20Mill%20with%20Explicate%20Loci.png ""Shell Mill with Explicate Loci""){: width=""0.8""} + +~~~~xml + + +
+ + + Keyway: 55 degrees + + NEW + + 82.55 + 76.2 + 60.95 + + + + FLUTE: 1, ROW: 1 + + 55 + + + + FLUTE: 2-4, ROW: 1; FLUTE: 1-4, ROW 2-6 + + + + + + +~~~~ +{: caption=""Example for Shell Mill with Explicate Loci""} + +{{pagebreak()}} + +#### Drill with Individual Loci + +![Step Drill with Explicate Loci](figures/Step%20Drill%20with%20Explicate%20Loci.png ""Step Drill with Explicate Loci""){: width=""0.8""} + +~~~~xml + + +
+ + + + NEW + HSK63A + + 52.75 + 172.29 + 49 + 62.94 + + + + FLUTE: 1, ROW: 1 + + 154.42 + 19.844 + 140 + 45 + 39.8 + + + + FLUTE: 1-2, ROW: 2 + + 119.2 + 31 + + + + + + + +~~~~ +{: caption=""Example for Step Drill with Explicate Loci""} + +{{pagebreak()}} + +#### Shell Mill with Different Inserts on First Row + +![Shell Mill with Different Inserts on First Row](figures/Shell%20Mill%20with%20Different%20Inserts%20on%20First%20Row.png ""Shell Mill with Different Inserts on First Row""){: width=""0.8""} + +~~~~xml + + +
+ + + + NEW + + 47.8 + 50.8 + 78.74 + + + + FLUTE: 1-3, ROW: 1 + + 6.35 + + + + FLANGE: 1-4, ROW: 2-3 + + + + + + +~~~~ +{: caption=""Example for Shell Mill with Different Inserts on First Row""} + +### File Schema Diagrams + +See `File` element in `MTConnectAssets` schema. + +### RawMaterial Schema Diagrams + +See `RawMaterial` element in `MTConnectAssets` schema. + +### QIFDocumentWrapper Schema Diagrams + +See `QIFDocumentWrapper` element in `MTConnectAssets` schema. + Assets Introduction # Purpose of This Document + +This document, {{package(Asset Information Model)}} of the MTConnect Standard, details information that is common to all types of {{termplural(Asset)}}. Part 4.0 of the MTConnect Standard provide semantic models for entities that are used in the manufacturing process, but are not considered to be a piece of equipment. These entities are defined as {{termplural(Asset)}}. These {{termplural(asset)}} may be removed from a piece of equipment without detriment to the function of the equipment and can be associated with other pieces of equipment during their lifecycle. The data associated with these {{termplural(asset)}} may be retrieved from multiple sources that are each responsible for providing their knowledge of the {{term(asset)}}. + +# Terminology and Conventions + +Refer to {{package(Fundamentals)}} for a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard. + +{{printglossary[title=General Terms, type=general]()}} +{{printglossary[title=Information Model Terms, type=informationmodel]()}} +{{printglossary[title=Protocol Terms, type=protocol]()}} +{{printglossary[title=HTTP Terms, type=http]()}} +{{printglossary[title=XML Terms, type=xml]()}} +{{printglossary[title=MTConnect Terms, type=conceptmodel]()}} + +{{printacronyms()}} + +{{printbibliography[title=MTConnect References,keyword=MTC]()}} + +{{printbibliography[title=Other References,notkeyword=MTC]()}} + +{{glsaddall()}} + Devices Introduction # Purpose of This Document + +This document, {{package(Device Information Model)}} of the MTConnect Standard, establishes the rules and terminology to be used by designers to describe the function and operation of a piece of equipment and to define the data that is provided by an {{term(agent)}} from the equipment. The {{term(Device Information Model)}} also defines the structure for the {{term(response document)}} that is returned from an {{term(agent)}} in response to a {{term(probe request)}}. + +In the MTConnect Standard, equipment represents any tangible property that is used in the operations of a manufacturing facility. Examples of equipment are machine tools, ovens, sensor units, workstations, software applications, and bar feeders. + +> Note: See {{package(Observation Information Model)}} of the MTConnect Standard for details on the {{term(response document)}} that are returned from an {{term(agent)}} in response to a {{term(sample request)}} or {{term(current request)}}. + +# Terminology and Conventions + +Refer to {{package(Fundamentals)}} for a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard. + +{{printglossary[title=General Terms, type=general]()}} +{{printglossary[title=Information Model Terms, type=informationmodel]()}} +{{printglossary[title=Protocol Terms, type=protocol]()}} +{{printglossary[title=HTTP Terms, type=http]()}} +{{printglossary[title=XML Terms, type=xml]()}} +{{printglossary[title=MTConnect Terms, type=conceptmodel]()}} + +{{printacronyms()}} + +{{printbibliography[title=MTConnect References,keyword=MTC]()}} + +{{printbibliography[title=Other References,notkeyword=MTC]()}} + +{{glsaddall()}} + Devices Appendix {{newpage()}} + +## XML Schema Diagrams + +See XML schemas for the MTConnect standard here: {{url(https://schemas.mtconnect.org/)}}. + +### Components Schema Diagrams + +See `Components` element in `MTConnectDevices` schema. + +See `Description` element in `MTConnectDevices` schema. + +### DataItems Schema Diagrams + +See `DataItems` element in `MTConnectDevices` schema. + +See `Source` element in `MTConnectDevices` schema. + +See `Constraints` element in `MTConnectDevices` schema. + +See `Filter` element in `MTConnectDevices` schema. + +See `Definition` element in `MTConnectDevices` schema. + +### References Schema Diagrams + +See `References` element in `MTConnectDevices` schema. + +See `ComponentRef` element in `MTConnectDevices` schema. + +See `DataItemRef` element in `MTConnectDevices` schema. + +### Configuration Schema Diagrams + +See `Configuration` element in `MTConnectDevices` schema. + +See `CoordinateSystem` element in `MTConnectDevices` schema. + +See `Motion` element in `MTConnectDevices` schema. + +See `Relationships` element in `MTConnectDevices` schema. + +See `ComponentRelationship` element in `MTConnectDevices` schema. + +See `DeviceRelationship` element in `MTConnectDevices` schema. + +See `SensorConfiguration` element in `MTConnectDevices` schema. + +See `SolidModel` element in `MTConnectDevices` schema. + +See `Specifications` element in `MTConnectDevices` schema. + +See `ProcessSpecification` element in `MTConnectDevices` schema. + +## XML Examples + +### Device Entity Hierarchy Example + +~~~~xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +~~~~ +{: caption=""Device Entity Hierarchy Example""} + +### Component Example + +~~~~xml + + + Mill w/SMooth-G + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +~~~~ +{: caption=""Component Example""} + +### Component with Compositions Example + +In {{term(XML)}}, `Composition` types are represented differently than `Component` types. For `Component` types, the element name is Pascal Case of the `Component` type name. Whereas, the element name for all `Composition`types is `Composition` and the type is defined by the `type` attribute of the element (see example below). + +~~~~xml + + + + + + + + + +~~~~ +{: caption=""Component with Compositions Example""} + +### CoordinateSystem Example + +~~~~xml + + + Mill w/SMooth-G + + + + + + + + + + 0 0 0 + + + + 210 275 1430 + 0 0 0 + + + + + 0 0 0 + 0 0 0 + + + + + + +~~~~ +{: caption=""CoordinateSystem Example""} + +### Motion Example + +~~~~xml + + + Mill w/SMooth-G + + + + + + + + + + 0 0 0 + + + + 210 275 1430 + 0 0 0 + + + + + 0 0 0 + 0 0 0 + + + + + + + + + + + + 300 915 590 + 0 0 0 + + 1.0 0 0 + + + + + + + + + + + +~~~~ +{: caption=""Motion Example""} + +### Relationship Example + +~~~~xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +~~~~ +{: caption=""Relationship Example""} + +### SolidModel Example + +~~~~xml + + + Mill w/SMooth-G + + + + + + + + + + 0 0 0 + + + + 210 275 1430 + 0 0 0 + + + + + 0 0 0 + 0 0 0 + + + + + + + + + + 0 860 0 + -90 0 0 + + 0.001 0.001 0.001 + + + + + + + + + + + + + + + + +~~~~ +{: caption=""SolidModel Example""} + +### Specification Example + +~~~~xml + + + + + + + + 650 + + + 5200 + 0 + + + + + + + + + + +~~~~ +{: caption=""Specification Example""} + +### Example of sensing element provided as data item associated with a Component + +~~~~xml + + + + + + + + + + +~~~~ +{: caption=""Example of sensing element provided as data item associated with a Component""} + +### Example of Sensor for rotary axis + +~~~~xml + + + + + + + + + + + + + + +~~~~ +{: caption=""Example of Sensor for rotary axis""} + +### Example of sensor unit with sensing element + +~~~~xml + + + + + + + + + + + + + + + + + + + + + + +~~~~ +{: caption=""Example of sensor unit with sensing element""} + +### Example of configuration data for Sensor + +~~~~xml + + + + 2.02 + 2010-05-16 + 2010-05-16 + WS + + + A/D With Thermister + + + + + + + + + +~~~~ +{: caption=""Example of configuration data for Sensor""} + Observations Introduction # Purpose of This Document + +This document, {{package(Observation Information Model)}} of the MTConnect Standard, establishes the rules and terminology that describes the information returned by an {{term(MTConnect Agent)}} from a piece of equipment. The {{term(Observation Information Model}} also defines, in {{package(Observation Information Model)}}, the structure for the {{termplural(response document)}} that are returned from an {{term(agent)}} in response to a {{term(sample request)}} or {{term(current request)}}. + +{{package(Observation Information Model)}} is not a stand-alone document. This document is used in conjunction with {{package(Fundamentals)}} which defines the fundamentals of the operation of the MTConnect Standard and {{package(Device Information Model)}} that defines the semantic model representing the information that may be returned from a piece of equipment. + +> Note: {{package(Interface Interaction Model)}} provides details on extensions to the {{term(Observation Information Model)}} required to describe the interactions between pieces of equipment. + +In the MTConnect Standard, equipment represents any tangible property that is used in the operation of a manufacturing facility. Examples of equipment are machine tools, ovens, sensor units, workstations, software applications, and bar feeders. + +# Terminology and Conventions + +Refer to {{package(Fundamentals)}} for a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard. + +{{printglossary[title=General Terms, type=general]()}} +{{printglossary[title=Information Model Terms, type=informationmodel]()}} +{{printglossary[title=Protocol Terms, type=protocol]()}} +{{printglossary[title=HTTP Terms, type=http]()}} +{{printglossary[title=XML Terms, type=xml]()}} +{{printglossary[title=MTConnect Terms, type=conceptmodel]()}} + +{{printacronyms()}} + +{{printbibliography[title=MTConnect References,keyword=MTC]()}} + +{{printbibliography[title=Other References,notkeyword=MTC]()}} + +{{glsaddall()}} + Observations Appendix {{newpage()}} + +## XML Schema Diagrams + +### Observations Schema Diagrams + +See `Streams` element in `MTConnectStreams` schema. + +See `DeviceStream` element in `MTConnectStreams` schema. + +See `ComponentStream` element in `MTConnectStreams` schema. + +See `Sample` element in `MTConnectStreams` schema. + +See `Event` element in `MTConnectStreams` schema. + +See `Condition` element in `MTConnectStreams` schema. + +### Representation Schema Diagrams + +See `AbsTimeSeries` element in `MTConnectStreams` schema. + +See `PartCountDiscrete` element in `MTConnectStreams` schema. + +See `VariableDataSet` element in `MTConnectStreams` schema. + +See `Entry` element in `MTConnectStreams` schema. + +See `WorkOffsetTable` element in `MTConnectStreams` schema. + +## XML Examples + +### DeviceStream Example + +~~~~xml + + + + + AVAILABLE + M8010W4194N1.120 + UNAVAILABLE + + + + + ARMED + + + 1763070.0 + + + + PALLET ARM DOWN RS. MALF. + + + + + INTERRUPTED + + 66.3314 + 167.2 + + + + 1 + 2 + 3 + + + 4 + 5 + 6 + + + + + UNAVAILABLE + + + + + + + +~~~~ +{: caption=""DeviceStream Example""} + +### Observations made for DataItem Example + +~~~~xml + + + + + + + +~~~~ +{: caption=""MTConnectDevices Response Document""} + +~~~~xml + + + ARMED + + +~~~~ +{: caption=""MTConnectStreams Response Document""} + +### Sample Example + +~~~~xml + + 1763070.0 + UNAVAILABLE + +~~~~ +{: caption=""Sample Example""} + +### Event Example + +~~~~xml + + AVAILABLE + UNAVAILABLE + +~~~~ +{: caption=""Event Example""} + +### Condition Example + +{{block(Condition)}} types are represented differently in {{term(XML)}} when compared to {{block(Sample)}} and {{block(Event)}} types. The element name is the {{term(condition state)}} of the {{block(Condition)}} type in Pascal Case. The name of the {{block(Condition)}} type is represented by the attribute `type`. + +If the {{term(condition state)}} is unavailable then the element name is represented by `Unavailable`. + +~~~~xml + + + + PALLET ARM DOWN RS. MALF. + +~~~~ +{: caption=""Condition Example""} + +### DataSet Example + +~~~~xml + + + 66.3314 + 167.2 + + +~~~~ +{: caption=""DataSet Example""} + +### Table Example + +~~~~xml + + + + 1 + 2 + 3 + + + 4 + 5 + 6 + + + +~~~~ +{: caption=""Table Example""} + Interfaces Introduction # Purpose of This Document + +This document, {{package(Interface Interaction Model)}} of the MTConnect Standard, defines a structured data model used to organize information required to coordinate inter-operations between pieces of equipment. + +This data model is based on an {{term(interaction model)}} that defines the exchange of information between pieces of equipment and is organized in the MTConnect Standard by {{block(Interfaces)}}. + +{{block(Interfaces)}} is modeled as an extension to the {{term(Device Information Model)}} and {{term(Observation Information Model)}}. {{block(Interfaces)}} leverages similar rules and terminology as those used to describe a component in the {{term(Device Information Model)}}. {{block(Interfaces)}} also uses similar methods for reporting data to those used in the {{term(MTConnectStreams Response Document)}}. + +As defined in {{package(Device Information Model)}}, {{block(Interfaces)}} {{termplural(organize)}} the {{block(Interface)}} types (see {{figure(Interfaces in Entity Hierarchy)}}). Each individual {{block(Interface)}} contains data associated with the corresponding {{term(interface)}}. + +> Note: See {{package(Device Information Model)}} and {{package(Observation Information Model)}} of the MTConnect Standard for information on how {{block(Interfaces)}} is structured in the {{termplural(response document)}} which are returned from an {{term(agent)}} in response to a {{term(probe request)}}, {{term(sample request)}}, or {{term(current request)}}. + +# Terminology and Conventions + +Refer to {{package(Fundamentals)}} for a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard. + +{{printglossary[title=General Terms, type=general]()}} +{{printglossary[title=Information Model Terms, type=informationmodel]()}} +{{printglossary[title=Protocol Terms, type=protocol]()}} +{{printglossary[title=HTTP Terms, type=http]()}} +{{printglossary[title=XML Terms, type=xml]()}} +{{printglossary[title=MTConnect Terms, type=conceptmodel]()}} + +{{printacronyms()}} + +{{printbibliography[title=MTConnect References,keyword=MTC]()}} + +{{printbibliography[title=Other References,notkeyword=MTC]()}} + +{{glsaddall()}} + Fundamentals Appendix {{newpage()}} + +## Fundamentals of Using XML to Encode Response Documents + +The MTConnect Standard specifies the structures and constructs that are used to encode {{termplural(response document)}}. When these {{termplural(response document)}} are encoded using XML, there are additional rules defined by the XML standard that apply for creating an XML compliant document. An implementer should refer to the W3C website for additional information on XML documentation and implementation details - http://www.w3.org/XML. + +The following provides specific terms and guidelines referenced in the MTConnect Standard for forming {{termplural(response document)}} with XML: + + +* `tag`: A `tag` is an XML construct that forms the foundation for an XML expression. It defines the scope (beginning and end) of an XML expression. The main types of tags are: + +* `start-tag`: Designates the beginning on an XML element; e.g., <{{term(element name)}}> + +* `end-tag`: Designates the end on an XML element; e.g., . + + +> Note: If an element has no {{termplural(child element)}} or {{term(CDATA)}}, the `end-tag` may be shortened to />. + + +* `Element`: An element is an XML statement that is the primary building block for a document encoded using XML. An element begins with a `start-tag` and ends with a matching `end-tag`. The characters between the `start-tag` and the `end-tag` are the element's content. The content may contain attributes, {{term(CDATA)}}, and/or other elements. If the content contains additional elements, these elements are called {{termplural(child element)}}. + +An example would be: <{{term(element name)}}>Content of the Element. + +* {{term(child element)}}: An XML element that is contained within a higher-level {{term(parent element)}}. A {{term(child element)}} is also known as a sub-element. XML allows an unlimited hierarchy of {{term(parent element)}}-{{term(child element)}} relationships that establishes the structure that defines how the various pieces of information in the document relate to each other. A {{term(parent element)}} may have multiple associated {{termplural(child element)}}. + +* {{term(element name)}}: A descriptive identifier contained in both the `start-tag` and `end-tag` that provides the name of an XML element. + +* `Attribute`: A construct consisting of a name–value pair that provides additional information about that XML element. The format for an attribute is `name=""value""; where the value for the attribute is enclosed in a set of quotation (“) marks. An XML attribute **MUST** only have a single value and each attribute can appear at most once in each element. Also, each attribute **MUST** be defined in a {{term(schema)}} to either be required or optional. + +* An example of attributes for an XML element is {{lst(example-of-attributes-for-an-element)}}: + +~~~~xml + +~~~~ +{: caption=""Example of attributes for an element""} + +In this example, {{block(DataItem)}} is the {{term(element name)}}. `category`, `id`, `nativeUnits`, `type`, and `units` are the names of the attributes. “`SAMPLE`"", “`S1load`"", “`PERCENT`"", “`LOAD`"", and “`PERCENT`"" are the values for each of the respective attributes. + +* {{term(CDATA)}}: {{term(CDATA)}} is an XML term representing *Character Data*. *Character Data* contains a value(s) or text that is associated with an XML element. {{term(CDATA)}} can be restricted to certain formats, patterns, or words. + +An example of {{term(CDATA)}} associated with an XML element would be {{lst(example-of-cdata-associated-with-element)}}: + +~~~~xml +This is some text +~~~~ +{: caption=""Example of cdata associated with element""} + +In this example, `Message` is the {{term(element name)}} and `This is some text` is the {{term(CDATA)}}. + +* {{term(namespace)}}: An XML {{term(namespace)}} defines a unique vocabulary for named elements and attributes in an XML document. An XML document may contain content that is associated with multiple {{termplural(namespace)}}. Each {{term(namespace)}} has its own unique identifier. + +Elements and attributes are associated with a specific {{term(namespace)}} by placing a prefix on the name of the element or attribute that associates that name to a specific {{term(namespace)}}; e.g., `x:MyTarget` associates the element name `MyTarget` with the {{term(namespace)}} designated by `x:` (the prefix). + +{{termplural(namespace)}} are used to avoid naming conflicts within an XML document. The naming convention used for elements and attributes may be associated with either the default {{term(namespace)}} specified in the header of an XML document or they may be associated with one or more alternate {{termplural(namespace)}}. All elements or attributes associated with a {{term(namespace)}} that is not the default {{term(namespace)}}, must include a prefix (e.g., x:) as part of the name of the element or attribute to associate it with the proper {{term(namespace)}}. See {{sect(Schema and Namespace Declaration Information)}} for details on the structure for XML headers. + +The names of the elements and attributes declared in a {{term(namespace)}} may be identified with a different prefix than the prefix that signifies that specific {{term(namespace)}}. These prefixes are called {{term(namespace)}} aliases. As an example, MTConnect Standard specific {{termplural(namespace)}} are designated as `m:` and the names of the elements and attributes defined in that {{term(namespace)}} have an alias prefix of `mt:` which designates these names as MTConnect Standard specific vocabulary; e.g., `mt:MTConnectDevices`. + + +XML documents are encoded with a hierarchy of elements. In general, XML elements may contain {{termplural(child element)}}, {{term(CDATA)}}, or both. However, in the MTConnect Standard, an element **MUST NOT** contain mixed content; meaning it cannot contain both {{termplural(child element)}} and {{term(CDATA)}}. + +The {{term(semantic data model)}} defined for each {{term(response document)}} specifies the elements and {{termplural(child element)}} that may appear in a document. The {{term(semantic data model)}} also defines the number of times each element and {{term(child element)}} may appear in the document. + +{{lst(example-of-hierarchy-of-xml-elements)}} demonstrates the hierarchy of XML elements and {{termplural(child element)}} used to form an XML document: + +~~~~xml + (Parent Element) + (Child Element to Root Level and + Parent Element to Second Level) + (Child Element to First Level + and Parent Element to Third Level) + + (Child Element to Second Level) + + (Child Element to Second Level) + + (Child Element to Second Level) + (end-tag for Second Level) + (end-tag for First Level) + (end-tag for Root Level) +~~~~ +{: caption=""Example of hierarchy of XML elements""} + + +In the {{lst(example-of-hierarchy-of-xml-elements)}}, *Root Level* and *First Level* have one {{term(child element)}} (sub-elements) each and Second Level has three {{termplural(child element)}}; each called *Third Level*. Each *Third Level* element has a different name attribute. Each level in the structure is an element and each lower level element is a {{term(child element)}}. + +{{newpage()}} + +## Schema and Namespace Declaration Information + +There are four pseudo-attributes typically included in the header of a {{term(response document)}} that declare the {{term(schema)}} and {{term(namespace)}} for the document. Each of these pseudo-attributes provides specific information for a client software application to properly interpret the content of the {{term(response document)}}. + +The pseudo-attributes include: + +* `xmlns:xsi` – The `xsi` portion of this attribute name stands for {{term(XML Schema)}} instance. An {{term(XML Schema)}} instance provides information that may be used by a software application to interpret XML specific information within a document. See the W3C website for more details on `xmlns:xsi`. + +* `xmlns` – Declares the default {{term(namespace)}} associated with the content of the {{term(response document)}}. The default {{term(namespace)}} is considered to apply to all elements and attributes whenever the name of the element or attribute does not contain a prefix identifying an alternate {{term(namespace)}}. + +The value of this attribute is an URN identifying the name of the file that defines the details of the {{term(namespace)}} content. This URN provides a unique identify for the {{term(namespace)}}. + +* `xmlns:m` – Declares the MTConnect specific {{term(namespace)}} associated with the content of the {{term(response document)}}. There may be multiple {{termplural(namespace)}} declared for an XML document. Each may be associated to the default {{term(namespace)}} or it may be totally independent. The `:m` designates that this is a specific MTConnect {{term(namespace)}} which is directly associated with the default {{term(namespace)}}. + + +> Note: See {{sect(Extensibility)}} for details regarding extended {{termplural(namespace)}}. + + +The value associated with this attribute is an URN identifying the name of the file that defines the details of the {{term(namespace)}} content. + +* `xsi:schemaLocation` - Declares the name for the {{term(schema)}} associated with the {{term(response document)}} and the location of the file that contains the details of the {{term(schema)}} for that document. + +The value associated with this attribute has two parts: + + * A URN identifying the name of the specific {{term(XML Schema)}} instance associated with the {{term(response document)}}. + + * The path to the location where the file describing the specific {{term(XML Schema)}} instance is located. If the file is located in the same root directory where the {{term(agent)}} is installed, then the local path MAY be declared. Otherwise, a fully qualified URL must be declared to identify the location of the file. + + +> Note: In the format of the value associated with `xsi:schemaLocation`, the URN and the path to the {{term(schema)}} file **MUST** be separated by a “space”. + + +In {{lst(example-of-schema-and-namespace-declaration)}}, the first line is the XML declaration. The second line is a {{term(root element)}} called `MTConnectDevices`. The remaining four lines are the pseudo-attributes of `MTCconnectDevices` that declare the XML {{term(schema)}} and {{term(namespace)}} associated with an {{term(MTConnectDevices Response Document)}}. + +~~~~xml + + +~~~~ +{: caption=""Example of schema and namespace declaration""} + +The format for the values provided for each of the pseudo-attributes **MUST** reference the {{term(semantic data model)}} (e.g., `MTConnectDevices`, `MTConnectStreams`, `MTConnectAssets`, or `MTConnectError`) and the version (i.e.; `1.1`, `1.2`, `1.3`, etc.) of the MTConnect Standard that depict the {{term(schema)}} and {{term(namespace)}}(s) associated with a specific {{term(response document)}}. + +When an implementer chooses to extend an MTConnect {{term(data model)}} by adding custom data types or additional {{termplural(structural element)}}, the {{term(schema)}} and {{term(namespace)}} for that {{term(data model)}} should be updated to reflect the additional content. When this is done, the {{term(namespace)}} and {{term(schema)}} information in the header should be updated to reflect the URI for the extended {{term(namespace)}} and {{term(schema)}}. + +{{newpage()}} + +## Extensibility + +MTConnect is an extensible standard, which means that implementers **MAY** extend the {{termplural(data model)}} defined in the various sections of the MTConnect Standard to include information required for a specific implementation. When these {{termplural(data model)}} are encoded using XML, the methods for extending these {{termplural(data model)}} are defined by the rules established for extending any XML schema (see the W3C website for more details on extending XML data models). + +The following are typical extensions that **MAY** be considered in the MTConnect {{termplural(data model)}}: + +* Additional `type` and `subtype` values for {{termplural(DataItem)}}. + +* Additional {{termplural(structural element)}} as containers. + +* Additional {{block(Composition)}} elements. + +* New {{block(Asset)}} types that are sub-typed from the abstract {{block(Asset)}} type. + +* {{termplural(child element)}} that may be added to specific XML elements contained within the {{termplural(MTConnect Information Model)}}. These extended elements **MUST** be identified in a separate {{term(namespace)}}. + + +When extending an MTConnect {{term(data model)}}, there are some basic rules restricting changes to the MTConnect {{termplural(data model)}}. + +When extending an MTConnect {{term(data model)}}, an implementer: + +* **MUST NOT** add new value for category for {{termplural(DataItem)}}, + +* **MUST NOT** add new {{termplural(root element)}}, + +* **SHOULD NOT** add new {{term(top level)}} {{termplural(Component)}}, and + +* **MUST NOT** add any new attributes or include any sub-elements to {{block(Composition)}}. + +> Note: Throughout the documents additional information is provided where extensibility may be acceptable or unacceptable to maintain compliance with the MTConnect Standard. + +When a {{term(schema)}} representing a {{term(data model)}} is extended, the {{term(schema)}} and {{term(namespace)}} declaration at the beginning of the corresponding {{term(response document)}} **MUST** be updated to reflect the new {{term(schema)}} and {{term(namespace)}} so that a client software application can properly validate the {{term(response document)}}. + +An XML example of a {{term(schema)}} and {{term(namespace)}} declaration, including an extended {{term(schema)}} and {{term(namespace)}}, is shown in {{lst(example-of-extended-schema-and-namespace-in-declaration)}}: + +~~~~xml + + +~~~~ +{: caption=""Example of extended schema and namespace in declaration""} + +In this example: + +* `xmlns:x` is added in Line 6 to identify the {{term(XML Schema)}} instance for the extended {{term(schema)}}. {{termplural(element name)}} identified with an ""`x`"" prefix are associated with this specific {{term(XML Schema)}} instance. + +> Note: The ""`x`"" prefix **MAY** be replaced with any prefix that the implementer chooses for identifying the extended {{term(schema)}} and {{term(namespace)}}. + +* `xsi:schemaLocation` is modified in Line 7 to associate the {{term(namespace)}} URN with the URL specifying the location of {{term(schema)}} file. + +* `MyLocation`, `MyFile`, `MyVersion`, and `MyFileName` in Lines 6 and 7 **MUST** be replaced by the actual name, version, and location of the extended {{term(schema)}}. + +When an extended {{term(schema)}} is implemented, each {{term(structural element)}}, {{term(DataItem)}}, and {{term(asset)}} defined in the extended {{term(schema)}} **MUST** be identified in each respective {{term(response document)}} by adding a prefix to the XML {{term(element name)}} associated with that {{term(structural element)}}, {{term(DataItem)}}, or {{term(asset)}}. The prefix identifies the {{term(schema)}} and {{term(namespace)}} where that XML Element is defined. + + Fundamentals Introduction # Overview of MTConnect + +MTConnect is a data and information exchange standard that is based on a {{term(data dictionary)}} of terms describing information associated with manufacturing operations. The standard also defines a series of {{term(semantic data model)}} that provide a clear and unambiguous representation of how that information relates to a manufacturing operation. The MTConnect Standard has been designed to enhance the data acquisition capabilities from equipment in manufacturing facilities, to expand the use of data driven decision making in manufacturing operations, and to enable software applications and manufacturing equipment to move toward a plug-and-play environment to reduce the cost of integration of manufacturing software systems. + +The MTConnect standard supports two primary communications methods - {{term(request and response)}} and {{term(publish and subscribe)}} type of communications. The {{term(request and response)}} communications structure is used throughout this document to describe the functionality provided by MTConnect. See {{sect(Streaming Data)}} for details describing the functionality of the {{term(publish and subscribe)}} communications structure available from an {{term(agent)}}. + +Although the MTConnect Standard has been defined to specifically meet the requirements of the manufacturing industry, it can also be readily applied to other application areas as well. + +The MTConnect Standard is an open, royalty free standard – meaning that it is available for anyone to download, implement, and utilize in software systems at no cost to the implementer. + +The {{termplural(semantic data model)}} defined in the MTConnect Standard provide the information required to fully characterize data with both a clear and unambiguous meaning and a mechanism to directly relate that data to the manufacturing operation where the data originated. Without a {{term(semantic data model)}}, client software applications must apply an additional layer of logic to raw data to convey this same level of meaning and relationship to manufacturing operations. The approach provided in the MTConnect Standard for modeling and organizing data allows software applications to easily interpret data from a wide variety of data sources which reduces the complexity and effort to develop applications. + +The data and information from a broad range of manufacturing equipment and systems are addressed by the MTConnect Standard. Where the {{term(data dictionary)}} and {{termplural(semantic data model)}} are insufficient to define some information within an implementation, an implementer may extend the {{term(data dictionary)}} and {{term(semantic data model)}} to address their specific requirements. See {{sect(Extensibility)}} for guidelines related to extensibility of the MTConnect Standard. + +To assist in implementation, the MTConnect Standard is built upon the most prevalent standards in the manufacturing and software industries. This maximizes the number of software tools available for implementation and provides the highest level of interoperability with other standards, software applications, and equipment used throughout manufacturing operations. + +Current MTConnect implementations are based on HTTP as a transport protocol and XML as a language for encoding each of the {{termplural(semantic data model)}} into electronic documents. All software examples provided in the various MTConnect Standard documents are based on these two core technologies. + +The base functionality defined in the MTConnect Standard is the {{term(data dictionary)}} describing manufacturing information and the {{term(semantic data model)}}. The transport protocol and the programming language used to represent or transfer the information provided by the {{termplural(semantic data model)}} are not restricted in the standard to HTTP and XML. Therefore, other protocols and programming languages may be used to represent the semantic models and/or transport the information provided by these data models between an {{term(agent)}} (server) and a client software application as may be required by a specific implementation. + +> Note: The term ""document"" is used with different meanings in the MTConnect Standard: + +* Meaning 1: The MTConnect Standard itself is comprised of multiple documents each addressing different aspects of the Standard. Each document is referred to as a Part of the Standard. + +* Meaning 2: In an MTConnect implementation, the electronic documents that are published from a data source and stored by an {{term(agent)}}. + +* Meaning 3: In an MTConnect implementation, the electronic documents generated by an {{term(agent)}} for transmission to a client software application. + +The following will be used throughout the MTConnect Standard to distinguish between these different meanings for the term ""document"": + +* MTConnect Document(s) or Document(s) shall be used to refer to printed or electronic document(s) that represent a Part(s) of the MTConnect Standard. + +* All reference to electronic documents that are received from a data source and stored in an {{term(agent)}} shall be referred to as {{term(document)}}(s) and are typically provided with a prefix identifier; e.g. asset document. + +* All references to electronic documents generated by an {{term(agent)}} and sent to a client software application shall be referred to as a {{term(response document)}}. + +When used with no additional descriptor, the form ""document"" shall be used to refer to any printed or electronic document. + +Manufacturing software systems implemented utilizing MTConnect can be represented by a very simple structure as shown in {{figure(Basic MTConnect Implementation Structure)}}. + +![Basic MTConnect Implementation Structure](figures/basic-mtconnect-implementation-structure.png ""Basic MTConnect Implementation Structure""){: width=""0.8""} + +The three basic modules that comprise a software system implemented using MTConnect are: + +* Equipment: Any data source. In the MTConnect Standard, equipment is defined as any tangible property that is used to equip the operations of a manufacturing facility. Examples of equipment are machine tools, ovens, sensor units, workstations, software applications, and bar feeders. + +* Agent: Software that collects data published from one or more piece(s) of equipment, organizes that data in a structured manner, and responds to requests for data from client software systems by providing a structured response in the form of a {{term(response document)}} that is constructed using the {{termplural(semantic data model)}} defined in the Standard. + + > Note: The {{term(agent)}} may be fully integrated into the piece of equipment or the {{term(agent)}} may be independent of the piece of equipment. Implementation of an {{term(agent)}} is the responsibility of the supplier of the piece of equipment and/or the implementer of the {{term(agent)}}. + +* Client Software Application: Software that requests data from {{termplural(agent)}} and processes that data in support of manufacturing operations. + +Based on {{figure(Basic MTConnect Implementation Structure)}}, it is important to understand that the MTConnect Standard only addresses the following functionality and behavior of an {{term(agent)}}: + +* the method used by a client software application to request information from an {{term(agent)}}. + +* the response that an {{term(agent)}} provides to a client software application. + +* a {{term(data dictionary)}} used to provide consistency in understanding the meaning of data reported by a data source. + +* the description of the {{termplural(semantic data model)}} used to structure {{termplural(response document)}} provided by an {{term(agent)}} to a client software application. + +These functions are the primary building blocks that define the base functional structure of the MTConnect Standard. + +There are a wide variety of data sources (equipment) and data consumption systems (client software systems) used in manufacturing operations. There are also many different uses for the data associated with a manufacturing operation. No single approach to implementing a data communication system can address all data exchange and data management functions typically required in the data driven manufacturing environment. MTConnect has been uniquely designed to address this diversity of data types and data usages by providing different {{termplural(semantic data model)}} for different data application requirements: + +* Data Collection: The most common use of data in manufacturing is the collection of data associated with the production of products and the operation of equipment that produces those products. The MTConnect Standard provides comprehensive {{termplural(semantic data model)}} that represent data collected from manufacturing operations. These {{termplural(semantic data model)}} are detailed in {{package(Device Information Model)}} and {{package(Observation Information Model)}} of the MTConnect Standard. + +* Inter-operations Between Pieces of Equipment: The MTConnect Standard provides an {{term(interaction model)}} that structures the information required to allow multiple pieces of equipment to coordinate actions required to implement manufacturing activities. This {{term(interaction model)}} is an implementation of a {{term(request and response)}} messaging structure. This {{term(interaction model)}} is called {{block(Interfaces)}} which is detailed in {{package(Interface Interaction Model)}} of the MTConnect Standard. + +* Shared Data: Certain information used in a manufacturing operation is commonly shared amongst multiple pieces of equipment and/or software applications. This information is not typically ""owned"" by any one manufacturing resource. The MTConnect Standard represents this information through a series of {{termplural(semantic data model)}} – each describing different types of information used in the manufacturing environment. Each type of information is called an {{term(Asset)}}. {{termplural(Asset)}} are detailed in {{package(Asset Information Model)}}, and its sub-Parts, of the MTConnect Standard. + +# Purpose of This Document + +This document, {{package(Fundamentals)}} of the MTConnect Standard, addresses two major topics relating to the MTConnect Standard. The first sections of the document define the organization of the documents used to describe the MTConnect Standard; including the terms and terminology used throughout the Standard. The balance of the document defines the following: + +* Operational concepts describing how an {{term(agent)}} should organize and structure data that has been collected from a data source. + +* Definition and structure of the {{termplural(response document)}} supplied by an {{term(agent)}}. + +* The protocol used by a client software application to communicate with an {{term(agent)}}. + + +# Terminology and Conventions + +This section provides a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard. + +{{printglossary[title=General Terms, type=general]()}} +{{printglossary[title=Information Model Terms, type=informationmodel]()}} +{{printglossary[title=Protocol Terms, type=protocol]()}} +{{printglossary[title=HTTP Terms, type=http]()}} +{{printglossary[title=XML Terms, type=xml]()}} +{{printglossary[title=MTConnect Terms, type=conceptmodel]()}} + +{{printacronyms()}} + +{{printbibliography[title=MTConnect References,keyword=MTC]()}} + +{{printbibliography[title=Other References,notkeyword=MTC]()}} + +{{glsaddall()}} + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + CommonDocumentsPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.CommonDocumentsPackage _CommonDocumentsPackage; + /// + /// + /// + public Package.CommonDocumentsPackage CommonDocumentsPackage => _CommonDocumentsPackage ?? (_CommonDocumentsPackage = new Package.CommonDocumentsPackage()); + + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/WIP_DeviceExamples.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/WIP_DeviceExamples.cs new file mode 100644 index 00000000..e4a3c2c9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/WIP_DeviceExamples.cs @@ -0,0 +1,80 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.WIP_DeviceExamples; + +namespace Mtconnect +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class WIP_DeviceExamplesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1620229279383_649426_1067"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1620229279383_649426_1067"; + /// Constant value for + public const string NAME = "WIP: Device Examples"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + PocketNCPackage, + KinematicsSimulationPackage, + MillW_PER_SmoothGPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.PocketNCPackage _PocketNCPackage; + /// + /// + /// + public Package.PocketNCPackage PocketNCPackage => _PocketNCPackage ?? (_PocketNCPackage = new Package.PocketNCPackage()); + + private Package.KinematicsSimulationPackage _KinematicsSimulationPackage; + /// + /// + /// + public Package.KinematicsSimulationPackage KinematicsSimulationPackage => _KinematicsSimulationPackage ?? (_KinematicsSimulationPackage = new Package.KinematicsSimulationPackage()); + + private Package.MillW_PER_SmoothGPackage _MillW_PER_SmoothGPackage; + /// + /// + /// + public Package.MillW_PER_SmoothGPackage MillW_PER_SmoothGPackage => _MillW_PER_SmoothGPackage ?? (_MillW_PER_SmoothGPackage = new Package.MillW_PER_SmoothGPackage()); + + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/WIP_UseCases.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/WIP_UseCases.cs new file mode 100644 index 00000000..f9d5aa54 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Mtconnect/WIP_UseCases.cs @@ -0,0 +1,80 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.WIP_UseCases; + +namespace Mtconnect +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class WIP_UseCasesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1702396340324_876240_24"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1702396340324_876240_24"; + /// Constant value for + public const string NAME = "WIP: Use Cases"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + MachineMonitoringPackage, + ActorsPackage, + PowerSourcePackage, + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.MachineMonitoringPackage _MachineMonitoringPackage; + /// + /// + /// + public Package.MachineMonitoringPackage MachineMonitoringPackage => _MachineMonitoringPackage ?? (_MachineMonitoringPackage = new Package.MachineMonitoringPackage()); + + private Package.ActorsPackage _ActorsPackage; + /// + /// + /// + public Package.ActorsPackage ActorsPackage => _ActorsPackage ?? (_ActorsPackage = new Package.ActorsPackage()); + + private Package.PowerSourcePackage _PowerSourcePackage; + /// + /// + /// + public Package.PowerSourcePackage PowerSourcePackage => _PowerSourcePackage ?? (_PowerSourcePackage = new Package.PowerSourcePackage()); + + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MultiDeviceInteractionModel/TasksInformationModel.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MultiDeviceInteractionModel/TasksInformationModel.cs new file mode 100644 index 00000000..a1ce2043 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/MultiDeviceInteractionModel/TasksInformationModel.cs @@ -0,0 +1,122 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel.TasksInformationModel; + +namespace Mtconnect.InterfaceInteractionModel.MultiDeviceInteractionModel +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class TasksInformationModelPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1622718436806_684422_1202"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1622718436806_684422_1202"; + /// Constant value for + public const string NAME = "Tasks Information Model"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + TaskArchetypeClass, + CollaboratorClass, + TaskClass, + PriorityClass, + CapabilityClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + TaskTypeEnum, + TaskStateEnum, + CollaboratorTypeEnum, + CapabilityTypeEnum, + }; + + #region Packages + #endregion + + #region Classes + private Package.TaskArchetypeClass _TaskArchetypeClass; + /// + /// + /// + public Package.TaskArchetypeClass TaskArchetypeClass => _TaskArchetypeClass ?? (_TaskArchetypeClass = new Package.TaskArchetypeClass()); + + private Package.CollaboratorClass _CollaboratorClass; + /// + /// + /// + public Package.CollaboratorClass CollaboratorClass => _CollaboratorClass ?? (_CollaboratorClass = new Package.CollaboratorClass()); + + private Package.TaskClass _TaskClass; + /// + /// + /// + public Package.TaskClass TaskClass => _TaskClass ?? (_TaskClass = new Package.TaskClass()); + + private Package.PriorityClass _PriorityClass; + /// + /// + /// + public Package.PriorityClass PriorityClass => _PriorityClass ?? (_PriorityClass = new Package.PriorityClass()); + + private Package.CapabilityClass _CapabilityClass; + /// + /// + /// + public Package.CapabilityClass CapabilityClass => _CapabilityClass ?? (_CapabilityClass = new Package.CapabilityClass()); + + #endregion + + #region Enums + private Package.TaskTypeEnumMetaClass _TaskTypeEnum; + /// + /// + /// + public Package.TaskTypeEnumMetaClass TaskTypeEnum => _TaskTypeEnum ?? (_TaskTypeEnum = new Package.TaskTypeEnumMetaClass()); + + private Package.TaskStateEnumMetaClass _TaskStateEnum; + /// + /// + /// + public Package.TaskStateEnumMetaClass TaskStateEnum => _TaskStateEnum ?? (_TaskStateEnum = new Package.TaskStateEnumMetaClass()); + + private Package.CollaboratorTypeEnumMetaClass _CollaboratorTypeEnum; + /// + /// + /// + public Package.CollaboratorTypeEnumMetaClass CollaboratorTypeEnum => _CollaboratorTypeEnum ?? (_CollaboratorTypeEnum = new Package.CollaboratorTypeEnumMetaClass()); + + private Package.CapabilityTypeEnumMetaClass _CapabilityTypeEnum; + /// + /// + /// + public Package.CapabilityTypeEnumMetaClass CapabilityTypeEnum => _CapabilityTypeEnum ?? (_CapabilityTypeEnum = new Package.CapabilityTypeEnumMetaClass()); + + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationInformationModel/ObservationTypes.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationInformationModel/ObservationTypes.cs new file mode 100644 index 00000000..c17aea70 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationInformationModel/ObservationTypes.cs @@ -0,0 +1,85 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ObservationInformationModel.ObservationTypes; + +namespace Mtconnect.ObservationInformationModel +{ + /// This section provides semantic information for the Observation types.

Observation entities are instantiated as Sample, Event or Condition entities based upon the category in DataItem and type in DataItem defined for the corresponding DataItem.

See {{figure(DeviceStream Example)}} for examples on how the Observation types are organized within ComponentStream.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ObservationTypesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1589897764829_678664_48"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_91b028d_1589897764829_678664_48"; + /// Constant value for + public const string NAME = "Observation Types"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(Observation)}} types. + +{{block(Observation)}} entities are instantiated as {{block(Sample)}}, {{block(Event)}} or {{block(Condition)}} entities based upon the {{property(DataItem::category)}} and {{property(DataItem::type)}} defined for the corresponding {{block(DataItem)}}. + +See {{figure(DeviceStream Example)}} for examples on how the {{block(Observation)}} types are organized within {{block(ComponentStream)}}. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + SampleTypesPackage, + EventTypesPackage, + ConditionTypesPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.SampleTypesPackage _SampleTypesPackage; + /// + /// + /// + public Package.SampleTypesPackage SampleTypesPackage => _SampleTypesPackage ?? (_SampleTypesPackage = new Package.SampleTypesPackage()); + + private Package.EventTypesPackage _EventTypesPackage; + /// + /// + /// + public Package.EventTypesPackage EventTypesPackage => _EventTypesPackage ?? (_EventTypesPackage = new Package.EventTypesPackage()); + + private Package.ConditionTypesPackage _ConditionTypesPackage; + /// + /// + /// + public Package.ConditionTypesPackage ConditionTypesPackage => _ConditionTypesPackage ?? (_ConditionTypesPackage = new Package.ConditionTypesPackage()); + + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationInformationModel/Representations.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationInformationModel/Representations.cs new file mode 100644 index 00000000..18c94867 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationInformationModel/Representations.cs @@ -0,0 +1,127 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ObservationInformationModel.Representations; + +namespace Mtconnect.ObservationInformationModel +{ + /// This section provides semantic information for the Representation model.

![Representation](figures/Representation.png "Representation"){: width="0.8"}

> Note: See Representation Schema Diagrams for XML schema.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class RepresentationsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1583339330789_426055_14911"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1583339330789_426055_14911"; + /// Constant value for + public const string NAME = "Representations"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the {{block(Representation)}} model. + +![Representation](figures/Representation.png ""Representation""){: width=""0.8""} + +> Note: See {{sect(Representation Schema Diagrams)}} for XML schema. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + RepresentationClass, + ValueClass, + TimeSeriesClass, + DiscreteClass, + DataSetClass, + EntryClass, + TableClass, + TableEntryClass, + CellClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.RepresentationClass _RepresentationClass; + /// + /// + /// + public Package.RepresentationClass RepresentationClass => _RepresentationClass ?? (_RepresentationClass = new Package.RepresentationClass()); + + private Package.ValueClass _ValueClass; + /// + /// + /// + public Package.ValueClass ValueClass => _ValueClass ?? (_ValueClass = new Package.ValueClass()); + + private Package.TimeSeriesClass _TimeSeriesClass; + /// + /// + /// + public Package.TimeSeriesClass TimeSeriesClass => _TimeSeriesClass ?? (_TimeSeriesClass = new Package.TimeSeriesClass()); + + private Package.DiscreteClass _DiscreteClass; + /// + /// + /// + public Package.DiscreteClass DiscreteClass => _DiscreteClass ?? (_DiscreteClass = new Package.DiscreteClass()); + + private Package.DataSetClass _DataSetClass; + /// + /// + /// + public Package.DataSetClass DataSetClass => _DataSetClass ?? (_DataSetClass = new Package.DataSetClass()); + + private Package.EntryClass _EntryClass; + /// + /// + /// + public Package.EntryClass EntryClass => _EntryClass ?? (_EntryClass = new Package.EntryClass()); + + private Package.TableClass _TableClass; + /// + /// + /// + public Package.TableClass TableClass => _TableClass ?? (_TableClass = new Package.TableClass()); + + private Package.TableEntryClass _TableEntryClass; + /// + /// + /// + public Package.TableEntryClass TableEntryClass => _TableEntryClass ?? (_TableEntryClass = new Package.TableEntryClass()); + + private Package.CellClass _CellClass; + /// + /// + /// + public Package.CellClass CellClass => _CellClass ?? (_CellClass = new Package.CellClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationTypes/ConditionTypes.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationTypes/ConditionTypes.cs new file mode 100644 index 00000000..280676af --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationTypes/ConditionTypes.cs @@ -0,0 +1,108 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ObservationInformationModel.ObservationTypes.ConditionTypes; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes +{ + /// This section provides semantic information for Condition types.

Condition types are reported differently from other Observation types. They are reported based on the condition state for each Condition.

The type in DataItem and subType in DataItem (where applicable) for a Condition MAY be any of the type in DataItem and subType in DataItem defined for DataItems with category in DataItem as SAMPLE or category in DataItem as EVENT listed in the Device Information Model.

This section lists additional Condition types that have been defined to represent the health and fault status of Components.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ConditionTypesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580309879217_713704_44360"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1580309879217_713704_44360"; + /// Constant value for + public const string NAME = "Condition Types"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for {{block(Condition)}} types. + +{{block(Condition)}} types are reported differently from other {{block(Observation)}} types. They are reported based on the {{term(condition state)}} for each {{block(Condition)}}. + +The {{property(DataItem::type)}} and {{property(DataItem::subType)}} (where applicable) for a {{block(Condition)}} **MAY** be any of the {{property(DataItem::type)}} and {{property(DataItem::subType)}} defined for {{block(DataItem)}}s with {{property(DataItem::category)}} as `SAMPLE` or {{property(DataItem::category)}} as `EVENT` listed in the {{term(Device Information Model)}}. + +This section lists additional {{block(Condition)}} types that have been defined to represent the health and fault status of {{termplural(Component)}}. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + ActuatorClass, + CommunicationsClass, + DataRangeClass, + LogicProgramClass, + MotionProgramClass, + SystemClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.ActuatorClass _ActuatorClass; + /// + /// + /// + public Package.ActuatorClass ActuatorClass => _ActuatorClass ?? (_ActuatorClass = new Package.ActuatorClass()); + + private Package.CommunicationsClass _CommunicationsClass; + /// + /// + /// + public Package.CommunicationsClass CommunicationsClass => _CommunicationsClass ?? (_CommunicationsClass = new Package.CommunicationsClass()); + + private Package.DataRangeClass _DataRangeClass; + /// + /// + /// + public Package.DataRangeClass DataRangeClass => _DataRangeClass ?? (_DataRangeClass = new Package.DataRangeClass()); + + private Package.LogicProgramClass _LogicProgramClass; + /// + /// + /// + public Package.LogicProgramClass LogicProgramClass => _LogicProgramClass ?? (_LogicProgramClass = new Package.LogicProgramClass()); + + private Package.MotionProgramClass _MotionProgramClass; + /// + /// + /// + public Package.MotionProgramClass MotionProgramClass => _MotionProgramClass ?? (_MotionProgramClass = new Package.MotionProgramClass()); + + private Package.SystemClass _SystemClass; + /// + /// + /// + public Package.SystemClass SystemClass => _SystemClass ?? (_SystemClass = new Package.SystemClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationTypes/EventTypes.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationTypes/EventTypes.cs new file mode 100644 index 00000000..f75cd6a3 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationTypes/EventTypes.cs @@ -0,0 +1,2356 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ObservationInformationModel.ObservationTypes.EventTypes; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes +{ + /// This section provides semantic information for Event types.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class EventTypesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580309852285_621670_44358"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1580309852285_621670_44358"; + /// Constant value for + public const string NAME = "Event Types"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for {{block(Event)}} types. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + ActiveAxesClass, + ActuatorStateClass, + AlarmClass, + AssetChangedClass, + AssetRemovedClass, + AvailabilityClass, + AxisCouplingClass, + AxisFeedrateOverrideClass, + AxisFeedrateOverrideJogClass, + AxisFeedrateOverrideProgrammedClass, + AxisFeedrateOverrideRapidClass, + AxisInterlockClass, + AxisStateClass, + BlockClass, + BlockCountClass, + ChuckInterlockClass, + ChuckInterlockManualUnclampClass, + ChuckStateClass, + CodeClass, + CompositionStateClass, + CompositionStateActionClass, + CompositionStateLateralClass, + CompositionStateMotionClass, + CompositionStateSwitchedClass, + CompositionStateVerticalClass, + ControllerModeClass, + ControllerModeOverrideClass, + ControllerModeOverrideDryRunClass, + ControllerModeOverrideSingleBlockClass, + ControllerModeOverrideMachineAxisLockClass, + ControllerModeOverrideOptionalStopClass, + ControllerModeOverrideToolChangeStopClass, + CoupledAxesClass, + DateCodeClass, + DateCodeManufactureClass, + DateCodeExpirationClass, + DateCodeFirstUseClass, + DeviceUuidClass, + DirectionClass, + DirectionRotaryClass, + DirectionLinearClass, + DoorStateClass, + EmergencyStopClass, + EndOfBarClass, + EndOfBarPrimaryClass, + EndOfBarAuxiliaryClass, + EquipmentModeClass, + EquipmentModeLoadedClass, + EquipmentModeWorkingClass, + EquipmentModeOperatingClass, + EquipmentModePoweredClass, + EquipmentModeDelayClass, + ExecutionClass, + FunctionalModeClass, + HardnessClass, + HardnessRockwellClass, + HardnessVickersClass, + HardnessShoreClass, + HardnessBrinellClass, + HardnessLeebClass, + HardnessMohsClass, + LineClass, + LineMaximumClass, + LineMinimumClass, + LineLabelClass, + LineNumberClass, + LineNumberAbsoluteClass, + LineNumberIncrementalClass, + MaterialClass, + MaterialLayerClass, + MaterialLayerActualClass, + MaterialLayerTargetClass, + MessageClass, + OperatorIdClass, + PalletIdClass, + PartCountClass, + PartCountAllClass, + PartCountGoodClass, + PartCountBadClass, + PartCountTargetClass, + PartCountRemainingClass, + PartDetectClass, + PartIdClass, + PartNumberClass, + PathFeedrateOverrideClass, + PathFeedrateOverrideJogClass, + PathFeedrateOverrideProgrammedClass, + PathFeedrateOverrideRapidClass, + PathModeClass, + PowerStateClass, + PowerStateLineClass, + PowerStateControlClass, + PowerStatusClass, + ProcessTimeClass, + ProcessTimeStartClass, + ProcessTimeCompleteClass, + ProcessTimeTargetCompletionClass, + ProgramClass, + ProgramCommentClass, + ProgramEditClass, + ProgramEditNameClass, + ProgramHeaderClass, + ProgramLocationClass, + ProgramLocationScheduleClass, + ProgramLocationMainClass, + ProgramLocationActiveClass, + ProgramLocationTypeClass, + ProgramLocationTypeScheduleClass, + ProgramLocationTypeMainClass, + ProgramLocationTypeActiveClass, + ProgramNestLevelClass, + RotaryModeClass, + RotaryVelocityOverrideClass, + SerialNumberClass, + SpindleInterlockClass, + ToolAssetIdClass, + ToolGroupClass, + ToolIdClass, + ToolNumberClass, + ToolOffsetClass, + ToolOffsetRadialClass, + ToolOffsetLengthClass, + UserClass, + UserOperatorClass, + UserMaintenanceClass, + UserSetUpClass, + VariableClass, + WaitStateClass, + WireClass, + WorkholdingIdClass, + WorkOffsetClass, + ProgramHeaderMainClass, + ProgramHeaderScheduleClass, + ProgramHeaderActiveClass, + OperatingSystemClass, + OperatingSystemLicenseClass, + OperatingSystemVersionClass, + OperatingSystemReleaseDateClass, + OperatingSystemInstallDateClass, + OperatingSystemManufacturerClass, + FirmwareVersionClass, + FirmwareReleaseDateClass, + FirmwareClass, + FirmwareManufacturerClass, + FirmwareLicenseClass, + FirmwareInstallDateClass, + ApplicationVersionClass, + ApplicationReleaseDateClass, + ApplicationClass, + ApplicationManufacturerClass, + ApplicationLicenseClass, + ApplicationInstallDateClass, + LibraryVersionClass, + LibraryReleaseDateClass, + LibraryClass, + LibraryManufacturerClass, + LibraryLicenseClass, + LibraryInstallDateClass, + HardwareVersionClass, + HardwareReleaseDateClass, + HardwareClass, + HardwareManufacturerClass, + HardwareLicenseClass, + HardwareInstallDateClass, + NetworkClass, + NetworkIPv4AddressClass, + NetworkIPv6AddressClass, + NetworkGatewayClass, + NetworkSubnetMaskClass, + NetworkVLanIdClass, + NetworkMacAddressClass, + NetworkWirelessClass, + RotationClass, + TranslationClass, + ProcessKindIdClass, + PartStatusClass, + AlarmLimitClass, + ProcessAggregateIdClass, + ProcessKindIdUuidClass, + ProcessAggregateIdOrderNumberClass, + ProcessKindIdISOStepExecutableClass, + PartKindIdClass, + ProcessKindIdProcessNameClass, + AdapterURIClass, + PartKindIdUuidClass, + DeviceRemovedClass, + DeviceChangedClass, + SpecificationLimitClass, + ConnectionStatusClass, + PartKindIdPartFamilyClass, + PartKindIdPartNameClass, + AdapterSoftwareVersionClass, + SensorAttachmentClass, + PartKindIdPartNumberClass, + PartGroupIdLotClass, + PartGroupIdRawMaterialClass, + PartGroupIdBatchClass, + ControlLimitClass, + DeviceAddedClass, + ProcessAggregateIdProcessStepClass, + MTConnectVersionClass, + PartUniqueIdSerialNumberClass, + PartUniqueIdRawMaterialClass, + PartGroupIdUuidClass, + ProcessOccurrenceIdClass, + ProcessAggregateIdProcessPlanClass, + PartUniqueIdUuidClass, + PartGroupIdClass, + PartGroupIdHeatTreatClass, + PartUniqueIdClass, + LoadCountRemainingClass, + ActivationCountTargetClass, + ActivationCountGoodClass, + TransferCountGoodClass, + CycleCountGoodClass, + ActivationCountClass, + UnloadCountAbortedClass, + CycleCountRemainingClass, + DeactivationCountBadClass, + TransferCountAbortedClass, + DeactivationCountClass, + ActivationCountBadClass, + UnloadCountBadClass, + CycleCountCompleteClass, + TransferCountClass, + LoadCountBadClass, + CycleCountAbortedClass, + LoadCountClass, + TransferCountFailedClass, + DeactivationCountFailedClass, + LoadCountFailedClass, + PartProcessingStateClass, + ActivationCountRemainingClass, + TransferCountAllClass, + UnloadCountFailedClass, + ProcessStateClass, + ActivationCountAbortedClass, + PartCountCompleteClass, + DeactivationCountTargetClass, + TransferCountBadClass, + ActivationCountFailedClass, + TransferCountRemainingClass, + DeactivationCountCompleteClass, + LoadCountAbortedClass, + UnloadCountGoodClass, + DeactivationCountRemainingClass, + CycleCountBadClass, + TransferCountCompleteClass, + UnloadCountCompleteClass, + UnloadCountAllClass, + ValveStateClass, + CycleCountFailedClass, + LoadCountAllClass, + UnloadCountTargetClass, + ValveStateActualClass, + TransferCountTargetClass, + CycleCountTargetClass, + LockStateClass, + UnloadCountClass, + PartCountAbortedClass, + ActivationCountCompleteClass, + PartCountFailedClass, + LoadCountGoodClass, + CycleCountClass, + CycleCountAllClass, + LoadCountCompleteClass, + ActivationCountAllClass, + DeactivationCountAllClass, + UnloadCountRemainingClass, + DeactivationCountGoodClass, + LoadCountTargetClass, + ValveStateProgrammedClass, + DeactivationCountAbortedClass, + OperatingModeClass, + AssetCountClass, + MaintenanceListClass, + FixtureIdClass, + PartCountTypeClass, + ProgramActivityClass, + ProgramSegmentClass, + ProgramRecipeClass, + ProgramOperationClass, + ProcessOccurrenceIdActivityClass, + ProcessOccurrenceIdSegmentClass, + ProcessOccurrenceIdRecipeClass, + ProcessOccurrenceIdOperationClass, + ProgramActiveClass, + ProgramMainClass, + ProgramScheduleClass, + ClockTimeClass, + ProgramCommentMainClass, + ProgramCommentScheduleClass, + ProgramCommentActiveClass, + NetworkPortClass, + HostNameClass, + LeakDetectClass, + BatteryStateClass, + FeaturePersisitentIdClass, + SensorStateClass, + SensorStateBinaryClass, + SensorStateBooleanClass, + SensorStateEnumeratedClass, + SensorStateDetectClass, + ComponentDataClass, + WorkOffsetsClass, + ToolOffsetsClass, + FeatureMeasurementClass, + CharacteristicPersistentIdClass, + MeasurementTypeClass, + MeasurementValueClass, + MeasurementUnitsClass, + CharacteristicStatusClass, + UncertaintyTypeClass, + UncertaintyClass, + AlarmLimitsClass, + ControlLimitsClass, + SpecificationLimitsClass, + ToolCuttingItemClass, + HardwareModelClass, + LocationAddressClass, + ActivePowerSourceClass, + LocationNarrativeClass, + ThicknessClass, + ThicknessActualClass, + ThicknessCommandedClass, + ThicknessTargetClass, + ThicknessProgrammedClass, + LocationSpatialGeographicClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.ActiveAxesClass _ActiveAxesClass; + /// + /// + /// + public Package.ActiveAxesClass ActiveAxesClass => _ActiveAxesClass ?? (_ActiveAxesClass = new Package.ActiveAxesClass()); + + private Package.ActuatorStateClass _ActuatorStateClass; + /// + /// + /// + public Package.ActuatorStateClass ActuatorStateClass => _ActuatorStateClass ?? (_ActuatorStateClass = new Package.ActuatorStateClass()); + + private Package.AlarmClass _AlarmClass; + /// + /// + /// + public Package.AlarmClass AlarmClass => _AlarmClass ?? (_AlarmClass = new Package.AlarmClass()); + + private Package.AssetChangedClass _AssetChangedClass; + /// + /// + /// + public Package.AssetChangedClass AssetChangedClass => _AssetChangedClass ?? (_AssetChangedClass = new Package.AssetChangedClass()); + + private Package.AssetRemovedClass _AssetRemovedClass; + /// + /// + /// + public Package.AssetRemovedClass AssetRemovedClass => _AssetRemovedClass ?? (_AssetRemovedClass = new Package.AssetRemovedClass()); + + private Package.AvailabilityClass _AvailabilityClass; + /// + /// + /// + public Package.AvailabilityClass AvailabilityClass => _AvailabilityClass ?? (_AvailabilityClass = new Package.AvailabilityClass()); + + private Package.AxisCouplingClass _AxisCouplingClass; + /// + /// + /// + public Package.AxisCouplingClass AxisCouplingClass => _AxisCouplingClass ?? (_AxisCouplingClass = new Package.AxisCouplingClass()); + + private Package.AxisFeedrateOverrideClass _AxisFeedrateOverrideClass; + /// + /// + /// + public Package.AxisFeedrateOverrideClass AxisFeedrateOverrideClass => _AxisFeedrateOverrideClass ?? (_AxisFeedrateOverrideClass = new Package.AxisFeedrateOverrideClass()); + + private Package.AxisFeedrateOverrideJogClass _AxisFeedrateOverrideJogClass; + /// + /// + /// + public Package.AxisFeedrateOverrideJogClass AxisFeedrateOverrideJogClass => _AxisFeedrateOverrideJogClass ?? (_AxisFeedrateOverrideJogClass = new Package.AxisFeedrateOverrideJogClass()); + + private Package.AxisFeedrateOverrideProgrammedClass _AxisFeedrateOverrideProgrammedClass; + /// + /// + /// + public Package.AxisFeedrateOverrideProgrammedClass AxisFeedrateOverrideProgrammedClass => _AxisFeedrateOverrideProgrammedClass ?? (_AxisFeedrateOverrideProgrammedClass = new Package.AxisFeedrateOverrideProgrammedClass()); + + private Package.AxisFeedrateOverrideRapidClass _AxisFeedrateOverrideRapidClass; + /// + /// + /// + public Package.AxisFeedrateOverrideRapidClass AxisFeedrateOverrideRapidClass => _AxisFeedrateOverrideRapidClass ?? (_AxisFeedrateOverrideRapidClass = new Package.AxisFeedrateOverrideRapidClass()); + + private Package.AxisInterlockClass _AxisInterlockClass; + /// + /// + /// + public Package.AxisInterlockClass AxisInterlockClass => _AxisInterlockClass ?? (_AxisInterlockClass = new Package.AxisInterlockClass()); + + private Package.AxisStateClass _AxisStateClass; + /// + /// + /// + public Package.AxisStateClass AxisStateClass => _AxisStateClass ?? (_AxisStateClass = new Package.AxisStateClass()); + + private Package.BlockClass _BlockClass; + /// + /// + /// + public Package.BlockClass BlockClass => _BlockClass ?? (_BlockClass = new Package.BlockClass()); + + private Package.BlockCountClass _BlockCountClass; + /// + /// + /// + public Package.BlockCountClass BlockCountClass => _BlockCountClass ?? (_BlockCountClass = new Package.BlockCountClass()); + + private Package.ChuckInterlockClass _ChuckInterlockClass; + /// + /// + /// + public Package.ChuckInterlockClass ChuckInterlockClass => _ChuckInterlockClass ?? (_ChuckInterlockClass = new Package.ChuckInterlockClass()); + + private Package.ChuckInterlockManualUnclampClass _ChuckInterlockManualUnclampClass; + /// + /// + /// + public Package.ChuckInterlockManualUnclampClass ChuckInterlockManualUnclampClass => _ChuckInterlockManualUnclampClass ?? (_ChuckInterlockManualUnclampClass = new Package.ChuckInterlockManualUnclampClass()); + + private Package.ChuckStateClass _ChuckStateClass; + /// + /// + /// + public Package.ChuckStateClass ChuckStateClass => _ChuckStateClass ?? (_ChuckStateClass = new Package.ChuckStateClass()); + + private Package.CodeClass _CodeClass; + /// + /// + /// + public Package.CodeClass CodeClass => _CodeClass ?? (_CodeClass = new Package.CodeClass()); + + private Package.CompositionStateClass _CompositionStateClass; + /// + /// + /// + public Package.CompositionStateClass CompositionStateClass => _CompositionStateClass ?? (_CompositionStateClass = new Package.CompositionStateClass()); + + private Package.CompositionStateActionClass _CompositionStateActionClass; + /// + /// + /// + public Package.CompositionStateActionClass CompositionStateActionClass => _CompositionStateActionClass ?? (_CompositionStateActionClass = new Package.CompositionStateActionClass()); + + private Package.CompositionStateLateralClass _CompositionStateLateralClass; + /// + /// + /// + public Package.CompositionStateLateralClass CompositionStateLateralClass => _CompositionStateLateralClass ?? (_CompositionStateLateralClass = new Package.CompositionStateLateralClass()); + + private Package.CompositionStateMotionClass _CompositionStateMotionClass; + /// + /// + /// + public Package.CompositionStateMotionClass CompositionStateMotionClass => _CompositionStateMotionClass ?? (_CompositionStateMotionClass = new Package.CompositionStateMotionClass()); + + private Package.CompositionStateSwitchedClass _CompositionStateSwitchedClass; + /// + /// + /// + public Package.CompositionStateSwitchedClass CompositionStateSwitchedClass => _CompositionStateSwitchedClass ?? (_CompositionStateSwitchedClass = new Package.CompositionStateSwitchedClass()); + + private Package.CompositionStateVerticalClass _CompositionStateVerticalClass; + /// + /// + /// + public Package.CompositionStateVerticalClass CompositionStateVerticalClass => _CompositionStateVerticalClass ?? (_CompositionStateVerticalClass = new Package.CompositionStateVerticalClass()); + + private Package.ControllerModeClass _ControllerModeClass; + /// + /// + /// + public Package.ControllerModeClass ControllerModeClass => _ControllerModeClass ?? (_ControllerModeClass = new Package.ControllerModeClass()); + + private Package.ControllerModeOverrideClass _ControllerModeOverrideClass; + /// + /// + /// + public Package.ControllerModeOverrideClass ControllerModeOverrideClass => _ControllerModeOverrideClass ?? (_ControllerModeOverrideClass = new Package.ControllerModeOverrideClass()); + + private Package.ControllerModeOverrideDryRunClass _ControllerModeOverrideDryRunClass; + /// + /// + /// + public Package.ControllerModeOverrideDryRunClass ControllerModeOverrideDryRunClass => _ControllerModeOverrideDryRunClass ?? (_ControllerModeOverrideDryRunClass = new Package.ControllerModeOverrideDryRunClass()); + + private Package.ControllerModeOverrideSingleBlockClass _ControllerModeOverrideSingleBlockClass; + /// + /// + /// + public Package.ControllerModeOverrideSingleBlockClass ControllerModeOverrideSingleBlockClass => _ControllerModeOverrideSingleBlockClass ?? (_ControllerModeOverrideSingleBlockClass = new Package.ControllerModeOverrideSingleBlockClass()); + + private Package.ControllerModeOverrideMachineAxisLockClass _ControllerModeOverrideMachineAxisLockClass; + /// + /// + /// + public Package.ControllerModeOverrideMachineAxisLockClass ControllerModeOverrideMachineAxisLockClass => _ControllerModeOverrideMachineAxisLockClass ?? (_ControllerModeOverrideMachineAxisLockClass = new Package.ControllerModeOverrideMachineAxisLockClass()); + + private Package.ControllerModeOverrideOptionalStopClass _ControllerModeOverrideOptionalStopClass; + /// + /// + /// + public Package.ControllerModeOverrideOptionalStopClass ControllerModeOverrideOptionalStopClass => _ControllerModeOverrideOptionalStopClass ?? (_ControllerModeOverrideOptionalStopClass = new Package.ControllerModeOverrideOptionalStopClass()); + + private Package.ControllerModeOverrideToolChangeStopClass _ControllerModeOverrideToolChangeStopClass; + /// + /// + /// + public Package.ControllerModeOverrideToolChangeStopClass ControllerModeOverrideToolChangeStopClass => _ControllerModeOverrideToolChangeStopClass ?? (_ControllerModeOverrideToolChangeStopClass = new Package.ControllerModeOverrideToolChangeStopClass()); + + private Package.CoupledAxesClass _CoupledAxesClass; + /// + /// + /// + public Package.CoupledAxesClass CoupledAxesClass => _CoupledAxesClass ?? (_CoupledAxesClass = new Package.CoupledAxesClass()); + + private Package.DateCodeClass _DateCodeClass; + /// + /// + /// + public Package.DateCodeClass DateCodeClass => _DateCodeClass ?? (_DateCodeClass = new Package.DateCodeClass()); + + private Package.DateCodeManufactureClass _DateCodeManufactureClass; + /// + /// + /// + public Package.DateCodeManufactureClass DateCodeManufactureClass => _DateCodeManufactureClass ?? (_DateCodeManufactureClass = new Package.DateCodeManufactureClass()); + + private Package.DateCodeExpirationClass _DateCodeExpirationClass; + /// + /// + /// + public Package.DateCodeExpirationClass DateCodeExpirationClass => _DateCodeExpirationClass ?? (_DateCodeExpirationClass = new Package.DateCodeExpirationClass()); + + private Package.DateCodeFirstUseClass _DateCodeFirstUseClass; + /// + /// + /// + public Package.DateCodeFirstUseClass DateCodeFirstUseClass => _DateCodeFirstUseClass ?? (_DateCodeFirstUseClass = new Package.DateCodeFirstUseClass()); + + private Package.DeviceUuidClass _DeviceUuidClass; + /// + /// + /// + public Package.DeviceUuidClass DeviceUuidClass => _DeviceUuidClass ?? (_DeviceUuidClass = new Package.DeviceUuidClass()); + + private Package.DirectionClass _DirectionClass; + /// + /// + /// + public Package.DirectionClass DirectionClass => _DirectionClass ?? (_DirectionClass = new Package.DirectionClass()); + + private Package.DirectionRotaryClass _DirectionRotaryClass; + /// + /// + /// + public Package.DirectionRotaryClass DirectionRotaryClass => _DirectionRotaryClass ?? (_DirectionRotaryClass = new Package.DirectionRotaryClass()); + + private Package.DirectionLinearClass _DirectionLinearClass; + /// + /// + /// + public Package.DirectionLinearClass DirectionLinearClass => _DirectionLinearClass ?? (_DirectionLinearClass = new Package.DirectionLinearClass()); + + private Package.DoorStateClass _DoorStateClass; + /// + /// + /// + public Package.DoorStateClass DoorStateClass => _DoorStateClass ?? (_DoorStateClass = new Package.DoorStateClass()); + + private Package.EmergencyStopClass _EmergencyStopClass; + /// + /// + /// + public Package.EmergencyStopClass EmergencyStopClass => _EmergencyStopClass ?? (_EmergencyStopClass = new Package.EmergencyStopClass()); + + private Package.EndOfBarClass _EndOfBarClass; + /// + /// + /// + public Package.EndOfBarClass EndOfBarClass => _EndOfBarClass ?? (_EndOfBarClass = new Package.EndOfBarClass()); + + private Package.EndOfBarPrimaryClass _EndOfBarPrimaryClass; + /// + /// + /// + public Package.EndOfBarPrimaryClass EndOfBarPrimaryClass => _EndOfBarPrimaryClass ?? (_EndOfBarPrimaryClass = new Package.EndOfBarPrimaryClass()); + + private Package.EndOfBarAuxiliaryClass _EndOfBarAuxiliaryClass; + /// + /// + /// + public Package.EndOfBarAuxiliaryClass EndOfBarAuxiliaryClass => _EndOfBarAuxiliaryClass ?? (_EndOfBarAuxiliaryClass = new Package.EndOfBarAuxiliaryClass()); + + private Package.EquipmentModeClass _EquipmentModeClass; + /// + /// + /// + public Package.EquipmentModeClass EquipmentModeClass => _EquipmentModeClass ?? (_EquipmentModeClass = new Package.EquipmentModeClass()); + + private Package.EquipmentModeLoadedClass _EquipmentModeLoadedClass; + /// + /// + /// + public Package.EquipmentModeLoadedClass EquipmentModeLoadedClass => _EquipmentModeLoadedClass ?? (_EquipmentModeLoadedClass = new Package.EquipmentModeLoadedClass()); + + private Package.EquipmentModeWorkingClass _EquipmentModeWorkingClass; + /// + /// + /// + public Package.EquipmentModeWorkingClass EquipmentModeWorkingClass => _EquipmentModeWorkingClass ?? (_EquipmentModeWorkingClass = new Package.EquipmentModeWorkingClass()); + + private Package.EquipmentModeOperatingClass _EquipmentModeOperatingClass; + /// + /// + /// + public Package.EquipmentModeOperatingClass EquipmentModeOperatingClass => _EquipmentModeOperatingClass ?? (_EquipmentModeOperatingClass = new Package.EquipmentModeOperatingClass()); + + private Package.EquipmentModePoweredClass _EquipmentModePoweredClass; + /// + /// + /// + public Package.EquipmentModePoweredClass EquipmentModePoweredClass => _EquipmentModePoweredClass ?? (_EquipmentModePoweredClass = new Package.EquipmentModePoweredClass()); + + private Package.EquipmentModeDelayClass _EquipmentModeDelayClass; + /// + /// + /// + public Package.EquipmentModeDelayClass EquipmentModeDelayClass => _EquipmentModeDelayClass ?? (_EquipmentModeDelayClass = new Package.EquipmentModeDelayClass()); + + private Package.ExecutionClass _ExecutionClass; + /// + /// + /// + public Package.ExecutionClass ExecutionClass => _ExecutionClass ?? (_ExecutionClass = new Package.ExecutionClass()); + + private Package.FunctionalModeClass _FunctionalModeClass; + /// + /// + /// + public Package.FunctionalModeClass FunctionalModeClass => _FunctionalModeClass ?? (_FunctionalModeClass = new Package.FunctionalModeClass()); + + private Package.HardnessClass _HardnessClass; + /// + /// + /// + public Package.HardnessClass HardnessClass => _HardnessClass ?? (_HardnessClass = new Package.HardnessClass()); + + private Package.HardnessRockwellClass _HardnessRockwellClass; + /// + /// + /// + public Package.HardnessRockwellClass HardnessRockwellClass => _HardnessRockwellClass ?? (_HardnessRockwellClass = new Package.HardnessRockwellClass()); + + private Package.HardnessVickersClass _HardnessVickersClass; + /// + /// + /// + public Package.HardnessVickersClass HardnessVickersClass => _HardnessVickersClass ?? (_HardnessVickersClass = new Package.HardnessVickersClass()); + + private Package.HardnessShoreClass _HardnessShoreClass; + /// + /// + /// + public Package.HardnessShoreClass HardnessShoreClass => _HardnessShoreClass ?? (_HardnessShoreClass = new Package.HardnessShoreClass()); + + private Package.HardnessBrinellClass _HardnessBrinellClass; + /// + /// + /// + public Package.HardnessBrinellClass HardnessBrinellClass => _HardnessBrinellClass ?? (_HardnessBrinellClass = new Package.HardnessBrinellClass()); + + private Package.HardnessLeebClass _HardnessLeebClass; + /// + /// + /// + public Package.HardnessLeebClass HardnessLeebClass => _HardnessLeebClass ?? (_HardnessLeebClass = new Package.HardnessLeebClass()); + + private Package.HardnessMohsClass _HardnessMohsClass; + /// + /// + /// + public Package.HardnessMohsClass HardnessMohsClass => _HardnessMohsClass ?? (_HardnessMohsClass = new Package.HardnessMohsClass()); + + private Package.LineClass _LineClass; + /// + /// + /// + public Package.LineClass LineClass => _LineClass ?? (_LineClass = new Package.LineClass()); + + private Package.LineMaximumClass _LineMaximumClass; + /// + /// + /// + public Package.LineMaximumClass LineMaximumClass => _LineMaximumClass ?? (_LineMaximumClass = new Package.LineMaximumClass()); + + private Package.LineMinimumClass _LineMinimumClass; + /// + /// + /// + public Package.LineMinimumClass LineMinimumClass => _LineMinimumClass ?? (_LineMinimumClass = new Package.LineMinimumClass()); + + private Package.LineLabelClass _LineLabelClass; + /// + /// + /// + public Package.LineLabelClass LineLabelClass => _LineLabelClass ?? (_LineLabelClass = new Package.LineLabelClass()); + + private Package.LineNumberClass _LineNumberClass; + /// + /// + /// + public Package.LineNumberClass LineNumberClass => _LineNumberClass ?? (_LineNumberClass = new Package.LineNumberClass()); + + private Package.LineNumberAbsoluteClass _LineNumberAbsoluteClass; + /// + /// + /// + public Package.LineNumberAbsoluteClass LineNumberAbsoluteClass => _LineNumberAbsoluteClass ?? (_LineNumberAbsoluteClass = new Package.LineNumberAbsoluteClass()); + + private Package.LineNumberIncrementalClass _LineNumberIncrementalClass; + /// + /// + /// + public Package.LineNumberIncrementalClass LineNumberIncrementalClass => _LineNumberIncrementalClass ?? (_LineNumberIncrementalClass = new Package.LineNumberIncrementalClass()); + + private Package.MaterialClass _MaterialClass; + /// + /// + /// + public Package.MaterialClass MaterialClass => _MaterialClass ?? (_MaterialClass = new Package.MaterialClass()); + + private Package.MaterialLayerClass _MaterialLayerClass; + /// + /// + /// + public Package.MaterialLayerClass MaterialLayerClass => _MaterialLayerClass ?? (_MaterialLayerClass = new Package.MaterialLayerClass()); + + private Package.MaterialLayerActualClass _MaterialLayerActualClass; + /// + /// + /// + public Package.MaterialLayerActualClass MaterialLayerActualClass => _MaterialLayerActualClass ?? (_MaterialLayerActualClass = new Package.MaterialLayerActualClass()); + + private Package.MaterialLayerTargetClass _MaterialLayerTargetClass; + /// + /// + /// + public Package.MaterialLayerTargetClass MaterialLayerTargetClass => _MaterialLayerTargetClass ?? (_MaterialLayerTargetClass = new Package.MaterialLayerTargetClass()); + + private Package.MessageClass _MessageClass; + /// + /// + /// + public Package.MessageClass MessageClass => _MessageClass ?? (_MessageClass = new Package.MessageClass()); + + private Package.OperatorIdClass _OperatorIdClass; + /// + /// + /// + public Package.OperatorIdClass OperatorIdClass => _OperatorIdClass ?? (_OperatorIdClass = new Package.OperatorIdClass()); + + private Package.PalletIdClass _PalletIdClass; + /// + /// + /// + public Package.PalletIdClass PalletIdClass => _PalletIdClass ?? (_PalletIdClass = new Package.PalletIdClass()); + + private Package.PartCountClass _PartCountClass; + /// + /// + /// + public Package.PartCountClass PartCountClass => _PartCountClass ?? (_PartCountClass = new Package.PartCountClass()); + + private Package.PartCountAllClass _PartCountAllClass; + /// + /// + /// + public Package.PartCountAllClass PartCountAllClass => _PartCountAllClass ?? (_PartCountAllClass = new Package.PartCountAllClass()); + + private Package.PartCountGoodClass _PartCountGoodClass; + /// + /// + /// + public Package.PartCountGoodClass PartCountGoodClass => _PartCountGoodClass ?? (_PartCountGoodClass = new Package.PartCountGoodClass()); + + private Package.PartCountBadClass _PartCountBadClass; + /// + /// + /// + public Package.PartCountBadClass PartCountBadClass => _PartCountBadClass ?? (_PartCountBadClass = new Package.PartCountBadClass()); + + private Package.PartCountTargetClass _PartCountTargetClass; + /// + /// + /// + public Package.PartCountTargetClass PartCountTargetClass => _PartCountTargetClass ?? (_PartCountTargetClass = new Package.PartCountTargetClass()); + + private Package.PartCountRemainingClass _PartCountRemainingClass; + /// + /// + /// + public Package.PartCountRemainingClass PartCountRemainingClass => _PartCountRemainingClass ?? (_PartCountRemainingClass = new Package.PartCountRemainingClass()); + + private Package.PartDetectClass _PartDetectClass; + /// + /// + /// + public Package.PartDetectClass PartDetectClass => _PartDetectClass ?? (_PartDetectClass = new Package.PartDetectClass()); + + private Package.PartIdClass _PartIdClass; + /// + /// + /// + public Package.PartIdClass PartIdClass => _PartIdClass ?? (_PartIdClass = new Package.PartIdClass()); + + private Package.PartNumberClass _PartNumberClass; + /// + /// + /// + public Package.PartNumberClass PartNumberClass => _PartNumberClass ?? (_PartNumberClass = new Package.PartNumberClass()); + + private Package.PathFeedrateOverrideClass _PathFeedrateOverrideClass; + /// + /// + /// + public Package.PathFeedrateOverrideClass PathFeedrateOverrideClass => _PathFeedrateOverrideClass ?? (_PathFeedrateOverrideClass = new Package.PathFeedrateOverrideClass()); + + private Package.PathFeedrateOverrideJogClass _PathFeedrateOverrideJogClass; + /// + /// + /// + public Package.PathFeedrateOverrideJogClass PathFeedrateOverrideJogClass => _PathFeedrateOverrideJogClass ?? (_PathFeedrateOverrideJogClass = new Package.PathFeedrateOverrideJogClass()); + + private Package.PathFeedrateOverrideProgrammedClass _PathFeedrateOverrideProgrammedClass; + /// + /// + /// + public Package.PathFeedrateOverrideProgrammedClass PathFeedrateOverrideProgrammedClass => _PathFeedrateOverrideProgrammedClass ?? (_PathFeedrateOverrideProgrammedClass = new Package.PathFeedrateOverrideProgrammedClass()); + + private Package.PathFeedrateOverrideRapidClass _PathFeedrateOverrideRapidClass; + /// + /// + /// + public Package.PathFeedrateOverrideRapidClass PathFeedrateOverrideRapidClass => _PathFeedrateOverrideRapidClass ?? (_PathFeedrateOverrideRapidClass = new Package.PathFeedrateOverrideRapidClass()); + + private Package.PathModeClass _PathModeClass; + /// + /// + /// + public Package.PathModeClass PathModeClass => _PathModeClass ?? (_PathModeClass = new Package.PathModeClass()); + + private Package.PowerStateClass _PowerStateClass; + /// + /// + /// + public Package.PowerStateClass PowerStateClass => _PowerStateClass ?? (_PowerStateClass = new Package.PowerStateClass()); + + private Package.PowerStateLineClass _PowerStateLineClass; + /// + /// + /// + public Package.PowerStateLineClass PowerStateLineClass => _PowerStateLineClass ?? (_PowerStateLineClass = new Package.PowerStateLineClass()); + + private Package.PowerStateControlClass _PowerStateControlClass; + /// + /// + /// + public Package.PowerStateControlClass PowerStateControlClass => _PowerStateControlClass ?? (_PowerStateControlClass = new Package.PowerStateControlClass()); + + private Package.PowerStatusClass _PowerStatusClass; + /// + /// + /// + public Package.PowerStatusClass PowerStatusClass => _PowerStatusClass ?? (_PowerStatusClass = new Package.PowerStatusClass()); + + private Package.ProcessTimeClass _ProcessTimeClass; + /// + /// + /// + public Package.ProcessTimeClass ProcessTimeClass => _ProcessTimeClass ?? (_ProcessTimeClass = new Package.ProcessTimeClass()); + + private Package.ProcessTimeStartClass _ProcessTimeStartClass; + /// + /// + /// + public Package.ProcessTimeStartClass ProcessTimeStartClass => _ProcessTimeStartClass ?? (_ProcessTimeStartClass = new Package.ProcessTimeStartClass()); + + private Package.ProcessTimeCompleteClass _ProcessTimeCompleteClass; + /// + /// + /// + public Package.ProcessTimeCompleteClass ProcessTimeCompleteClass => _ProcessTimeCompleteClass ?? (_ProcessTimeCompleteClass = new Package.ProcessTimeCompleteClass()); + + private Package.ProcessTimeTargetCompletionClass _ProcessTimeTargetCompletionClass; + /// + /// + /// + public Package.ProcessTimeTargetCompletionClass ProcessTimeTargetCompletionClass => _ProcessTimeTargetCompletionClass ?? (_ProcessTimeTargetCompletionClass = new Package.ProcessTimeTargetCompletionClass()); + + private Package.ProgramClass _ProgramClass; + /// + /// + /// + public Package.ProgramClass ProgramClass => _ProgramClass ?? (_ProgramClass = new Package.ProgramClass()); + + private Package.ProgramCommentClass _ProgramCommentClass; + /// + /// + /// + public Package.ProgramCommentClass ProgramCommentClass => _ProgramCommentClass ?? (_ProgramCommentClass = new Package.ProgramCommentClass()); + + private Package.ProgramEditClass _ProgramEditClass; + /// + /// + /// + public Package.ProgramEditClass ProgramEditClass => _ProgramEditClass ?? (_ProgramEditClass = new Package.ProgramEditClass()); + + private Package.ProgramEditNameClass _ProgramEditNameClass; + /// + /// + /// + public Package.ProgramEditNameClass ProgramEditNameClass => _ProgramEditNameClass ?? (_ProgramEditNameClass = new Package.ProgramEditNameClass()); + + private Package.ProgramHeaderClass _ProgramHeaderClass; + /// + /// + /// + public Package.ProgramHeaderClass ProgramHeaderClass => _ProgramHeaderClass ?? (_ProgramHeaderClass = new Package.ProgramHeaderClass()); + + private Package.ProgramLocationClass _ProgramLocationClass; + /// + /// + /// + public Package.ProgramLocationClass ProgramLocationClass => _ProgramLocationClass ?? (_ProgramLocationClass = new Package.ProgramLocationClass()); + + private Package.ProgramLocationScheduleClass _ProgramLocationScheduleClass; + /// + /// + /// + public Package.ProgramLocationScheduleClass ProgramLocationScheduleClass => _ProgramLocationScheduleClass ?? (_ProgramLocationScheduleClass = new Package.ProgramLocationScheduleClass()); + + private Package.ProgramLocationMainClass _ProgramLocationMainClass; + /// + /// + /// + public Package.ProgramLocationMainClass ProgramLocationMainClass => _ProgramLocationMainClass ?? (_ProgramLocationMainClass = new Package.ProgramLocationMainClass()); + + private Package.ProgramLocationActiveClass _ProgramLocationActiveClass; + /// + /// + /// + public Package.ProgramLocationActiveClass ProgramLocationActiveClass => _ProgramLocationActiveClass ?? (_ProgramLocationActiveClass = new Package.ProgramLocationActiveClass()); + + private Package.ProgramLocationTypeClass _ProgramLocationTypeClass; + /// + /// + /// + public Package.ProgramLocationTypeClass ProgramLocationTypeClass => _ProgramLocationTypeClass ?? (_ProgramLocationTypeClass = new Package.ProgramLocationTypeClass()); + + private Package.ProgramLocationTypeScheduleClass _ProgramLocationTypeScheduleClass; + /// + /// + /// + public Package.ProgramLocationTypeScheduleClass ProgramLocationTypeScheduleClass => _ProgramLocationTypeScheduleClass ?? (_ProgramLocationTypeScheduleClass = new Package.ProgramLocationTypeScheduleClass()); + + private Package.ProgramLocationTypeMainClass _ProgramLocationTypeMainClass; + /// + /// + /// + public Package.ProgramLocationTypeMainClass ProgramLocationTypeMainClass => _ProgramLocationTypeMainClass ?? (_ProgramLocationTypeMainClass = new Package.ProgramLocationTypeMainClass()); + + private Package.ProgramLocationTypeActiveClass _ProgramLocationTypeActiveClass; + /// + /// + /// + public Package.ProgramLocationTypeActiveClass ProgramLocationTypeActiveClass => _ProgramLocationTypeActiveClass ?? (_ProgramLocationTypeActiveClass = new Package.ProgramLocationTypeActiveClass()); + + private Package.ProgramNestLevelClass _ProgramNestLevelClass; + /// + /// + /// + public Package.ProgramNestLevelClass ProgramNestLevelClass => _ProgramNestLevelClass ?? (_ProgramNestLevelClass = new Package.ProgramNestLevelClass()); + + private Package.RotaryModeClass _RotaryModeClass; + /// + /// + /// + public Package.RotaryModeClass RotaryModeClass => _RotaryModeClass ?? (_RotaryModeClass = new Package.RotaryModeClass()); + + private Package.RotaryVelocityOverrideClass _RotaryVelocityOverrideClass; + /// + /// + /// + public Package.RotaryVelocityOverrideClass RotaryVelocityOverrideClass => _RotaryVelocityOverrideClass ?? (_RotaryVelocityOverrideClass = new Package.RotaryVelocityOverrideClass()); + + private Package.SerialNumberClass _SerialNumberClass; + /// + /// + /// + public Package.SerialNumberClass SerialNumberClass => _SerialNumberClass ?? (_SerialNumberClass = new Package.SerialNumberClass()); + + private Package.SpindleInterlockClass _SpindleInterlockClass; + /// + /// + /// + public Package.SpindleInterlockClass SpindleInterlockClass => _SpindleInterlockClass ?? (_SpindleInterlockClass = new Package.SpindleInterlockClass()); + + private Package.ToolAssetIdClass _ToolAssetIdClass; + /// + /// + /// + public Package.ToolAssetIdClass ToolAssetIdClass => _ToolAssetIdClass ?? (_ToolAssetIdClass = new Package.ToolAssetIdClass()); + + private Package.ToolGroupClass _ToolGroupClass; + /// + /// + /// + public Package.ToolGroupClass ToolGroupClass => _ToolGroupClass ?? (_ToolGroupClass = new Package.ToolGroupClass()); + + private Package.ToolIdClass _ToolIdClass; + /// + /// + /// + public Package.ToolIdClass ToolIdClass => _ToolIdClass ?? (_ToolIdClass = new Package.ToolIdClass()); + + private Package.ToolNumberClass _ToolNumberClass; + /// + /// + /// + public Package.ToolNumberClass ToolNumberClass => _ToolNumberClass ?? (_ToolNumberClass = new Package.ToolNumberClass()); + + private Package.ToolOffsetClass _ToolOffsetClass; + /// + /// + /// + public Package.ToolOffsetClass ToolOffsetClass => _ToolOffsetClass ?? (_ToolOffsetClass = new Package.ToolOffsetClass()); + + private Package.ToolOffsetRadialClass _ToolOffsetRadialClass; + /// + /// + /// + public Package.ToolOffsetRadialClass ToolOffsetRadialClass => _ToolOffsetRadialClass ?? (_ToolOffsetRadialClass = new Package.ToolOffsetRadialClass()); + + private Package.ToolOffsetLengthClass _ToolOffsetLengthClass; + /// + /// + /// + public Package.ToolOffsetLengthClass ToolOffsetLengthClass => _ToolOffsetLengthClass ?? (_ToolOffsetLengthClass = new Package.ToolOffsetLengthClass()); + + private Package.UserClass _UserClass; + /// + /// + /// + public Package.UserClass UserClass => _UserClass ?? (_UserClass = new Package.UserClass()); + + private Package.UserOperatorClass _UserOperatorClass; + /// + /// + /// + public Package.UserOperatorClass UserOperatorClass => _UserOperatorClass ?? (_UserOperatorClass = new Package.UserOperatorClass()); + + private Package.UserMaintenanceClass _UserMaintenanceClass; + /// + /// + /// + public Package.UserMaintenanceClass UserMaintenanceClass => _UserMaintenanceClass ?? (_UserMaintenanceClass = new Package.UserMaintenanceClass()); + + private Package.UserSetUpClass _UserSetUpClass; + /// + /// + /// + public Package.UserSetUpClass UserSetUpClass => _UserSetUpClass ?? (_UserSetUpClass = new Package.UserSetUpClass()); + + private Package.VariableClass _VariableClass; + /// + /// + /// + public Package.VariableClass VariableClass => _VariableClass ?? (_VariableClass = new Package.VariableClass()); + + private Package.WaitStateClass _WaitStateClass; + /// + /// + /// + public Package.WaitStateClass WaitStateClass => _WaitStateClass ?? (_WaitStateClass = new Package.WaitStateClass()); + + private Package.WireClass _WireClass; + /// + /// + /// + public Package.WireClass WireClass => _WireClass ?? (_WireClass = new Package.WireClass()); + + private Package.WorkholdingIdClass _WorkholdingIdClass; + /// + /// + /// + public Package.WorkholdingIdClass WorkholdingIdClass => _WorkholdingIdClass ?? (_WorkholdingIdClass = new Package.WorkholdingIdClass()); + + private Package.WorkOffsetClass _WorkOffsetClass; + /// + /// + /// + public Package.WorkOffsetClass WorkOffsetClass => _WorkOffsetClass ?? (_WorkOffsetClass = new Package.WorkOffsetClass()); + + private Package.ProgramHeaderMainClass _ProgramHeaderMainClass; + /// + /// + /// + public Package.ProgramHeaderMainClass ProgramHeaderMainClass => _ProgramHeaderMainClass ?? (_ProgramHeaderMainClass = new Package.ProgramHeaderMainClass()); + + private Package.ProgramHeaderScheduleClass _ProgramHeaderScheduleClass; + /// + /// + /// + public Package.ProgramHeaderScheduleClass ProgramHeaderScheduleClass => _ProgramHeaderScheduleClass ?? (_ProgramHeaderScheduleClass = new Package.ProgramHeaderScheduleClass()); + + private Package.ProgramHeaderActiveClass _ProgramHeaderActiveClass; + /// + /// + /// + public Package.ProgramHeaderActiveClass ProgramHeaderActiveClass => _ProgramHeaderActiveClass ?? (_ProgramHeaderActiveClass = new Package.ProgramHeaderActiveClass()); + + private Package.OperatingSystemClass _OperatingSystemClass; + /// + /// + /// + public Package.OperatingSystemClass OperatingSystemClass => _OperatingSystemClass ?? (_OperatingSystemClass = new Package.OperatingSystemClass()); + + private Package.OperatingSystemLicenseClass _OperatingSystemLicenseClass; + /// + /// + /// + public Package.OperatingSystemLicenseClass OperatingSystemLicenseClass => _OperatingSystemLicenseClass ?? (_OperatingSystemLicenseClass = new Package.OperatingSystemLicenseClass()); + + private Package.OperatingSystemVersionClass _OperatingSystemVersionClass; + /// + /// + /// + public Package.OperatingSystemVersionClass OperatingSystemVersionClass => _OperatingSystemVersionClass ?? (_OperatingSystemVersionClass = new Package.OperatingSystemVersionClass()); + + private Package.OperatingSystemReleaseDateClass _OperatingSystemReleaseDateClass; + /// + /// + /// + public Package.OperatingSystemReleaseDateClass OperatingSystemReleaseDateClass => _OperatingSystemReleaseDateClass ?? (_OperatingSystemReleaseDateClass = new Package.OperatingSystemReleaseDateClass()); + + private Package.OperatingSystemInstallDateClass _OperatingSystemInstallDateClass; + /// + /// + /// + public Package.OperatingSystemInstallDateClass OperatingSystemInstallDateClass => _OperatingSystemInstallDateClass ?? (_OperatingSystemInstallDateClass = new Package.OperatingSystemInstallDateClass()); + + private Package.OperatingSystemManufacturerClass _OperatingSystemManufacturerClass; + /// + /// + /// + public Package.OperatingSystemManufacturerClass OperatingSystemManufacturerClass => _OperatingSystemManufacturerClass ?? (_OperatingSystemManufacturerClass = new Package.OperatingSystemManufacturerClass()); + + private Package.FirmwareVersionClass _FirmwareVersionClass; + /// + /// + /// + public Package.FirmwareVersionClass FirmwareVersionClass => _FirmwareVersionClass ?? (_FirmwareVersionClass = new Package.FirmwareVersionClass()); + + private Package.FirmwareReleaseDateClass _FirmwareReleaseDateClass; + /// + /// + /// + public Package.FirmwareReleaseDateClass FirmwareReleaseDateClass => _FirmwareReleaseDateClass ?? (_FirmwareReleaseDateClass = new Package.FirmwareReleaseDateClass()); + + private Package.FirmwareClass _FirmwareClass; + /// + /// + /// + public Package.FirmwareClass FirmwareClass => _FirmwareClass ?? (_FirmwareClass = new Package.FirmwareClass()); + + private Package.FirmwareManufacturerClass _FirmwareManufacturerClass; + /// + /// + /// + public Package.FirmwareManufacturerClass FirmwareManufacturerClass => _FirmwareManufacturerClass ?? (_FirmwareManufacturerClass = new Package.FirmwareManufacturerClass()); + + private Package.FirmwareLicenseClass _FirmwareLicenseClass; + /// + /// + /// + public Package.FirmwareLicenseClass FirmwareLicenseClass => _FirmwareLicenseClass ?? (_FirmwareLicenseClass = new Package.FirmwareLicenseClass()); + + private Package.FirmwareInstallDateClass _FirmwareInstallDateClass; + /// + /// + /// + public Package.FirmwareInstallDateClass FirmwareInstallDateClass => _FirmwareInstallDateClass ?? (_FirmwareInstallDateClass = new Package.FirmwareInstallDateClass()); + + private Package.ApplicationVersionClass _ApplicationVersionClass; + /// + /// + /// + public Package.ApplicationVersionClass ApplicationVersionClass => _ApplicationVersionClass ?? (_ApplicationVersionClass = new Package.ApplicationVersionClass()); + + private Package.ApplicationReleaseDateClass _ApplicationReleaseDateClass; + /// + /// + /// + public Package.ApplicationReleaseDateClass ApplicationReleaseDateClass => _ApplicationReleaseDateClass ?? (_ApplicationReleaseDateClass = new Package.ApplicationReleaseDateClass()); + + private Package.ApplicationClass _ApplicationClass; + /// + /// + /// + public Package.ApplicationClass ApplicationClass => _ApplicationClass ?? (_ApplicationClass = new Package.ApplicationClass()); + + private Package.ApplicationManufacturerClass _ApplicationManufacturerClass; + /// + /// + /// + public Package.ApplicationManufacturerClass ApplicationManufacturerClass => _ApplicationManufacturerClass ?? (_ApplicationManufacturerClass = new Package.ApplicationManufacturerClass()); + + private Package.ApplicationLicenseClass _ApplicationLicenseClass; + /// + /// + /// + public Package.ApplicationLicenseClass ApplicationLicenseClass => _ApplicationLicenseClass ?? (_ApplicationLicenseClass = new Package.ApplicationLicenseClass()); + + private Package.ApplicationInstallDateClass _ApplicationInstallDateClass; + /// + /// + /// + public Package.ApplicationInstallDateClass ApplicationInstallDateClass => _ApplicationInstallDateClass ?? (_ApplicationInstallDateClass = new Package.ApplicationInstallDateClass()); + + private Package.LibraryVersionClass _LibraryVersionClass; + /// + /// + /// + public Package.LibraryVersionClass LibraryVersionClass => _LibraryVersionClass ?? (_LibraryVersionClass = new Package.LibraryVersionClass()); + + private Package.LibraryReleaseDateClass _LibraryReleaseDateClass; + /// + /// + /// + public Package.LibraryReleaseDateClass LibraryReleaseDateClass => _LibraryReleaseDateClass ?? (_LibraryReleaseDateClass = new Package.LibraryReleaseDateClass()); + + private Package.LibraryClass _LibraryClass; + /// + /// + /// + public Package.LibraryClass LibraryClass => _LibraryClass ?? (_LibraryClass = new Package.LibraryClass()); + + private Package.LibraryManufacturerClass _LibraryManufacturerClass; + /// + /// + /// + public Package.LibraryManufacturerClass LibraryManufacturerClass => _LibraryManufacturerClass ?? (_LibraryManufacturerClass = new Package.LibraryManufacturerClass()); + + private Package.LibraryLicenseClass _LibraryLicenseClass; + /// + /// + /// + public Package.LibraryLicenseClass LibraryLicenseClass => _LibraryLicenseClass ?? (_LibraryLicenseClass = new Package.LibraryLicenseClass()); + + private Package.LibraryInstallDateClass _LibraryInstallDateClass; + /// + /// + /// + public Package.LibraryInstallDateClass LibraryInstallDateClass => _LibraryInstallDateClass ?? (_LibraryInstallDateClass = new Package.LibraryInstallDateClass()); + + private Package.HardwareVersionClass _HardwareVersionClass; + /// + /// + /// + public Package.HardwareVersionClass HardwareVersionClass => _HardwareVersionClass ?? (_HardwareVersionClass = new Package.HardwareVersionClass()); + + private Package.HardwareReleaseDateClass _HardwareReleaseDateClass; + /// + /// + /// + public Package.HardwareReleaseDateClass HardwareReleaseDateClass => _HardwareReleaseDateClass ?? (_HardwareReleaseDateClass = new Package.HardwareReleaseDateClass()); + + private Package.HardwareClass _HardwareClass; + /// + /// + /// + public Package.HardwareClass HardwareClass => _HardwareClass ?? (_HardwareClass = new Package.HardwareClass()); + + private Package.HardwareManufacturerClass _HardwareManufacturerClass; + /// + /// + /// + public Package.HardwareManufacturerClass HardwareManufacturerClass => _HardwareManufacturerClass ?? (_HardwareManufacturerClass = new Package.HardwareManufacturerClass()); + + private Package.HardwareLicenseClass _HardwareLicenseClass; + /// + /// + /// + public Package.HardwareLicenseClass HardwareLicenseClass => _HardwareLicenseClass ?? (_HardwareLicenseClass = new Package.HardwareLicenseClass()); + + private Package.HardwareInstallDateClass _HardwareInstallDateClass; + /// + /// + /// + public Package.HardwareInstallDateClass HardwareInstallDateClass => _HardwareInstallDateClass ?? (_HardwareInstallDateClass = new Package.HardwareInstallDateClass()); + + private Package.NetworkClass _NetworkClass; + /// + /// + /// + public Package.NetworkClass NetworkClass => _NetworkClass ?? (_NetworkClass = new Package.NetworkClass()); + + private Package.NetworkIPv4AddressClass _NetworkIPv4AddressClass; + /// + /// + /// + public Package.NetworkIPv4AddressClass NetworkIPv4AddressClass => _NetworkIPv4AddressClass ?? (_NetworkIPv4AddressClass = new Package.NetworkIPv4AddressClass()); + + private Package.NetworkIPv6AddressClass _NetworkIPv6AddressClass; + /// + /// + /// + public Package.NetworkIPv6AddressClass NetworkIPv6AddressClass => _NetworkIPv6AddressClass ?? (_NetworkIPv6AddressClass = new Package.NetworkIPv6AddressClass()); + + private Package.NetworkGatewayClass _NetworkGatewayClass; + /// + /// + /// + public Package.NetworkGatewayClass NetworkGatewayClass => _NetworkGatewayClass ?? (_NetworkGatewayClass = new Package.NetworkGatewayClass()); + + private Package.NetworkSubnetMaskClass _NetworkSubnetMaskClass; + /// + /// + /// + public Package.NetworkSubnetMaskClass NetworkSubnetMaskClass => _NetworkSubnetMaskClass ?? (_NetworkSubnetMaskClass = new Package.NetworkSubnetMaskClass()); + + private Package.NetworkVLanIdClass _NetworkVLanIdClass; + /// + /// + /// + public Package.NetworkVLanIdClass NetworkVLanIdClass => _NetworkVLanIdClass ?? (_NetworkVLanIdClass = new Package.NetworkVLanIdClass()); + + private Package.NetworkMacAddressClass _NetworkMacAddressClass; + /// + /// + /// + public Package.NetworkMacAddressClass NetworkMacAddressClass => _NetworkMacAddressClass ?? (_NetworkMacAddressClass = new Package.NetworkMacAddressClass()); + + private Package.NetworkWirelessClass _NetworkWirelessClass; + /// + /// + /// + public Package.NetworkWirelessClass NetworkWirelessClass => _NetworkWirelessClass ?? (_NetworkWirelessClass = new Package.NetworkWirelessClass()); + + private Package.RotationClass _RotationClass; + /// + /// + /// + public Package.RotationClass RotationClass => _RotationClass ?? (_RotationClass = new Package.RotationClass()); + + private Package.TranslationClass _TranslationClass; + /// + /// + /// + public Package.TranslationClass TranslationClass => _TranslationClass ?? (_TranslationClass = new Package.TranslationClass()); + + private Package.ProcessKindIdClass _ProcessKindIdClass; + /// + /// + /// + public Package.ProcessKindIdClass ProcessKindIdClass => _ProcessKindIdClass ?? (_ProcessKindIdClass = new Package.ProcessKindIdClass()); + + private Package.PartStatusClass _PartStatusClass; + /// + /// + /// + public Package.PartStatusClass PartStatusClass => _PartStatusClass ?? (_PartStatusClass = new Package.PartStatusClass()); + + private Package.AlarmLimitClass _AlarmLimitClass; + /// + /// + /// + public Package.AlarmLimitClass AlarmLimitClass => _AlarmLimitClass ?? (_AlarmLimitClass = new Package.AlarmLimitClass()); + + private Package.ProcessAggregateIdClass _ProcessAggregateIdClass; + /// + /// + /// + public Package.ProcessAggregateIdClass ProcessAggregateIdClass => _ProcessAggregateIdClass ?? (_ProcessAggregateIdClass = new Package.ProcessAggregateIdClass()); + + private Package.ProcessKindIdUuidClass _ProcessKindIdUuidClass; + /// + /// + /// + public Package.ProcessKindIdUuidClass ProcessKindIdUuidClass => _ProcessKindIdUuidClass ?? (_ProcessKindIdUuidClass = new Package.ProcessKindIdUuidClass()); + + private Package.ProcessAggregateIdOrderNumberClass _ProcessAggregateIdOrderNumberClass; + /// + /// + /// + public Package.ProcessAggregateIdOrderNumberClass ProcessAggregateIdOrderNumberClass => _ProcessAggregateIdOrderNumberClass ?? (_ProcessAggregateIdOrderNumberClass = new Package.ProcessAggregateIdOrderNumberClass()); + + private Package.ProcessKindIdISOStepExecutableClass _ProcessKindIdISOStepExecutableClass; + /// + /// + /// + public Package.ProcessKindIdISOStepExecutableClass ProcessKindIdISOStepExecutableClass => _ProcessKindIdISOStepExecutableClass ?? (_ProcessKindIdISOStepExecutableClass = new Package.ProcessKindIdISOStepExecutableClass()); + + private Package.PartKindIdClass _PartKindIdClass; + /// + /// + /// + public Package.PartKindIdClass PartKindIdClass => _PartKindIdClass ?? (_PartKindIdClass = new Package.PartKindIdClass()); + + private Package.ProcessKindIdProcessNameClass _ProcessKindIdProcessNameClass; + /// + /// + /// + public Package.ProcessKindIdProcessNameClass ProcessKindIdProcessNameClass => _ProcessKindIdProcessNameClass ?? (_ProcessKindIdProcessNameClass = new Package.ProcessKindIdProcessNameClass()); + + private Package.AdapterURIClass _AdapterURIClass; + /// + /// + /// + public Package.AdapterURIClass AdapterURIClass => _AdapterURIClass ?? (_AdapterURIClass = new Package.AdapterURIClass()); + + private Package.PartKindIdUuidClass _PartKindIdUuidClass; + /// + /// + /// + public Package.PartKindIdUuidClass PartKindIdUuidClass => _PartKindIdUuidClass ?? (_PartKindIdUuidClass = new Package.PartKindIdUuidClass()); + + private Package.DeviceRemovedClass _DeviceRemovedClass; + /// + /// + /// + public Package.DeviceRemovedClass DeviceRemovedClass => _DeviceRemovedClass ?? (_DeviceRemovedClass = new Package.DeviceRemovedClass()); + + private Package.DeviceChangedClass _DeviceChangedClass; + /// + /// + /// + public Package.DeviceChangedClass DeviceChangedClass => _DeviceChangedClass ?? (_DeviceChangedClass = new Package.DeviceChangedClass()); + + private Package.SpecificationLimitClass _SpecificationLimitClass; + /// + /// + /// + public Package.SpecificationLimitClass SpecificationLimitClass => _SpecificationLimitClass ?? (_SpecificationLimitClass = new Package.SpecificationLimitClass()); + + private Package.ConnectionStatusClass _ConnectionStatusClass; + /// + /// + /// + public Package.ConnectionStatusClass ConnectionStatusClass => _ConnectionStatusClass ?? (_ConnectionStatusClass = new Package.ConnectionStatusClass()); + + private Package.PartKindIdPartFamilyClass _PartKindIdPartFamilyClass; + /// + /// + /// + public Package.PartKindIdPartFamilyClass PartKindIdPartFamilyClass => _PartKindIdPartFamilyClass ?? (_PartKindIdPartFamilyClass = new Package.PartKindIdPartFamilyClass()); + + private Package.PartKindIdPartNameClass _PartKindIdPartNameClass; + /// + /// + /// + public Package.PartKindIdPartNameClass PartKindIdPartNameClass => _PartKindIdPartNameClass ?? (_PartKindIdPartNameClass = new Package.PartKindIdPartNameClass()); + + private Package.AdapterSoftwareVersionClass _AdapterSoftwareVersionClass; + /// + /// + /// + public Package.AdapterSoftwareVersionClass AdapterSoftwareVersionClass => _AdapterSoftwareVersionClass ?? (_AdapterSoftwareVersionClass = new Package.AdapterSoftwareVersionClass()); + + private Package.SensorAttachmentClass _SensorAttachmentClass; + /// + /// + /// + public Package.SensorAttachmentClass SensorAttachmentClass => _SensorAttachmentClass ?? (_SensorAttachmentClass = new Package.SensorAttachmentClass()); + + private Package.PartKindIdPartNumberClass _PartKindIdPartNumberClass; + /// + /// + /// + public Package.PartKindIdPartNumberClass PartKindIdPartNumberClass => _PartKindIdPartNumberClass ?? (_PartKindIdPartNumberClass = new Package.PartKindIdPartNumberClass()); + + private Package.PartGroupIdLotClass _PartGroupIdLotClass; + /// + /// + /// + public Package.PartGroupIdLotClass PartGroupIdLotClass => _PartGroupIdLotClass ?? (_PartGroupIdLotClass = new Package.PartGroupIdLotClass()); + + private Package.PartGroupIdRawMaterialClass _PartGroupIdRawMaterialClass; + /// + /// + /// + public Package.PartGroupIdRawMaterialClass PartGroupIdRawMaterialClass => _PartGroupIdRawMaterialClass ?? (_PartGroupIdRawMaterialClass = new Package.PartGroupIdRawMaterialClass()); + + private Package.PartGroupIdBatchClass _PartGroupIdBatchClass; + /// + /// + /// + public Package.PartGroupIdBatchClass PartGroupIdBatchClass => _PartGroupIdBatchClass ?? (_PartGroupIdBatchClass = new Package.PartGroupIdBatchClass()); + + private Package.ControlLimitClass _ControlLimitClass; + /// + /// + /// + public Package.ControlLimitClass ControlLimitClass => _ControlLimitClass ?? (_ControlLimitClass = new Package.ControlLimitClass()); + + private Package.DeviceAddedClass _DeviceAddedClass; + /// + /// + /// + public Package.DeviceAddedClass DeviceAddedClass => _DeviceAddedClass ?? (_DeviceAddedClass = new Package.DeviceAddedClass()); + + private Package.ProcessAggregateIdProcessStepClass _ProcessAggregateIdProcessStepClass; + /// + /// + /// + public Package.ProcessAggregateIdProcessStepClass ProcessAggregateIdProcessStepClass => _ProcessAggregateIdProcessStepClass ?? (_ProcessAggregateIdProcessStepClass = new Package.ProcessAggregateIdProcessStepClass()); + + private Package.MTConnectVersionClass _MTConnectVersionClass; + /// + /// + /// + public Package.MTConnectVersionClass MTConnectVersionClass => _MTConnectVersionClass ?? (_MTConnectVersionClass = new Package.MTConnectVersionClass()); + + private Package.PartUniqueIdSerialNumberClass _PartUniqueIdSerialNumberClass; + /// + /// + /// + public Package.PartUniqueIdSerialNumberClass PartUniqueIdSerialNumberClass => _PartUniqueIdSerialNumberClass ?? (_PartUniqueIdSerialNumberClass = new Package.PartUniqueIdSerialNumberClass()); + + private Package.PartUniqueIdRawMaterialClass _PartUniqueIdRawMaterialClass; + /// + /// + /// + public Package.PartUniqueIdRawMaterialClass PartUniqueIdRawMaterialClass => _PartUniqueIdRawMaterialClass ?? (_PartUniqueIdRawMaterialClass = new Package.PartUniqueIdRawMaterialClass()); + + private Package.PartGroupIdUuidClass _PartGroupIdUuidClass; + /// + /// + /// + public Package.PartGroupIdUuidClass PartGroupIdUuidClass => _PartGroupIdUuidClass ?? (_PartGroupIdUuidClass = new Package.PartGroupIdUuidClass()); + + private Package.ProcessOccurrenceIdClass _ProcessOccurrenceIdClass; + /// + /// + /// + public Package.ProcessOccurrenceIdClass ProcessOccurrenceIdClass => _ProcessOccurrenceIdClass ?? (_ProcessOccurrenceIdClass = new Package.ProcessOccurrenceIdClass()); + + private Package.ProcessAggregateIdProcessPlanClass _ProcessAggregateIdProcessPlanClass; + /// + /// + /// + public Package.ProcessAggregateIdProcessPlanClass ProcessAggregateIdProcessPlanClass => _ProcessAggregateIdProcessPlanClass ?? (_ProcessAggregateIdProcessPlanClass = new Package.ProcessAggregateIdProcessPlanClass()); + + private Package.PartUniqueIdUuidClass _PartUniqueIdUuidClass; + /// + /// + /// + public Package.PartUniqueIdUuidClass PartUniqueIdUuidClass => _PartUniqueIdUuidClass ?? (_PartUniqueIdUuidClass = new Package.PartUniqueIdUuidClass()); + + private Package.PartGroupIdClass _PartGroupIdClass; + /// + /// + /// + public Package.PartGroupIdClass PartGroupIdClass => _PartGroupIdClass ?? (_PartGroupIdClass = new Package.PartGroupIdClass()); + + private Package.PartGroupIdHeatTreatClass _PartGroupIdHeatTreatClass; + /// + /// + /// + public Package.PartGroupIdHeatTreatClass PartGroupIdHeatTreatClass => _PartGroupIdHeatTreatClass ?? (_PartGroupIdHeatTreatClass = new Package.PartGroupIdHeatTreatClass()); + + private Package.PartUniqueIdClass _PartUniqueIdClass; + /// + /// + /// + public Package.PartUniqueIdClass PartUniqueIdClass => _PartUniqueIdClass ?? (_PartUniqueIdClass = new Package.PartUniqueIdClass()); + + private Package.LoadCountRemainingClass _LoadCountRemainingClass; + /// + /// + /// + public Package.LoadCountRemainingClass LoadCountRemainingClass => _LoadCountRemainingClass ?? (_LoadCountRemainingClass = new Package.LoadCountRemainingClass()); + + private Package.ActivationCountTargetClass _ActivationCountTargetClass; + /// + /// + /// + public Package.ActivationCountTargetClass ActivationCountTargetClass => _ActivationCountTargetClass ?? (_ActivationCountTargetClass = new Package.ActivationCountTargetClass()); + + private Package.ActivationCountGoodClass _ActivationCountGoodClass; + /// + /// + /// + public Package.ActivationCountGoodClass ActivationCountGoodClass => _ActivationCountGoodClass ?? (_ActivationCountGoodClass = new Package.ActivationCountGoodClass()); + + private Package.TransferCountGoodClass _TransferCountGoodClass; + /// + /// + /// + public Package.TransferCountGoodClass TransferCountGoodClass => _TransferCountGoodClass ?? (_TransferCountGoodClass = new Package.TransferCountGoodClass()); + + private Package.CycleCountGoodClass _CycleCountGoodClass; + /// + /// + /// + public Package.CycleCountGoodClass CycleCountGoodClass => _CycleCountGoodClass ?? (_CycleCountGoodClass = new Package.CycleCountGoodClass()); + + private Package.ActivationCountClass _ActivationCountClass; + /// + /// + /// + public Package.ActivationCountClass ActivationCountClass => _ActivationCountClass ?? (_ActivationCountClass = new Package.ActivationCountClass()); + + private Package.UnloadCountAbortedClass _UnloadCountAbortedClass; + /// + /// + /// + public Package.UnloadCountAbortedClass UnloadCountAbortedClass => _UnloadCountAbortedClass ?? (_UnloadCountAbortedClass = new Package.UnloadCountAbortedClass()); + + private Package.CycleCountRemainingClass _CycleCountRemainingClass; + /// + /// + /// + public Package.CycleCountRemainingClass CycleCountRemainingClass => _CycleCountRemainingClass ?? (_CycleCountRemainingClass = new Package.CycleCountRemainingClass()); + + private Package.DeactivationCountBadClass _DeactivationCountBadClass; + /// + /// + /// + public Package.DeactivationCountBadClass DeactivationCountBadClass => _DeactivationCountBadClass ?? (_DeactivationCountBadClass = new Package.DeactivationCountBadClass()); + + private Package.TransferCountAbortedClass _TransferCountAbortedClass; + /// + /// + /// + public Package.TransferCountAbortedClass TransferCountAbortedClass => _TransferCountAbortedClass ?? (_TransferCountAbortedClass = new Package.TransferCountAbortedClass()); + + private Package.DeactivationCountClass _DeactivationCountClass; + /// + /// + /// + public Package.DeactivationCountClass DeactivationCountClass => _DeactivationCountClass ?? (_DeactivationCountClass = new Package.DeactivationCountClass()); + + private Package.ActivationCountBadClass _ActivationCountBadClass; + /// + /// + /// + public Package.ActivationCountBadClass ActivationCountBadClass => _ActivationCountBadClass ?? (_ActivationCountBadClass = new Package.ActivationCountBadClass()); + + private Package.UnloadCountBadClass _UnloadCountBadClass; + /// + /// + /// + public Package.UnloadCountBadClass UnloadCountBadClass => _UnloadCountBadClass ?? (_UnloadCountBadClass = new Package.UnloadCountBadClass()); + + private Package.CycleCountCompleteClass _CycleCountCompleteClass; + /// + /// + /// + public Package.CycleCountCompleteClass CycleCountCompleteClass => _CycleCountCompleteClass ?? (_CycleCountCompleteClass = new Package.CycleCountCompleteClass()); + + private Package.TransferCountClass _TransferCountClass; + /// + /// + /// + public Package.TransferCountClass TransferCountClass => _TransferCountClass ?? (_TransferCountClass = new Package.TransferCountClass()); + + private Package.LoadCountBadClass _LoadCountBadClass; + /// + /// + /// + public Package.LoadCountBadClass LoadCountBadClass => _LoadCountBadClass ?? (_LoadCountBadClass = new Package.LoadCountBadClass()); + + private Package.CycleCountAbortedClass _CycleCountAbortedClass; + /// + /// + /// + public Package.CycleCountAbortedClass CycleCountAbortedClass => _CycleCountAbortedClass ?? (_CycleCountAbortedClass = new Package.CycleCountAbortedClass()); + + private Package.LoadCountClass _LoadCountClass; + /// + /// + /// + public Package.LoadCountClass LoadCountClass => _LoadCountClass ?? (_LoadCountClass = new Package.LoadCountClass()); + + private Package.TransferCountFailedClass _TransferCountFailedClass; + /// + /// + /// + public Package.TransferCountFailedClass TransferCountFailedClass => _TransferCountFailedClass ?? (_TransferCountFailedClass = new Package.TransferCountFailedClass()); + + private Package.DeactivationCountFailedClass _DeactivationCountFailedClass; + /// + /// + /// + public Package.DeactivationCountFailedClass DeactivationCountFailedClass => _DeactivationCountFailedClass ?? (_DeactivationCountFailedClass = new Package.DeactivationCountFailedClass()); + + private Package.LoadCountFailedClass _LoadCountFailedClass; + /// + /// + /// + public Package.LoadCountFailedClass LoadCountFailedClass => _LoadCountFailedClass ?? (_LoadCountFailedClass = new Package.LoadCountFailedClass()); + + private Package.PartProcessingStateClass _PartProcessingStateClass; + /// + /// + /// + public Package.PartProcessingStateClass PartProcessingStateClass => _PartProcessingStateClass ?? (_PartProcessingStateClass = new Package.PartProcessingStateClass()); + + private Package.ActivationCountRemainingClass _ActivationCountRemainingClass; + /// + /// + /// + public Package.ActivationCountRemainingClass ActivationCountRemainingClass => _ActivationCountRemainingClass ?? (_ActivationCountRemainingClass = new Package.ActivationCountRemainingClass()); + + private Package.TransferCountAllClass _TransferCountAllClass; + /// + /// + /// + public Package.TransferCountAllClass TransferCountAllClass => _TransferCountAllClass ?? (_TransferCountAllClass = new Package.TransferCountAllClass()); + + private Package.UnloadCountFailedClass _UnloadCountFailedClass; + /// + /// + /// + public Package.UnloadCountFailedClass UnloadCountFailedClass => _UnloadCountFailedClass ?? (_UnloadCountFailedClass = new Package.UnloadCountFailedClass()); + + private Package.ProcessStateClass _ProcessStateClass; + /// + /// + /// + public Package.ProcessStateClass ProcessStateClass => _ProcessStateClass ?? (_ProcessStateClass = new Package.ProcessStateClass()); + + private Package.ActivationCountAbortedClass _ActivationCountAbortedClass; + /// + /// + /// + public Package.ActivationCountAbortedClass ActivationCountAbortedClass => _ActivationCountAbortedClass ?? (_ActivationCountAbortedClass = new Package.ActivationCountAbortedClass()); + + private Package.PartCountCompleteClass _PartCountCompleteClass; + /// + /// + /// + public Package.PartCountCompleteClass PartCountCompleteClass => _PartCountCompleteClass ?? (_PartCountCompleteClass = new Package.PartCountCompleteClass()); + + private Package.DeactivationCountTargetClass _DeactivationCountTargetClass; + /// + /// + /// + public Package.DeactivationCountTargetClass DeactivationCountTargetClass => _DeactivationCountTargetClass ?? (_DeactivationCountTargetClass = new Package.DeactivationCountTargetClass()); + + private Package.TransferCountBadClass _TransferCountBadClass; + /// + /// + /// + public Package.TransferCountBadClass TransferCountBadClass => _TransferCountBadClass ?? (_TransferCountBadClass = new Package.TransferCountBadClass()); + + private Package.ActivationCountFailedClass _ActivationCountFailedClass; + /// + /// + /// + public Package.ActivationCountFailedClass ActivationCountFailedClass => _ActivationCountFailedClass ?? (_ActivationCountFailedClass = new Package.ActivationCountFailedClass()); + + private Package.TransferCountRemainingClass _TransferCountRemainingClass; + /// + /// + /// + public Package.TransferCountRemainingClass TransferCountRemainingClass => _TransferCountRemainingClass ?? (_TransferCountRemainingClass = new Package.TransferCountRemainingClass()); + + private Package.DeactivationCountCompleteClass _DeactivationCountCompleteClass; + /// + /// + /// + public Package.DeactivationCountCompleteClass DeactivationCountCompleteClass => _DeactivationCountCompleteClass ?? (_DeactivationCountCompleteClass = new Package.DeactivationCountCompleteClass()); + + private Package.LoadCountAbortedClass _LoadCountAbortedClass; + /// + /// + /// + public Package.LoadCountAbortedClass LoadCountAbortedClass => _LoadCountAbortedClass ?? (_LoadCountAbortedClass = new Package.LoadCountAbortedClass()); + + private Package.UnloadCountGoodClass _UnloadCountGoodClass; + /// + /// + /// + public Package.UnloadCountGoodClass UnloadCountGoodClass => _UnloadCountGoodClass ?? (_UnloadCountGoodClass = new Package.UnloadCountGoodClass()); + + private Package.DeactivationCountRemainingClass _DeactivationCountRemainingClass; + /// + /// + /// + public Package.DeactivationCountRemainingClass DeactivationCountRemainingClass => _DeactivationCountRemainingClass ?? (_DeactivationCountRemainingClass = new Package.DeactivationCountRemainingClass()); + + private Package.CycleCountBadClass _CycleCountBadClass; + /// + /// + /// + public Package.CycleCountBadClass CycleCountBadClass => _CycleCountBadClass ?? (_CycleCountBadClass = new Package.CycleCountBadClass()); + + private Package.TransferCountCompleteClass _TransferCountCompleteClass; + /// + /// + /// + public Package.TransferCountCompleteClass TransferCountCompleteClass => _TransferCountCompleteClass ?? (_TransferCountCompleteClass = new Package.TransferCountCompleteClass()); + + private Package.UnloadCountCompleteClass _UnloadCountCompleteClass; + /// + /// + /// + public Package.UnloadCountCompleteClass UnloadCountCompleteClass => _UnloadCountCompleteClass ?? (_UnloadCountCompleteClass = new Package.UnloadCountCompleteClass()); + + private Package.UnloadCountAllClass _UnloadCountAllClass; + /// + /// + /// + public Package.UnloadCountAllClass UnloadCountAllClass => _UnloadCountAllClass ?? (_UnloadCountAllClass = new Package.UnloadCountAllClass()); + + private Package.ValveStateClass _ValveStateClass; + /// + /// + /// + public Package.ValveStateClass ValveStateClass => _ValveStateClass ?? (_ValveStateClass = new Package.ValveStateClass()); + + private Package.CycleCountFailedClass _CycleCountFailedClass; + /// + /// + /// + public Package.CycleCountFailedClass CycleCountFailedClass => _CycleCountFailedClass ?? (_CycleCountFailedClass = new Package.CycleCountFailedClass()); + + private Package.LoadCountAllClass _LoadCountAllClass; + /// + /// + /// + public Package.LoadCountAllClass LoadCountAllClass => _LoadCountAllClass ?? (_LoadCountAllClass = new Package.LoadCountAllClass()); + + private Package.UnloadCountTargetClass _UnloadCountTargetClass; + /// + /// + /// + public Package.UnloadCountTargetClass UnloadCountTargetClass => _UnloadCountTargetClass ?? (_UnloadCountTargetClass = new Package.UnloadCountTargetClass()); + + private Package.ValveStateActualClass _ValveStateActualClass; + /// + /// + /// + public Package.ValveStateActualClass ValveStateActualClass => _ValveStateActualClass ?? (_ValveStateActualClass = new Package.ValveStateActualClass()); + + private Package.TransferCountTargetClass _TransferCountTargetClass; + /// + /// + /// + public Package.TransferCountTargetClass TransferCountTargetClass => _TransferCountTargetClass ?? (_TransferCountTargetClass = new Package.TransferCountTargetClass()); + + private Package.CycleCountTargetClass _CycleCountTargetClass; + /// + /// + /// + public Package.CycleCountTargetClass CycleCountTargetClass => _CycleCountTargetClass ?? (_CycleCountTargetClass = new Package.CycleCountTargetClass()); + + private Package.LockStateClass _LockStateClass; + /// + /// + /// + public Package.LockStateClass LockStateClass => _LockStateClass ?? (_LockStateClass = new Package.LockStateClass()); + + private Package.UnloadCountClass _UnloadCountClass; + /// + /// + /// + public Package.UnloadCountClass UnloadCountClass => _UnloadCountClass ?? (_UnloadCountClass = new Package.UnloadCountClass()); + + private Package.PartCountAbortedClass _PartCountAbortedClass; + /// + /// + /// + public Package.PartCountAbortedClass PartCountAbortedClass => _PartCountAbortedClass ?? (_PartCountAbortedClass = new Package.PartCountAbortedClass()); + + private Package.ActivationCountCompleteClass _ActivationCountCompleteClass; + /// + /// + /// + public Package.ActivationCountCompleteClass ActivationCountCompleteClass => _ActivationCountCompleteClass ?? (_ActivationCountCompleteClass = new Package.ActivationCountCompleteClass()); + + private Package.PartCountFailedClass _PartCountFailedClass; + /// + /// + /// + public Package.PartCountFailedClass PartCountFailedClass => _PartCountFailedClass ?? (_PartCountFailedClass = new Package.PartCountFailedClass()); + + private Package.LoadCountGoodClass _LoadCountGoodClass; + /// + /// + /// + public Package.LoadCountGoodClass LoadCountGoodClass => _LoadCountGoodClass ?? (_LoadCountGoodClass = new Package.LoadCountGoodClass()); + + private Package.CycleCountClass _CycleCountClass; + /// + /// + /// + public Package.CycleCountClass CycleCountClass => _CycleCountClass ?? (_CycleCountClass = new Package.CycleCountClass()); + + private Package.CycleCountAllClass _CycleCountAllClass; + /// + /// + /// + public Package.CycleCountAllClass CycleCountAllClass => _CycleCountAllClass ?? (_CycleCountAllClass = new Package.CycleCountAllClass()); + + private Package.LoadCountCompleteClass _LoadCountCompleteClass; + /// + /// + /// + public Package.LoadCountCompleteClass LoadCountCompleteClass => _LoadCountCompleteClass ?? (_LoadCountCompleteClass = new Package.LoadCountCompleteClass()); + + private Package.ActivationCountAllClass _ActivationCountAllClass; + /// + /// + /// + public Package.ActivationCountAllClass ActivationCountAllClass => _ActivationCountAllClass ?? (_ActivationCountAllClass = new Package.ActivationCountAllClass()); + + private Package.DeactivationCountAllClass _DeactivationCountAllClass; + /// + /// + /// + public Package.DeactivationCountAllClass DeactivationCountAllClass => _DeactivationCountAllClass ?? (_DeactivationCountAllClass = new Package.DeactivationCountAllClass()); + + private Package.UnloadCountRemainingClass _UnloadCountRemainingClass; + /// + /// + /// + public Package.UnloadCountRemainingClass UnloadCountRemainingClass => _UnloadCountRemainingClass ?? (_UnloadCountRemainingClass = new Package.UnloadCountRemainingClass()); + + private Package.DeactivationCountGoodClass _DeactivationCountGoodClass; + /// + /// + /// + public Package.DeactivationCountGoodClass DeactivationCountGoodClass => _DeactivationCountGoodClass ?? (_DeactivationCountGoodClass = new Package.DeactivationCountGoodClass()); + + private Package.LoadCountTargetClass _LoadCountTargetClass; + /// + /// + /// + public Package.LoadCountTargetClass LoadCountTargetClass => _LoadCountTargetClass ?? (_LoadCountTargetClass = new Package.LoadCountTargetClass()); + + private Package.ValveStateProgrammedClass _ValveStateProgrammedClass; + /// + /// + /// + public Package.ValveStateProgrammedClass ValveStateProgrammedClass => _ValveStateProgrammedClass ?? (_ValveStateProgrammedClass = new Package.ValveStateProgrammedClass()); + + private Package.DeactivationCountAbortedClass _DeactivationCountAbortedClass; + /// + /// + /// + public Package.DeactivationCountAbortedClass DeactivationCountAbortedClass => _DeactivationCountAbortedClass ?? (_DeactivationCountAbortedClass = new Package.DeactivationCountAbortedClass()); + + private Package.OperatingModeClass _OperatingModeClass; + /// + /// + /// + public Package.OperatingModeClass OperatingModeClass => _OperatingModeClass ?? (_OperatingModeClass = new Package.OperatingModeClass()); + + private Package.AssetCountClass _AssetCountClass; + /// + /// + /// + public Package.AssetCountClass AssetCountClass => _AssetCountClass ?? (_AssetCountClass = new Package.AssetCountClass()); + + private Package.MaintenanceListClass _MaintenanceListClass; + /// + /// + /// + public Package.MaintenanceListClass MaintenanceListClass => _MaintenanceListClass ?? (_MaintenanceListClass = new Package.MaintenanceListClass()); + + private Package.FixtureIdClass _FixtureIdClass; + /// + /// + /// + public Package.FixtureIdClass FixtureIdClass => _FixtureIdClass ?? (_FixtureIdClass = new Package.FixtureIdClass()); + + private Package.PartCountTypeClass _PartCountTypeClass; + /// + /// + /// + public Package.PartCountTypeClass PartCountTypeClass => _PartCountTypeClass ?? (_PartCountTypeClass = new Package.PartCountTypeClass()); + + private Package.ProgramActivityClass _ProgramActivityClass; + /// + /// + /// + public Package.ProgramActivityClass ProgramActivityClass => _ProgramActivityClass ?? (_ProgramActivityClass = new Package.ProgramActivityClass()); + + private Package.ProgramSegmentClass _ProgramSegmentClass; + /// + /// + /// + public Package.ProgramSegmentClass ProgramSegmentClass => _ProgramSegmentClass ?? (_ProgramSegmentClass = new Package.ProgramSegmentClass()); + + private Package.ProgramRecipeClass _ProgramRecipeClass; + /// + /// + /// + public Package.ProgramRecipeClass ProgramRecipeClass => _ProgramRecipeClass ?? (_ProgramRecipeClass = new Package.ProgramRecipeClass()); + + private Package.ProgramOperationClass _ProgramOperationClass; + /// + /// + /// + public Package.ProgramOperationClass ProgramOperationClass => _ProgramOperationClass ?? (_ProgramOperationClass = new Package.ProgramOperationClass()); + + private Package.ProcessOccurrenceIdActivityClass _ProcessOccurrenceIdActivityClass; + /// + /// + /// + public Package.ProcessOccurrenceIdActivityClass ProcessOccurrenceIdActivityClass => _ProcessOccurrenceIdActivityClass ?? (_ProcessOccurrenceIdActivityClass = new Package.ProcessOccurrenceIdActivityClass()); + + private Package.ProcessOccurrenceIdSegmentClass _ProcessOccurrenceIdSegmentClass; + /// + /// + /// + public Package.ProcessOccurrenceIdSegmentClass ProcessOccurrenceIdSegmentClass => _ProcessOccurrenceIdSegmentClass ?? (_ProcessOccurrenceIdSegmentClass = new Package.ProcessOccurrenceIdSegmentClass()); + + private Package.ProcessOccurrenceIdRecipeClass _ProcessOccurrenceIdRecipeClass; + /// + /// + /// + public Package.ProcessOccurrenceIdRecipeClass ProcessOccurrenceIdRecipeClass => _ProcessOccurrenceIdRecipeClass ?? (_ProcessOccurrenceIdRecipeClass = new Package.ProcessOccurrenceIdRecipeClass()); + + private Package.ProcessOccurrenceIdOperationClass _ProcessOccurrenceIdOperationClass; + /// + /// + /// + public Package.ProcessOccurrenceIdOperationClass ProcessOccurrenceIdOperationClass => _ProcessOccurrenceIdOperationClass ?? (_ProcessOccurrenceIdOperationClass = new Package.ProcessOccurrenceIdOperationClass()); + + private Package.ProgramActiveClass _ProgramActiveClass; + /// + /// + /// + public Package.ProgramActiveClass ProgramActiveClass => _ProgramActiveClass ?? (_ProgramActiveClass = new Package.ProgramActiveClass()); + + private Package.ProgramMainClass _ProgramMainClass; + /// + /// + /// + public Package.ProgramMainClass ProgramMainClass => _ProgramMainClass ?? (_ProgramMainClass = new Package.ProgramMainClass()); + + private Package.ProgramScheduleClass _ProgramScheduleClass; + /// + /// + /// + public Package.ProgramScheduleClass ProgramScheduleClass => _ProgramScheduleClass ?? (_ProgramScheduleClass = new Package.ProgramScheduleClass()); + + private Package.ClockTimeClass _ClockTimeClass; + /// + /// + /// + public Package.ClockTimeClass ClockTimeClass => _ClockTimeClass ?? (_ClockTimeClass = new Package.ClockTimeClass()); + + private Package.ProgramCommentMainClass _ProgramCommentMainClass; + /// + /// + /// + public Package.ProgramCommentMainClass ProgramCommentMainClass => _ProgramCommentMainClass ?? (_ProgramCommentMainClass = new Package.ProgramCommentMainClass()); + + private Package.ProgramCommentScheduleClass _ProgramCommentScheduleClass; + /// + /// + /// + public Package.ProgramCommentScheduleClass ProgramCommentScheduleClass => _ProgramCommentScheduleClass ?? (_ProgramCommentScheduleClass = new Package.ProgramCommentScheduleClass()); + + private Package.ProgramCommentActiveClass _ProgramCommentActiveClass; + /// + /// + /// + public Package.ProgramCommentActiveClass ProgramCommentActiveClass => _ProgramCommentActiveClass ?? (_ProgramCommentActiveClass = new Package.ProgramCommentActiveClass()); + + private Package.NetworkPortClass _NetworkPortClass; + /// + /// + /// + public Package.NetworkPortClass NetworkPortClass => _NetworkPortClass ?? (_NetworkPortClass = new Package.NetworkPortClass()); + + private Package.HostNameClass _HostNameClass; + /// + /// + /// + public Package.HostNameClass HostNameClass => _HostNameClass ?? (_HostNameClass = new Package.HostNameClass()); + + private Package.LeakDetectClass _LeakDetectClass; + /// + /// + /// + public Package.LeakDetectClass LeakDetectClass => _LeakDetectClass ?? (_LeakDetectClass = new Package.LeakDetectClass()); + + private Package.BatteryStateClass _BatteryStateClass; + /// + /// + /// + public Package.BatteryStateClass BatteryStateClass => _BatteryStateClass ?? (_BatteryStateClass = new Package.BatteryStateClass()); + + private Package.FeaturePersisitentIdClass _FeaturePersisitentIdClass; + /// + /// + /// + public Package.FeaturePersisitentIdClass FeaturePersisitentIdClass => _FeaturePersisitentIdClass ?? (_FeaturePersisitentIdClass = new Package.FeaturePersisitentIdClass()); + + private Package.SensorStateClass _SensorStateClass; + /// + /// + /// + public Package.SensorStateClass SensorStateClass => _SensorStateClass ?? (_SensorStateClass = new Package.SensorStateClass()); + + private Package.SensorStateBinaryClass _SensorStateBinaryClass; + /// + /// + /// + public Package.SensorStateBinaryClass SensorStateBinaryClass => _SensorStateBinaryClass ?? (_SensorStateBinaryClass = new Package.SensorStateBinaryClass()); + + private Package.SensorStateBooleanClass _SensorStateBooleanClass; + /// + /// + /// + public Package.SensorStateBooleanClass SensorStateBooleanClass => _SensorStateBooleanClass ?? (_SensorStateBooleanClass = new Package.SensorStateBooleanClass()); + + private Package.SensorStateEnumeratedClass _SensorStateEnumeratedClass; + /// + /// + /// + public Package.SensorStateEnumeratedClass SensorStateEnumeratedClass => _SensorStateEnumeratedClass ?? (_SensorStateEnumeratedClass = new Package.SensorStateEnumeratedClass()); + + private Package.SensorStateDetectClass _SensorStateDetectClass; + /// + /// + /// + public Package.SensorStateDetectClass SensorStateDetectClass => _SensorStateDetectClass ?? (_SensorStateDetectClass = new Package.SensorStateDetectClass()); + + private Package.ComponentDataClass _ComponentDataClass; + /// + /// + /// + public Package.ComponentDataClass ComponentDataClass => _ComponentDataClass ?? (_ComponentDataClass = new Package.ComponentDataClass()); + + private Package.WorkOffsetsClass _WorkOffsetsClass; + /// + /// + /// + public Package.WorkOffsetsClass WorkOffsetsClass => _WorkOffsetsClass ?? (_WorkOffsetsClass = new Package.WorkOffsetsClass()); + + private Package.ToolOffsetsClass _ToolOffsetsClass; + /// + /// + /// + public Package.ToolOffsetsClass ToolOffsetsClass => _ToolOffsetsClass ?? (_ToolOffsetsClass = new Package.ToolOffsetsClass()); + + private Package.FeatureMeasurementClass _FeatureMeasurementClass; + /// + /// + /// + public Package.FeatureMeasurementClass FeatureMeasurementClass => _FeatureMeasurementClass ?? (_FeatureMeasurementClass = new Package.FeatureMeasurementClass()); + + private Package.CharacteristicPersistentIdClass _CharacteristicPersistentIdClass; + /// + /// + /// + public Package.CharacteristicPersistentIdClass CharacteristicPersistentIdClass => _CharacteristicPersistentIdClass ?? (_CharacteristicPersistentIdClass = new Package.CharacteristicPersistentIdClass()); + + private Package.MeasurementTypeClass _MeasurementTypeClass; + /// + /// + /// + public Package.MeasurementTypeClass MeasurementTypeClass => _MeasurementTypeClass ?? (_MeasurementTypeClass = new Package.MeasurementTypeClass()); + + private Package.MeasurementValueClass _MeasurementValueClass; + /// + /// + /// + public Package.MeasurementValueClass MeasurementValueClass => _MeasurementValueClass ?? (_MeasurementValueClass = new Package.MeasurementValueClass()); + + private Package.MeasurementUnitsClass _MeasurementUnitsClass; + /// + /// + /// + public Package.MeasurementUnitsClass MeasurementUnitsClass => _MeasurementUnitsClass ?? (_MeasurementUnitsClass = new Package.MeasurementUnitsClass()); + + private Package.CharacteristicStatusClass _CharacteristicStatusClass; + /// + /// + /// + public Package.CharacteristicStatusClass CharacteristicStatusClass => _CharacteristicStatusClass ?? (_CharacteristicStatusClass = new Package.CharacteristicStatusClass()); + + private Package.UncertaintyTypeClass _UncertaintyTypeClass; + /// + /// + /// + public Package.UncertaintyTypeClass UncertaintyTypeClass => _UncertaintyTypeClass ?? (_UncertaintyTypeClass = new Package.UncertaintyTypeClass()); + + private Package.UncertaintyClass _UncertaintyClass; + /// + /// + /// + public Package.UncertaintyClass UncertaintyClass => _UncertaintyClass ?? (_UncertaintyClass = new Package.UncertaintyClass()); + + private Package.AlarmLimitsClass _AlarmLimitsClass; + /// + /// + /// + public Package.AlarmLimitsClass AlarmLimitsClass => _AlarmLimitsClass ?? (_AlarmLimitsClass = new Package.AlarmLimitsClass()); + + private Package.ControlLimitsClass _ControlLimitsClass; + /// + /// + /// + public Package.ControlLimitsClass ControlLimitsClass => _ControlLimitsClass ?? (_ControlLimitsClass = new Package.ControlLimitsClass()); + + private Package.SpecificationLimitsClass _SpecificationLimitsClass; + /// + /// + /// + public Package.SpecificationLimitsClass SpecificationLimitsClass => _SpecificationLimitsClass ?? (_SpecificationLimitsClass = new Package.SpecificationLimitsClass()); + + private Package.ToolCuttingItemClass _ToolCuttingItemClass; + /// + /// + /// + public Package.ToolCuttingItemClass ToolCuttingItemClass => _ToolCuttingItemClass ?? (_ToolCuttingItemClass = new Package.ToolCuttingItemClass()); + + private Package.HardwareModelClass _HardwareModelClass; + /// + /// + /// + public Package.HardwareModelClass HardwareModelClass => _HardwareModelClass ?? (_HardwareModelClass = new Package.HardwareModelClass()); + + private Package.LocationAddressClass _LocationAddressClass; + /// + /// + /// + public Package.LocationAddressClass LocationAddressClass => _LocationAddressClass ?? (_LocationAddressClass = new Package.LocationAddressClass()); + + private Package.ActivePowerSourceClass _ActivePowerSourceClass; + /// + /// + /// + public Package.ActivePowerSourceClass ActivePowerSourceClass => _ActivePowerSourceClass ?? (_ActivePowerSourceClass = new Package.ActivePowerSourceClass()); + + private Package.LocationNarrativeClass _LocationNarrativeClass; + /// + /// + /// + public Package.LocationNarrativeClass LocationNarrativeClass => _LocationNarrativeClass ?? (_LocationNarrativeClass = new Package.LocationNarrativeClass()); + + private Package.ThicknessClass _ThicknessClass; + /// + /// + /// + public Package.ThicknessClass ThicknessClass => _ThicknessClass ?? (_ThicknessClass = new Package.ThicknessClass()); + + private Package.ThicknessActualClass _ThicknessActualClass; + /// + /// + /// + public Package.ThicknessActualClass ThicknessActualClass => _ThicknessActualClass ?? (_ThicknessActualClass = new Package.ThicknessActualClass()); + + private Package.ThicknessCommandedClass _ThicknessCommandedClass; + /// + /// + /// + public Package.ThicknessCommandedClass ThicknessCommandedClass => _ThicknessCommandedClass ?? (_ThicknessCommandedClass = new Package.ThicknessCommandedClass()); + + private Package.ThicknessTargetClass _ThicknessTargetClass; + /// + /// + /// + public Package.ThicknessTargetClass ThicknessTargetClass => _ThicknessTargetClass ?? (_ThicknessTargetClass = new Package.ThicknessTargetClass()); + + private Package.ThicknessProgrammedClass _ThicknessProgrammedClass; + /// + /// + /// + public Package.ThicknessProgrammedClass ThicknessProgrammedClass => _ThicknessProgrammedClass ?? (_ThicknessProgrammedClass = new Package.ThicknessProgrammedClass()); + + private Package.LocationSpatialGeographicClass _LocationSpatialGeographicClass; + /// + /// + /// + public Package.LocationSpatialGeographicClass LocationSpatialGeographicClass => _LocationSpatialGeographicClass ?? (_LocationSpatialGeographicClass = new Package.LocationSpatialGeographicClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationTypes/SampleTypes.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationTypes/SampleTypes.cs new file mode 100644 index 00000000..79974191 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ObservationTypes/SampleTypes.cs @@ -0,0 +1,1621 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ObservationInformationModel.ObservationTypes.SampleTypes; + +namespace Mtconnect.ObservationInformationModel.ObservationTypes +{ + /// This section provides semantic information for Sample types.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class SampleTypesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1580309868367_570061_44359"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1580309868367_570061_44359"; + /// Constant value for + public const string NAME = "Sample Types"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for {{block(Sample)}} types. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + AccelerationClass, + AccumulatedTimeClass, + AmperageClass, + AmperageAlternatingClass, + AmperageDirectClass, + AmperageActualClass, + AmperageTargetClass, + AngleClass, + AngleCommandedClass, + AngleActualClass, + AngularAccelerationClass, + AngularVelocityClass, + AxisFeedrateClass, + AxisFeedrateActualClass, + AxisFeedrateCommandedClass, + AxisFeedrateJogClass, + AxisFeedrateProgrammedClass, + AxisFeedrateRapidClass, + AxisFeedrateOverrideClass, + CapacityFluidClass, + CapacitySpatialClass, + ConcentrationClass, + ConductivityClass, + CuttingSpeedClass, + CuttingSpeedActualClass, + CuttingSpeedCommandedClass, + CuttingSpeedProgrammedClass, + DensityClass, + DepositionAccelerationVolumetricClass, + DepositionAccelerationVolumetricActualClass, + DepositionAccelerationVolumetricCommandedClass, + DepositionDensityClass, + DepositionDensityActualClass, + DepositionDensityCommandedClass, + DepositionMassClass, + DepositionMassActualClass, + DepositionMassCommandedClass, + DepositionRateVolumetricClass, + DepositionRateVolumetricActualClass, + DepositionRateVolumetricCommandedClass, + DepositionVolumeClass, + DepositionVolumeActualClass, + DepositionVolumeCommandedClass, + DisplacementClass, + ElectricalEnergyClass, + EquipmentTimerClass, + EquipmentTimerLoadedClass, + EquipmentTimerWorkingClass, + EquipmentTimerOperatingClass, + EquipmentTimerPoweredClass, + EquipmentTimerDelayClass, + FillLevelClass, + FlowClass, + FrequencyClass, + GlobalPositionClass, + LengthClass, + LengthStandardClass, + LengthRemainingClass, + LengthUseableClass, + LevelClass, + LinearForceClass, + LoadClass, + MassClass, + PathFeedrateClass, + PathFeedrateActualClass, + PathFeedrateCommandedClass, + PathFeedrateJogClass, + PathFeedrateProgrammedClass, + PathFeedrateRapidClass, + PathFeedrateOverrideClass, + PathFeedratePerRevolutionClass, + PathFeedratePerRevolutionActualClass, + PathFeedratePerRevolutionCommandedClass, + PathFeedratePerRevolutionProgrammedClass, + PathPositionClass, + PathPositionActualClass, + PathPositionCommandedClass, + PathPositionTargetClass, + PathPositionProbeClass, + PHClass, + PositionClass, + PositionActualClass, + PositionCommandedClass, + PositionProgrammedClass, + PositionTargetClass, + PowerFactorClass, + PressureClass, + ProcessTimerClass, + ProcessTimerProcessClass, + ProcessTimerDelayClass, + ResistanceClass, + RotaryVelocityClass, + RotaryVelocityActualClass, + RotaryVelocityCommandedClass, + RotaryVelocityProgrammedClass, + RotaryVelocityOverrideClass, + SoundLevelClass, + SoundLevelNoScaleClass, + SoundLevelAScaleClass, + SoundLevelBScaleClass, + SoundLevelCScaleClass, + SoundLevelDScaleClass, + SpindleSpeedClass, + SpindleSpeedActualClass, + SpindleSpeedCommandedClass, + SpindleSpeedOverrideClass, + StrainClass, + TemperatureClass, + TensionClass, + TiltClass, + TorqueClass, + VelocityClass, + ViscosityClass, + VoltageClass, + VoltageAlternatingClass, + VoltageDirectClass, + VoltageActualClass, + VoltageTargetClass, + VoltAmpereClass, + VoltAmpereReactiveClass, + VolumeFluidClass, + VolumeFluidActualClass, + VolumeFluidConsumedClass, + VolumeSpatialClass, + VolumeSpatialActualClass, + VolumeSpatialConsumedClass, + WattageClass, + WattageActualClass, + WattageTargetClass, + AmperageDCClass, + AmperageDCActualClass, + AmperageDCCommandedClass, + AmperageDCProgrammedClass, + AmperageACClass, + AmperageACActualClass, + AmperageACCommandedClass, + AmperageACProgrammedClass, + VoltageACActualClass, + VoltageACClass, + VoltageACCommandedClass, + VoltageACProgrammedClass, + VoltageDCActualClass, + VoltageDCCommandedClass, + VoltageDCProgrammedClass, + VoltageDCClass, + XDimensionClass, + YDimensionClass, + ZDimensionClass, + DiameterClass, + OrientationActualClass, + OrientationClass, + OrientationCommandedClass, + HumidityRelativeClass, + HumidityRelativeCommandedClass, + HumidityRelativeActualClass, + HumidityAbsoluteClass, + HumidityAbsoluteActualClass, + HumidityAbsoluteCommandedClass, + HumiditySpecificClass, + HumiditySpecificActualClass, + HumiditySpecificCommandedClass, + AngularDecelerationActualClass, + DecelerationProgrammedClass, + AngularDecelerationProgrammedClass, + PressurizationRateClass, + AngularDecelerationCommandedClass, + DecelerationClass, + AssetUpdateRateClass, + AngularDecelerationClass, + ObservationUpdateRateClass, + DecelerationCommandedClass, + DecelerationActualClass, + PressureAbsoluteClass, + AccelerationActualClass, + VolumeFluidPartClass, + AngularAccelerationProgrammedClass, + PressurizationRateCommandedClass, + AccelerationProgrammedClass, + AccelerationCommandedClass, + VolumeFluidWasteClass, + VolumeSpatialPartClass, + VolumeFluidStartClass, + AngularAccelerationActualClass, + VolumeSpatialWasteClass, + PressurizationRateActualClass, + VolumeSpatialEndedClass, + AngularAccelerationCommandedClass, + PressurizationRateProgrammedClass, + VolumeSpatialStartClass, + VolumeFluidEndedClass, + OpennessClass, + GlobalPositionActualClass, + GlobalPositionCommandedClass, + DewPointClass, + GravitationalForceClass, + GravitationalAccelerationClass, + BatteryCapacityClass, + BatteryCapacityActualClass, + BatteryCapacityTargetClass, + DischargeRateClass, + DischargeRateActualClass, + DischargeRateTargetClass, + ChargeRateClass, + ChargeRateActualClass, + ChargeRateTargetClass, + BatteryChargeClass, + BatteryChargeActualClass, + BatteryChargeTargetClass, + SettlingErrorClass, + SettlingErrorActualClass, + SettlingErrorLinearClass, + SettlingErrorLinearActualClass, + SettlingErrorAngularClass, + SettlingErrorAngularActualClass, + FollowingErrorClass, + FollowingErrorActualClass, + FollowingErrorAngularClass, + FollowingErrorLinearClass, + FollowingErrorAngularActualClass, + FollowingErrorLinearActualClass, + DisplacementLinearClass, + DisplacementAngularClass, + PositionCartesianClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.AccelerationClass _AccelerationClass; + /// + /// + /// + public Package.AccelerationClass AccelerationClass => _AccelerationClass ?? (_AccelerationClass = new Package.AccelerationClass()); + + private Package.AccumulatedTimeClass _AccumulatedTimeClass; + /// + /// + /// + public Package.AccumulatedTimeClass AccumulatedTimeClass => _AccumulatedTimeClass ?? (_AccumulatedTimeClass = new Package.AccumulatedTimeClass()); + + private Package.AmperageClass _AmperageClass; + /// + /// + /// + public Package.AmperageClass AmperageClass => _AmperageClass ?? (_AmperageClass = new Package.AmperageClass()); + + private Package.AmperageAlternatingClass _AmperageAlternatingClass; + /// + /// + /// + public Package.AmperageAlternatingClass AmperageAlternatingClass => _AmperageAlternatingClass ?? (_AmperageAlternatingClass = new Package.AmperageAlternatingClass()); + + private Package.AmperageDirectClass _AmperageDirectClass; + /// + /// + /// + public Package.AmperageDirectClass AmperageDirectClass => _AmperageDirectClass ?? (_AmperageDirectClass = new Package.AmperageDirectClass()); + + private Package.AmperageActualClass _AmperageActualClass; + /// + /// + /// + public Package.AmperageActualClass AmperageActualClass => _AmperageActualClass ?? (_AmperageActualClass = new Package.AmperageActualClass()); + + private Package.AmperageTargetClass _AmperageTargetClass; + /// + /// + /// + public Package.AmperageTargetClass AmperageTargetClass => _AmperageTargetClass ?? (_AmperageTargetClass = new Package.AmperageTargetClass()); + + private Package.AngleClass _AngleClass; + /// + /// + /// + public Package.AngleClass AngleClass => _AngleClass ?? (_AngleClass = new Package.AngleClass()); + + private Package.AngleCommandedClass _AngleCommandedClass; + /// + /// + /// + public Package.AngleCommandedClass AngleCommandedClass => _AngleCommandedClass ?? (_AngleCommandedClass = new Package.AngleCommandedClass()); + + private Package.AngleActualClass _AngleActualClass; + /// + /// + /// + public Package.AngleActualClass AngleActualClass => _AngleActualClass ?? (_AngleActualClass = new Package.AngleActualClass()); + + private Package.AngularAccelerationClass _AngularAccelerationClass; + /// + /// + /// + public Package.AngularAccelerationClass AngularAccelerationClass => _AngularAccelerationClass ?? (_AngularAccelerationClass = new Package.AngularAccelerationClass()); + + private Package.AngularVelocityClass _AngularVelocityClass; + /// + /// + /// + public Package.AngularVelocityClass AngularVelocityClass => _AngularVelocityClass ?? (_AngularVelocityClass = new Package.AngularVelocityClass()); + + private Package.AxisFeedrateClass _AxisFeedrateClass; + /// + /// + /// + public Package.AxisFeedrateClass AxisFeedrateClass => _AxisFeedrateClass ?? (_AxisFeedrateClass = new Package.AxisFeedrateClass()); + + private Package.AxisFeedrateActualClass _AxisFeedrateActualClass; + /// + /// + /// + public Package.AxisFeedrateActualClass AxisFeedrateActualClass => _AxisFeedrateActualClass ?? (_AxisFeedrateActualClass = new Package.AxisFeedrateActualClass()); + + private Package.AxisFeedrateCommandedClass _AxisFeedrateCommandedClass; + /// + /// + /// + public Package.AxisFeedrateCommandedClass AxisFeedrateCommandedClass => _AxisFeedrateCommandedClass ?? (_AxisFeedrateCommandedClass = new Package.AxisFeedrateCommandedClass()); + + private Package.AxisFeedrateJogClass _AxisFeedrateJogClass; + /// + /// + /// + public Package.AxisFeedrateJogClass AxisFeedrateJogClass => _AxisFeedrateJogClass ?? (_AxisFeedrateJogClass = new Package.AxisFeedrateJogClass()); + + private Package.AxisFeedrateProgrammedClass _AxisFeedrateProgrammedClass; + /// + /// + /// + public Package.AxisFeedrateProgrammedClass AxisFeedrateProgrammedClass => _AxisFeedrateProgrammedClass ?? (_AxisFeedrateProgrammedClass = new Package.AxisFeedrateProgrammedClass()); + + private Package.AxisFeedrateRapidClass _AxisFeedrateRapidClass; + /// + /// + /// + public Package.AxisFeedrateRapidClass AxisFeedrateRapidClass => _AxisFeedrateRapidClass ?? (_AxisFeedrateRapidClass = new Package.AxisFeedrateRapidClass()); + + private Package.AxisFeedrateOverrideClass _AxisFeedrateOverrideClass; + /// + /// + /// + public Package.AxisFeedrateOverrideClass AxisFeedrateOverrideClass => _AxisFeedrateOverrideClass ?? (_AxisFeedrateOverrideClass = new Package.AxisFeedrateOverrideClass()); + + private Package.CapacityFluidClass _CapacityFluidClass; + /// + /// + /// + public Package.CapacityFluidClass CapacityFluidClass => _CapacityFluidClass ?? (_CapacityFluidClass = new Package.CapacityFluidClass()); + + private Package.CapacitySpatialClass _CapacitySpatialClass; + /// + /// + /// + public Package.CapacitySpatialClass CapacitySpatialClass => _CapacitySpatialClass ?? (_CapacitySpatialClass = new Package.CapacitySpatialClass()); + + private Package.ConcentrationClass _ConcentrationClass; + /// + /// + /// + public Package.ConcentrationClass ConcentrationClass => _ConcentrationClass ?? (_ConcentrationClass = new Package.ConcentrationClass()); + + private Package.ConductivityClass _ConductivityClass; + /// + /// + /// + public Package.ConductivityClass ConductivityClass => _ConductivityClass ?? (_ConductivityClass = new Package.ConductivityClass()); + + private Package.CuttingSpeedClass _CuttingSpeedClass; + /// + /// + /// + public Package.CuttingSpeedClass CuttingSpeedClass => _CuttingSpeedClass ?? (_CuttingSpeedClass = new Package.CuttingSpeedClass()); + + private Package.CuttingSpeedActualClass _CuttingSpeedActualClass; + /// + /// + /// + public Package.CuttingSpeedActualClass CuttingSpeedActualClass => _CuttingSpeedActualClass ?? (_CuttingSpeedActualClass = new Package.CuttingSpeedActualClass()); + + private Package.CuttingSpeedCommandedClass _CuttingSpeedCommandedClass; + /// + /// + /// + public Package.CuttingSpeedCommandedClass CuttingSpeedCommandedClass => _CuttingSpeedCommandedClass ?? (_CuttingSpeedCommandedClass = new Package.CuttingSpeedCommandedClass()); + + private Package.CuttingSpeedProgrammedClass _CuttingSpeedProgrammedClass; + /// + /// + /// + public Package.CuttingSpeedProgrammedClass CuttingSpeedProgrammedClass => _CuttingSpeedProgrammedClass ?? (_CuttingSpeedProgrammedClass = new Package.CuttingSpeedProgrammedClass()); + + private Package.DensityClass _DensityClass; + /// + /// + /// + public Package.DensityClass DensityClass => _DensityClass ?? (_DensityClass = new Package.DensityClass()); + + private Package.DepositionAccelerationVolumetricClass _DepositionAccelerationVolumetricClass; + /// + /// + /// + public Package.DepositionAccelerationVolumetricClass DepositionAccelerationVolumetricClass => _DepositionAccelerationVolumetricClass ?? (_DepositionAccelerationVolumetricClass = new Package.DepositionAccelerationVolumetricClass()); + + private Package.DepositionAccelerationVolumetricActualClass _DepositionAccelerationVolumetricActualClass; + /// + /// + /// + public Package.DepositionAccelerationVolumetricActualClass DepositionAccelerationVolumetricActualClass => _DepositionAccelerationVolumetricActualClass ?? (_DepositionAccelerationVolumetricActualClass = new Package.DepositionAccelerationVolumetricActualClass()); + + private Package.DepositionAccelerationVolumetricCommandedClass _DepositionAccelerationVolumetricCommandedClass; + /// + /// + /// + public Package.DepositionAccelerationVolumetricCommandedClass DepositionAccelerationVolumetricCommandedClass => _DepositionAccelerationVolumetricCommandedClass ?? (_DepositionAccelerationVolumetricCommandedClass = new Package.DepositionAccelerationVolumetricCommandedClass()); + + private Package.DepositionDensityClass _DepositionDensityClass; + /// + /// + /// + public Package.DepositionDensityClass DepositionDensityClass => _DepositionDensityClass ?? (_DepositionDensityClass = new Package.DepositionDensityClass()); + + private Package.DepositionDensityActualClass _DepositionDensityActualClass; + /// + /// + /// + public Package.DepositionDensityActualClass DepositionDensityActualClass => _DepositionDensityActualClass ?? (_DepositionDensityActualClass = new Package.DepositionDensityActualClass()); + + private Package.DepositionDensityCommandedClass _DepositionDensityCommandedClass; + /// + /// + /// + public Package.DepositionDensityCommandedClass DepositionDensityCommandedClass => _DepositionDensityCommandedClass ?? (_DepositionDensityCommandedClass = new Package.DepositionDensityCommandedClass()); + + private Package.DepositionMassClass _DepositionMassClass; + /// + /// + /// + public Package.DepositionMassClass DepositionMassClass => _DepositionMassClass ?? (_DepositionMassClass = new Package.DepositionMassClass()); + + private Package.DepositionMassActualClass _DepositionMassActualClass; + /// + /// + /// + public Package.DepositionMassActualClass DepositionMassActualClass => _DepositionMassActualClass ?? (_DepositionMassActualClass = new Package.DepositionMassActualClass()); + + private Package.DepositionMassCommandedClass _DepositionMassCommandedClass; + /// + /// + /// + public Package.DepositionMassCommandedClass DepositionMassCommandedClass => _DepositionMassCommandedClass ?? (_DepositionMassCommandedClass = new Package.DepositionMassCommandedClass()); + + private Package.DepositionRateVolumetricClass _DepositionRateVolumetricClass; + /// + /// + /// + public Package.DepositionRateVolumetricClass DepositionRateVolumetricClass => _DepositionRateVolumetricClass ?? (_DepositionRateVolumetricClass = new Package.DepositionRateVolumetricClass()); + + private Package.DepositionRateVolumetricActualClass _DepositionRateVolumetricActualClass; + /// + /// + /// + public Package.DepositionRateVolumetricActualClass DepositionRateVolumetricActualClass => _DepositionRateVolumetricActualClass ?? (_DepositionRateVolumetricActualClass = new Package.DepositionRateVolumetricActualClass()); + + private Package.DepositionRateVolumetricCommandedClass _DepositionRateVolumetricCommandedClass; + /// + /// + /// + public Package.DepositionRateVolumetricCommandedClass DepositionRateVolumetricCommandedClass => _DepositionRateVolumetricCommandedClass ?? (_DepositionRateVolumetricCommandedClass = new Package.DepositionRateVolumetricCommandedClass()); + + private Package.DepositionVolumeClass _DepositionVolumeClass; + /// + /// + /// + public Package.DepositionVolumeClass DepositionVolumeClass => _DepositionVolumeClass ?? (_DepositionVolumeClass = new Package.DepositionVolumeClass()); + + private Package.DepositionVolumeActualClass _DepositionVolumeActualClass; + /// + /// + /// + public Package.DepositionVolumeActualClass DepositionVolumeActualClass => _DepositionVolumeActualClass ?? (_DepositionVolumeActualClass = new Package.DepositionVolumeActualClass()); + + private Package.DepositionVolumeCommandedClass _DepositionVolumeCommandedClass; + /// + /// + /// + public Package.DepositionVolumeCommandedClass DepositionVolumeCommandedClass => _DepositionVolumeCommandedClass ?? (_DepositionVolumeCommandedClass = new Package.DepositionVolumeCommandedClass()); + + private Package.DisplacementClass _DisplacementClass; + /// + /// + /// + public Package.DisplacementClass DisplacementClass => _DisplacementClass ?? (_DisplacementClass = new Package.DisplacementClass()); + + private Package.ElectricalEnergyClass _ElectricalEnergyClass; + /// + /// + /// + public Package.ElectricalEnergyClass ElectricalEnergyClass => _ElectricalEnergyClass ?? (_ElectricalEnergyClass = new Package.ElectricalEnergyClass()); + + private Package.EquipmentTimerClass _EquipmentTimerClass; + /// + /// + /// + public Package.EquipmentTimerClass EquipmentTimerClass => _EquipmentTimerClass ?? (_EquipmentTimerClass = new Package.EquipmentTimerClass()); + + private Package.EquipmentTimerLoadedClass _EquipmentTimerLoadedClass; + /// + /// + /// + public Package.EquipmentTimerLoadedClass EquipmentTimerLoadedClass => _EquipmentTimerLoadedClass ?? (_EquipmentTimerLoadedClass = new Package.EquipmentTimerLoadedClass()); + + private Package.EquipmentTimerWorkingClass _EquipmentTimerWorkingClass; + /// + /// + /// + public Package.EquipmentTimerWorkingClass EquipmentTimerWorkingClass => _EquipmentTimerWorkingClass ?? (_EquipmentTimerWorkingClass = new Package.EquipmentTimerWorkingClass()); + + private Package.EquipmentTimerOperatingClass _EquipmentTimerOperatingClass; + /// + /// + /// + public Package.EquipmentTimerOperatingClass EquipmentTimerOperatingClass => _EquipmentTimerOperatingClass ?? (_EquipmentTimerOperatingClass = new Package.EquipmentTimerOperatingClass()); + + private Package.EquipmentTimerPoweredClass _EquipmentTimerPoweredClass; + /// + /// + /// + public Package.EquipmentTimerPoweredClass EquipmentTimerPoweredClass => _EquipmentTimerPoweredClass ?? (_EquipmentTimerPoweredClass = new Package.EquipmentTimerPoweredClass()); + + private Package.EquipmentTimerDelayClass _EquipmentTimerDelayClass; + /// + /// + /// + public Package.EquipmentTimerDelayClass EquipmentTimerDelayClass => _EquipmentTimerDelayClass ?? (_EquipmentTimerDelayClass = new Package.EquipmentTimerDelayClass()); + + private Package.FillLevelClass _FillLevelClass; + /// + /// + /// + public Package.FillLevelClass FillLevelClass => _FillLevelClass ?? (_FillLevelClass = new Package.FillLevelClass()); + + private Package.FlowClass _FlowClass; + /// + /// + /// + public Package.FlowClass FlowClass => _FlowClass ?? (_FlowClass = new Package.FlowClass()); + + private Package.FrequencyClass _FrequencyClass; + /// + /// + /// + public Package.FrequencyClass FrequencyClass => _FrequencyClass ?? (_FrequencyClass = new Package.FrequencyClass()); + + private Package.GlobalPositionClass _GlobalPositionClass; + /// + /// + /// + public Package.GlobalPositionClass GlobalPositionClass => _GlobalPositionClass ?? (_GlobalPositionClass = new Package.GlobalPositionClass()); + + private Package.LengthClass _LengthClass; + /// + /// + /// + public Package.LengthClass LengthClass => _LengthClass ?? (_LengthClass = new Package.LengthClass()); + + private Package.LengthStandardClass _LengthStandardClass; + /// + /// + /// + public Package.LengthStandardClass LengthStandardClass => _LengthStandardClass ?? (_LengthStandardClass = new Package.LengthStandardClass()); + + private Package.LengthRemainingClass _LengthRemainingClass; + /// + /// + /// + public Package.LengthRemainingClass LengthRemainingClass => _LengthRemainingClass ?? (_LengthRemainingClass = new Package.LengthRemainingClass()); + + private Package.LengthUseableClass _LengthUseableClass; + /// + /// + /// + public Package.LengthUseableClass LengthUseableClass => _LengthUseableClass ?? (_LengthUseableClass = new Package.LengthUseableClass()); + + private Package.LevelClass _LevelClass; + /// + /// + /// + public Package.LevelClass LevelClass => _LevelClass ?? (_LevelClass = new Package.LevelClass()); + + private Package.LinearForceClass _LinearForceClass; + /// + /// + /// + public Package.LinearForceClass LinearForceClass => _LinearForceClass ?? (_LinearForceClass = new Package.LinearForceClass()); + + private Package.LoadClass _LoadClass; + /// + /// + /// + public Package.LoadClass LoadClass => _LoadClass ?? (_LoadClass = new Package.LoadClass()); + + private Package.MassClass _MassClass; + /// + /// + /// + public Package.MassClass MassClass => _MassClass ?? (_MassClass = new Package.MassClass()); + + private Package.PathFeedrateClass _PathFeedrateClass; + /// + /// + /// + public Package.PathFeedrateClass PathFeedrateClass => _PathFeedrateClass ?? (_PathFeedrateClass = new Package.PathFeedrateClass()); + + private Package.PathFeedrateActualClass _PathFeedrateActualClass; + /// + /// + /// + public Package.PathFeedrateActualClass PathFeedrateActualClass => _PathFeedrateActualClass ?? (_PathFeedrateActualClass = new Package.PathFeedrateActualClass()); + + private Package.PathFeedrateCommandedClass _PathFeedrateCommandedClass; + /// + /// + /// + public Package.PathFeedrateCommandedClass PathFeedrateCommandedClass => _PathFeedrateCommandedClass ?? (_PathFeedrateCommandedClass = new Package.PathFeedrateCommandedClass()); + + private Package.PathFeedrateJogClass _PathFeedrateJogClass; + /// + /// + /// + public Package.PathFeedrateJogClass PathFeedrateJogClass => _PathFeedrateJogClass ?? (_PathFeedrateJogClass = new Package.PathFeedrateJogClass()); + + private Package.PathFeedrateProgrammedClass _PathFeedrateProgrammedClass; + /// + /// + /// + public Package.PathFeedrateProgrammedClass PathFeedrateProgrammedClass => _PathFeedrateProgrammedClass ?? (_PathFeedrateProgrammedClass = new Package.PathFeedrateProgrammedClass()); + + private Package.PathFeedrateRapidClass _PathFeedrateRapidClass; + /// + /// + /// + public Package.PathFeedrateRapidClass PathFeedrateRapidClass => _PathFeedrateRapidClass ?? (_PathFeedrateRapidClass = new Package.PathFeedrateRapidClass()); + + private Package.PathFeedrateOverrideClass _PathFeedrateOverrideClass; + /// + /// + /// + public Package.PathFeedrateOverrideClass PathFeedrateOverrideClass => _PathFeedrateOverrideClass ?? (_PathFeedrateOverrideClass = new Package.PathFeedrateOverrideClass()); + + private Package.PathFeedratePerRevolutionClass _PathFeedratePerRevolutionClass; + /// + /// + /// + public Package.PathFeedratePerRevolutionClass PathFeedratePerRevolutionClass => _PathFeedratePerRevolutionClass ?? (_PathFeedratePerRevolutionClass = new Package.PathFeedratePerRevolutionClass()); + + private Package.PathFeedratePerRevolutionActualClass _PathFeedratePerRevolutionActualClass; + /// + /// + /// + public Package.PathFeedratePerRevolutionActualClass PathFeedratePerRevolutionActualClass => _PathFeedratePerRevolutionActualClass ?? (_PathFeedratePerRevolutionActualClass = new Package.PathFeedratePerRevolutionActualClass()); + + private Package.PathFeedratePerRevolutionCommandedClass _PathFeedratePerRevolutionCommandedClass; + /// + /// + /// + public Package.PathFeedratePerRevolutionCommandedClass PathFeedratePerRevolutionCommandedClass => _PathFeedratePerRevolutionCommandedClass ?? (_PathFeedratePerRevolutionCommandedClass = new Package.PathFeedratePerRevolutionCommandedClass()); + + private Package.PathFeedratePerRevolutionProgrammedClass _PathFeedratePerRevolutionProgrammedClass; + /// + /// + /// + public Package.PathFeedratePerRevolutionProgrammedClass PathFeedratePerRevolutionProgrammedClass => _PathFeedratePerRevolutionProgrammedClass ?? (_PathFeedratePerRevolutionProgrammedClass = new Package.PathFeedratePerRevolutionProgrammedClass()); + + private Package.PathPositionClass _PathPositionClass; + /// + /// + /// + public Package.PathPositionClass PathPositionClass => _PathPositionClass ?? (_PathPositionClass = new Package.PathPositionClass()); + + private Package.PathPositionActualClass _PathPositionActualClass; + /// + /// + /// + public Package.PathPositionActualClass PathPositionActualClass => _PathPositionActualClass ?? (_PathPositionActualClass = new Package.PathPositionActualClass()); + + private Package.PathPositionCommandedClass _PathPositionCommandedClass; + /// + /// + /// + public Package.PathPositionCommandedClass PathPositionCommandedClass => _PathPositionCommandedClass ?? (_PathPositionCommandedClass = new Package.PathPositionCommandedClass()); + + private Package.PathPositionTargetClass _PathPositionTargetClass; + /// + /// + /// + public Package.PathPositionTargetClass PathPositionTargetClass => _PathPositionTargetClass ?? (_PathPositionTargetClass = new Package.PathPositionTargetClass()); + + private Package.PathPositionProbeClass _PathPositionProbeClass; + /// + /// + /// + public Package.PathPositionProbeClass PathPositionProbeClass => _PathPositionProbeClass ?? (_PathPositionProbeClass = new Package.PathPositionProbeClass()); + + private Package.PHClass _PHClass; + /// + /// + /// + public Package.PHClass PHClass => _PHClass ?? (_PHClass = new Package.PHClass()); + + private Package.PositionClass _PositionClass; + /// + /// + /// + public Package.PositionClass PositionClass => _PositionClass ?? (_PositionClass = new Package.PositionClass()); + + private Package.PositionActualClass _PositionActualClass; + /// + /// + /// + public Package.PositionActualClass PositionActualClass => _PositionActualClass ?? (_PositionActualClass = new Package.PositionActualClass()); + + private Package.PositionCommandedClass _PositionCommandedClass; + /// + /// + /// + public Package.PositionCommandedClass PositionCommandedClass => _PositionCommandedClass ?? (_PositionCommandedClass = new Package.PositionCommandedClass()); + + private Package.PositionProgrammedClass _PositionProgrammedClass; + /// + /// + /// + public Package.PositionProgrammedClass PositionProgrammedClass => _PositionProgrammedClass ?? (_PositionProgrammedClass = new Package.PositionProgrammedClass()); + + private Package.PositionTargetClass _PositionTargetClass; + /// + /// + /// + public Package.PositionTargetClass PositionTargetClass => _PositionTargetClass ?? (_PositionTargetClass = new Package.PositionTargetClass()); + + private Package.PowerFactorClass _PowerFactorClass; + /// + /// + /// + public Package.PowerFactorClass PowerFactorClass => _PowerFactorClass ?? (_PowerFactorClass = new Package.PowerFactorClass()); + + private Package.PressureClass _PressureClass; + /// + /// + /// + public Package.PressureClass PressureClass => _PressureClass ?? (_PressureClass = new Package.PressureClass()); + + private Package.ProcessTimerClass _ProcessTimerClass; + /// + /// + /// + public Package.ProcessTimerClass ProcessTimerClass => _ProcessTimerClass ?? (_ProcessTimerClass = new Package.ProcessTimerClass()); + + private Package.ProcessTimerProcessClass _ProcessTimerProcessClass; + /// + /// + /// + public Package.ProcessTimerProcessClass ProcessTimerProcessClass => _ProcessTimerProcessClass ?? (_ProcessTimerProcessClass = new Package.ProcessTimerProcessClass()); + + private Package.ProcessTimerDelayClass _ProcessTimerDelayClass; + /// + /// + /// + public Package.ProcessTimerDelayClass ProcessTimerDelayClass => _ProcessTimerDelayClass ?? (_ProcessTimerDelayClass = new Package.ProcessTimerDelayClass()); + + private Package.ResistanceClass _ResistanceClass; + /// + /// + /// + public Package.ResistanceClass ResistanceClass => _ResistanceClass ?? (_ResistanceClass = new Package.ResistanceClass()); + + private Package.RotaryVelocityClass _RotaryVelocityClass; + /// + /// + /// + public Package.RotaryVelocityClass RotaryVelocityClass => _RotaryVelocityClass ?? (_RotaryVelocityClass = new Package.RotaryVelocityClass()); + + private Package.RotaryVelocityActualClass _RotaryVelocityActualClass; + /// + /// + /// + public Package.RotaryVelocityActualClass RotaryVelocityActualClass => _RotaryVelocityActualClass ?? (_RotaryVelocityActualClass = new Package.RotaryVelocityActualClass()); + + private Package.RotaryVelocityCommandedClass _RotaryVelocityCommandedClass; + /// + /// + /// + public Package.RotaryVelocityCommandedClass RotaryVelocityCommandedClass => _RotaryVelocityCommandedClass ?? (_RotaryVelocityCommandedClass = new Package.RotaryVelocityCommandedClass()); + + private Package.RotaryVelocityProgrammedClass _RotaryVelocityProgrammedClass; + /// + /// + /// + public Package.RotaryVelocityProgrammedClass RotaryVelocityProgrammedClass => _RotaryVelocityProgrammedClass ?? (_RotaryVelocityProgrammedClass = new Package.RotaryVelocityProgrammedClass()); + + private Package.RotaryVelocityOverrideClass _RotaryVelocityOverrideClass; + /// + /// + /// + public Package.RotaryVelocityOverrideClass RotaryVelocityOverrideClass => _RotaryVelocityOverrideClass ?? (_RotaryVelocityOverrideClass = new Package.RotaryVelocityOverrideClass()); + + private Package.SoundLevelClass _SoundLevelClass; + /// + /// + /// + public Package.SoundLevelClass SoundLevelClass => _SoundLevelClass ?? (_SoundLevelClass = new Package.SoundLevelClass()); + + private Package.SoundLevelNoScaleClass _SoundLevelNoScaleClass; + /// + /// + /// + public Package.SoundLevelNoScaleClass SoundLevelNoScaleClass => _SoundLevelNoScaleClass ?? (_SoundLevelNoScaleClass = new Package.SoundLevelNoScaleClass()); + + private Package.SoundLevelAScaleClass _SoundLevelAScaleClass; + /// + /// + /// + public Package.SoundLevelAScaleClass SoundLevelAScaleClass => _SoundLevelAScaleClass ?? (_SoundLevelAScaleClass = new Package.SoundLevelAScaleClass()); + + private Package.SoundLevelBScaleClass _SoundLevelBScaleClass; + /// + /// + /// + public Package.SoundLevelBScaleClass SoundLevelBScaleClass => _SoundLevelBScaleClass ?? (_SoundLevelBScaleClass = new Package.SoundLevelBScaleClass()); + + private Package.SoundLevelCScaleClass _SoundLevelCScaleClass; + /// + /// + /// + public Package.SoundLevelCScaleClass SoundLevelCScaleClass => _SoundLevelCScaleClass ?? (_SoundLevelCScaleClass = new Package.SoundLevelCScaleClass()); + + private Package.SoundLevelDScaleClass _SoundLevelDScaleClass; + /// + /// + /// + public Package.SoundLevelDScaleClass SoundLevelDScaleClass => _SoundLevelDScaleClass ?? (_SoundLevelDScaleClass = new Package.SoundLevelDScaleClass()); + + private Package.SpindleSpeedClass _SpindleSpeedClass; + /// + /// + /// + public Package.SpindleSpeedClass SpindleSpeedClass => _SpindleSpeedClass ?? (_SpindleSpeedClass = new Package.SpindleSpeedClass()); + + private Package.SpindleSpeedActualClass _SpindleSpeedActualClass; + /// + /// + /// + public Package.SpindleSpeedActualClass SpindleSpeedActualClass => _SpindleSpeedActualClass ?? (_SpindleSpeedActualClass = new Package.SpindleSpeedActualClass()); + + private Package.SpindleSpeedCommandedClass _SpindleSpeedCommandedClass; + /// + /// + /// + public Package.SpindleSpeedCommandedClass SpindleSpeedCommandedClass => _SpindleSpeedCommandedClass ?? (_SpindleSpeedCommandedClass = new Package.SpindleSpeedCommandedClass()); + + private Package.SpindleSpeedOverrideClass _SpindleSpeedOverrideClass; + /// + /// + /// + public Package.SpindleSpeedOverrideClass SpindleSpeedOverrideClass => _SpindleSpeedOverrideClass ?? (_SpindleSpeedOverrideClass = new Package.SpindleSpeedOverrideClass()); + + private Package.StrainClass _StrainClass; + /// + /// + /// + public Package.StrainClass StrainClass => _StrainClass ?? (_StrainClass = new Package.StrainClass()); + + private Package.TemperatureClass _TemperatureClass; + /// + /// + /// + public Package.TemperatureClass TemperatureClass => _TemperatureClass ?? (_TemperatureClass = new Package.TemperatureClass()); + + private Package.TensionClass _TensionClass; + /// + /// + /// + public Package.TensionClass TensionClass => _TensionClass ?? (_TensionClass = new Package.TensionClass()); + + private Package.TiltClass _TiltClass; + /// + /// + /// + public Package.TiltClass TiltClass => _TiltClass ?? (_TiltClass = new Package.TiltClass()); + + private Package.TorqueClass _TorqueClass; + /// + /// + /// + public Package.TorqueClass TorqueClass => _TorqueClass ?? (_TorqueClass = new Package.TorqueClass()); + + private Package.VelocityClass _VelocityClass; + /// + /// + /// + public Package.VelocityClass VelocityClass => _VelocityClass ?? (_VelocityClass = new Package.VelocityClass()); + + private Package.ViscosityClass _ViscosityClass; + /// + /// + /// + public Package.ViscosityClass ViscosityClass => _ViscosityClass ?? (_ViscosityClass = new Package.ViscosityClass()); + + private Package.VoltageClass _VoltageClass; + /// + /// + /// + public Package.VoltageClass VoltageClass => _VoltageClass ?? (_VoltageClass = new Package.VoltageClass()); + + private Package.VoltageAlternatingClass _VoltageAlternatingClass; + /// + /// + /// + public Package.VoltageAlternatingClass VoltageAlternatingClass => _VoltageAlternatingClass ?? (_VoltageAlternatingClass = new Package.VoltageAlternatingClass()); + + private Package.VoltageDirectClass _VoltageDirectClass; + /// + /// + /// + public Package.VoltageDirectClass VoltageDirectClass => _VoltageDirectClass ?? (_VoltageDirectClass = new Package.VoltageDirectClass()); + + private Package.VoltageActualClass _VoltageActualClass; + /// + /// + /// + public Package.VoltageActualClass VoltageActualClass => _VoltageActualClass ?? (_VoltageActualClass = new Package.VoltageActualClass()); + + private Package.VoltageTargetClass _VoltageTargetClass; + /// + /// + /// + public Package.VoltageTargetClass VoltageTargetClass => _VoltageTargetClass ?? (_VoltageTargetClass = new Package.VoltageTargetClass()); + + private Package.VoltAmpereClass _VoltAmpereClass; + /// + /// + /// + public Package.VoltAmpereClass VoltAmpereClass => _VoltAmpereClass ?? (_VoltAmpereClass = new Package.VoltAmpereClass()); + + private Package.VoltAmpereReactiveClass _VoltAmpereReactiveClass; + /// + /// + /// + public Package.VoltAmpereReactiveClass VoltAmpereReactiveClass => _VoltAmpereReactiveClass ?? (_VoltAmpereReactiveClass = new Package.VoltAmpereReactiveClass()); + + private Package.VolumeFluidClass _VolumeFluidClass; + /// + /// + /// + public Package.VolumeFluidClass VolumeFluidClass => _VolumeFluidClass ?? (_VolumeFluidClass = new Package.VolumeFluidClass()); + + private Package.VolumeFluidActualClass _VolumeFluidActualClass; + /// + /// + /// + public Package.VolumeFluidActualClass VolumeFluidActualClass => _VolumeFluidActualClass ?? (_VolumeFluidActualClass = new Package.VolumeFluidActualClass()); + + private Package.VolumeFluidConsumedClass _VolumeFluidConsumedClass; + /// + /// + /// + public Package.VolumeFluidConsumedClass VolumeFluidConsumedClass => _VolumeFluidConsumedClass ?? (_VolumeFluidConsumedClass = new Package.VolumeFluidConsumedClass()); + + private Package.VolumeSpatialClass _VolumeSpatialClass; + /// + /// + /// + public Package.VolumeSpatialClass VolumeSpatialClass => _VolumeSpatialClass ?? (_VolumeSpatialClass = new Package.VolumeSpatialClass()); + + private Package.VolumeSpatialActualClass _VolumeSpatialActualClass; + /// + /// + /// + public Package.VolumeSpatialActualClass VolumeSpatialActualClass => _VolumeSpatialActualClass ?? (_VolumeSpatialActualClass = new Package.VolumeSpatialActualClass()); + + private Package.VolumeSpatialConsumedClass _VolumeSpatialConsumedClass; + /// + /// + /// + public Package.VolumeSpatialConsumedClass VolumeSpatialConsumedClass => _VolumeSpatialConsumedClass ?? (_VolumeSpatialConsumedClass = new Package.VolumeSpatialConsumedClass()); + + private Package.WattageClass _WattageClass; + /// + /// + /// + public Package.WattageClass WattageClass => _WattageClass ?? (_WattageClass = new Package.WattageClass()); + + private Package.WattageActualClass _WattageActualClass; + /// + /// + /// + public Package.WattageActualClass WattageActualClass => _WattageActualClass ?? (_WattageActualClass = new Package.WattageActualClass()); + + private Package.WattageTargetClass _WattageTargetClass; + /// + /// + /// + public Package.WattageTargetClass WattageTargetClass => _WattageTargetClass ?? (_WattageTargetClass = new Package.WattageTargetClass()); + + private Package.AmperageDCClass _AmperageDCClass; + /// + /// + /// + public Package.AmperageDCClass AmperageDCClass => _AmperageDCClass ?? (_AmperageDCClass = new Package.AmperageDCClass()); + + private Package.AmperageDCActualClass _AmperageDCActualClass; + /// + /// + /// + public Package.AmperageDCActualClass AmperageDCActualClass => _AmperageDCActualClass ?? (_AmperageDCActualClass = new Package.AmperageDCActualClass()); + + private Package.AmperageDCCommandedClass _AmperageDCCommandedClass; + /// + /// + /// + public Package.AmperageDCCommandedClass AmperageDCCommandedClass => _AmperageDCCommandedClass ?? (_AmperageDCCommandedClass = new Package.AmperageDCCommandedClass()); + + private Package.AmperageDCProgrammedClass _AmperageDCProgrammedClass; + /// + /// + /// + public Package.AmperageDCProgrammedClass AmperageDCProgrammedClass => _AmperageDCProgrammedClass ?? (_AmperageDCProgrammedClass = new Package.AmperageDCProgrammedClass()); + + private Package.AmperageACClass _AmperageACClass; + /// + /// + /// + public Package.AmperageACClass AmperageACClass => _AmperageACClass ?? (_AmperageACClass = new Package.AmperageACClass()); + + private Package.AmperageACActualClass _AmperageACActualClass; + /// + /// + /// + public Package.AmperageACActualClass AmperageACActualClass => _AmperageACActualClass ?? (_AmperageACActualClass = new Package.AmperageACActualClass()); + + private Package.AmperageACCommandedClass _AmperageACCommandedClass; + /// + /// + /// + public Package.AmperageACCommandedClass AmperageACCommandedClass => _AmperageACCommandedClass ?? (_AmperageACCommandedClass = new Package.AmperageACCommandedClass()); + + private Package.AmperageACProgrammedClass _AmperageACProgrammedClass; + /// + /// + /// + public Package.AmperageACProgrammedClass AmperageACProgrammedClass => _AmperageACProgrammedClass ?? (_AmperageACProgrammedClass = new Package.AmperageACProgrammedClass()); + + private Package.VoltageACActualClass _VoltageACActualClass; + /// + /// + /// + public Package.VoltageACActualClass VoltageACActualClass => _VoltageACActualClass ?? (_VoltageACActualClass = new Package.VoltageACActualClass()); + + private Package.VoltageACClass _VoltageACClass; + /// + /// + /// + public Package.VoltageACClass VoltageACClass => _VoltageACClass ?? (_VoltageACClass = new Package.VoltageACClass()); + + private Package.VoltageACCommandedClass _VoltageACCommandedClass; + /// + /// + /// + public Package.VoltageACCommandedClass VoltageACCommandedClass => _VoltageACCommandedClass ?? (_VoltageACCommandedClass = new Package.VoltageACCommandedClass()); + + private Package.VoltageACProgrammedClass _VoltageACProgrammedClass; + /// + /// + /// + public Package.VoltageACProgrammedClass VoltageACProgrammedClass => _VoltageACProgrammedClass ?? (_VoltageACProgrammedClass = new Package.VoltageACProgrammedClass()); + + private Package.VoltageDCActualClass _VoltageDCActualClass; + /// + /// + /// + public Package.VoltageDCActualClass VoltageDCActualClass => _VoltageDCActualClass ?? (_VoltageDCActualClass = new Package.VoltageDCActualClass()); + + private Package.VoltageDCCommandedClass _VoltageDCCommandedClass; + /// + /// + /// + public Package.VoltageDCCommandedClass VoltageDCCommandedClass => _VoltageDCCommandedClass ?? (_VoltageDCCommandedClass = new Package.VoltageDCCommandedClass()); + + private Package.VoltageDCProgrammedClass _VoltageDCProgrammedClass; + /// + /// + /// + public Package.VoltageDCProgrammedClass VoltageDCProgrammedClass => _VoltageDCProgrammedClass ?? (_VoltageDCProgrammedClass = new Package.VoltageDCProgrammedClass()); + + private Package.VoltageDCClass _VoltageDCClass; + /// + /// + /// + public Package.VoltageDCClass VoltageDCClass => _VoltageDCClass ?? (_VoltageDCClass = new Package.VoltageDCClass()); + + private Package.XDimensionClass _XDimensionClass; + /// + /// + /// + public Package.XDimensionClass XDimensionClass => _XDimensionClass ?? (_XDimensionClass = new Package.XDimensionClass()); + + private Package.YDimensionClass _YDimensionClass; + /// + /// + /// + public Package.YDimensionClass YDimensionClass => _YDimensionClass ?? (_YDimensionClass = new Package.YDimensionClass()); + + private Package.ZDimensionClass _ZDimensionClass; + /// + /// + /// + public Package.ZDimensionClass ZDimensionClass => _ZDimensionClass ?? (_ZDimensionClass = new Package.ZDimensionClass()); + + private Package.DiameterClass _DiameterClass; + /// + /// + /// + public Package.DiameterClass DiameterClass => _DiameterClass ?? (_DiameterClass = new Package.DiameterClass()); + + private Package.OrientationActualClass _OrientationActualClass; + /// + /// + /// + public Package.OrientationActualClass OrientationActualClass => _OrientationActualClass ?? (_OrientationActualClass = new Package.OrientationActualClass()); + + private Package.OrientationClass _OrientationClass; + /// + /// + /// + public Package.OrientationClass OrientationClass => _OrientationClass ?? (_OrientationClass = new Package.OrientationClass()); + + private Package.OrientationCommandedClass _OrientationCommandedClass; + /// + /// + /// + public Package.OrientationCommandedClass OrientationCommandedClass => _OrientationCommandedClass ?? (_OrientationCommandedClass = new Package.OrientationCommandedClass()); + + private Package.HumidityRelativeClass _HumidityRelativeClass; + /// + /// + /// + public Package.HumidityRelativeClass HumidityRelativeClass => _HumidityRelativeClass ?? (_HumidityRelativeClass = new Package.HumidityRelativeClass()); + + private Package.HumidityRelativeCommandedClass _HumidityRelativeCommandedClass; + /// + /// + /// + public Package.HumidityRelativeCommandedClass HumidityRelativeCommandedClass => _HumidityRelativeCommandedClass ?? (_HumidityRelativeCommandedClass = new Package.HumidityRelativeCommandedClass()); + + private Package.HumidityRelativeActualClass _HumidityRelativeActualClass; + /// + /// + /// + public Package.HumidityRelativeActualClass HumidityRelativeActualClass => _HumidityRelativeActualClass ?? (_HumidityRelativeActualClass = new Package.HumidityRelativeActualClass()); + + private Package.HumidityAbsoluteClass _HumidityAbsoluteClass; + /// + /// + /// + public Package.HumidityAbsoluteClass HumidityAbsoluteClass => _HumidityAbsoluteClass ?? (_HumidityAbsoluteClass = new Package.HumidityAbsoluteClass()); + + private Package.HumidityAbsoluteActualClass _HumidityAbsoluteActualClass; + /// + /// + /// + public Package.HumidityAbsoluteActualClass HumidityAbsoluteActualClass => _HumidityAbsoluteActualClass ?? (_HumidityAbsoluteActualClass = new Package.HumidityAbsoluteActualClass()); + + private Package.HumidityAbsoluteCommandedClass _HumidityAbsoluteCommandedClass; + /// + /// + /// + public Package.HumidityAbsoluteCommandedClass HumidityAbsoluteCommandedClass => _HumidityAbsoluteCommandedClass ?? (_HumidityAbsoluteCommandedClass = new Package.HumidityAbsoluteCommandedClass()); + + private Package.HumiditySpecificClass _HumiditySpecificClass; + /// + /// + /// + public Package.HumiditySpecificClass HumiditySpecificClass => _HumiditySpecificClass ?? (_HumiditySpecificClass = new Package.HumiditySpecificClass()); + + private Package.HumiditySpecificActualClass _HumiditySpecificActualClass; + /// + /// + /// + public Package.HumiditySpecificActualClass HumiditySpecificActualClass => _HumiditySpecificActualClass ?? (_HumiditySpecificActualClass = new Package.HumiditySpecificActualClass()); + + private Package.HumiditySpecificCommandedClass _HumiditySpecificCommandedClass; + /// + /// + /// + public Package.HumiditySpecificCommandedClass HumiditySpecificCommandedClass => _HumiditySpecificCommandedClass ?? (_HumiditySpecificCommandedClass = new Package.HumiditySpecificCommandedClass()); + + private Package.AngularDecelerationActualClass _AngularDecelerationActualClass; + /// + /// + /// + public Package.AngularDecelerationActualClass AngularDecelerationActualClass => _AngularDecelerationActualClass ?? (_AngularDecelerationActualClass = new Package.AngularDecelerationActualClass()); + + private Package.DecelerationProgrammedClass _DecelerationProgrammedClass; + /// + /// + /// + public Package.DecelerationProgrammedClass DecelerationProgrammedClass => _DecelerationProgrammedClass ?? (_DecelerationProgrammedClass = new Package.DecelerationProgrammedClass()); + + private Package.AngularDecelerationProgrammedClass _AngularDecelerationProgrammedClass; + /// + /// + /// + public Package.AngularDecelerationProgrammedClass AngularDecelerationProgrammedClass => _AngularDecelerationProgrammedClass ?? (_AngularDecelerationProgrammedClass = new Package.AngularDecelerationProgrammedClass()); + + private Package.PressurizationRateClass _PressurizationRateClass; + /// + /// + /// + public Package.PressurizationRateClass PressurizationRateClass => _PressurizationRateClass ?? (_PressurizationRateClass = new Package.PressurizationRateClass()); + + private Package.AngularDecelerationCommandedClass _AngularDecelerationCommandedClass; + /// + /// + /// + public Package.AngularDecelerationCommandedClass AngularDecelerationCommandedClass => _AngularDecelerationCommandedClass ?? (_AngularDecelerationCommandedClass = new Package.AngularDecelerationCommandedClass()); + + private Package.DecelerationClass _DecelerationClass; + /// + /// + /// + public Package.DecelerationClass DecelerationClass => _DecelerationClass ?? (_DecelerationClass = new Package.DecelerationClass()); + + private Package.AssetUpdateRateClass _AssetUpdateRateClass; + /// + /// + /// + public Package.AssetUpdateRateClass AssetUpdateRateClass => _AssetUpdateRateClass ?? (_AssetUpdateRateClass = new Package.AssetUpdateRateClass()); + + private Package.AngularDecelerationClass _AngularDecelerationClass; + /// + /// + /// + public Package.AngularDecelerationClass AngularDecelerationClass => _AngularDecelerationClass ?? (_AngularDecelerationClass = new Package.AngularDecelerationClass()); + + private Package.ObservationUpdateRateClass _ObservationUpdateRateClass; + /// + /// + /// + public Package.ObservationUpdateRateClass ObservationUpdateRateClass => _ObservationUpdateRateClass ?? (_ObservationUpdateRateClass = new Package.ObservationUpdateRateClass()); + + private Package.DecelerationCommandedClass _DecelerationCommandedClass; + /// + /// + /// + public Package.DecelerationCommandedClass DecelerationCommandedClass => _DecelerationCommandedClass ?? (_DecelerationCommandedClass = new Package.DecelerationCommandedClass()); + + private Package.DecelerationActualClass _DecelerationActualClass; + /// + /// + /// + public Package.DecelerationActualClass DecelerationActualClass => _DecelerationActualClass ?? (_DecelerationActualClass = new Package.DecelerationActualClass()); + + private Package.PressureAbsoluteClass _PressureAbsoluteClass; + /// + /// + /// + public Package.PressureAbsoluteClass PressureAbsoluteClass => _PressureAbsoluteClass ?? (_PressureAbsoluteClass = new Package.PressureAbsoluteClass()); + + private Package.AccelerationActualClass _AccelerationActualClass; + /// + /// + /// + public Package.AccelerationActualClass AccelerationActualClass => _AccelerationActualClass ?? (_AccelerationActualClass = new Package.AccelerationActualClass()); + + private Package.VolumeFluidPartClass _VolumeFluidPartClass; + /// + /// + /// + public Package.VolumeFluidPartClass VolumeFluidPartClass => _VolumeFluidPartClass ?? (_VolumeFluidPartClass = new Package.VolumeFluidPartClass()); + + private Package.AngularAccelerationProgrammedClass _AngularAccelerationProgrammedClass; + /// + /// + /// + public Package.AngularAccelerationProgrammedClass AngularAccelerationProgrammedClass => _AngularAccelerationProgrammedClass ?? (_AngularAccelerationProgrammedClass = new Package.AngularAccelerationProgrammedClass()); + + private Package.PressurizationRateCommandedClass _PressurizationRateCommandedClass; + /// + /// + /// + public Package.PressurizationRateCommandedClass PressurizationRateCommandedClass => _PressurizationRateCommandedClass ?? (_PressurizationRateCommandedClass = new Package.PressurizationRateCommandedClass()); + + private Package.AccelerationProgrammedClass _AccelerationProgrammedClass; + /// + /// + /// + public Package.AccelerationProgrammedClass AccelerationProgrammedClass => _AccelerationProgrammedClass ?? (_AccelerationProgrammedClass = new Package.AccelerationProgrammedClass()); + + private Package.AccelerationCommandedClass _AccelerationCommandedClass; + /// + /// + /// + public Package.AccelerationCommandedClass AccelerationCommandedClass => _AccelerationCommandedClass ?? (_AccelerationCommandedClass = new Package.AccelerationCommandedClass()); + + private Package.VolumeFluidWasteClass _VolumeFluidWasteClass; + /// + /// + /// + public Package.VolumeFluidWasteClass VolumeFluidWasteClass => _VolumeFluidWasteClass ?? (_VolumeFluidWasteClass = new Package.VolumeFluidWasteClass()); + + private Package.VolumeSpatialPartClass _VolumeSpatialPartClass; + /// + /// + /// + public Package.VolumeSpatialPartClass VolumeSpatialPartClass => _VolumeSpatialPartClass ?? (_VolumeSpatialPartClass = new Package.VolumeSpatialPartClass()); + + private Package.VolumeFluidStartClass _VolumeFluidStartClass; + /// + /// + /// + public Package.VolumeFluidStartClass VolumeFluidStartClass => _VolumeFluidStartClass ?? (_VolumeFluidStartClass = new Package.VolumeFluidStartClass()); + + private Package.AngularAccelerationActualClass _AngularAccelerationActualClass; + /// + /// + /// + public Package.AngularAccelerationActualClass AngularAccelerationActualClass => _AngularAccelerationActualClass ?? (_AngularAccelerationActualClass = new Package.AngularAccelerationActualClass()); + + private Package.VolumeSpatialWasteClass _VolumeSpatialWasteClass; + /// + /// + /// + public Package.VolumeSpatialWasteClass VolumeSpatialWasteClass => _VolumeSpatialWasteClass ?? (_VolumeSpatialWasteClass = new Package.VolumeSpatialWasteClass()); + + private Package.PressurizationRateActualClass _PressurizationRateActualClass; + /// + /// + /// + public Package.PressurizationRateActualClass PressurizationRateActualClass => _PressurizationRateActualClass ?? (_PressurizationRateActualClass = new Package.PressurizationRateActualClass()); + + private Package.VolumeSpatialEndedClass _VolumeSpatialEndedClass; + /// + /// + /// + public Package.VolumeSpatialEndedClass VolumeSpatialEndedClass => _VolumeSpatialEndedClass ?? (_VolumeSpatialEndedClass = new Package.VolumeSpatialEndedClass()); + + private Package.AngularAccelerationCommandedClass _AngularAccelerationCommandedClass; + /// + /// + /// + public Package.AngularAccelerationCommandedClass AngularAccelerationCommandedClass => _AngularAccelerationCommandedClass ?? (_AngularAccelerationCommandedClass = new Package.AngularAccelerationCommandedClass()); + + private Package.PressurizationRateProgrammedClass _PressurizationRateProgrammedClass; + /// + /// + /// + public Package.PressurizationRateProgrammedClass PressurizationRateProgrammedClass => _PressurizationRateProgrammedClass ?? (_PressurizationRateProgrammedClass = new Package.PressurizationRateProgrammedClass()); + + private Package.VolumeSpatialStartClass _VolumeSpatialStartClass; + /// + /// + /// + public Package.VolumeSpatialStartClass VolumeSpatialStartClass => _VolumeSpatialStartClass ?? (_VolumeSpatialStartClass = new Package.VolumeSpatialStartClass()); + + private Package.VolumeFluidEndedClass _VolumeFluidEndedClass; + /// + /// + /// + public Package.VolumeFluidEndedClass VolumeFluidEndedClass => _VolumeFluidEndedClass ?? (_VolumeFluidEndedClass = new Package.VolumeFluidEndedClass()); + + private Package.OpennessClass _OpennessClass; + /// + /// + /// + public Package.OpennessClass OpennessClass => _OpennessClass ?? (_OpennessClass = new Package.OpennessClass()); + + private Package.GlobalPositionActualClass _GlobalPositionActualClass; + /// + /// + /// + public Package.GlobalPositionActualClass GlobalPositionActualClass => _GlobalPositionActualClass ?? (_GlobalPositionActualClass = new Package.GlobalPositionActualClass()); + + private Package.GlobalPositionCommandedClass _GlobalPositionCommandedClass; + /// + /// + /// + public Package.GlobalPositionCommandedClass GlobalPositionCommandedClass => _GlobalPositionCommandedClass ?? (_GlobalPositionCommandedClass = new Package.GlobalPositionCommandedClass()); + + private Package.DewPointClass _DewPointClass; + /// + /// + /// + public Package.DewPointClass DewPointClass => _DewPointClass ?? (_DewPointClass = new Package.DewPointClass()); + + private Package.GravitationalForceClass _GravitationalForceClass; + /// + /// + /// + public Package.GravitationalForceClass GravitationalForceClass => _GravitationalForceClass ?? (_GravitationalForceClass = new Package.GravitationalForceClass()); + + private Package.GravitationalAccelerationClass _GravitationalAccelerationClass; + /// + /// + /// + public Package.GravitationalAccelerationClass GravitationalAccelerationClass => _GravitationalAccelerationClass ?? (_GravitationalAccelerationClass = new Package.GravitationalAccelerationClass()); + + private Package.BatteryCapacityClass _BatteryCapacityClass; + /// + /// + /// + public Package.BatteryCapacityClass BatteryCapacityClass => _BatteryCapacityClass ?? (_BatteryCapacityClass = new Package.BatteryCapacityClass()); + + private Package.BatteryCapacityActualClass _BatteryCapacityActualClass; + /// + /// + /// + public Package.BatteryCapacityActualClass BatteryCapacityActualClass => _BatteryCapacityActualClass ?? (_BatteryCapacityActualClass = new Package.BatteryCapacityActualClass()); + + private Package.BatteryCapacityTargetClass _BatteryCapacityTargetClass; + /// + /// + /// + public Package.BatteryCapacityTargetClass BatteryCapacityTargetClass => _BatteryCapacityTargetClass ?? (_BatteryCapacityTargetClass = new Package.BatteryCapacityTargetClass()); + + private Package.DischargeRateClass _DischargeRateClass; + /// + /// + /// + public Package.DischargeRateClass DischargeRateClass => _DischargeRateClass ?? (_DischargeRateClass = new Package.DischargeRateClass()); + + private Package.DischargeRateActualClass _DischargeRateActualClass; + /// + /// + /// + public Package.DischargeRateActualClass DischargeRateActualClass => _DischargeRateActualClass ?? (_DischargeRateActualClass = new Package.DischargeRateActualClass()); + + private Package.DischargeRateTargetClass _DischargeRateTargetClass; + /// + /// + /// + public Package.DischargeRateTargetClass DischargeRateTargetClass => _DischargeRateTargetClass ?? (_DischargeRateTargetClass = new Package.DischargeRateTargetClass()); + + private Package.ChargeRateClass _ChargeRateClass; + /// + /// + /// + public Package.ChargeRateClass ChargeRateClass => _ChargeRateClass ?? (_ChargeRateClass = new Package.ChargeRateClass()); + + private Package.ChargeRateActualClass _ChargeRateActualClass; + /// + /// + /// + public Package.ChargeRateActualClass ChargeRateActualClass => _ChargeRateActualClass ?? (_ChargeRateActualClass = new Package.ChargeRateActualClass()); + + private Package.ChargeRateTargetClass _ChargeRateTargetClass; + /// + /// + /// + public Package.ChargeRateTargetClass ChargeRateTargetClass => _ChargeRateTargetClass ?? (_ChargeRateTargetClass = new Package.ChargeRateTargetClass()); + + private Package.BatteryChargeClass _BatteryChargeClass; + /// + /// + /// + public Package.BatteryChargeClass BatteryChargeClass => _BatteryChargeClass ?? (_BatteryChargeClass = new Package.BatteryChargeClass()); + + private Package.BatteryChargeActualClass _BatteryChargeActualClass; + /// + /// + /// + public Package.BatteryChargeActualClass BatteryChargeActualClass => _BatteryChargeActualClass ?? (_BatteryChargeActualClass = new Package.BatteryChargeActualClass()); + + private Package.BatteryChargeTargetClass _BatteryChargeTargetClass; + /// + /// + /// + public Package.BatteryChargeTargetClass BatteryChargeTargetClass => _BatteryChargeTargetClass ?? (_BatteryChargeTargetClass = new Package.BatteryChargeTargetClass()); + + private Package.SettlingErrorClass _SettlingErrorClass; + /// + /// + /// + public Package.SettlingErrorClass SettlingErrorClass => _SettlingErrorClass ?? (_SettlingErrorClass = new Package.SettlingErrorClass()); + + private Package.SettlingErrorActualClass _SettlingErrorActualClass; + /// + /// + /// + public Package.SettlingErrorActualClass SettlingErrorActualClass => _SettlingErrorActualClass ?? (_SettlingErrorActualClass = new Package.SettlingErrorActualClass()); + + private Package.SettlingErrorLinearClass _SettlingErrorLinearClass; + /// + /// + /// + public Package.SettlingErrorLinearClass SettlingErrorLinearClass => _SettlingErrorLinearClass ?? (_SettlingErrorLinearClass = new Package.SettlingErrorLinearClass()); + + private Package.SettlingErrorLinearActualClass _SettlingErrorLinearActualClass; + /// + /// + /// + public Package.SettlingErrorLinearActualClass SettlingErrorLinearActualClass => _SettlingErrorLinearActualClass ?? (_SettlingErrorLinearActualClass = new Package.SettlingErrorLinearActualClass()); + + private Package.SettlingErrorAngularClass _SettlingErrorAngularClass; + /// + /// + /// + public Package.SettlingErrorAngularClass SettlingErrorAngularClass => _SettlingErrorAngularClass ?? (_SettlingErrorAngularClass = new Package.SettlingErrorAngularClass()); + + private Package.SettlingErrorAngularActualClass _SettlingErrorAngularActualClass; + /// + /// + /// + public Package.SettlingErrorAngularActualClass SettlingErrorAngularActualClass => _SettlingErrorAngularActualClass ?? (_SettlingErrorAngularActualClass = new Package.SettlingErrorAngularActualClass()); + + private Package.FollowingErrorClass _FollowingErrorClass; + /// + /// + /// + public Package.FollowingErrorClass FollowingErrorClass => _FollowingErrorClass ?? (_FollowingErrorClass = new Package.FollowingErrorClass()); + + private Package.FollowingErrorActualClass _FollowingErrorActualClass; + /// + /// + /// + public Package.FollowingErrorActualClass FollowingErrorActualClass => _FollowingErrorActualClass ?? (_FollowingErrorActualClass = new Package.FollowingErrorActualClass()); + + private Package.FollowingErrorAngularClass _FollowingErrorAngularClass; + /// + /// + /// + public Package.FollowingErrorAngularClass FollowingErrorAngularClass => _FollowingErrorAngularClass ?? (_FollowingErrorAngularClass = new Package.FollowingErrorAngularClass()); + + private Package.FollowingErrorLinearClass _FollowingErrorLinearClass; + /// + /// + /// + public Package.FollowingErrorLinearClass FollowingErrorLinearClass => _FollowingErrorLinearClass ?? (_FollowingErrorLinearClass = new Package.FollowingErrorLinearClass()); + + private Package.FollowingErrorAngularActualClass _FollowingErrorAngularActualClass; + /// + /// + /// + public Package.FollowingErrorAngularActualClass FollowingErrorAngularActualClass => _FollowingErrorAngularActualClass ?? (_FollowingErrorAngularActualClass = new Package.FollowingErrorAngularActualClass()); + + private Package.FollowingErrorLinearActualClass _FollowingErrorLinearActualClass; + /// + /// + /// + public Package.FollowingErrorLinearActualClass FollowingErrorLinearActualClass => _FollowingErrorLinearActualClass ?? (_FollowingErrorLinearActualClass = new Package.FollowingErrorLinearActualClass()); + + private Package.DisplacementLinearClass _DisplacementLinearClass; + /// + /// + /// + public Package.DisplacementLinearClass DisplacementLinearClass => _DisplacementLinearClass ?? (_DisplacementLinearClass = new Package.DisplacementLinearClass()); + + private Package.DisplacementAngularClass _DisplacementAngularClass; + /// + /// + /// + public Package.DisplacementAngularClass DisplacementAngularClass => _DisplacementAngularClass ?? (_DisplacementAngularClass = new Package.DisplacementAngularClass()); + + private Package.PositionCartesianClass _PositionCartesianClass; + /// + /// + /// + public Package.PositionCartesianClass PositionCartesianClass => _PositionCartesianClass ?? (_PositionCartesianClass = new Package.PositionCartesianClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/OperationAndErrorRecovery/RequestAndResponseFailureHandlingAndRecovery.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/OperationAndErrorRecovery/RequestAndResponseFailureHandlingAndRecovery.cs new file mode 100644 index 00000000..c7525d5e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/OperationAndErrorRecovery/RequestAndResponseFailureHandlingAndRecovery.cs @@ -0,0 +1,151 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.InterfaceInteractionModel.OperationAndErrorRecovery +{ + /// A significant feature of the request and response interaction model is the ability for either piece of equipment to detect a failure associated with either the request or response actions. When either a failure or unexpected action occurs, the request and the response portion of the interaction model can announce a FAIL state upon detecting a problem. The following are graphical models describing multiple scenarios where either the requester or responder detects and reacts to a failure. In these examples, either the requester or responder announces the detection of a failure by setting either the request or the response state to FAIL.

Once a failure is detected, the interaction model provides information from each piece of equipment as they attempt to recover from a failure, reset all of their functions associated with the interface to their original state, and return to normal operation.

The following sections are scenarios that describe how pieces of equipment may react to different types of failures and how they indicate when they are again ready to request a service or respond to a request for service after recovering from those failures:

### Responder Fails Immediately

In this scenario, a failure is detected by the responder immediately after a request for service has been initiated by the requester.

![Responder Fails Immediately](figures/Responder%20Fails%20Immediately.png "Responder Fails Immediately"){: width="0.8"}

In this case, the request transitions to ACTIVE and the responder immediately detects a failure before it can transition the response state to ACTIVE. When this occurs, the responder transitions the response state to FAIL.

After detecting that the responder has transitioned its state to FAIL, the requester MUST change its state to FAIL.

The requester, as part of clearing a failure, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to request a service. If the recovery is successful, the requester changes its state from FAIL to READY. If for some reason the requester cannot return to a condition where it is again ready to request a service, it transitions its state from FAIL to NOT_READY.

The responder, as part of clearing a failure, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to perform a service. If the recovery is successful, the responder changes its response state from FAIL to READY. If for some reason the responder is not again prepared to perform a service, it transitions its state from FAIL to NOT_READY.

### Responder Fails While Providing a Service

This is the most common failure scenario. In this case, the responder will begin the actions required to provide a service. During these actions, the responder detects a failure and transitions its response state to FAIL.

![Responder Fails While Providing a Service](figures/Responder%20Fails%20While%20Providing%20a%20Service.png "Responder Fails While Providing a Service"){: width="0.8"}

When a requester detects a failure of a responder, it transitions it state from ACTIVE to FAIL.

The requester resets any partial actions that were initiated and attempts to return to a condition where it is again ready to request a service. If the recovery is successful, the requester changes its state from FAIL to READY if the failure has been cleared and it is again prepared to request another service. If for some reason the requester cannot return to a condition where it is again ready to request a service, it transitions its state from FAIL to NOT_READY.

The responder, as part of clearing a failure, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to perform a service. If the recovery is successful, the responder changes its response state from FAIL to READY if it is again prepared to perform a service. If for some reason the responder is not again prepared to perform a service, it transitions its state from FAIL to NOT_READY.

### Requester Failure During a Service Request

In this scenario, the responder will begin the actions required to provide a service. During these actions, the requester detects a failure and transitions its request state to FAIL.

![Requester Fails During a Service Request](figures/Requester%20Fails%20During%20a%20Service%20Request.png "Requester Fails During a Service Request"){: width="0.8"}

When the responder detects that the requester has transitioned its request state to FAIL, the responder also transitions its response state to FAIL.

The requester, as part of clearing a failure, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to request a service. If the recovery is successful, the requester changes its state from FAIL to READY. If for some reason the requester cannot return to a condition where it is again ready to request a service, it transitions its state from FAIL to NOT_READY.

The responder, as part of clearing a failure, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to perform a service. If the recovery is successful, the responder changes its response state from FAIL to READY. If for some reason the responder is not again prepared to perform a service, it transitions its state from FAIL to NOT_READY.

### Requester Changes to an Unexpected State While Responder is Providing a Service

In some cases, a requester may transition to an unexpected state after it has initiated a request for service.

As demonstrated in {{figure(Requester Makes Unexpected State Change)}}, the requester has initiated a request for service and its request state has been changed to ACTIVE. The responder begins the actions required to provide the service. During these actions, the requester transitions its request state back to READY before the responder can complete its actions. This SHOULD be regarded as a failure of the requester.

![Requester Makes Unexpected State Change](figures/Requester%20Makes%20Unexpected%20State%20Change.png "Requester Makes Unexpected State Change"){: width="0.8"}

In this case, the responder reacts to this change of state of the requester in the same way as though the requester had transitioned its request state to FAIL (i.e., the same as in Scenario 3 above).

At this point, the responder then transitions its response state to FAIL.

The responder resets any partial actions that were initiated and attempts to return to its original condition where it is again ready to perform a service. If the recovery is successful, the responder changes its response state from FAIL to READY. If for some reason the responder is not again prepared to perform a service, it transitions its state from FAIL to NOT_READY.

> Note: The same scenario exists if the requester transitions its request state to NOT_READY. However, in this case, the requester then transitions its request state to READY after it resets all of its functions back to a condition where it is again prepared to make a request for service.


### Responder Changes to an Unexpected State While Providing a Service

Similar to Scenario 5, a responder may transition to an unexpected state while providing a service.

As demonstrated in {{figure(Responder Makes Unexpected State Change)}}, the responder is performing the actions to provide a service and the response state is ACTIVE. During these actions, the responder transitions its state to NOT_READY before completing its actions. This should be regarded as a failure of the responder.

![Responder Makes Unexpected State Change](figures/Responder%20Makes%20Unexpected%20State%20Change.png "Responder Makes Unexpected State Change"){: width="0.8"}

Upon detecting an unexpected state change of the responder, the requester transitions its state to FAIL.

The requester resets any partial actions that were initiated and attempts to return to a condition where it is again ready to request a service. If the recovery is successful, the requester changes its state from FAIL to READY. If for some reason the requester cannot return to a condition where it is again ready to request a service, it transitions its state from FAIL to NOT_READY.

Since the responder has failed to an invalid state, the condition of the responder is unknown. Where possible, the responder should try to reset to an initial state.

The responder, as part of clearing the cause for the change to the unexpected state, should attempt to reset any partial actions that were initiated and then return to a condition where it is again ready to perform a service. If the recovery is successful, the responder changes its response state from the unexpected state to READY. If for some reason the responder is not again prepared to perform a service, it maintains its state as NOT_READY.

### Responder or Requester Become UNAVAILABLE or Experience a Loss of Communication

In this scenario, a failure occurs in the communications connection between the responder and requester. This failure may result from the InterfaceState from either piece of equipment returning a value of UNAVAILABLE or one of the pieces of equipment does not provide a heartbeat within the desired amount of time (See Fundamentals for details on heartbeat).

![Requester - Responder Communication Failure 1](figures/Requester%20-%20Responder%20Communication%20Failure%201.png "Requester - Responder Communication Failure 1"){: width="0.8"}

![Requester - Responder Communication Failure 2](figures/Requester%20-%20Responder%20Communication%20Failure%202.png "Requester - Responder Communication Failure 2"){: width="0.8"}

When one of these situations occurs, each piece of equipment assumes that there has been a failure of the other piece of equipment.

When normal communications are re-established, neither piece of equipment should assume that the request and response state of the other piece of equipment remains valid. Both pieces of equipment should set their state to FAIL.

The requester, as part of clearing its FAIL state, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to request a service. If the recovery is successful, the requester changes its state from FAIL to READY. If for some reason the requester cannot return to a condition where it is again ready to request a service, it transitions its state from FAIL to NOT_READY.

The responder, as part of clearing its FAIL state, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to perform a service. If the recovery is successful, the responder changes its response state from FAIL to READY. If for some reason the responder is not again prepared to perform a service, it transitions its state from FAIL to NOT_READY.



+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class RequestAndResponseFailureHandlingAndRecoveryPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1623839073431_500021_2262"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1623839073431_500021_2262"; + /// Constant value for + public const string NAME = "Request and Response Failure Handling and Recovery"; + /// Constant value for + public const string SUMMARY = @" A significant feature of the {{term(request and response)}} {{term(interaction model)}} is the ability for either piece of equipment to detect a failure associated with either the {{term(request)}} or {{term(response)}} actions. When either a failure or unexpected action occurs, the {{term(request)}} and the {{term(response)}} portion of the {{term(interaction model)}} can announce a `FAIL` state upon detecting a problem. The following are graphical models describing multiple scenarios where either the {{term(requester)}} or {{term(responder)}} detects and reacts to a failure. In these examples, either the {{term(requester)}} or {{term(responder)}} announces the detection of a failure by setting either the {{term(request)}} or the {{term(response)}} state to `FAIL`. + +Once a failure is detected, the {{term(interaction model)}} provides information from each piece of equipment as they attempt to recover from a failure, reset all of their functions associated with the {{term(interface)}} to their original state, and return to normal operation. + +The following sections are scenarios that describe how pieces of equipment may react to different types of failures and how they indicate when they are again ready to request a service or respond to a request for service after recovering from those failures: + +### Responder Fails Immediately + +In this scenario, a failure is detected by the {{term(responder)}} immediately after a {{term(request)}} for service has been initiated by the {{term(requester)}}. + +![Responder Fails Immediately](figures/Responder%20Fails%20Immediately.png ""Responder Fails Immediately""){: width=""0.8""} + +In this case, the {{term(request)}} transitions to `ACTIVE` and the {{term(responder)}} immediately detects a failure before it can transition the {{term(response)}} state to `ACTIVE`. When this occurs, the {{term(responder)}} transitions the {{term(response)}} state to `FAIL`. + +After detecting that the {{term(responder)}} has transitioned its state to `FAIL`, the {{term(requester)}} **MUST** change its state to `FAIL`. + +The {{term(requester)}}, as part of clearing a failure, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to request a service. If the recovery is successful, the {{term(requester)}} changes its state from `FAIL` to `READY`. If for some reason the {{term(requester)}} cannot return to a condition where it is again ready to request a service, it transitions its state from `FAIL` to `NOT_READY`. + +The {{term(responder)}}, as part of clearing a failure, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to perform a service. If the recovery is successful, the {{term(responder)}} changes its {{term(response)}} state from `FAIL` to `READY`. If for some reason the {{term(responder)}} is not again prepared to perform a service, it transitions its state from `FAIL` to `NOT_READY`. + +### Responder Fails While Providing a Service + +This is the most common failure scenario. In this case, the {{term(responder)}} will begin the actions required to provide a service. During these actions, the {{term(responder)}} detects a failure and transitions its {{term(response)}} state to `FAIL`. + +![Responder Fails While Providing a Service](figures/Responder%20Fails%20While%20Providing%20a%20Service.png ""Responder Fails While Providing a Service""){: width=""0.8""} + +When a {{term(requester)}} detects a failure of a {{term(responder)}}, it transitions it state from `ACTIVE` to `FAIL`. + +The {{term(requester)}} resets any partial actions that were initiated and attempts to return to a condition where it is again ready to request a service. If the recovery is successful, the {{term(requester)}} changes its state from `FAIL` to `READY` if the failure has been cleared and it is again prepared to request another service. If for some reason the {{term(requester)}} cannot return to a condition where it is again ready to request a service, it transitions its state from `FAIL` to `NOT_READY`. + +The {{term(responder)}}, as part of clearing a failure, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to perform a service. If the recovery is successful, the {{term(responder)}} changes its {{term(response)}} state from `FAIL` to `READY` if it is again prepared to perform a service. If for some reason the {{term(responder)}} is not again prepared to perform a service, it transitions its state from `FAIL` to `NOT_READY`. + +### Requester Failure During a Service Request + +In this scenario, the {{term(responder)}} will begin the actions required to provide a service. During these actions, the {{term(requester)}} detects a failure and transitions its {{term(request)}} state to `FAIL`. + +![Requester Fails During a Service Request](figures/Requester%20Fails%20During%20a%20Service%20Request.png ""Requester Fails During a Service Request""){: width=""0.8""} + +When the {{term(responder)}} detects that the {{term(requester)}} has transitioned its {{term(request)}} state to `FAIL`, the {{term(responder)}} also transitions its {{term(response)}} state to `FAIL`. + +The {{term(requester)}}, as part of clearing a failure, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to request a service. If the recovery is successful, the {{term(requester)}} changes its state from `FAIL` to `READY`. If for some reason the {{term(requester)}} cannot return to a condition where it is again ready to request a service, it transitions its state from `FAIL` to `NOT_READY`. + +The {{term(responder)}}, as part of clearing a failure, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to perform a service. If the recovery is successful, the {{term(responder)}} changes its {{term(response)}} state from `FAIL` to `READY`. If for some reason the {{term(responder)}} is not again prepared to perform a service, it transitions its state from `FAIL` to `NOT_READY`. + +### Requester Changes to an Unexpected State While Responder is Providing a Service + +In some cases, a {{term(requester)}} may transition to an unexpected state after it has initiated a {{term(request)}} for service. + +As demonstrated in {{figure(Requester Makes Unexpected State Change)}}, the {{term(requester)}} has initiated a {{term(request)}} for service and its {{term(request)}} state has been changed to `ACTIVE`. The {{term(responder)}} begins the actions required to provide the service. During these actions, the {{term(requester)}} transitions its {{term(request)}} state back to `READY` before the {{term(responder)}} can complete its actions. This **SHOULD** be regarded as a failure of the {{term(requester)}}. + +![Requester Makes Unexpected State Change](figures/Requester%20Makes%20Unexpected%20State%20Change.png ""Requester Makes Unexpected State Change""){: width=""0.8""} + +In this case, the {{term(responder)}} reacts to this change of state of the {{term(requester)}} in the same way as though the {{term(requester)}} had transitioned its {{term(request)}} state to `FAIL` (i.e., the same as in Scenario 3 above). + +At this point, the {{term(responder)}} then transitions its {{term(response)}} state to `FAIL`. + +The {{term(responder)}} resets any partial actions that were initiated and attempts to return to its original condition where it is again ready to perform a service. If the recovery is successful, the {{term(responder)}} changes its {{term(response)}} state from `FAIL` to `READY`. If for some reason the {{term(responder)}} is not again prepared to perform a service, it transitions its state from `FAIL` to `NOT_READY`. + +> Note: The same scenario exists if the {{term(requester)}} transitions its {{term(request)}} state to `NOT_READY`. However, in this case, the {{term(requester)}} then transitions its {{term(request)}} state to `READY` after it resets all of its functions back to a condition where it is again prepared to make a {{term(request)}} for service. + + +### Responder Changes to an Unexpected State While Providing a Service + +Similar to Scenario 5, a {{term(responder)}} may transition to an unexpected state while providing a service. + +As demonstrated in {{figure(Responder Makes Unexpected State Change)}}, the {{term(responder)}} is performing the actions to provide a service and the {{term(response)}} state is `ACTIVE`. During these actions, the {{term(responder)}} transitions its state to `NOT_READY` before completing its actions. This should be regarded as a failure of the {{term(responder)}}. + +![Responder Makes Unexpected State Change](figures/Responder%20Makes%20Unexpected%20State%20Change.png ""Responder Makes Unexpected State Change""){: width=""0.8""} + +Upon detecting an unexpected state change of the {{term(responder)}}, the {{term(requester)}} transitions its state to `FAIL`. + +The {{term(requester)}} resets any partial actions that were initiated and attempts to return to a condition where it is again ready to request a service. If the recovery is successful, the {{term(requester)}} changes its state from `FAIL` to `READY`. If for some reason the {{term(requester)}} cannot return to a condition where it is again ready to request a service, it transitions its state from `FAIL` to `NOT_READY`. + +Since the {{term(responder)}} has failed to an invalid state, the condition of the {{term(responder)}} is unknown. Where possible, the {{term(responder)}} should try to reset to an initial state. + +The {{term(responder)}}, as part of clearing the cause for the change to the unexpected state, should attempt to reset any partial actions that were initiated and then return to a condition where it is again ready to perform a service. If the recovery is successful, the {{term(responder)}} changes its {{term(response)}} state from the unexpected state to `READY`. If for some reason the {{term(responder)}} is not again prepared to perform a service, it maintains its state as `NOT_READY`. + +### Responder or Requester Become UNAVAILABLE or Experience a Loss of Communication + +In this scenario, a failure occurs in the communications connection between the {{term(responder)}} and {{term(requester)}}. This failure may result from the {{block(InterfaceState)}} from either piece of equipment returning a value of `UNAVAILABLE` or one of the pieces of equipment does not provide a heartbeat within the desired amount of time (See {{package(Fundamentals)}} for details on heartbeat). + +![Requester - Responder Communication Failure 1](figures/Requester%20-%20Responder%20Communication%20Failure%201.png ""Requester - Responder Communication Failure 1""){: width=""0.8""} + +![Requester - Responder Communication Failure 2](figures/Requester%20-%20Responder%20Communication%20Failure%202.png ""Requester - Responder Communication Failure 2""){: width=""0.8""} + +When one of these situations occurs, each piece of equipment assumes that there has been a failure of the other piece of equipment. + +When normal communications are re-established, neither piece of equipment should assume that the {{term(request and response)}} state of the other piece of equipment remains valid. Both pieces of equipment should set their state to `FAIL`. + +The {{term(requester)}}, as part of clearing its `FAIL` state, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to request a service. If the recovery is successful, the {{term(requester)}} changes its state from `FAIL` to `READY`. If for some reason the {{term(requester)}} cannot return to a condition where it is again ready to request a service, it transitions its state from `FAIL` to `NOT_READY`. + +The {{term(responder)}}, as part of clearing its `FAIL` state, resets any partial actions that were initiated and attempts to return to a condition where it is again ready to perform a service. If the recovery is successful, the {{term(responder)}} changes its {{term(response)}} state from `FAIL` to `READY`. If for some reason the {{term(responder)}} is not again prepared to perform a service, it transitions its state from `FAIL` to `NOT_READY`. + +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/PowerSource/Requirements.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/PowerSource/Requirements.cs new file mode 100644 index 00000000..8124b75c --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/PowerSource/Requirements.cs @@ -0,0 +1,66 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.WIP_UseCases.PowerSource.Requirements; + +namespace Mtconnect.WIP_UseCases.PowerSource +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class RequirementsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1702477786447_952941_927"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1702477786447_952941_927"; + /// Constant value for + public const string NAME = "Requirements"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + DeviceConfigurationClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.DeviceConfigurationClass _DeviceConfigurationClass; + /// + /// + /// + public Package.DeviceConfigurationClass DeviceConfigurationClass => _DeviceConfigurationClass ?? (_DeviceConfigurationClass = new Package.DeviceConfigurationClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/PowerSource/UseCases.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/PowerSource/UseCases.cs new file mode 100644 index 00000000..ee08130d --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/PowerSource/UseCases.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_UseCases.PowerSource +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class UseCasesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1702477800719_262083_928"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1702477800719_262083_928"; + /// Constant value for + public const string NAME = "UseCases"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/PropertiesOfDataItem/PropertiesOfDefinition.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/PropertiesOfDataItem/PropertiesOfDefinition.cs new file mode 100644 index 00000000..c0f01258 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/PropertiesOfDataItem/PropertiesOfDefinition.cs @@ -0,0 +1,74 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.PropertiesOfDefinition; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem +{ + /// This section provides semantic information for the elements of the Definition for a DataItem.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class PropertiesOfDefinitionPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_91b028d_1589399411687_610742_35"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_91b028d_1589399411687_610742_35"; + /// Constant value for + public const string NAME = "Properties of Definition"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the elements of the {{block(Definition)}} for a {{block(DataItem)}}. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + CellDefinitionClass, + EntryDefinitionClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.CellDefinitionClass _CellDefinitionClass; + /// + /// + /// + public Package.CellDefinitionClass CellDefinitionClass => _CellDefinitionClass ?? (_CellDefinitionClass = new Package.CellDefinitionClass()); + + private Package.EntryDefinitionClass _EntryDefinitionClass; + /// + /// + /// + public Package.EntryDefinitionClass EntryDefinitionClass => _EntryDefinitionClass ?? (_EntryDefinitionClass = new Package.EntryDefinitionClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/PropertiesOfDataItem/RelationshipTypesForDataItem.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/PropertiesOfDataItem/RelationshipTypesForDataItem.cs new file mode 100644 index 00000000..30e5a736 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/PropertiesOfDataItem/RelationshipTypesForDataItem.cs @@ -0,0 +1,81 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem.RelationshipTypesForDataItem; + +namespace Mtconnect.DeviceInformationModel.DataItems.PropertiesOfDataItem +{ + /// This section provides semantic information for the types of AbstractDataItemRelationship that can be defined for a DataItem.


+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class RelationshipTypesForDataItemPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1605645450472_400925_2872"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1605645450472_400925_2872"; + /// Constant value for + public const string NAME = "Relationship Types for DataItem"; + /// Constant value for + public const string SUMMARY = @" This section provides semantic information for the types of {{block(AbstractDataItemRelationship)}} that can be defined for a {{block(DataItem)}}. +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + SpecificationRelationshipClass, + DataItemRelationshipClass, + AbstractDataItemRelationshipClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.SpecificationRelationshipClass _SpecificationRelationshipClass; + /// + /// + /// + public Package.SpecificationRelationshipClass SpecificationRelationshipClass => _SpecificationRelationshipClass ?? (_SpecificationRelationshipClass = new Package.SpecificationRelationshipClass()); + + private Package.DataItemRelationshipClass _DataItemRelationshipClass; + /// + /// + /// + public Package.DataItemRelationshipClass DataItemRelationshipClass => _DataItemRelationshipClass ?? (_DataItemRelationshipClass = new Package.DataItemRelationshipClass()); + + private Package.AbstractDataItemRelationshipClass _AbstractDataItemRelationshipClass; + /// + /// + /// + public Package.AbstractDataItemRelationshipClass AbstractDataItemRelationshipClass => _AbstractDataItemRelationshipClass ?? (_AbstractDataItemRelationshipClass = new Package.AbstractDataItemRelationshipClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/InformationModel.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/InformationModel.cs new file mode 100644 index 00000000..33e2a349 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/InformationModel.cs @@ -0,0 +1,178 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ReferenceAgentArchitecture.InformationModel; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class InformationModelPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585536614231_659745_2656"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1585536614231_659745_2656"; + /// Constant value for + public const string NAME = "InformationModel"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + ObservationClass, + SampleClass, + EventClass, + ContitionClass, + DataSetClass, + ObservationValueClass, + TextValueClass, + NumericValueClass, + ControlledVocabularyValueClass, + ConditionValueClass, + TableClass, + TimeSeriesClass, + ComponentClass, + DataItemClass, + DeviceClass, + ConfigurationClass, + ReferenceClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.ObservationClass _ObservationClass; + /// + /// + /// + public Package.ObservationClass ObservationClass => _ObservationClass ?? (_ObservationClass = new Package.ObservationClass()); + + private Package.SampleClass _SampleClass; + /// + /// + /// + public Package.SampleClass SampleClass => _SampleClass ?? (_SampleClass = new Package.SampleClass()); + + private Package.EventClass _EventClass; + /// + /// + /// + public Package.EventClass EventClass => _EventClass ?? (_EventClass = new Package.EventClass()); + + private Package.ContitionClass _ContitionClass; + /// + /// + /// + public Package.ContitionClass ContitionClass => _ContitionClass ?? (_ContitionClass = new Package.ContitionClass()); + + private Package.DataSetClass _DataSetClass; + /// + /// + /// + public Package.DataSetClass DataSetClass => _DataSetClass ?? (_DataSetClass = new Package.DataSetClass()); + + private Package.ObservationValueClass _ObservationValueClass; + /// + /// + /// + public Package.ObservationValueClass ObservationValueClass => _ObservationValueClass ?? (_ObservationValueClass = new Package.ObservationValueClass()); + + private Package.TextValueClass _TextValueClass; + /// + /// + /// + public Package.TextValueClass TextValueClass => _TextValueClass ?? (_TextValueClass = new Package.TextValueClass()); + + private Package.NumericValueClass _NumericValueClass; + /// + /// + /// + public Package.NumericValueClass NumericValueClass => _NumericValueClass ?? (_NumericValueClass = new Package.NumericValueClass()); + + private Package.ControlledVocabularyValueClass _ControlledVocabularyValueClass; + /// + /// + /// + public Package.ControlledVocabularyValueClass ControlledVocabularyValueClass => _ControlledVocabularyValueClass ?? (_ControlledVocabularyValueClass = new Package.ControlledVocabularyValueClass()); + + private Package.ConditionValueClass _ConditionValueClass; + /// + /// + /// + public Package.ConditionValueClass ConditionValueClass => _ConditionValueClass ?? (_ConditionValueClass = new Package.ConditionValueClass()); + + private Package.TableClass _TableClass; + /// + /// + /// + public Package.TableClass TableClass => _TableClass ?? (_TableClass = new Package.TableClass()); + + private Package.TimeSeriesClass _TimeSeriesClass; + /// + /// + /// + public Package.TimeSeriesClass TimeSeriesClass => _TimeSeriesClass ?? (_TimeSeriesClass = new Package.TimeSeriesClass()); + + private Package.ComponentClass _ComponentClass; + /// + /// + /// + public Package.ComponentClass ComponentClass => _ComponentClass ?? (_ComponentClass = new Package.ComponentClass()); + + private Package.DataItemClass _DataItemClass; + /// + /// + /// + public Package.DataItemClass DataItemClass => _DataItemClass ?? (_DataItemClass = new Package.DataItemClass()); + + private Package.DeviceClass _DeviceClass; + /// + /// + /// + public Package.DeviceClass DeviceClass => _DeviceClass ?? (_DeviceClass = new Package.DeviceClass()); + + private Package.ConfigurationClass _ConfigurationClass; + /// + /// + /// + public Package.ConfigurationClass ConfigurationClass => _ConfigurationClass ?? (_ConfigurationClass = new Package.ConfigurationClass()); + + private Package.ReferenceClass _ReferenceClass; + /// + /// + /// + public Package.ReferenceClass ReferenceClass => _ReferenceClass ?? (_ReferenceClass = new Package.ReferenceClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Parser.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Parser.cs new file mode 100644 index 00000000..f70d7187 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Parser.cs @@ -0,0 +1,73 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ReferenceAgentArchitecture.Parser; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ParserPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585535931462_942074_2200"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1585535931462_942074_2200"; + /// Constant value for + public const string NAME = "Parser"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + XmlParserClass, + JsonParserClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.XmlParserClass _XmlParserClass; + /// + /// + /// + public Package.XmlParserClass XmlParserClass => _XmlParserClass ?? (_XmlParserClass = new Package.XmlParserClass()); + + private Package.JsonParserClass _JsonParserClass; + /// + /// + /// + public Package.JsonParserClass JsonParserClass => _JsonParserClass ?? (_JsonParserClass = new Package.JsonParserClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Pipelines.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Pipelines.cs new file mode 100644 index 00000000..545b98ba --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Pipelines.cs @@ -0,0 +1,206 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ReferenceAgentArchitecture.Pipelines; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class PipelinesPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_4_45f01b9_1673980318563_67496_96"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_4_45f01b9_1673980318563_67496_96"; + /// Constant value for + public const string NAME = "Pipelines"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + Entity_Command_Class, + Entity_Message_Class, + Entity_Data_Class, + EntityClass, + Entity_ConnectionStatus_Class, + TokensClass, + TimestampedClass, + ObservationsClass, + AssetCommandClass, + Entity_MClass, + PipelineMessageClass, + JsonMessageClass, + DataMessageClass, + TransformClass, + GuardClass, + TypeGuardGeneralization, + ExactTypeGuardGeneralization, + EntityNameGuardGeneralization, + LambdaGuardGeneralization, + ConvertSampleClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + GuardResult, + }; + + #region Packages + #endregion + + #region Classes + private Package.Entity_Command_Class _Entity_Command_Class; + /// + /// + /// + public Package.Entity_Command_Class Entity_Command_Class => _Entity_Command_Class ?? (_Entity_Command_Class = new Package.Entity_Command_Class()); + + private Package.Entity_Message_Class _Entity_Message_Class; + /// + /// + /// + public Package.Entity_Message_Class Entity_Message_Class => _Entity_Message_Class ?? (_Entity_Message_Class = new Package.Entity_Message_Class()); + + private Package.Entity_Data_Class _Entity_Data_Class; + /// + /// + /// + public Package.Entity_Data_Class Entity_Data_Class => _Entity_Data_Class ?? (_Entity_Data_Class = new Package.Entity_Data_Class()); + + private Package.EntityClass _EntityClass; + /// + /// + /// + public Package.EntityClass EntityClass => _EntityClass ?? (_EntityClass = new Package.EntityClass()); + + private Package.Entity_ConnectionStatus_Class _Entity_ConnectionStatus_Class; + /// + /// + /// + public Package.Entity_ConnectionStatus_Class Entity_ConnectionStatus_Class => _Entity_ConnectionStatus_Class ?? (_Entity_ConnectionStatus_Class = new Package.Entity_ConnectionStatus_Class()); + + private Package.TokensClass _TokensClass; + /// + /// + /// + public Package.TokensClass TokensClass => _TokensClass ?? (_TokensClass = new Package.TokensClass()); + + private Package.TimestampedClass _TimestampedClass; + /// + /// + /// + public Package.TimestampedClass TimestampedClass => _TimestampedClass ?? (_TimestampedClass = new Package.TimestampedClass()); + + private Package.ObservationsClass _ObservationsClass; + /// + /// + /// + public Package.ObservationsClass ObservationsClass => _ObservationsClass ?? (_ObservationsClass = new Package.ObservationsClass()); + + private Package.AssetCommandClass _AssetCommandClass; + /// + /// + /// + public Package.AssetCommandClass AssetCommandClass => _AssetCommandClass ?? (_AssetCommandClass = new Package.AssetCommandClass()); + + private Package.Entity_MClass _Entity_MClass; + /// + /// + /// + public Package.Entity_MClass Entity_MClass => _Entity_MClass ?? (_Entity_MClass = new Package.Entity_MClass()); + + private Package.PipelineMessageClass _PipelineMessageClass; + /// + /// + /// + public Package.PipelineMessageClass PipelineMessageClass => _PipelineMessageClass ?? (_PipelineMessageClass = new Package.PipelineMessageClass()); + + private Package.JsonMessageClass _JsonMessageClass; + /// + /// + /// + public Package.JsonMessageClass JsonMessageClass => _JsonMessageClass ?? (_JsonMessageClass = new Package.JsonMessageClass()); + + private Package.DataMessageClass _DataMessageClass; + /// + /// + /// + public Package.DataMessageClass DataMessageClass => _DataMessageClass ?? (_DataMessageClass = new Package.DataMessageClass()); + + private Package.TransformClass _TransformClass; + /// + /// + /// + public Package.TransformClass TransformClass => _TransformClass ?? (_TransformClass = new Package.TransformClass()); + + private Package.GuardClass _GuardClass; + /// + /// + /// + public Package.GuardClass GuardClass => _GuardClass ?? (_GuardClass = new Package.GuardClass()); + + private Package.TypeGuardGeneralization _TypeGuardGeneralization; + /// + /// + /// + public Package.TypeGuardGeneralization TypeGuardGeneralization => _TypeGuardGeneralization ?? (_TypeGuardGeneralization = new Package.TypeGuardGeneralization()); + + private Package.ExactTypeGuardGeneralization _ExactTypeGuardGeneralization; + /// + /// + /// + public Package.ExactTypeGuardGeneralization ExactTypeGuardGeneralization => _ExactTypeGuardGeneralization ?? (_ExactTypeGuardGeneralization = new Package.ExactTypeGuardGeneralization()); + + private Package.EntityNameGuardGeneralization _EntityNameGuardGeneralization; + /// + /// + /// + public Package.EntityNameGuardGeneralization EntityNameGuardGeneralization => _EntityNameGuardGeneralization ?? (_EntityNameGuardGeneralization = new Package.EntityNameGuardGeneralization()); + + private Package.LambdaGuardGeneralization _LambdaGuardGeneralization; + /// + /// + /// + public Package.LambdaGuardGeneralization LambdaGuardGeneralization => _LambdaGuardGeneralization ?? (_LambdaGuardGeneralization = new Package.LambdaGuardGeneralization()); + + private Package.ConvertSampleClass _ConvertSampleClass; + /// + /// + /// + public Package.ConvertSampleClass ConvertSampleClass => _ConvertSampleClass ?? (_ConvertSampleClass = new Package.ConvertSampleClass()); + + #endregion + + #region Enums + private Package.GuardResultMetaClass _GuardResult; + /// + /// + /// + public Package.GuardResultMetaClass GuardResult => _GuardResult ?? (_GuardResult = new Package.GuardResultMetaClass()); + + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Printer.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Printer.cs new file mode 100644 index 00000000..259e84bc --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Printer.cs @@ -0,0 +1,73 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ReferenceAgentArchitecture.Printer; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class PrinterPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585535835198_757615_2085"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1585535835198_757615_2085"; + /// Constant value for + public const string NAME = "Printer"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + XmlPrinterClass, + JsonPrinterClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.XmlPrinterClass _XmlPrinterClass; + /// + /// + /// + public Package.XmlPrinterClass XmlPrinterClass => _XmlPrinterClass ?? (_XmlPrinterClass = new Package.XmlPrinterClass()); + + private Package.JsonPrinterClass _JsonPrinterClass; + /// + /// + /// + public Package.JsonPrinterClass JsonPrinterClass => _JsonPrinterClass ?? (_JsonPrinterClass = new Package.JsonPrinterClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Rest.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Rest.cs new file mode 100644 index 00000000..bbe3b6f9 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Rest.cs @@ -0,0 +1,66 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ReferenceAgentArchitecture.Rest; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class RestPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585535305817_81941_1692"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1585535305817_81941_1692"; + /// Constant value for + public const string NAME = "Rest"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + StoragePackage, + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.StoragePackage _StoragePackage; + /// + /// + /// + public Package.StoragePackage StoragePackage => _StoragePackage ?? (_StoragePackage = new Package.StoragePackage()); + + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Sink.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Sink.cs new file mode 100644 index 00000000..f513cf04 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Sink.cs @@ -0,0 +1,66 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ReferenceAgentArchitecture.Sink; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class SinkPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585535659050_502398_1913"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1585535659050_502398_1913"; + /// Constant value for + public const string NAME = "Sink"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + RestSinkGeneralization, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.RestSinkGeneralization _RestSinkGeneralization; + /// + /// + /// + public Package.RestSinkGeneralization RestSinkGeneralization => _RestSinkGeneralization ?? (_RestSinkGeneralization = new Package.RestSinkGeneralization()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Source.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Source.cs new file mode 100644 index 00000000..eacb4e3b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Source.cs @@ -0,0 +1,73 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ReferenceAgentArchitecture.Source; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class SourcePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585535650368_627874_1904"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1585535650368_627874_1904"; + /// Constant value for + public const string NAME = "Source"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + MQTTDataSourceGeneralization, + AdapterDataSourceGeneralization, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.MQTTDataSourceGeneralization _MQTTDataSourceGeneralization; + /// + /// + /// + public Package.MQTTDataSourceGeneralization MQTTDataSourceGeneralization => _MQTTDataSourceGeneralization ?? (_MQTTDataSourceGeneralization = new Package.MQTTDataSourceGeneralization()); + + private Package.AdapterDataSourceGeneralization _AdapterDataSourceGeneralization; + /// + /// + /// + public Package.AdapterDataSourceGeneralization AdapterDataSourceGeneralization => _AdapterDataSourceGeneralization ?? (_AdapterDataSourceGeneralization = new Package.AdapterDataSourceGeneralization()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Transformation.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Transformation.cs new file mode 100644 index 00000000..c619913b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/ReferenceAgentArchitecture/Transformation.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.ReferenceAgentArchitecture +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class TransformationPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585535791565_592482_2044"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1585535791565_592482_2044"; + /// Constant value for + public const string NAME = "Transformation"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Rest/Storage.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Rest/Storage.cs new file mode 100644 index 00000000..f52cb2f8 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/Rest/Storage.cs @@ -0,0 +1,66 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.ReferenceAgentArchitecture.Rest.Storage; + +namespace Mtconnect.ReferenceAgentArchitecture.Rest +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class StoragePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1585535517110_128182_1817"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1585535517110_128182_1817"; + /// Constant value for + public const string NAME = "Storage"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + CircularBuffferClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + private Package.CircularBuffferClass _CircularBuffferClass; + /// + /// + /// + public Package.CircularBuffferClass CircularBuffferClass => _CircularBuffferClass ?? (_CircularBuffferClass = new Package.CircularBuffferClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/SupportingDocuments/CommonDocuments.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/SupportingDocuments/CommonDocuments.cs new file mode 100644 index 00000000..6b6d09a7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/SupportingDocuments/CommonDocuments.cs @@ -0,0 +1,844 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.SupportingDocuments +{ + /// Acronyms


API (API)
BOM (BOM)
DER (DER)
DMC (DMC)
SME (SME)
URI (URI)
URL (URL)
URN (URN)
UTC (UTC)


2D (2D)
3D (3D)
AI (AI)
ALM (ALM)
AMT (AMT)
ANSI (ANSI)
AP (AP)
ASME (ASME)
ASTM (ASTM)
AWS (AWS)
BDD (BDD)
BST (BST)
CA (CA)
CAD (CAD)
CAE (CAE)
CAI (CAI)
CAM (CAM)
CAx (CAx)
CFD (CFD)
CM (CM)
CMS (CMS)
CNRI (CNRI)
CPM (CPM)
CPM2 (CPM2)
CPSC (CPSC)
C\&R (C&R)
cUAV (cUAV)
DARPA (DARPA)
DFM (DFM)
DLA (DLA)
DMSC (DMSC)
DNS (DNS)
DoD (DoD)
DOI (DOI)
DRM (DRM)
ECR (ECR)
ERP (ERP)
FAA (FAA)
FAIR (FAIR)
FDA (FDA)
FEA (FEA)
GD\&T (GD&T)
GID (GID)
HTML (HTML)
HTTP (HTTP)
HTTPS (HTTPS)
ID (ID)
IEEE (IEEE)
IIoT (IIoT)
INCOSE (INCOSE)
I/O (I/O)
IP (IP)
ISO (ISO)
ISS (ISS)
IT (IT)
ITU-T (ITU-T)
JSON (JSON)
JT (JT)
LHS (LHS)
LIFT (LIFT)
LOI (LOI)
MAC (MAC)
MADE (MADE)
MBD (MBD)
MBE (MBE)
MBI (MBI)
MBM (MBM)
MBSD (MBSD)
MBSE (MBSE)
MEDALS (MEDALS)
MES (MES)
MOI (MOI)
MTC (MTC)
NASA (NASA)
NC (NC)
NIST (NIST)
NNMI (NNMI)
NSF (NSF)
NTSC (NTSC)
OASIS (OASIS)
ODI (ODI)
OEM (OEM)
OOI (OOI)
OSLC (OSLC)
OSTP (OSTP)
OT (OT)
OWL (OWL)
PDF (PDF)
PDM (PDM)
PDQ (PDQ)
PHM (PHM)
PI (PI)
PLCS (PLCS)
PLM (PLM)
PLOT (PLOT)
PMI (PMI)
PRC (PRC)
PSI (PSI)
PTAB (PTAB)
QIF (QIF)
QMS (QMS)
RDF (RDF)
REST (REST)
RII (RII)
SaaS (SaaS)
SAML (SAML)
SC (SC)
SDO (SDO)
SFTP (SFTP)
SKOS (SKOS)
SLH (SLH)
SLR (SLR)
S/MIME (S/MIME)
SMOPAC (SMOPAC)
SMS Test Bed (sms)
SOA (SOA)
SPMM (SPMM)
SSL (SSL)
STEP (STEP)
STEP AP242 (STEP AP242)
STL (STL)
SysML (SysML)
TDP (TDP)
TLS (TLS)
TSM (TSM)
UML (UML)
UUID (UUID)
V\&V (V&V)
W3C (W3C)
WSN (WSN)
WWW (WWW)
XML (XML)
X.509-PKI (X.509-PKI)
X.509-PMI (X.509-PMI)
XSD (XSD)

OPC (OPC)
UA (UA)
UAL (UAL)
HMI (HMI)
PLC (PLC)
SCADA (SCADA)
TCP/IP (TCP/IP)
CNC (CNC)


MOM (MOM)
PMS (PMS)
ISV (ISV)
MQTT (MQTT)
CDATA (CDATA)
NMTOKEN (NMTOKEN)
QName (QName)
XPath (XPath)





MTConnect Class

% MTConnect Document Class %

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{mtconnect}[2018/02/13 LaTeX document class for MTConnect]

% Preliminary Declarations %

\LoadClass[12pt,letterpaper,twoside]{article}
\usepackage[utf8]{inputenc}
\usepackage[letterpaper,top=1.25in,%
bottom=1.25in,footskip=0.5in]{geometry}

\usepackage[citations,hybrid,smartEllipses,hashEnumerators,html,%
pipeTables,tableCaptions,fencedCode,codeSpans,tightLists=false,%
cacheDir=markdowncache]{markdown}%
\usepackage[absolute]{textpos}
\RequirePackage[htt]{hyphenat} % Allow hyphenation of fixed space fonts
\RequirePackage{fancyvrb}
\RequirePackage{placeins}
\RequirePackage{booktabs}
\usepackage{morewrites}
\RequirePackage{times} % Loads Adobe Times Roman Font (clone of Times New Roman)
\RequirePackage{mathptmx} % Loads Adobe Times Roman Math Font
\RequirePackage{ifpdf} % Enables switch between latex and pdflatex
\RequirePackage{stringstrings} % Loads stringstrings to create Camel and Pascal case fonts
\RequirePackage{ifthen} % Loads ifthen package for conditional statements
\RequirePackage[T1]{fontenc} % Loads fontenc package for controlled vocabulary formatting
\let\BreakableUnderscore\undefined
\RequirePackage{graphicx} % Loads graphicx package to include figures and images
\RequirePackage{fancyhdr} % Loads fancyhdr package to modify headers and footers
%\RequirePackage[hyphens]{url} % Loads url package to typeset URLs
\RequirePackage{lineno} % Loads lineno package to apply line numbers to document
\RequirePackage{etoolbox} % Loads etoolbox package to patch lineno package and suppress line numbers in section headings
\RequirePackage{sectsty} % Loads sectsty package to modify font of section headings
\RequirePackage{xcolor} % Loads xcolor package to define color for fonts and tables
\RequirePackage{colortbl} % Loads colortbl package to provide colors for table shading
\RequirePackage{caption} % Loads caption package to adjust caption font
\usepackage{listings} % Loads listings package to typeset code samples
\lstset{ %default
basicstyle=\footnotesize\fontfamily{pcr}\selectfont,
numbers=left,
stepnumber=1,
xleftmargin=0.25in,
breaklines=true
}
\renewcommand\lstlistingname{Example}
\RequirePackage{hyperref} % Loads hyperref package to link TOC/LOF/LOT
\RequirePackage{tocloft} % Loads tocloft package to format TOC/LOF/LOT
\RequirePackage[ampersand]{easylist} % Loads easylist package to simplify lists using &
\RequirePackage[english]{babel}
\RequirePackage{csquotes}
\RequirePackage{xstring}
\RequirePackage{siunitx}
\RequirePackage{upgreek}
\RequirePackage{longtable}
\RequirePackage{enumitem}
\usepackage{tabularray}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[normalem]{ulem} %For deprecated items
\RequirePackage[acronym,toc,numberedsection,%
abbreviations,automake,nonumberlist,%
section=subsection]{glossaries-extra}
\usepackage{mdframed}
\usepackage{nameref}
\usepackage[titletoc,title]{appendix}
\usepackage{hanging}
\usepackage{titlesec}
\usepackage{xargs}
\newcommand{\sectionbreak}{\clearpage}

\usepackage[backend=biber,style=alphabetic,]{biblatex}
\defbibheading{bibliography}[\bibname]{%
\subsection{#1}}

\usepackage{titlesec}

% Watermark %

%\usepackage{background}
%\backgroundsetup{contents=DRAFT, opacity=0.3, color=cyan, scale=9}

% Formatting for MTConnect with registration mark, which is required in title and footer.
\newcommand{\mtconnectregistered}{MTConnect\textsuperscript{\textregistered} }
% Formatting for MTConnect without registration mark, which can be used everywhere except title page(s) and footer.
%\newcommand{\mtconnect}{MTConnect } %Use MTConnect

\newcommand{\storedstringPCR}[1]{{\fontfamily{pcr}\selectfont #1}}

% Page Layout %

\setlength\paperheight{11in}
\setlength\paperwidth{8.5in}
\setlength\oddsidemargin{0.25in}
\setlength\evensidemargin{0.25in}

\setlength\parindent{0pt}
\setlength\parskip{1em}

% Title Page %

\newcommand\@docnum{}
\newcommand\@doctitle{}
\newcommand\@versionnum{}
\newcommand\@preparedfor{}
\newcommand\@preparedby{}
\newcommand\@preparedon{}
\newcommand\@preparedfrom{}
\newcommand{\docnum}[1]{\gdef\@docnum{#1}}
\newcommand{\doctitle}[1]{\gdef\@doctitle{#1}}
\newcommand{\versionnum}[1]{\gdef\@versionnum{#1}}
\newcommand{\preparedfor}[1]{\gdef\@preparedfor{#1}}
\newcommand{\preparedby}[1]{\gdef\@preparedby{#1}}
\newcommand{\preparedon}[1]{\gdef\@preparedon{#1}}
\newcommand{\preparedfrom}[1]{\gdef\@preparedfrom{#1}}

\renewcommand{\maketitle}{%
\begin{titlepage}%
\begin{flushleft}%
\includegraphics[width=0.5\linewidth]{mtconnect.png} \\%
\end{flushleft}%
\vfill%
\begin{center}%
\Huge{\textbf{\mtconnectregistered Standard}} \\%
\huge{\@docnum\ -- \@doctitle} \\%
\LARGE{Version \@versionnum} \\%
\end{center}%
\vfill%
\hspace*{\fill}%
\begin{tabular}[t]{l@{}}%
Prepared for: \@preparedfor \\%
Prepared from: \@preparedfrom \\%
Prepared on: \@preparedon \\%
\end{tabular}%
\vfill%
\noindent \footnotesize{\mtconnectregistered is a registered trademark of AMT - The Association for Manufacturing Technology. Use of MTConnect is limited to use as specified on \url{http://www.mtconnect.org/}.}%
\end{titlepage}%
\setcounter{page}{1}%
}

% Table of Contents/Figures/Tables %

\addto\captionsenglish{%
\renewcommand\contentsname{\color{mtc1} Table of Contents}}
\addto\captionsenglish{%
\renewcommand\listfigurename{\color{mtc1} Table of Figures}}
\addto\captionsenglish{%
\renewcommand\listtablename{\color{mtc1} List of Tables}}

\renewcommand{\cftfigfont}{\normalsize\bfseries}
\renewcommand{\cftfigindent}{0pt}
\renewcommand{\cftfignumwidth}{4.25em}
\renewcommand{\cftfigpresnum}{Figure }
\renewcommand{\cftfigaftersnum}{:}

\renewcommand{\cfttabfont}{\normalsize\bfseries}
\renewcommand{\cfttabindent}{0pt}
\renewcommand{\cfttabnumwidth}{4em}
\renewcommand{\cfttabpresnum}{Table }
\renewcommand{\cfttabaftersnum}{:}

\renewcommand{\newline}{\vskip 0.1in}

% Header and Footer Definitions %

\newcommand\@doctitleshort{}
\newcommand{\doctitleshort}[1]{\gdef\@doctitleshort{#1}}

\pagestyle{fancy}
\fancyhf{}
\rhead{\@preparedon}
\lfoot{MTConnect \@docnum : \@doctitle { -} Version \@versionnum}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0pt}

% Sections and Enumerate %

\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{3}

\makeatletter
\renewcommand\subparagraph{%
\@startsection {subparagraph}{5}{\z@ }{3.25ex \@plus 1ex
\@minus .2ex}{-1em}{\normalfont \normalsize \bfseries }}%
\makeatother

\usepackage{float}

\restylefloat{figure}
\restylefloat{table}

\newif\iffigures
\newif\iftables

\makeatletter
\AtEndDocument {%
\if@filesw
\ifnum\value{figure}=\z@ % no figures
\immediate\write\@mainaux {\global\string\figuresfalse}%
\else
\immediate\write\@mainaux {\global\string\figurestrue}%
\fi
\ifnum\value{table}=\z@ % no tables
\immediate\write\@mainaux {\global\string\tablesfalse}%
\else
\immediate\write\@mainaux {\global\string\tablestrue}%
\fi
\fi
}
\makeatother

\definecolor{mtc1}{RGB}{43,105,145}
\sectionfont{\bfseries\color{mtc1}\Large}
\subsectionfont{\bfseries\color{mtc1}\large}
\subsubsectionfont{\bfseries\color{black}\large}
\paragraphfont{\bfseries\color{black}\normalsize}
\subparagraphfont{\bfseries\color{black}\normalsize}

% Tables and Figures %

\definecolor{mtc2}{RGB}{0,128,128}
\newcommand{\tblh}[1]{\normalsize\textbf{\textcolor{white}{#1}}}

\graphicspath{ {./figures/} }

\newcommand{\figcap}[1]{\caption{\textbf{#1}}}
\captionsetup{labelfont=bf}

\newcommand{\tabuheader}{\rowcolor{mtc2}\rowfont[c]{\fontsize{10pt}{12pt}\selectfont\bfseries\color{white}}}

% Line Numbers %

\renewcommand\linenumberfont{\footnotesize\fontfamily{pcr}\selectfont}
\makeatletter
\patchcmd{\@startsection}{\@ifstar}{\nolinenumbers\@ifstar}{}{}
\patchcmd{\@xsect}{\ignorespaces}{\linenumbers\ignorespaces}{}{}
\makeatother
\linenumbers

% Other Commands %

% Courier font selection:
\newcommand{\cfont}[1]{{\fontfamily{pcr}\selectfont #1}}
\newcommand{\literal}[1]{{\fontfamily{pcr}\selectfont #1}}
\newcommand{\xml}[1]{{\fontfamily{pcr}\selectfont #1}}
\newcommand{\deprecated}[1]{\sout{#1}}
\newcommand{\DEPRECATED}{\textbf{DEPRECATED }}
\newcommand{\DEPRECATIONWARNING}{\textbf{DEPRECATION WARNING }}
\newcommand{\WARNING}{\textbf{WARNING }}

\newcommand{\notesign}{\textsuperscript{\textdagger}}
%create a loop if more are required

% Requirement levels:
\newcommand{\must}{\textbf{MUST }}
\newcommand{\mustnot}{\textbf{MUST NOT }}
\newcommand{\should}{\textbf{SHOULD }}
\newcommand{\shouldnot}{\textbf{SHOULD NOT }}
\newcommand{\may}{\textbf{MAY }}
\newcommand{\maynot}{\textbf{MAY NOT }}
\newcommand{\shall}{\textbf{SHALL }}
\newcommand{\shallnot}{\textbf{SHALL NOT }}

\newcommand{\NOT}{\textbf{NOT }}
% Mapping must, MUST, shall, SHALL to SHALL
\newcommand{\MUST}{\must}
\newcommand{\MUSTNOT}{\mustnot}

\newcommand{\SHOULD}{\should}
\newcommand{\SHOULDNOT}{\shouldnot}
\newcommand{\MAY}{\may}
\newcommand{\MAYNOT}{\maynot}
\newcommand{\SHALL}{\shall}
\newcommand{\SHALLNOT}{\shallnot}

% Formatting for cross-references:
\newcommand{\fig}[1]{\textit{Figure~\ref{fig:#1} }}
\newcommand{\sect}[1]{\textit{Section~\ref{sec:\detokenize{#1}} - \nameref{\detokenize{sec:#1}}}}
\newcommand{\tbl}[1]{\textit{Table~\ref{table:#1}}}
\newcommand{\apx}[1]{\textit{Appendix~\ref{appendix:#1}}}
\newcommand{\lst}[1]{\textit{Example~\ref{lst:#1}}}
\newcommand{\ver}[1]{\textit{MTConnect Version #1 }}

% Format for terms
\newcommand{\term}[1]{\textit{#1}}

% Formatting for code samples:
\newcommand{\code}{%
\lstset{basicstyle=\footnotesize\fontfamily{pcr}\selectfont,numbers=left,stepnumber=1,xleftmargin=0.25in,breaklines=true}}

\definecolor{maroon}{rgb}{0.5,0,0}
\definecolor{darkgreen}{rgb}{0,0.5,0}

% Glossaries

\newglossary*{mtc}{MTConnect Terms}
\newglossary*{general}{General Terms}
\newglossary*{informationmodel}{Information Model Terms}
\newglossary*{protocol}{Protocol Terms}
\newglossary*{xml}{XML Terms}
\newglossary*{http}{HTTP Terms}
\newglossary*{conceptmodel}{Concept Model Terms}
\newglossary*{industrial}{Industrial Terms}

\makeglossaries

%Underlined headings (Example: scenarios in Part5)
\newcommand{\ulheading}[1]{\tab \uline{#1}}

%indent/tab in tables
\newcommand{\tab}{\hspace{0.5cm}}

% For acronyms, puts the long description first and then the acronym second.
\setabbreviationstyle[acronym]{long-short}

\defglsentryfmt[general]{\term{\glsgenentryfmt}}
\defglsentryfmt[informationmodel]{\term{\glsgenentryfmt}}
\defglsentryfmt[protocol]{\term{\glsgenentryfmt}}
\defglsentryfmt[http]{\term{\glsgenentryfmt}}
\defglsentryfmt[xml]{\term{\glsgenentryfmt}}
\defglsentryfmt[conceptmodel]{\term{\glsgenentryfmt}}

\renewcommand{\glsnamefont}[1]{%
\glsifcategory{\glscurrententrylabel}{model}%
{\cfont{#1}}%
{\term{#1}}%
}

\setglossarystyle{altlist}
\makeglossaries

% Styles for OPC, UML, SysML

\usepackage{sty/tikz-uml}
\usetikzlibrary{positioning}
\usetikzlibrary{arrows,calc,decorations.markings,math,arrows.meta}

\tikzumlset{fill class=white, fill template=white}

\tikzstyle{tikzuml unidirectional association style}=%
[color=\tikzumlDefaultDrawColor, {-{Stealth[inset=3pt,scale=2.5,angle'=45]}},%
rounded corners]

\tikzstyle{tikzuml inherit style}=%
[color=\tikzumlDefaultDrawColor, {-{Stealth[inset=0pt,scale=2.5,fill=white,angle'=45]}},%
rounded corners]

\lstdefinelanguage{XML}
{
basicstyle=\ttfamily\footnotesize,
morestring=[b]",
moredelim=[s][\bfseries\color{maroon}]{<}{\ },
moredelim=[s][\bfseries\color{maroon}]{</}{>},
moredelim=[l][\bfseries\color{maroon}]{/>},
moredelim=[l][\bfseries\color{maroon}]{>},
morecomment=[s]{<?}{?>},
morecomment=[s]{<!--}{-->},
commentstyle=\color{darkgreen},
stringstyle=\color{blue},
identifierstyle=\color{red}
}

\newcommand{\block}[1]{\cfont{#1}}
\newcommand{\property}[1]{\cfont{#1}}
\newcommand{\operation}[1]{\cfont{#1}}

\newenvironment{note}{}{}




MTConnect Specification and Materials

AMT owns the copyright in this MTConnect Specification or Material. AMT grants to you a non-exclusive, non-transferable, revocable, non-sublicensable, fully-paid-up copyright license to reproduce, copy and redistribute this MTConnect Specification or Material, provided that you may only copy or redistribute the MTConnect Specification or Material in the form in which you received it, without modifications, and with all copyright notices and other notices and disclaimers contained in the MTConnect Specification or Material.

If you intend to adopt or implement an MTConnect Specification or Material in a product, whether hardware, software or firmware, which complies with an MTConnect Specification, you shall agree to the MTConnect Specification Implementer License Agreement ("Implementer License") or to the MTConnect Intellectual Property Policy and Agreement ("IP Policy"'). The Implementer License and IP Policy each sets forth the license terms and other terms of use for MTConnect Implementers to adopt or implement the MTConnect Specifications, including certain license rights covering necessary patent claims for that purpose. These materials can be found at www.MTConnect.org, or or by contacting mailto:info@MTConnect.org.

MTConnect Institute and AMT have no responsibility to identify patents, patent claims or patent applications which may relate to or be required to implement a Specification, or to determine the legal validity or scope of any such patent claims brought to their attention. Each MTConnect Implementer is responsible for securing its own licenses or rights to any patent or other intellectual property rights that may be necessary for such use, and neither AMT nor MTConnect Institute have any obligation to secure any such rights.

This Material and all MTConnect Specifications and Materials are provided "as is" and MTConnect Institute and AMT, and each of their respective members, officers, affiliates, sponsors and agents, make no representation or warranty of any kind relating to these materials or to any implementation of the MTConnect Specifications or Materials in any product, including, without limitation, any expressed or implied warranty of noninfringement, merchantability, or fitness for particular purpose, or of the accuracy, reliability, or completeness of information contained herein. In no event shall MTConnect Institute or AMT be liable to any user or implementer of MTConnect Specifications or Materials for the cost of procuring substitute goods or services, lost profits, loss of use, loss of data or any incidental, consequential, indirect, special or punitive damages or other direct damages, whether under contract, tort, warranty or otherwise, arising in any way out of access, use or inability to use the MTConnect Specification or other MTConnect Materials, whether or not they had advance notice of the possibility of such damage.

The normative XMI is located at the following URL: [MTConnectSysMLModel.xml](https://model.mtconnect.org/MTConnectSysMLModel.xml)





MTConnect References

@manual{MTCPart1,
title = {{MTConnect Standard Part 1.0 - Fundamentals}},
%url = {http://bit.ly/2CaOlt1},
label = {MTConnect Part 1.0},
volume = {Part 1.0},
version = {2.0},
keywords = {MTC}
}

@manual{MTCPart2,
title = {{MTConnect Standard: Part 2.0 - Device Information Model}},
%url = {http://bit.ly/2OVfEy6},
label = {MTConnect Part 2.0},
volume = {Part 2.0},
version = {2.0},
keywords = {MTC}
}

@manual{MTCPart3,
title = {{MTConnect Standard: Part 3.0 - Observation Information Model}},
%url = {http://bit.ly/2pMob8q},
label = {MTConnect Part 3.0},
volume = {Part 3.0},
version = {2.0},
keywords = {MTC}
}

@manual{MTCPart4,
title = {{MTConnect Standard: Part 4.0 - Asset Information Model}},
%url = {http://bit.ly/2yyLc2D},
label = {MTConnect Part 4.0},
volume = {Part 4.0},
version = {2.0},
keywords = {MTC}
}

@manual{MTCPart5,
title = {{MTConnect Standard: Part 5.0 - Interface Interaction Model}},
%url = {http://bit.ly/2pPNGFY},
label = {MTConnect Part 5.0},
volume = {Part 5.0},
version = {2.0},
keywords = {MTC}
}





External References

@article{Gerkey2004,
title = {{A formal analysis and taxonomy of task allocation in multi-robot systems}},
year = {2004},
journal = {International Journal of Robotics Research},
author = {Gerkey, Brian P. and Matari{\'{c}}, Maja J.},
isbn = {0278-3649},
doi = {10.1177/0278364904045564},
issn = {02783649},
pmid = {13688984},
keywords = {Coordination, Multi-robot systems, Task allocation, Utility}
}

@book{Gamma1994,
title = {{Design Patterns: Elements of Reusable Object-Oriented Software}},
year = {1994},
author = {Gamma, Erich and Heml, Richard and Johnson, Ralph and Vlissides, John},
pages = {107},
publisher = {Addison Wesley},
isbn = {ISBN 0-201-63361-2}
}

@article{Birman1987,
title = {{Exploiting virtual synchrony in distributed systems}},
year = {1987},
journal = {ACM SIGOPS Operating Systems Review},
author = {Birman, K. and Joseph, T.},
isbn = {089791242X},
doi = {10.1145/37499.37515},
issn = {01635980},
pmid = {21463384}
}

@misc{ISO2011,
title = {{ISO/IEC 42010:2011}},
year = {2011},
booktitle = {Systems and software engineering - Architecture description},
author = {{ISO}},
number = {March},
pages = {1--46},
volume = {2011},
url = {http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=6129467&contentType=Standards&sortType=asc_p_Sequence&filter=AND(p_Publication_Number:6129465)},
isbn = {978-0-7456-5060-9},
doi = {10.1081/E-ELIS3-120044716},
issn = {10655077},
pmid = {15814772}
}

@article{ISOInternationalOrganizationforStandardization2011,
title = {{ISO/IEC/IEEE 42010:2011 - Systems and software engineering -- Architecture description}},
year = {2011},
journal = {ISOIECIEEE 420102011E Revision of ISOIEC 420102007 and IEEE Std 14712000},
author = {{ISO (International Organization for Standardization)}},
number = {March},
pages = {1--46},
volume = {2011},
isbn = {VO -},
doi = {10.1109/IEEESTD.2011.6129467},
issn = {0028-0836}
}

@phdthesis{Fielding2000ArchitecturalArchitectures,
title = {{Architectural Styles and the Design of Network-based Software Architectures}},
year = {2000},
booktitle = {Doctoral thesis},
author = {Fielding, Roy Thomas},
isbn = {0599871180},
doi = {10.1.1.91.2433},
issn = {1098-6596},
pmid = {25246403},
arxivId = {arXiv:1011.1669v3}
}




Main Template TEX

% MTCONNECT DOCUMENT TEMPLATE %
% FILENAME: mtconnect.tex %
% VERSION: 0.1 %
% DATE: 02/13/2018 %
% PORTED BY: Moneer Helu %
% ADDRESS: Engineering Laboratory %
% National Institute of Standards and Technology (NIST) %
% 100 Bureau Drive %
% Mailstop 8260 %
% Gaithersburg, MD 20899 %
% United States of America %
% EMAIL: moneer.helu@nist.gov %
% DESCRIPTION: Template for MTConnect documentation; %
% Initial attempt for testing and discussion %
% USAGE: \documentclass[options]{mtconnect} %


\documentclass{mtconnect} % Load mtconnect document class

\input{acronyms.tex}
\input{glossary.tex}
%\addbibresource{references.bib}
\addbibresource{mtc.bib}

%\hypersetup{draft} %to test without hyperlinks \hyperref
\begin{document} % Begin document here

% REQUIRED INITIAL INPUTS %

\docnum{} % Document "number"
\doctitle{} % Full document title
\doctitleshort{} % Shortened document title
\versionnum{} % MTConnect version
\preparedfor{MTConnect Institute} % Should not change!!!
\preparedfrom{\href{https://model.mtconnect.org/MTConnectSysMLModel.xml}{\texttt{MTConnectSysMLModel.xml}}} % Model link
\preparedon{\today} % Date prepared

% FRONT MATTER (DO NOT CHANGE!!!) %

\begin{nolinenumbers}
\maketitle % Title page

\pagenumbering{roman}

% MTConnect Specification and Material Statement:
\textbf{\color{mtc1}\Large MTConnect Specification and Materials} \\

\input{legal.tex}

\clearpage
\tableofcontents
\thispagestyle{fancy}
\clearpage
\iffigures
\listoffigures
\fi
\thispagestyle{fancy}
\clearpage
\iftables
\listoftables
\fi
\end{nolinenumbers}

\pagenumbering{arabic}

% ENTER DOCUMENT CONTENT BELOW %

\input{introduction.tex}

\input{%MAIN%}

\input{profile.tex}

\input{appendix.tex}

\end{document}





Appendix



{{addcontentsline{toc}{section}{Appendices}()}}
{{renewcommand{\thesubsection}{\Alph{subsection}}()}}

## Bibliography

Engineering Industries Association. EIA Standard - EIA-274-D, Interchangeable Variable, Block Data Format for Positioning, Contouring, and Contouring/Positioning Numerically Controlled Machines. Washington, D.C. 1979.

ISO TC 184/SC4/WG3 N1089. ISO/DIS 10303-238: Industrial automation systems and integration Product data representation and exchange Part 238: Application Protocols: Application interpreted model for computerized numerical controllers. Geneva, Switzerland, 2004.

International Organization for Standardization. ISO 14649: Industrial automation systems and integration – Physical device control – Data model for computerized numerical controllers – Part 10: General process data. Geneva, Switzerland, 2004.

International Organization for Standardization. ISO 14649: Industrial automation systems and integration – Physical device control – Data model for computerized numerical controllers – Part 11: Process data for milling. Geneva, Switzerland, 2000.

International Organization for Standardization. ISO 6983/1 – Numerical Control of machines – Program format and definition of address words – Part 1: Data format for positioning, line and contouring control systems. Geneva, Switzerland, 1982.

Electronic Industries Association. ANSI/EIA-494-B-1992, 32 Bit Binary CL (BCL) and 7 Bit ASCII CL (ACL) Exchange Input Format for Numerically Controlled Machines. Washington, D.C. 1992.

National Aerospace Standard. Uniform Cutting Tests - NAS Series: Metal Cutting Equipment Specifications. Washington, D.C. 1969.

International Organization for Standardization. ISO 10303-11: 1994, Industrial automation systems and integration Product data representation and exchange Part 11: Description methods: The EXPRESS language reference manual. Geneva, Switzerland, 1994.

International Organization for Standardization. ISO 10303-21: 1996, Industrial automation systems and integration -- Product data representation and exchange -- Part 21: Implementation methods: Clear text encoding of the exchange structure. Geneva, Switzerland, 1996.

H.L. Horton, F.D. Jones, and E. Oberg. Machinery's Handbook. Industrial Press, Inc. New York, 1984.

International Organization for Standardization. ISO 841-2001: Industrial automation systems and integration - Numerical control of machines - Coordinate systems and motion nomenclature. Geneva, Switzerland, 2001.

ASME B5.57: Methods for Performance Evaluation of Computer Numerically Controlled Lathes and Turning Centers, 1998.

ASME/ANSI B5.54: Methods for Performance Evaluation of Computer Numerically Controlled Machining Centers. 2005.

OPC Foundation. OPC Unified Architecture Specification, Part 1: Concepts Version 1.00. July 28, 2006.

IEEE STD 1451.0-2007, Standard for a Smart Transducer Interface for Sensors and Actuators – Common Functions, Communication Protocols, and Transducer Electronic Data Sheet (TEDS) Formats, IEEE Instrumentation and Measurement Society, TC-9, The Institute of Electrical and Electronics Engineers, Inc., New York, N.Y. 10016, SH99684, October 5, 2007.

IEEE STD 1451.4-1994, Standard for a Smart Transducer Interface for Sensors and Actuators – Mixed-Mode Communication Protocols and Transducer Electronic Data Sheet (TEDS) Formats, IEEE Instrumentation and Measurement Society, TC-9, The Institute of Electrical and Electronics Engineers, Inc., New York, N.Y. 10016, SH95225, December 15, 2004.




Main Template MD

# MTConnect Specification and Material Statement

{{input(legal.md)}}

{{input(introduction.md)}}

{{input(%MAIN%)}}

{{input(profile.md)}}

{{input(appendix.md)}}




+ ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class CommonDocumentsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1596108922525_351463_147"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1596108922525_351463_147"; + /// Constant value for + public const string NAME = "Common Documents"; + /// Constant value for + public const string SUMMARY = @" Acronyms +{{newacronym{API}{API}{application programming interface}()}} +{{newacronym{BOM}{BOM}{bill of materials}()}} +{{newacronym{DER}{DER}{designated-engineering representative}()}} +{{newacronym{DMC}{DMC}{digital manufacturing certificate}()}} +{{newacronym{SME}{SME}{small-to-medium enterprise}()}} +{{newacronym{URI}{URI}{Uniform Resource Identifier}()}} +{{newacronym{URL}{URL}{Uniform Resource Locator}()}} +{{newacronym{URN}{URN}{Uniform Resource Name}()}} +{{newacronym{UTC}{UTC}{Coordinated Universal Time}()}} + + +{{newacronym{2D}{2D}{two-dimensional}()}} +{{newacronym{3D}{3D}{three-dimensional}()}} +{{newacronym{AI}{AI}{artificial intelligence}()}} +{{newacronym{ALM}{ALM}{application lifecycle management}()}} +{{newacronym{AMT}{AMT}{The Association for Manufacturing Technology}()}} +{{newacronym{ANSI}{ANSI}{American National Standards Institute}()}} +{{newacronym{AP}{AP}{Application Protocol}()}} +{{newacronym{ASME}{ASME}{American Society of Mechanical Engineers}()}} +{{newacronym{ASTM}{ASTM}{American Society for Testing and Materials}()}} +{{newacronym{AWS}{AWS}{American Welding Society}()}} +{{newacronym{BDD}{BDD}{block definition diagram}()}} +{{newacronym{BST}{BST}{Board on Standardization and Testing}()}} +{{newacronym{CA}{CA}{certificate authority}()}} +{{newacronym{CAD}{CAD}{computer-aided design}()}} +{{newacronym{CAE}{CAE}{computer-aided engineering}()}} +{{newacronym{CAI}{CAI}{computer-aided inspection}()}} +{{newacronym{CAM}{CAM}{computer-aided manufacturing}()}} +{{newacronym{CAx}{CAx}{computer-aided technologies}()}} +{{newacronym{CFD}{CFD}{computational fluid dynamics}()}} +{{newacronym{CM}{CM}{configuration management}()}} +{{newacronym{CMS}{CMS}{coordinate-measurement system}()}} +{{newacronym{CNRI}{CNRI}{Corporation for National Research Initiatives}()}} +{{newacronym{CPM}{CPM}{Core Product Model}()}} +{{newacronym{CPM2}{CPM2}{Revised Core Product Model}()}} +{{newacronym{CPSC}{CPSC}{Consumer Product Safety Commission}()}} +{{newacronym{C&R}{C\\&R}{cause and remedy}()}} +{{newacronym{cUAV}{cUAV}{configurable unmanned aerial vehicle}()}} +{{newacronym{DARPA}{DARPA}{Defense Advanced Research Projects Agency}()}} +{{newacronym{DFM}{DFM}{design for manufacturing}()}} +{{newacronym{DLA}{DLA}{Defense Logistics Agency}()}} +{{newacronym{DMSC}{DMSC}{Dimensional Metrology Standards Consortium}()}} +{{newacronym{DNS}{DNS}{Domain Name System}()}} +{{newacronym{DoD}{DoD}{U.S. Department of Defense}()}} +{{newacronym{DOI}{DOI}{Distributed Object Identifier}()}} +{{newacronym{DRM}{DRM}{digital rights management}()}} +{{newacronym{ECR}{ECR}{engineering change request}()}} +{{newacronym{ERP}{ERP}{enterprise resource planning}()}} +{{newacronym{FAA}{FAA}{Federal Aviation Administration}()}} +{{newacronym{FAIR}{FAIR}{first article inspection reporting}()}} +{{newacronym{FDA}{FDA}{Food and Drug Administration}()}} +{{newacronym{FEA}{FEA}{finite-element analysis}()}} +{{newacronym{GD&T}{GD\\&T}{geometric dimensions and tolerances}()}} +{{newacronym{GID}{GID}{global identifier}()}} +{{newacronym{HTML}{HTML}{Hypertext Markup Language}()}} +{{newacronym{HTTP}{HTTP}{Hypertext Transfer Protocol}()}} +{{newacronym{HTTPS}{HTTPS}{Hypertext Transfer Protocol over Secure Sockets Layer}()}} +{{newacronym{ID}{ID}{identifier}()}} +{{newacronym{IEEE}{IEEE}{Institute of Electrical and Electronics Engineers}()}} +{{newacronym{IIoT}{IIoT}{industrial internet of things}()}} +{{newacronym{INCOSE}{INCOSE}{International Council on Systems Engineering}()}} +{{newacronym{I/O}{I/O}{in-out}()}} +{{newacronym{IP}{IP}{intellectual property}()}} +{{newacronym{ISO}{ISO}{International Standards Organization}()}} +{{newacronym{ISS}{ISS}{International Space Station}()}} +{{newacronym{IT}{IT}{information technology}()}} +{{newacronym{ITU-T}{ITU-T}{Telecommunication Standardization Sector of the International Telecommunication Union}()}} +{{newacronym{JSON}{JSON}{JavaScript Object Notation}()}} +{{newacronym{JT}{JT}{Jupiter Tesselation}()}} +{{newacronym{LHS}{LHS}{Lifecycle Handler System}()}} +{{newacronym{LIFT}{LIFT}{Lifecycle Information Framework and Technology}()}} +{{newacronym{LOI}{LOI}{Lifecycle Object Identifier}()}} +{{newacronym{MAC}{MAC}{media access control}()}} +{{newacronym{MADE}{MADE}{Manufacturing Automation and Design Engineering}()}} +{{newacronym{MBD}{MBD}{model-based definition}()}} +{{newacronym{MBE}{MBE}{Model-Based Enterprise}()}} +{{newacronym{MBI}{MBI}{model-based inspection}()}} +{{newacronym{MBM}{MBM}{model-based manufacturing}()}} +{{newacronym{MBSD}{MBSD}{model-based standards development}()}} +{{newacronym{MBSE}{MBSE}{model-based systems engineering}()}} +{{newacronym{MEDALS}{MEDALS}{Military Engineering Data Asset Locator System}()}} +{{newacronym{MES}{MES}{manufacturing execution system}()}} +{{newacronym{MOI}{MOI}{manufacturing object identifier}()}} +{{newacronym{MTC}{MTC}{Manufacturing Technology Centre}()}} +{{newacronym{NASA}{NASA}{National Aeronautics and Space Administration}()}} +{{newacronym{NC}{NC}{numerical control}()}} +{{newacronym{NIST}{NIST}{National Institute of Standards and Technology}()}} +{{newacronym{NNMI}{NNMI}{National Network of Manufacturing Innovation}()}} +{{newacronym{NSF}{NSF}{National Science Foundation}()}} +{{newacronym{NTSC}{NTSC}{National Transportation Safety Board}()}} +{{newacronym{OASIS}{OASIS}{Organization for the Advancement of Structured Information Standards}()}} +{{newacronym{ODI}{ODI}{Open Data Institute}()}} +{{newacronym{OEM}{OEM}{original equipment manufacturer}()}} +{{newacronym{OOI}{OOI}{Ocean Observatories Initiative}()}} +{{newacronym{OSLC}{OSLC}{Open Services for Lifecycle Collaboration}()}} +{{newacronym{OSTP}{OSTP}{Office of Science and Technology Policy}()}} +{{newacronym{OT}{OT}{operational technology}()}} +{{newacronym{OWL}{OWL}{Ontology Web Language}()}} +{{newacronym{PDF}{PDF}{Portable Document Format}()}} +{{newacronym{PDM}{PDM}{product-data management}()}} +{{newacronym{PDQ}{PDQ}{product-data quality}()}} +{{newacronym{PHM}{PHM}{prognosis and health monitoring}()}} +{{newacronym{PI}{PI}{principal investigator}()}} +{{newacronym{PLCS}{PLCS}{Product Life Cycle Support}()}} +{{newacronym{PLM}{PLM}{product lifecycle management}()}} +{{newacronym{PLOT}{PLOT}{product lifecycle of trust}()}} +{{newacronym{PMI}{PMI}{product and manufacturing information}()}} +{{newacronym{PRC}{PRC}{Product Representation Compact}()}} +{{newacronym{PSI}{PSI}{Physical Science Informatics}()}} +{{newacronym{PTAB}{PTAB}{Primary Trustworthy Digital Repository Authorization Body Ltd.}()}} +{{newacronym{QIF}{QIF}{Quality Information Framework}()}} +{{newacronym{QMS}{QMS}{quality management system}()}} +{{newacronym{RDF}{RDF}{Resource Description Framework}()}} +{{newacronym{REST}{REST}{Representational State Transfer}()}} +{{newacronym{RII}{RII}{receiving and incoming inspection}()}} +{{newacronym{SaaS}{SaaS}{software-as-a-service}()}} +{{newacronym{SAML}{SAML}{Security Assertion Markup Language}()}} +{{newacronym{SC}{SC}{Standards Committee}()}} +{{newacronym{SDO}{SDO}{Standards Development Organization}()}} +{{newacronym{SFTP}{SFTP}{Secure File Transfer Protocol}()}} +{{newacronym{SKOS}{SKOS}{Simple Knowledge Organization System}()}} +{{newacronym{SLH}{SLH}{system lifecycle handler}()}} +{{newacronym{SLR}{SLR}{systematic literature review}()}} +{{newacronym{S/MIME}{S/MIME}{Secure/Multipurpose Internet Mail Extensions}()}} +{{newacronym{SMOPAC}{SMOPAC}{Smart Manufacturing Operations Planning and Control}()}} +{{newacronym{sms}{SMS Test Bed}{Smart Manufacturing Systems Test Bed}()}} +{{newacronym{SOA}{SOA}{service-oriented architecture}()}} +{{newacronym{SPMM}{SPMM}{semantic-based product metamodel}()}} +{{newacronym{SSL}{SSL}{Secure Sockets Layer}()}} +{{newacronym{STEP}{STEP}{Standard for the Exchange of Product Model Data}()}} +{{newacronym{STEP AP242}{STEP AP242}{Standard for the Exchange of Product Model Data Application Protocol 242}()}} +{{newacronym{STL}{STL}{Stereolithography}()}} +{{newacronym{SysML}{SysML}{Systems Modeling Language}()}} +{{newacronym{TDP}{TDP}{technical data package}()}} +{{newacronym{TLS}{TLS}{Transport Layer Security}()}} +{{newacronym{TSM}{TSM}{Total System Model}()}} +{{newacronym{UML}{UML}{Unified Modeling Language}()}} +{{newacronym{UUID}{UUID}{Universally Unique Identifier}()}} +{{newacronym{V&V}{V\\&V}{verification and validation}()}} +{{newacronym{W3C}{W3C}{World Wide Web Consortium}()}} +{{newacronym{WSN}{WSN}{Wirth Syntax Notation}()}} +{{newacronym{WWW}{WWW}{World Wide Web}()}} +{{newacronym{XML}{XML}{Extensible Markup Language}()}} +{{newacronym{X.509-PKI}{X.509-PKI}{Public Key Infrastructure}()}} +{{newacronym{X.509-PMI}{X.509-PMI}{Privilege Management Infrastructure}()}} +{{newacronym{XSD}{XSD}{XML Schema Definitions}()}} + +{{newacronym{OPC}{OPC}{OLE for Process Control}()}} +{{newacronym{UA}{UA}{Unified Architecture}()}} +{{newacronym{UAL}{UAL}{Unified Architecture Language}()}} +{{newacronym{HMI}{HMI}{Human Machine Interface}()}} +{{newacronym{PLC}{PLC}{Programmable Logic Controller}()}} +{{newacronym{SCADA}{SCADA}{Supervisory Control And Data Acquisition}()}} +{{newacronym{TCP/IP}{TCP/IP}{Transmission Control Protocol/Internet Protocol}()}} +{{newacronym{CNC}{CNC}{Computer Numerical Controller}()}} + + +{{newacronym{MOM}{MOM}{Message Orienged Middleware}()}} +{{newacronym{PMS}{PMS}{Production Management System}()}} +{{newacronym{ISV}{ISV}{Independent Software Vendor}()}} +{{newacronym{MQTT}{MQTT}{Message Queuing Telemetry Transport}()}} +{{newacronym{CDATA}{CDATA}{Character Data}()}} +{{newacronym{NMTOKEN}{NMTOKEN}{Name Token}()}} +{{newacronym{QName}{QName}{Qualified Name}()}} +{{newacronym{XPath}{XPath}{XML Path Language}()}} + + MTConnect Class % MTConnect Document Class % + +\\NeedsTeXFormat{LaTeX2e} +\\ProvidesClass{mtconnect}[2018/02/13 LaTeX document class for MTConnect] + +% Preliminary Declarations % + +\\LoadClass[12pt,letterpaper,twoside]{article} +\\usepackage[utf8]{inputenc} +\\usepackage[letterpaper,top=1.25in,% + bottom=1.25in,footskip=0.5in]{geometry} + +\\usepackage[citations,hybrid,smartEllipses,hashEnumerators,html,% + pipeTables,tableCaptions,fencedCode,codeSpans,tightLists=false,% + cacheDir=markdowncache]{markdown}% +\\usepackage[absolute]{textpos} +\\RequirePackage[htt]{hyphenat} % Allow hyphenation of fixed space fonts +\\RequirePackage{fancyvrb} +\\RequirePackage{placeins} +\\RequirePackage{booktabs} +\\usepackage{morewrites} +\\RequirePackage{times} % Loads Adobe Times Roman Font (clone of Times New Roman) +\\RequirePackage{mathptmx} % Loads Adobe Times Roman Math Font +\\RequirePackage{ifpdf} % Enables switch between latex and pdflatex +\\RequirePackage{stringstrings} % Loads stringstrings to create Camel and Pascal case fonts +\\RequirePackage{ifthen} % Loads ifthen package for conditional statements +\\RequirePackage[T1]{fontenc} % Loads fontenc package for controlled vocabulary formatting +\\let\\BreakableUnderscore\\undefined +\\RequirePackage{graphicx} % Loads graphicx package to include figures and images +\\RequirePackage{fancyhdr} % Loads fancyhdr package to modify headers and footers +%\\RequirePackage[hyphens]{url} % Loads url package to typeset URLs +\\RequirePackage{lineno} % Loads lineno package to apply line numbers to document +\\RequirePackage{etoolbox} % Loads etoolbox package to patch lineno package and suppress line numbers in section headings +\\RequirePackage{sectsty} % Loads sectsty package to modify font of section headings +\\RequirePackage{xcolor} % Loads xcolor package to define color for fonts and tables +\\RequirePackage{colortbl} % Loads colortbl package to provide colors for table shading +\\RequirePackage{caption} % Loads caption package to adjust caption font +\\usepackage{listings} % Loads listings package to typeset code samples +\\lstset{ %default + basicstyle=\\footnotesize\\fontfamily{pcr}\\selectfont, + numbers=left, + stepnumber=1, + xleftmargin=0.25in, + breaklines=true +} +\\renewcommand\\lstlistingname{Example} +\\RequirePackage{hyperref} % Loads hyperref package to link TOC/LOF/LOT +\\RequirePackage{tocloft} % Loads tocloft package to format TOC/LOF/LOT +\\RequirePackage[ampersand]{easylist} % Loads easylist package to simplify lists using & +\\RequirePackage[english]{babel} +\\RequirePackage{csquotes} +\\RequirePackage{xstring} +\\RequirePackage{siunitx} +\\RequirePackage{upgreek} +\\RequirePackage{longtable} +\\RequirePackage{enumitem} +\\usepackage{tabularray} +\\usepackage{amsmath} +\\usepackage{amssymb} +\\usepackage[normalem]{ulem} %For deprecated items +\\RequirePackage[acronym,toc,numberedsection,% + abbreviations,automake,nonumberlist,% + section=subsection]{glossaries-extra} +\\usepackage{mdframed} +\\usepackage{nameref} +\\usepackage[titletoc,title]{appendix} +\\usepackage{hanging} +\\usepackage{titlesec} +\\usepackage{xargs} +\\newcommand{\\sectionbreak}{\\clearpage} + +\\usepackage[backend=biber,style=alphabetic,]{biblatex} +\\defbibheading{bibliography}[\\bibname]{% + \\subsection{#1}} + +\\usepackage{titlesec} + +% Watermark % + +%\\usepackage{background} +%\\backgroundsetup{contents=DRAFT, opacity=0.3, color=cyan, scale=9} + +% Formatting for MTConnect with registration mark, which is required in title and footer. +\\newcommand{\\mtconnectregistered}{MTConnect\\textsuperscript{\\textregistered} } +% Formatting for MTConnect without registration mark, which can be used everywhere except title page(s) and footer. +%\\newcommand{\\mtconnect}{MTConnect } %Use MTConnect + +\\newcommand{\\storedstringPCR}[1]{{\\fontfamily{pcr}\\selectfont #1}} + +% Page Layout % + +\\setlength\\paperheight{11in} +\\setlength\\paperwidth{8.5in} +\\setlength\\oddsidemargin{0.25in} +\\setlength\\evensidemargin{0.25in} + +\\setlength\\parindent{0pt} +\\setlength\\parskip{1em} + +% Title Page % + +\\newcommand\\@docnum{} +\\newcommand\\@doctitle{} +\\newcommand\\@versionnum{} +\\newcommand\\@preparedfor{} +\\newcommand\\@preparedby{} +\\newcommand\\@preparedon{} +\\newcommand\\@preparedfrom{} +\\newcommand{\\docnum}[1]{\\gdef\\@docnum{#1}} +\\newcommand{\\doctitle}[1]{\\gdef\\@doctitle{#1}} +\\newcommand{\\versionnum}[1]{\\gdef\\@versionnum{#1}} +\\newcommand{\\preparedfor}[1]{\\gdef\\@preparedfor{#1}} +\\newcommand{\\preparedby}[1]{\\gdef\\@preparedby{#1}} +\\newcommand{\\preparedon}[1]{\\gdef\\@preparedon{#1}} +\\newcommand{\\preparedfrom}[1]{\\gdef\\@preparedfrom{#1}} + +\\renewcommand{\\maketitle}{% + \\begin{titlepage}% + \\begin{flushleft}% + \\includegraphics[width=0.5\\linewidth]{mtconnect.png} \\\\% + \\end{flushleft}% + \\vfill% + \\begin{center}% + \\Huge{\\textbf{\\mtconnectregistered Standard}} \\\\% + \\huge{\\@docnum\\ -- \\@doctitle} \\\\% + \\LARGE{Version \\@versionnum} \\\\% + \\end{center}% + \\vfill% + \\hspace*{\\fill}% + \\begin{tabular}[t]{l@{}}% + Prepared for: \\@preparedfor \\\\% + Prepared from: \\@preparedfrom \\\\% + Prepared on: \\@preparedon \\\\% + \\end{tabular}% + \\vfill% + \\noindent \\footnotesize{\\mtconnectregistered is a registered trademark of AMT - The Association for Manufacturing Technology. Use of MTConnect is limited to use as specified on \\url{http://www.mtconnect.org/}.}% + \\end{titlepage}% + \\setcounter{page}{1}% +} + +% Table of Contents/Figures/Tables % + +\\addto\\captionsenglish{% +\\renewcommand\\contentsname{\\color{mtc1} Table of Contents}} +\\addto\\captionsenglish{% +\\renewcommand\\listfigurename{\\color{mtc1} Table of Figures}} +\\addto\\captionsenglish{% +\\renewcommand\\listtablename{\\color{mtc1} List of Tables}} + +\\renewcommand{\\cftfigfont}{\\normalsize\\bfseries} +\\renewcommand{\\cftfigindent}{0pt} +\\renewcommand{\\cftfignumwidth}{4.25em} +\\renewcommand{\\cftfigpresnum}{Figure } +\\renewcommand{\\cftfigaftersnum}{:} + +\\renewcommand{\\cfttabfont}{\\normalsize\\bfseries} +\\renewcommand{\\cfttabindent}{0pt} +\\renewcommand{\\cfttabnumwidth}{4em} +\\renewcommand{\\cfttabpresnum}{Table } +\\renewcommand{\\cfttabaftersnum}{:} + +\\renewcommand{\\newline}{\\vskip 0.1in} + +% Header and Footer Definitions % + +\\newcommand\\@doctitleshort{} +\\newcommand{\\doctitleshort}[1]{\\gdef\\@doctitleshort{#1}} + +\\pagestyle{fancy} +\\fancyhf{} +\\rhead{\\@preparedon} +\\lfoot{MTConnect \\@docnum : \\@doctitle { -} Version \\@versionnum} +\\rfoot{\\thepage} +\\renewcommand{\\headrulewidth}{0pt} + +% Sections and Enumerate % + +\\setcounter{secnumdepth}{5} +\\setcounter{tocdepth}{3} + +\\makeatletter +\\renewcommand\\subparagraph{% + \\@startsection {subparagraph}{5}{\\z@ }{3.25ex \\@plus 1ex + \\@minus .2ex}{-1em}{\\normalfont \\normalsize \\bfseries }}% +\\makeatother + +\\usepackage{float} + +\\restylefloat{figure} +\\restylefloat{table} + +\\newif\\iffigures +\\newif\\iftables + +\\makeatletter +\\AtEndDocument {% + \\if@filesw + \\ifnum\\value{figure}=\\z@ % no figures + \\immediate\\write\\@mainaux {\\global\\string\\figuresfalse}% + \\else + \\immediate\\write\\@mainaux {\\global\\string\\figurestrue}% + \\fi + \\ifnum\\value{table}=\\z@ % no tables + \\immediate\\write\\@mainaux {\\global\\string\\tablesfalse}% + \\else + \\immediate\\write\\@mainaux {\\global\\string\\tablestrue}% + \\fi + \\fi +} +\\makeatother + +\\definecolor{mtc1}{RGB}{43,105,145} +\\sectionfont{\\bfseries\\color{mtc1}\\Large} +\\subsectionfont{\\bfseries\\color{mtc1}\\large} +\\subsubsectionfont{\\bfseries\\color{black}\\large} +\\paragraphfont{\\bfseries\\color{black}\\normalsize} +\\subparagraphfont{\\bfseries\\color{black}\\normalsize} + +% Tables and Figures % + +\\definecolor{mtc2}{RGB}{0,128,128} +\\newcommand{\\tblh}[1]{\\normalsize\\textbf{\\textcolor{white}{#1}}} + +\\graphicspath{ {./figures/} } + +\\newcommand{\\figcap}[1]{\\caption{\\textbf{#1}}} +\\captionsetup{labelfont=bf} + +\\newcommand{\\tabuheader}{\\rowcolor{mtc2}\\rowfont[c]{\\fontsize{10pt}{12pt}\\selectfont\\bfseries\\color{white}}} + +% Line Numbers % + +\\renewcommand\\linenumberfont{\\footnotesize\\fontfamily{pcr}\\selectfont} +\\makeatletter +\\patchcmd{\\@startsection}{\\@ifstar}{\\nolinenumbers\\@ifstar}{}{} +\\patchcmd{\\@xsect}{\\ignorespaces}{\\linenumbers\\ignorespaces}{}{} +\\makeatother +\\linenumbers + +% Other Commands % + +% Courier font selection: +\\newcommand{\\cfont}[1]{{\\fontfamily{pcr}\\selectfont #1}} +\\newcommand{\\literal}[1]{{\\fontfamily{pcr}\\selectfont #1}} +\\newcommand{\\xml}[1]{{\\fontfamily{pcr}\\selectfont #1}} +\\newcommand{\\deprecated}[1]{\\sout{#1}} +\\newcommand{\\DEPRECATED}{\\textbf{DEPRECATED }} +\\newcommand{\\DEPRECATIONWARNING}{\\textbf{DEPRECATION WARNING }} +\\newcommand{\\WARNING}{\\textbf{WARNING }} + +\\newcommand{\\notesign}{\\textsuperscript{\\textdagger}} +%create a loop if more are required + +% Requirement levels: +\\newcommand{\\must}{\\textbf{MUST }} +\\newcommand{\\mustnot}{\\textbf{MUST NOT }} +\\newcommand{\\should}{\\textbf{SHOULD }} +\\newcommand{\\shouldnot}{\\textbf{SHOULD NOT }} +\\newcommand{\\may}{\\textbf{MAY }} +\\newcommand{\\maynot}{\\textbf{MAY NOT }} +\\newcommand{\\shall}{\\textbf{SHALL }} +\\newcommand{\\shallnot}{\\textbf{SHALL NOT }} + +\\newcommand{\\NOT}{\\textbf{NOT }} +% Mapping must, MUST, shall, SHALL to SHALL +\\newcommand{\\MUST}{\\must} +\\newcommand{\\MUSTNOT}{\\mustnot} + +\\newcommand{\\SHOULD}{\\should} +\\newcommand{\\SHOULDNOT}{\\shouldnot} +\\newcommand{\\MAY}{\\may} +\\newcommand{\\MAYNOT}{\\maynot} +\\newcommand{\\SHALL}{\\shall} +\\newcommand{\\SHALLNOT}{\\shallnot} + +% Formatting for cross-references: +\\newcommand{\\fig}[1]{\\textit{Figure~\\ref{fig:#1} }} +\\newcommand{\\sect}[1]{\\textit{Section~\\ref{sec:\\detokenize{#1}} - \\nameref{\\detokenize{sec:#1}}}} +\\newcommand{\\tbl}[1]{\\textit{Table~\\ref{table:#1}}} +\\newcommand{\\apx}[1]{\\textit{Appendix~\\ref{appendix:#1}}} +\\newcommand{\\lst}[1]{\\textit{Example~\\ref{lst:#1}}} +\\newcommand{\\ver}[1]{\\textit{MTConnect Version #1 }} + +% Format for terms +\\newcommand{\\term}[1]{\\textit{#1}} + +% Formatting for code samples: +\\newcommand{\\code}{% +\\lstset{basicstyle=\\footnotesize\\fontfamily{pcr}\\selectfont,numbers=left,stepnumber=1,xleftmargin=0.25in,breaklines=true}} + +\\definecolor{maroon}{rgb}{0.5,0,0} +\\definecolor{darkgreen}{rgb}{0,0.5,0} + +% Glossaries + +\\newglossary*{mtc}{MTConnect Terms} +\\newglossary*{general}{General Terms} +\\newglossary*{informationmodel}{Information Model Terms} +\\newglossary*{protocol}{Protocol Terms} +\\newglossary*{xml}{XML Terms} +\\newglossary*{http}{HTTP Terms} +\\newglossary*{conceptmodel}{Concept Model Terms} +\\newglossary*{industrial}{Industrial Terms} + +\\makeglossaries + +%Underlined headings (Example: scenarios in Part5) +\\newcommand{\\ulheading}[1]{\\tab \\uline{#1}} + +%indent/tab in tables +\\newcommand{\\tab}{\\hspace{0.5cm}} + +% For acronyms, puts the long description first and then the acronym second. +\\setabbreviationstyle[acronym]{long-short} + +\\defglsentryfmt[general]{\\term{\\glsgenentryfmt}} +\\defglsentryfmt[informationmodel]{\\term{\\glsgenentryfmt}} +\\defglsentryfmt[protocol]{\\term{\\glsgenentryfmt}} +\\defglsentryfmt[http]{\\term{\\glsgenentryfmt}} +\\defglsentryfmt[xml]{\\term{\\glsgenentryfmt}} +\\defglsentryfmt[conceptmodel]{\\term{\\glsgenentryfmt}} + +\\renewcommand{\\glsnamefont}[1]{% + \\glsifcategory{\\glscurrententrylabel}{model}% + {\\cfont{#1}}% + {\\term{#1}}% +} + +\\setglossarystyle{altlist} +\\makeglossaries + +% Styles for OPC, UML, SysML + +\\usepackage{sty/tikz-uml} +\\usetikzlibrary{positioning} +\\usetikzlibrary{arrows,calc,decorations.markings,math,arrows.meta} + +\\tikzumlset{fill class=white, fill template=white} + +\\tikzstyle{tikzuml unidirectional association style}=% + [color=\\tikzumlDefaultDrawColor, {-{Stealth[inset=3pt,scale=2.5,angle'=45]}},% + rounded corners] + +\\tikzstyle{tikzuml inherit style}=% + [color=\\tikzumlDefaultDrawColor, {-{Stealth[inset=0pt,scale=2.5,fill=white,angle'=45]}},% + rounded corners] + +\\lstdefinelanguage{XML} +{ + basicstyle=\\ttfamily\\footnotesize, + morestring=[b]"", + moredelim=[s][\\bfseries\\color{maroon}]{<}{\\ }, + moredelim=[s][\\bfseries\\color{maroon}]{}, + moredelim=[l][\\bfseries\\color{maroon}]{/>}, + moredelim=[l][\\bfseries\\color{maroon}]{>}, + morecomment=[s]{}, + morecomment=[s]{}, + commentstyle=\\color{darkgreen}, + stringstyle=\\color{blue}, + identifierstyle=\\color{red} +} + +\\newcommand{\\block}[1]{\\cfont{#1}} +\\newcommand{\\property}[1]{\\cfont{#1}} +\\newcommand{\\operation}[1]{\\cfont{#1}} + +\\newenvironment{note}{}{} + MTConnect Specification and Materials {{term(AMT)}} owns the copyright in this MTConnect Specification or Material. {{term(AMT)}} grants to you a non-exclusive, non-transferable, revocable, non-sublicensable, fully-paid-up copyright license to reproduce, copy and redistribute this MTConnect Specification or Material, provided that you may only copy or redistribute the MTConnect Specification or Material in the form in which you received it, without modifications, and with all copyright notices and other notices and disclaimers contained in the MTConnect Specification or Material. + +If you intend to adopt or implement an MTConnect Specification or Material in a product, whether hardware, software or firmware, which complies with an MTConnect Specification, you shall agree to the MTConnect Specification Implementer License Agreement (""Implementer License"") or to the MTConnect Intellectual Property Policy and Agreement (""IP Policy""'). The Implementer License and IP Policy each sets forth the license terms and other terms of use for MTConnect Implementers to adopt or implement the MTConnect Specifications, including certain license rights covering necessary patent claims for that purpose. These materials can be found at {{url(www.MTConnect.org)}}, or or by contacting {{url(mailto:info@MTConnect.org)}}. + +MTConnect Institute and {{term(AMT)}} have no responsibility to identify patents, patent claims or patent applications which may relate to or be required to implement a Specification, or to determine the legal validity or scope of any such patent claims brought to their attention. Each MTConnect Implementer is responsible for securing its own licenses or rights to any patent or other intellectual property rights that may be necessary for such use, and neither {{term(AMT)}} nor MTConnect Institute have any obligation to secure any such rights. + +This Material and all MTConnect Specifications and Materials are provided ""as is"" and MTConnect Institute and {{term(AMT)}}, and each of their respective members, officers, affiliates, sponsors and agents, make no representation or warranty of any kind relating to these materials or to any implementation of the MTConnect Specifications or Materials in any product, including, without limitation, any expressed or implied warranty of noninfringement, merchantability, or fitness for particular purpose, or of the accuracy, reliability, or completeness of information contained herein. In no event shall MTConnect Institute or {{term(AMT)}} be liable to any user or implementer of MTConnect Specifications or Materials for the cost of procuring substitute goods or services, lost profits, loss of use, loss of data or any incidental, consequential, indirect, special or punitive damages or other direct damages, whether under contract, tort, warranty or otherwise, arising in any way out of access, use or inability to use the MTConnect Specification or other MTConnect Materials, whether or not they had advance notice of the possibility of such damage. + +The normative XMI is located at the following URL: [`MTConnectSysMLModel.xml`](https://model.mtconnect.org/MTConnectSysMLModel.xml) + + MTConnect References @manual{MTCPart1, + title = {{MTConnect Standard Part 1.0 - Fundamentals}}, + %url = {http://bit.ly/2CaOlt1}, + label = {MTConnect Part 1.0}, + volume = {Part 1.0}, + version = {2.0}, + keywords = {MTC} + } + +@manual{MTCPart2, + title = {{MTConnect Standard: Part 2.0 - Device Information Model}}, + %url = {http://bit.ly/2OVfEy6}, + label = {MTConnect Part 2.0}, + volume = {Part 2.0}, + version = {2.0}, + keywords = {MTC} + } + +@manual{MTCPart3, + title = {{MTConnect Standard: Part 3.0 - Observation Information Model}}, + %url = {http://bit.ly/2pMob8q}, + label = {MTConnect Part 3.0}, + volume = {Part 3.0}, + version = {2.0}, + keywords = {MTC} + } + +@manual{MTCPart4, + title = {{MTConnect Standard: Part 4.0 - Asset Information Model}}, + %url = {http://bit.ly/2yyLc2D}, + label = {MTConnect Part 4.0}, + volume = {Part 4.0}, + version = {2.0}, + keywords = {MTC} + } + +@manual{MTCPart5, + title = {{MTConnect Standard: Part 5.0 - Interface Interaction Model}}, + %url = {http://bit.ly/2pPNGFY}, + label = {MTConnect Part 5.0}, + volume = {Part 5.0}, + version = {2.0}, + keywords = {MTC} + } + + External References @article{Gerkey2004, + title = {{A formal analysis and taxonomy of task allocation in multi-robot systems}}, + year = {2004}, + journal = {International Journal of Robotics Research}, + author = {Gerkey, Brian P. and Matari{\\'{c}}, Maja J.}, + isbn = {0278-3649}, + doi = {10.1177/0278364904045564}, + issn = {02783649}, + pmid = {13688984}, + keywords = {Coordination, Multi-robot systems, Task allocation, Utility} +} + +@book{Gamma1994, + title = {{Design Patterns: Elements of Reusable Object-Oriented Software}}, + year = {1994}, + author = {Gamma, Erich and Heml, Richard and Johnson, Ralph and Vlissides, John}, + pages = {107}, + publisher = {Addison Wesley}, + isbn = {ISBN 0-201-63361-2} +} + +@article{Birman1987, + title = {{Exploiting virtual synchrony in distributed systems}}, + year = {1987}, + journal = {ACM SIGOPS Operating Systems Review}, + author = {Birman, K. and Joseph, T.}, + isbn = {089791242X}, + doi = {10.1145/37499.37515}, + issn = {01635980}, + pmid = {21463384} +} + +@misc{ISO2011, + title = {{ISO/IEC 42010:2011}}, + year = {2011}, + booktitle = {Systems and software engineering - Architecture description}, + author = {{ISO}}, + number = {March}, + pages = {1--46}, + volume = {2011}, + url = {http://ieeexplore.ieee.org/xpl/articleDetails.jsp?tp=&arnumber=6129467&contentType=Standards&sortType=asc_p_Sequence&filter=AND(p_Publication_Number:6129465)}, + isbn = {978-0-7456-5060-9}, + doi = {10.1081/E-ELIS3-120044716}, + issn = {10655077}, + pmid = {15814772} +} + +@article{ISOInternationalOrganizationforStandardization2011, + title = {{ISO/IEC/IEEE 42010:2011 - Systems and software engineering -- Architecture description}}, + year = {2011}, + journal = {ISOIECIEEE 420102011E Revision of ISOIEC 420102007 and IEEE Std 14712000}, + author = {{ISO (International Organization for Standardization)}}, + number = {March}, + pages = {1--46}, + volume = {2011}, + isbn = {VO -}, + doi = {10.1109/IEEESTD.2011.6129467}, + issn = {0028-0836} +} + +@phdthesis{Fielding2000ArchitecturalArchitectures, + title = {{Architectural Styles and the Design of Network-based Software Architectures}}, + year = {2000}, + booktitle = {Doctoral thesis}, + author = {Fielding, Roy Thomas}, + isbn = {0599871180}, + doi = {10.1.1.91.2433}, + issn = {1098-6596}, + pmid = {25246403}, + arxivId = {arXiv:1011.1669v3} +} + Main Template TEX % MTCONNECT DOCUMENT TEMPLATE % +% FILENAME: mtconnect.tex % +% VERSION: 0.1 % +% DATE: 02/13/2018 % +% PORTED BY: Moneer Helu % +% ADDRESS: Engineering Laboratory % +% National Institute of Standards and Technology (NIST) % +% 100 Bureau Drive % +% Mailstop 8260 % +% Gaithersburg, MD 20899 % +% United States of America % +% EMAIL: moneer.helu@nist.gov % +% DESCRIPTION: Template for MTConnect documentation; % +% Initial attempt for testing and discussion % +% USAGE: \\documentclass[options]{mtconnect} % + + +\\documentclass{mtconnect} % Load mtconnect document class + +\\input{acronyms.tex} +\\input{glossary.tex} +%\\addbibresource{references.bib} +\\addbibresource{mtc.bib} + +%\\hypersetup{draft} %to test without hyperlinks \\hyperref +\\begin{document} % Begin document here + +% REQUIRED INITIAL INPUTS % + +\\docnum{} % Document ""number"" +\\doctitle{} % Full document title +\\doctitleshort{} % Shortened document title +\\versionnum{} % MTConnect version +\\preparedfor{MTConnect Institute} % Should not change!!! +\\preparedfrom{\\href{https://model.mtconnect.org/MTConnectSysMLModel.xml}{\\texttt{MTConnectSysMLModel.xml}}} % Model link +\\preparedon{\\today} % Date prepared + +% FRONT MATTER (DO NOT CHANGE!!!) % + +\\begin{nolinenumbers} +\\maketitle % Title page + +\\pagenumbering{roman} + +% MTConnect Specification and Material Statement: +\\textbf{\\color{mtc1}\\Large MTConnect Specification and Materials} \\\\ + +\\input{legal.tex} + +\\clearpage +\\tableofcontents +\\thispagestyle{fancy} +\\clearpage +\\iffigures + \\listoffigures +\\fi +\\thispagestyle{fancy} +\\clearpage +\\iftables + \\listoftables +\\fi +\\end{nolinenumbers} + +\\pagenumbering{arabic} + +% ENTER DOCUMENT CONTENT BELOW % + +\\input{introduction.tex} + +\\input{%MAIN%} + +\\input{profile.tex} + +\\input{appendix.tex} + +\\end{document} + + Appendix {{appendix()}} +{{section*{Appendices}()}} +{{addcontentsline{toc}{section}{Appendices}()}} +{{renewcommand{\\thesubsection}{\\Alph{subsection}}()}} + +## Bibliography + +Engineering Industries Association. EIA Standard - EIA-274-D, Interchangeable Variable, Block Data Format for Positioning, Contouring, and Contouring/Positioning Numerically Controlled Machines. Washington, D.C. 1979. + +ISO TC 184/SC4/WG3 N1089. ISO/DIS 10303-238: Industrial automation systems and integration Product data representation and exchange Part 238: Application Protocols: Application interpreted model for computerized numerical controllers. Geneva, Switzerland, 2004. + +International Organization for Standardization. ISO 14649: Industrial automation systems and integration – Physical device control – Data model for computerized numerical controllers – Part 10: General process data. Geneva, Switzerland, 2004. + +International Organization for Standardization. ISO 14649: Industrial automation systems and integration – Physical device control – Data model for computerized numerical controllers – Part 11: Process data for milling. Geneva, Switzerland, 2000. + +International Organization for Standardization. ISO 6983/1 – Numerical Control of machines – Program format and definition of address words – Part 1: Data format for positioning, line and contouring control systems. Geneva, Switzerland, 1982. + +Electronic Industries Association. ANSI/EIA-494-B-1992, 32 Bit Binary CL (BCL) and 7 Bit ASCII CL (ACL) Exchange Input Format for Numerically Controlled Machines. Washington, D.C. 1992. + +National Aerospace Standard. Uniform Cutting Tests - NAS Series: Metal Cutting Equipment Specifications. Washington, D.C. 1969. + +International Organization for Standardization. ISO 10303-11: 1994, Industrial automation systems and integration Product data representation and exchange Part 11: Description methods: The EXPRESS language reference manual. Geneva, Switzerland, 1994. + +International Organization for Standardization. ISO 10303-21: 1996, Industrial automation systems and integration -- Product data representation and exchange -- Part 21: Implementation methods: Clear text encoding of the exchange structure. Geneva, Switzerland, 1996. + +H.L. Horton, F.D. Jones, and E. Oberg. Machinery's Handbook. Industrial Press, Inc. New York, 1984. + +International Organization for Standardization. ISO 841-2001: Industrial automation systems and integration - Numerical control of machines - Coordinate systems and motion nomenclature. Geneva, Switzerland, 2001. + +ASME B5.57: Methods for Performance Evaluation of Computer Numerically Controlled Lathes and Turning Centers, 1998. + +ASME/ANSI B5.54: Methods for Performance Evaluation of Computer Numerically Controlled Machining Centers. 2005. + +OPC Foundation. OPC Unified Architecture Specification, Part 1: Concepts Version 1.00. July 28, 2006. + +IEEE STD 1451.0-2007, Standard for a Smart Transducer Interface for Sensors and Actuators – Common Functions, Communication Protocols, and Transducer Electronic Data Sheet (TEDS) Formats, IEEE Instrumentation and Measurement Society, TC-9, The Institute of Electrical and Electronics Engineers, Inc., New York, N.Y. 10016, SH99684, October 5, 2007. + +IEEE STD 1451.4-1994, Standard for a Smart Transducer Interface for Sensors and Actuators – Mixed-Mode Communication Protocols and Transducer Electronic Data Sheet (TEDS) Formats, IEEE Instrumentation and Measurement Society, TC-9, The Institute of Electrical and Electronics Engineers, Inc., New York, N.Y. 10016, SH95225, December 15, 2004. + Main Template MD # MTConnect Specification and Material Statement + +{{input(legal.md)}} + +{{input(introduction.md)}} + +{{input(%MAIN%)}} + +{{input(profile.md)}} + +{{input(appendix.md)}} +"; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/UnitImports/BasicUnits.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/UnitImports/BasicUnits.cs new file mode 100644 index 00000000..9f403007 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/UnitImports/BasicUnits.cs @@ -0,0 +1,171 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.Imports.UnitImports.BasicUnits; + +namespace Mtconnect.Imports.UnitImports +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class BasicUnitsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_45f01b9_1579105790699_574141_162915"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_45f01b9_1579105790699_574141_162915"; + /// Constant value for + public const string NAME = "Basic Units"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + BasicLengthPackage, + BasicMassPackage, + BasicAreaPackage, + BasicVolumePackage, + BasicTimePackage, + BasicElectricCurrentPackage, + BasicThermodynamicTemperaturePackage, + BasicAmountOfSubstancePackage, + BasicLuminousIntensityPackage, + BasicSpeedAndVelocityPackage, + BasicAccelerationPackage, + BasicMassDensityPackage, + BasicElectricCurrentDensityPackage, + BasicAmountOfSubstanceConcentrationPackage, + BasicMagneticFieldStrengthPackage, + BasicLuminancePackage, + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.BasicLengthPackage _BasicLengthPackage; + /// + /// + /// + public Package.BasicLengthPackage BasicLengthPackage => _BasicLengthPackage ?? (_BasicLengthPackage = new Package.BasicLengthPackage()); + + private Package.BasicMassPackage _BasicMassPackage; + /// + /// + /// + public Package.BasicMassPackage BasicMassPackage => _BasicMassPackage ?? (_BasicMassPackage = new Package.BasicMassPackage()); + + private Package.BasicAreaPackage _BasicAreaPackage; + /// + /// + /// + public Package.BasicAreaPackage BasicAreaPackage => _BasicAreaPackage ?? (_BasicAreaPackage = new Package.BasicAreaPackage()); + + private Package.BasicVolumePackage _BasicVolumePackage; + /// + /// + /// + public Package.BasicVolumePackage BasicVolumePackage => _BasicVolumePackage ?? (_BasicVolumePackage = new Package.BasicVolumePackage()); + + private Package.BasicTimePackage _BasicTimePackage; + /// + /// + /// + public Package.BasicTimePackage BasicTimePackage => _BasicTimePackage ?? (_BasicTimePackage = new Package.BasicTimePackage()); + + private Package.BasicElectricCurrentPackage _BasicElectricCurrentPackage; + /// + /// + /// + public Package.BasicElectricCurrentPackage BasicElectricCurrentPackage => _BasicElectricCurrentPackage ?? (_BasicElectricCurrentPackage = new Package.BasicElectricCurrentPackage()); + + private Package.BasicThermodynamicTemperaturePackage _BasicThermodynamicTemperaturePackage; + /// + /// + /// + public Package.BasicThermodynamicTemperaturePackage BasicThermodynamicTemperaturePackage => _BasicThermodynamicTemperaturePackage ?? (_BasicThermodynamicTemperaturePackage = new Package.BasicThermodynamicTemperaturePackage()); + + private Package.BasicAmountOfSubstancePackage _BasicAmountOfSubstancePackage; + /// + /// + /// + public Package.BasicAmountOfSubstancePackage BasicAmountOfSubstancePackage => _BasicAmountOfSubstancePackage ?? (_BasicAmountOfSubstancePackage = new Package.BasicAmountOfSubstancePackage()); + + private Package.BasicLuminousIntensityPackage _BasicLuminousIntensityPackage; + /// + /// + /// + public Package.BasicLuminousIntensityPackage BasicLuminousIntensityPackage => _BasicLuminousIntensityPackage ?? (_BasicLuminousIntensityPackage = new Package.BasicLuminousIntensityPackage()); + + private Package.BasicSpeedAndVelocityPackage _BasicSpeedAndVelocityPackage; + /// + /// + /// + public Package.BasicSpeedAndVelocityPackage BasicSpeedAndVelocityPackage => _BasicSpeedAndVelocityPackage ?? (_BasicSpeedAndVelocityPackage = new Package.BasicSpeedAndVelocityPackage()); + + private Package.BasicAccelerationPackage _BasicAccelerationPackage; + /// + /// + /// + public Package.BasicAccelerationPackage BasicAccelerationPackage => _BasicAccelerationPackage ?? (_BasicAccelerationPackage = new Package.BasicAccelerationPackage()); + + private Package.BasicMassDensityPackage _BasicMassDensityPackage; + /// + /// + /// + public Package.BasicMassDensityPackage BasicMassDensityPackage => _BasicMassDensityPackage ?? (_BasicMassDensityPackage = new Package.BasicMassDensityPackage()); + + private Package.BasicElectricCurrentDensityPackage _BasicElectricCurrentDensityPackage; + /// + /// + /// + public Package.BasicElectricCurrentDensityPackage BasicElectricCurrentDensityPackage => _BasicElectricCurrentDensityPackage ?? (_BasicElectricCurrentDensityPackage = new Package.BasicElectricCurrentDensityPackage()); + + private Package.BasicAmountOfSubstanceConcentrationPackage _BasicAmountOfSubstanceConcentrationPackage; + /// + /// + /// + public Package.BasicAmountOfSubstanceConcentrationPackage BasicAmountOfSubstanceConcentrationPackage => _BasicAmountOfSubstanceConcentrationPackage ?? (_BasicAmountOfSubstanceConcentrationPackage = new Package.BasicAmountOfSubstanceConcentrationPackage()); + + private Package.BasicMagneticFieldStrengthPackage _BasicMagneticFieldStrengthPackage; + /// + /// + /// + public Package.BasicMagneticFieldStrengthPackage BasicMagneticFieldStrengthPackage => _BasicMagneticFieldStrengthPackage ?? (_BasicMagneticFieldStrengthPackage = new Package.BasicMagneticFieldStrengthPackage()); + + private Package.BasicLuminancePackage _BasicLuminancePackage; + /// + /// + /// + public Package.BasicLuminancePackage BasicLuminancePackage => _BasicLuminancePackage ?? (_BasicLuminancePackage = new Package.BasicLuminancePackage()); + + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_DeviceExamples/KinematicsSimulation.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_DeviceExamples/KinematicsSimulation.cs new file mode 100644 index 00000000..7e8ab695 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_DeviceExamples/KinematicsSimulation.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.WIP_DeviceExamples.KinematicsSimulation; + +namespace Mtconnect.WIP_DeviceExamples +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class KinematicsSimulationPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "EAPK_C2851860_6C4E_4c7a_AABF_D7D01EA6F98D"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package__EAPK_C2851860_6C4E_4c7a_AABF_D7D01EA6F98D"; + /// Constant value for + public const string NAME = "Kinematics Simulation"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + SimulationPackage, + XArm7ModelPackage, + XArm7InstancePackage, + }; + + /// + public IClass[] Classes => new IClass[] { + Robot7axesClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.SimulationPackage _SimulationPackage; + /// + /// + /// + public Package.SimulationPackage SimulationPackage => _SimulationPackage ?? (_SimulationPackage = new Package.SimulationPackage()); + + private Package.XArm7ModelPackage _XArm7ModelPackage; + /// + /// + /// + public Package.XArm7ModelPackage XArm7ModelPackage => _XArm7ModelPackage ?? (_XArm7ModelPackage = new Package.XArm7ModelPackage()); + + private Package.XArm7InstancePackage _XArm7InstancePackage; + /// + /// + /// + public Package.XArm7InstancePackage XArm7InstancePackage => _XArm7InstancePackage ?? (_XArm7InstancePackage = new Package.XArm7InstancePackage()); + + #endregion + + #region Classes + private Package.Robot7axesClass _Robot7axesClass; + /// + /// + /// + public Package.Robot7axesClass Robot7axesClass => _Robot7axesClass ?? (_Robot7axesClass = new Package.Robot7axesClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_DeviceExamples/MillW_SmoothG.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_DeviceExamples/MillW_SmoothG.cs new file mode 100644 index 00000000..31cb5405 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_DeviceExamples/MillW_SmoothG.cs @@ -0,0 +1,66 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.WIP_DeviceExamples.MillW_PER_SmoothG; + +namespace Mtconnect.WIP_DeviceExamples +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class MillW_PER_SmoothGPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1631701446823_952901_13"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1631701446823_952901_13"; + /// Constant value for + public const string NAME = "Mill w/SmoothG"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + RepresentationPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.RepresentationPackage _RepresentationPackage; + /// + /// + /// + public Package.RepresentationPackage RepresentationPackage => _RepresentationPackage ?? (_RepresentationPackage = new Package.RepresentationPackage()); + + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_DeviceExamples/PocketNC.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_DeviceExamples/PocketNC.cs new file mode 100644 index 00000000..3b2e94b6 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_DeviceExamples/PocketNC.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_DeviceExamples +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class PocketNCPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1620229558526_688903_1103"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1620229558526_688903_1103"; + /// Constant value for + public const string NAME = "PocketNC"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_UseCases/Actors.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_UseCases/Actors.cs new file mode 100644 index 00000000..fad57c6e --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_UseCases/Actors.cs @@ -0,0 +1,58 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; + +namespace Mtconnect.WIP_UseCases +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class ActorsPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1702396465723_236582_29"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1702396465723_236582_29"; + /// Constant value for + public const string NAME = "Actors"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + }; + + /// + public IClass[] Classes => new IClass[] { + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + #endregion + + #region Classes + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_UseCases/MachineMonitoring.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_UseCases/MachineMonitoring.cs new file mode 100644 index 00000000..086f07a7 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_UseCases/MachineMonitoring.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.WIP_UseCases.MachineMonitoring; + +namespace Mtconnect.WIP_UseCases +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class MachineMonitoringPackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1702396421910_311633_28"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1702396421910_311633_28"; + /// Constant value for + public const string NAME = "Machine Monitoring"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + RequirementsPackage, + UseCasesPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + ManufacturingEquipmentClass, + MTConnectDeviceWithOperationalStatesClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.RequirementsPackage _RequirementsPackage; + /// + /// + /// + public Package.RequirementsPackage RequirementsPackage => _RequirementsPackage ?? (_RequirementsPackage = new Package.RequirementsPackage()); + + private Package.UseCasesPackage _UseCasesPackage; + /// + /// + /// + public Package.UseCasesPackage UseCasesPackage => _UseCasesPackage ?? (_UseCasesPackage = new Package.UseCasesPackage()); + + #endregion + + #region Classes + private Package.ManufacturingEquipmentClass _ManufacturingEquipmentClass; + /// + /// + /// + public Package.ManufacturingEquipmentClass ManufacturingEquipmentClass => _ManufacturingEquipmentClass ?? (_ManufacturingEquipmentClass = new Package.ManufacturingEquipmentClass()); + + private Package.MTConnectDeviceWithOperationalStatesClass _MTConnectDeviceWithOperationalStatesClass; + /// + /// + /// + public Package.MTConnectDeviceWithOperationalStatesClass MTConnectDeviceWithOperationalStatesClass => _MTConnectDeviceWithOperationalStatesClass ?? (_MTConnectDeviceWithOperationalStatesClass = new Package.MTConnectDeviceWithOperationalStatesClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_UseCases/PowerSource.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_UseCases/PowerSource.cs new file mode 100644 index 00000000..dc36637b --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/Models/Packages/WIP_UseCases/PowerSource.cs @@ -0,0 +1,87 @@ +#pragma warning disable CS1574 // XML comment has cref attribute that could not be resolved +#pragma warning disable CS1584 // XML comment has syntactically incorrect cref attribute +#pragma warning disable CS0618 // Type or member is obsolete +using System; +using System.CodeDom.Compiler; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using Package = Mtconnect.WIP_UseCases.PowerSource; + +namespace Mtconnect.WIP_UseCases +{ + ///  + ///
Visit model.mtconnect.org for more information. + ///
+ [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "2.4.0.0")] + public class PowerSourcePackage : IPackage + { + /// Constant value for + public const string REFERENCE_ID = "_19_0_3_68e0225_1702476290341_54831_73"; + /// Constant value for + public const string HELP_URL = "https://model.mtconnect.org/#Package___19_0_3_68e0225_1702476290341_54831_73"; + /// Constant value for + public const string NAME = "Power Source"; + /// Constant value for + public const string SUMMARY = @""; + + /// + public string ReferenceId => REFERENCE_ID; + + /// + public string HelpUrl => HELP_URL; + + /// + public string Name => NAME; + + /// + public string Summary => SUMMARY; + + /// + public IPackage[] Packages => new IPackage[] { + RequirementsPackage, + UseCasesPackage, + }; + + /// + public IClass[] Classes => new IClass[] { + ManufacturingEquipmentClass, + MTConnectDeviceWithPowerSourceConfigClass, + }; + + /// + public IEnum[] Enums => new IEnum[] { + }; + + #region Packages + private Package.RequirementsPackage _RequirementsPackage; + /// + /// + /// + public Package.RequirementsPackage RequirementsPackage => _RequirementsPackage ?? (_RequirementsPackage = new Package.RequirementsPackage()); + + private Package.UseCasesPackage _UseCasesPackage; + /// + /// + /// + public Package.UseCasesPackage UseCasesPackage => _UseCasesPackage ?? (_UseCasesPackage = new Package.UseCasesPackage()); + + #endregion + + #region Classes + private Package.ManufacturingEquipmentClass _ManufacturingEquipmentClass; + /// + /// + /// + public Package.ManufacturingEquipmentClass ManufacturingEquipmentClass => _ManufacturingEquipmentClass ?? (_ManufacturingEquipmentClass = new Package.ManufacturingEquipmentClass()); + + private Package.MTConnectDeviceWithPowerSourceConfigClass _MTConnectDeviceWithPowerSourceConfigClass; + /// + /// + /// + public Package.MTConnectDeviceWithPowerSourceConfigClass MTConnectDeviceWithPowerSourceConfigClass => _MTConnectDeviceWithPowerSourceConfigClass ?? (_MTConnectDeviceWithPowerSourceConfigClass = new Package.MTConnectDeviceWithPowerSourceConfigClass()); + + #endregion + + #region Enums + #endregion + } +} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/Property.cs b/MtconnectTranspiler.Sinks.CSharp/Models/Property.cs deleted file mode 100644 index e395be38..00000000 --- a/MtconnectTranspiler.Sinks.CSharp/Models/Property.cs +++ /dev/null @@ -1,36 +0,0 @@ -using MtconnectTranspiler.Xmi; -using MtconnectTranspiler.Xmi.UML; - -namespace MtconnectTranspiler.Sinks.CSharp.Models -{ - /// - /// Represents a C# property - /// - public class Property : CsharpType - { - /// - /// Reference to any Comments written in the SysML model to be converted into a C# format <summary /> - /// - public Summary Summary { get; protected set; } - - /// - /// Reference to the expected property type - /// - public string Type { get; set; } - - /// - /// Constructs an more generically. NOTE: You'll need to add items manually from here. - /// - /// - /// - public Property(XmiDocument model, UmlProperty source) : base(model, source) - { - if (source.Comments?.Length > 0) - Summary = new Summary(source.Comments); - - AccessModifier = source.Visibility; - - Type = ScribanHelperMethods.ToPrimitiveType(model, source)?.Name ?? "object"; - } - } -} diff --git a/MtconnectTranspiler.Sinks.CSharp/Models/ScribanHelperMethods.cs b/MtconnectTranspiler.Sinks.CSharp/Models/ScribanHelperMethods.cs deleted file mode 100644 index b026b9de..00000000 --- a/MtconnectTranspiler.Sinks.CSharp/Models/ScribanHelperMethods.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System.Collections.Generic; -using System; -using MtconnectTranspiler.Xmi.UML; -using MtconnectTranspiler.Contracts; - -namespace MtconnectTranspiler.Sinks.CSharp.Models -{ - /// - /// Helper methods to process content for scriban templates - /// - public class ScribanHelperMethods : ScribanTemplates.ScribanHelperMethods - { - private static Dictionary umlDataTypeToCSharp = new Dictionary() - { - { "boolean", typeof(bool) }, - { "ID", typeof(string) }, - { "string", typeof(string) }, - { "float", typeof(float) }, - { "datetime", typeof(DateTime) }, - { "integer", typeof(int) }, - { "xlinktype", typeof(string) }, - { "xslang", typeof(string) }, - { "SECOND", typeof(float) }, - { "IDREF", typeof(string) }, - { "xlinkhref", typeof(string) }, - { "MILLIMETER", typeof(float) }, - { "DEGREE", typeof(float) }, - { "x509", typeof(string) }, - { "CUBIC_MILLIMETER", typeof(float) }, - { "int32", typeof(int) }, - { "int64", typeof(long) }, - { "version", typeof(string) }, - { "uint32", typeof(uint) }, - { "uint64", typeof(ulong) }, - { "double", typeof(double) }, - - }; - /// - /// Gets the C# equivalant of the . - /// - /// Reference to the packaged UML DataType - /// Primitive type. Returns null if unrecognizes or unhandled DataType - public static Type ToPrimitiveType(UmlDataType source) - { - if (umlDataTypeToCSharp.TryGetValue(source.Name, out Type type)) - return type; - return null; - } - /// - /// Gets the C# equivalant of the . - /// - /// Reference to the source XMI document - /// Reference to the packaged UML Property - /// Primitive type. Returns null if unrecognizes or unhandled Property - public static Type ToPrimitiveType(Xmi.XmiDocument model, UmlProperty source) - { - var umlDataType = model.LookupDataType(source.PropertyType); - if (umlDataType == null) - return null; - return ToPrimitiveType(umlDataType); - } - } -} diff --git a/MtconnectTranspiler.Sinks.CSharp/MtconnectTranspiler.Sinks.CSharp.csproj b/MtconnectTranspiler.Sinks.CSharp/MtconnectTranspiler.Sinks.CSharp.csproj index bc87a249..ca53ee3d 100644 --- a/MtconnectTranspiler.Sinks.CSharp/MtconnectTranspiler.Sinks.CSharp.csproj +++ b/MtconnectTranspiler.Sinks.CSharp/MtconnectTranspiler.Sinks.CSharp.csproj @@ -4,7 +4,7 @@ netstandard2.0 True MTConnect Transpiler Sink for C# - 1.0.13 + 2.4.0 mtconnect, tbm0115 MTConnect Institute; TAMS; An implementation of `ITranspilerSink` from the `MtconnectTranspiler` library. This libary makes it possible to transpile the MTConnect Standard SysML model into C# code. @@ -15,35 +15,11 @@ True True snupkg + Updated to support v2.4.0 of the MTConnect Standard. - - - - - - - - - Always - - - Always - - - Always - - - Always - - - - - - - - + diff --git a/MtconnectTranspiler.Sinks.CSharp/NavigationExtensions.cs b/MtconnectTranspiler.Sinks.CSharp/NavigationExtensions.cs new file mode 100644 index 00000000..61bc35a4 --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/NavigationExtensions.cs @@ -0,0 +1,96 @@ +using Mtconnect.DataTypes; +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System; +using System.Collections.Generic; +using System.Linq; + +namespace MtconnectTranspiler.Sinks.CSharp +{ + /// + /// Helper methods for navigating the transpiled SysML model through . + /// + public static class NavigationExtensions + { + /// + /// Returns all observation types of the specified category, excluding sub-types. + /// + /// Observation category + /// Collection of type classes. + /// + public static IEnumerable GetObservationTypes(CategoryEnum category) + { + string categoryName = null; + IPackage package = null; + switch (category) + { + case CategoryEnum.CONDITION: + package = Mtconnect.MtconnectModel.ObservationInformationModelPackage.ObservationTypesPackage.ConditionTypesPackage; + categoryName = (new Mtconnect.ObservationInformationModel.ConditionClass()).Name; + break; + case CategoryEnum.EVENT: + package = Mtconnect.MtconnectModel.ObservationInformationModelPackage.ObservationTypesPackage.EventTypesPackage; + categoryName = (new Mtconnect.ObservationInformationModel.EventClass()).Name; + break; + case CategoryEnum.SAMPLE: + package = Mtconnect.MtconnectModel.ObservationInformationModelPackage.ObservationTypesPackage.SampleTypesPackage; + categoryName = (new Mtconnect.ObservationInformationModel.SampleClass()).Name; + break; + default: + break; + } + if (package == null) + throw new NotSupportedException("Unknown category '" + categoryName.ToString() + "' is not supported"); + + return package.Classes.Where(o => !o.Name.Contains(".")) + .Select(o => new ObservationType() + { + HelpUrl = o.HelpUrl, + Category = categoryName, + Name = o.Name, + Definition = (Activator.CreateInstance(o.Properties.Properties.FirstOrDefault(p => p.Name.Equals("type", StringComparison.OrdinalIgnoreCase))?.Type) as IEnum)?.Values?.FirstOrDefault(v => v.Name.Replace("_", string.Empty).Equals(o.Name.Replace("_", string.Empty), StringComparison.OrdinalIgnoreCase))?.Summary ?? o.Summary, + Introduced = o.NormativeVersion, + Deprecated = o.DeprecatedVersion, + Properties = o.Properties.Properties, + SubTypes = GetObservationSubTypes(o)?.ToArray(), + }); + } + + /// + /// Returns all observation types, excluding sub-types. + /// + /// Collection of type classes. + public static IEnumerable GetObservationTypes() + => GetObservationTypes(CategoryEnum.CONDITION) + .Concat(GetObservationTypes(CategoryEnum.EVENT)) + .Concat(GetObservationTypes(CategoryEnum.SAMPLE)); + + /// + /// Returns observation sub-types of the provided . + /// + /// Reference to observation type to search for sub-types. + /// Collection of sub-type classes. + /// + public static IEnumerable GetObservationSubTypes(IClass type) + { + IPackage package = null; + Type eventType = typeof(Mtconnect.ObservationInformationModel.EventClass), + sampleType = typeof(Mtconnect.ObservationInformationModel.SampleClass), + conditionType = typeof(Mtconnect.ObservationInformationModel.ConditionClass); + if (type.Generalization == eventType) + { + package = Mtconnect.MtconnectModel.ObservationInformationModelPackage.ObservationTypesPackage.EventTypesPackage; + } else if (type.Generalization == sampleType) + { + package = Mtconnect.MtconnectModel.ObservationInformationModelPackage.ObservationTypesPackage.SampleTypesPackage; + } else if (type.Generalization == conditionType) + { + package = Mtconnect.MtconnectModel.ObservationInformationModelPackage.ObservationTypesPackage.ConditionTypesPackage; + } + + if (package == null) + throw new NotSupportedException("Unknown observation generalization '" + type.Generalization?.Name + "' is not supported"); + + return package.Classes.Where(o => o.Name.StartsWith(type.Name + ".") && !o.Name.Equals(type.Name)); + } + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp/ObservationType.cs b/MtconnectTranspiler.Sinks.CSharp/ObservationType.cs new file mode 100644 index 00000000..88c288ed --- /dev/null +++ b/MtconnectTranspiler.Sinks.CSharp/ObservationType.cs @@ -0,0 +1,51 @@ +using MtconnectTranspiler.Sinks.CSharp.Contracts.Interfaces; +using System; + +namespace MtconnectTranspiler.Sinks.CSharp +{ + /// + /// Representation of a MTConnect observation as described by the model browser. + /// + public sealed class ObservationType + { + /// + /// Url to the MTConnect model browser. + /// + public string HelpUrl { get; set; } + + /// + /// The superclass of the type (aka is-a). For example: CONDITION, EVENT, or SAMPLE + /// + public string Category { get; set; } + + /// + /// Name of the type + /// + public string Name { get; set; } + + /// + /// Descriptive summary of the type. + /// + public string Definition { get; set; } + + /// + /// Indication of the version this type was introduced into the MTConnect standard. + /// + public string Introduced { get; set; } + + /// + /// If applicable, the indiciation of the version this type was deprecated from the MTConnect standard. + /// + public string Deprecated { get; set; } + + /// + /// Collection of properties copied from the observation type, including result types and unit types. + /// + public IProperty[] Properties { get; set; } + + /// + /// Collection of any applicable sub-types for this observation type. + /// + public IClass[] SubTypes { get; set; } + } +} diff --git a/MtconnectTranspiler.Sinks.CSharp/Templates/Class.scriban b/MtconnectTranspiler.Sinks.CSharp/Templates/Class.scriban deleted file mode 100644 index eb5d5cba..00000000 --- a/MtconnectTranspiler.Sinks.CSharp/Templates/Class.scriban +++ /dev/null @@ -1,48 +0,0 @@ -{{~ nversion_slim = (source?.normative_version | string.slice 20 3) | string.replace "_" "." -dversion_slim = (source?.deprecated_version | string.slice 20 3) | string.replace "_" "." ~}} -using System; - -namespace {{ to_pascal_code source.namespace }} { - /// - /// View in the MTConnect Model browser model.mtconnect.org - {{~ if source?.summary != null && source?.summary != "" ~}} - {{ source?.summary }} - {{~ end ~}} - /// - {{~ if nversion_slim != "" || dversion_slim != "" ~}} - /// - /// - {{~ if nversion_slim != "" ~}} - /// Introduced: v{{ nversion_slim }} - {{~ end ~}} - {{~ if dversion_slim != "" ~}} - /// Deprecated: v{{ dversion_slim }} - {{~ end ~}} - /// - /// - {{~ end ~}} - [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "{{ version }}")] - public {{ source.modifier }} class {{ source.name }} { - {{~ for item in source.items ~}} - {{~ if item?.summary != null && item?.summary != "" ~}} - /// - {{ item?.summary }} - /// - {{~ end ~}} - /// Original Name: {{ item.name }} - {{ item.access_modifier }} {{ item.type }} {{ item.name }} { get; set; } - {{~ end ~}} - - # region Rules - {{~ for constraint in source.constraints ~}} - /// - /// {{ constraint.name }} - /// - /// Specification Language: {{ constraint?.specification?.language ?? "Unspecified" }} - /* - {{ constraint?.raw_script ?? "No Content" }} - */ - {{~ end ~}} - # endregion - } -} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Templates/Enum.scriban b/MtconnectTranspiler.Sinks.CSharp/Templates/Enum.scriban deleted file mode 100644 index 1971e2a3..00000000 --- a/MtconnectTranspiler.Sinks.CSharp/Templates/Enum.scriban +++ /dev/null @@ -1,64 +0,0 @@ -{{~ nversion_slim = (source?.normative_version | string.slice 20 3) | string.replace "_" "." -dversion_slim = (source?.deprecated_version | string.slice 20 3) | string.replace "_" "." ~}} -#pragma warning disable 0618 -#pragma warning disable 1574 -using System; -using System.CodeDom.Compiler; - -namespace {{ to_pascal_code source.namespace }} -{ - /// - /// View in the MTConnect Model browser model.mtconnect.org - {{~ if source?.summary != null && source?.summary != "" ~}} - {{ source?.summary }} - {{~ end ~}} - /// - {{~ if nversion_slim != "" || dversion_slim != "" ~}} - /// - /// - {{~ if nversion_slim != "" ~}} - /// Introduced: v{{ nversion_slim }} - {{~ end ~}} - {{~ if dversion_slim != "" ~}} - /// Deprecated: v{{ dversion_slim }} - {{~ end ~}} - /// - /// - {{~ end ~}} - {{~ if dversion_slim != "" ~}} - [Obsolete("Deprecated in v{{ dversion_slim }} according to https://model.mtconnect.org/#_Version_{{ dversion_slim }}")] - {{~ end ~}} - [GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "{{ version }}")] - public enum {{ to_pascal_case source.name }} - { - /// - /// An extension to the standard. Extensions to the standard are usually prefaced with x:. - /// - STANDARD_EXTENSION = -1, - {{~ for item in source.items ~}} -{{~ n_item_version_slim = (item?.normative_version | string.slice 20 3) | string.replace "_" "." -d_item_version_slim = (item?.deprecated_version | string.slice 20 3) | string.replace "_" "." ~}} - {{~ if item?.summary != null && item?.summary != "" ~}} - /// - {{ item?.summary }} - /// - {{~ end ~}} - {{~ if n_item_version_slim != "" || d_item_version_slim != "" ~}} - /// - /// - {{~ if n_item_version_slim != "" ~}} - /// Introduced: v{{ n_item_version_slim }} - {{~ end ~}} - {{~ if d_item_version_slim != "" ~}} - /// Deprecated: v{{ d_item_version_slim }} - {{~ end ~}} - /// - /// - {{~ end ~}} - {{~ if d_item_version_slim != "" ~}} - [Obsolete("Deprecated in v{{ d_item_version_slim }} according to https://model.mtconnect.org/#_Version_{{ d_item_version_slim }}")] - {{~ end ~}} - {{ item.name }}, - {{~ end ~}} - } -} \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Templates/GeneratedCodeAttribute.scriban b/MtconnectTranspiler.Sinks.CSharp/Templates/GeneratedCodeAttribute.scriban deleted file mode 100644 index 61cdc3f1..00000000 --- a/MtconnectTranspiler.Sinks.CSharp/Templates/GeneratedCodeAttribute.scriban +++ /dev/null @@ -1 +0,0 @@ -[GeneratedCode("MtconnectTranspiler.Sinks.CSharp", "{{ version }}")] \ No newline at end of file diff --git a/MtconnectTranspiler.Sinks.CSharp/Templates/UmlCommentsSummaryContent.scriban b/MtconnectTranspiler.Sinks.CSharp/Templates/UmlCommentsSummaryContent.scriban deleted file mode 100644 index 7b21fb0f..00000000 --- a/MtconnectTranspiler.Sinks.CSharp/Templates/UmlCommentsSummaryContent.scriban +++ /dev/null @@ -1,3 +0,0 @@ -{{~ if $1 != null && $1 != "" ~}} -{{ $1 }} -{{~ end ~}} \ No newline at end of file